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 |
other |
Message
|
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 |
value |
String
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 |
value |
ByteString
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