Class Control.RedirectAction.Builder (0.66.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.66.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  Control . RedirectAction . Builder   extends   GeneratedMessageV3 . Builder<Control . RedirectAction . Builder >  implements   Control . RedirectActionOrBuilder  
   Redirects a shopper to the provided URI.
 Protobuf type google.cloud.discoveryengine.v1.Control.RedirectAction
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Control . RedirectAction . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   Control . RedirectAction   build ()  
  
  buildPartial() 
  
    
public   Control . RedirectAction   buildPartial ()  
  
  clear() 
  
    
public   Control . RedirectAction . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   Control . RedirectAction . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   Control . RedirectAction . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearRedirectUri() 
  
    
public   Control . RedirectAction . Builder   clearRedirectUri ()  
   Required. The URI to which the shopper will be redirected.
 Required.
 URI must have length equal or less than 2000 characters.
 Otherwise an INVALID ARGUMENT error is thrown.
 string redirect_uri = 1 [(.google.api.field_behavior) = REQUIRED];
clone() 
  
    
public   Control . RedirectAction . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   Control . RedirectAction   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getRedirectUri() 
  
    
public   String   getRedirectUri ()  
   Required. The URI to which the shopper will be redirected.
 Required.
 URI must have length equal or less than 2000 characters.
 Otherwise an INVALID ARGUMENT error is thrown.
 string redirect_uri = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The redirectUri.
 
     
  
  getRedirectUriBytes() 
  
    
public   ByteString   getRedirectUriBytes ()  
   Required. The URI to which the shopper will be redirected.
 Required.
 URI must have length equal or less than 2000 characters.
 Otherwise an INVALID ARGUMENT error is thrown.
 string redirect_uri = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for redirectUri.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(Control.RedirectAction other) 
  
    
public   Control . RedirectAction . Builder   mergeFrom ( Control . RedirectAction   other )  
  
  
  
    
public   Control . RedirectAction . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   Control . RedirectAction . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Control . RedirectAction . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Control . RedirectAction . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRedirectUri(String value) 
  
    
public   Control . RedirectAction . Builder   setRedirectUri ( String   value )  
   Required. The URI to which the shopper will be redirected.
 Required.
 URI must have length equal or less than 2000 characters.
 Otherwise an INVALID ARGUMENT error is thrown.
 string redirect_uri = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueString The redirectUri to set.
 
     
  
  
  setRedirectUriBytes(ByteString value) 
  
    
public   Control . RedirectAction . Builder   setRedirectUriBytes ( ByteString   value )  
   Required. The URI to which the shopper will be redirected.
 Required.
 URI must have length equal or less than 2000 characters.
 Otherwise an INVALID ARGUMENT error is thrown.
 string redirect_uri = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for redirectUri to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   Control . RedirectAction . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Control . RedirectAction . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]