public static final class Rule.RedirectAction extends GeneratedMessageV3 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
Static Fields
REDIRECT_URI_FIELD_NUMBER
public static final int REDIRECT_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Rule.RedirectAction getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Rule.RedirectAction.Builder newBuilder()
Returns
newBuilder(Rule.RedirectAction prototype)
public static Rule.RedirectAction.Builder newBuilder(Rule.RedirectAction prototype)
Parameter
Returns
public static Rule.RedirectAction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Rule.RedirectAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Rule.RedirectAction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Rule.RedirectAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Rule.RedirectAction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Rule.RedirectAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Rule.RedirectAction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Rule.RedirectAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Rule.RedirectAction parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Rule.RedirectAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Rule.RedirectAction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Rule.RedirectAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Rule.RedirectAction> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Rule.RedirectAction getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Rule.RedirectAction> getParserForType()
Returns
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Rule.RedirectAction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Rule.RedirectAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Rule.RedirectAction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions