public static final class Rule.RedirectAction.Builder extends GeneratedMessageV3.Builder<Rule.RedirectAction.Builder> implements Rule.RedirectActionOrBuilder
Redirects a shopper to a specific page.
- Rule Condition:
- Must specify
Condition.query_terms.
- Action Input: Request Query
- Action Result: Redirects shopper to provided uri.
Protobuf type google.cloud.retail.v2alpha.Rule.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 Rule.RedirectAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Rule.RedirectAction build()
buildPartial()
public Rule.RedirectAction buildPartial()
clear()
public Rule.RedirectAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Rule.RedirectAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Rule.RedirectAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRedirectUri()
public Rule.RedirectAction.Builder clearRedirectUri()
URL must have length equal or less than 2000 characters.
string redirect_uri = 1;
clone()
public Rule.RedirectAction.Builder clone()
Overrides
getDefaultInstanceForType()
public Rule.RedirectAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRedirectUri()
public String getRedirectUri()
URL must have length equal or less than 2000 characters.
string redirect_uri = 1;
Returns |
Type |
Description |
String |
The redirectUri.
|
getRedirectUriBytes()
public ByteString getRedirectUriBytes()
URL must have length equal or less than 2000 characters.
string redirect_uri = 1;
Returns |
Type |
Description |
ByteString |
The bytes for redirectUri.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Rule.RedirectAction other)
public Rule.RedirectAction.Builder mergeFrom(Rule.RedirectAction other)
public Rule.RedirectAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Rule.RedirectAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Rule.RedirectAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Rule.RedirectAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRedirectUri(String value)
public Rule.RedirectAction.Builder setRedirectUri(String value)
URL must have length equal or less than 2000 characters.
string redirect_uri = 1;
Parameter |
Name |
Description |
value |
String
The redirectUri to set.
|
setRedirectUriBytes(ByteString value)
public Rule.RedirectAction.Builder setRedirectUriBytes(ByteString value)
URL must have length equal or less than 2000 characters.
string redirect_uri = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for redirectUri to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Rule.RedirectAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Rule.RedirectAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides