Class FirewallAction.SubstituteAction (3.44.0)

public static final class FirewallAction.SubstituteAction extends GeneratedMessageV3 implements FirewallAction.SubstituteActionOrBuilder

A substitute action transparently serves a different page than the one requested.

Protobuf type google.cloud.recaptchaenterprise.v1.FirewallAction.SubstituteAction

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FirewallAction.SubstituteAction

Static Fields

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FirewallAction.SubstituteAction getDefaultInstance()
Returns
Type Description
FirewallAction.SubstituteAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FirewallAction.SubstituteAction.Builder newBuilder()
Returns
Type Description
FirewallAction.SubstituteAction.Builder

newBuilder(FirewallAction.SubstituteAction prototype)

public static FirewallAction.SubstituteAction.Builder newBuilder(FirewallAction.SubstituteAction prototype)
Parameter
Name Description
prototype FirewallAction.SubstituteAction
Returns
Type Description
FirewallAction.SubstituteAction.Builder

parseDelimitedFrom(InputStream input)

public static FirewallAction.SubstituteAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.SubstituteAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FirewallAction.SubstituteAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.SubstituteAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FirewallAction.SubstituteAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.SubstituteAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FirewallAction.SubstituteAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.SubstituteAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FirewallAction.SubstituteAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.SubstituteAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FirewallAction.SubstituteAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FirewallAction.SubstituteAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallAction.SubstituteAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FirewallAction.SubstituteAction> parser()
Returns
Type Description
Parser<SubstituteAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FirewallAction.SubstituteAction getDefaultInstanceForType()
Returns
Type Description
FirewallAction.SubstituteAction

getParserForType()

public Parser<FirewallAction.SubstituteAction> getParserForType()
Returns
Type Description
Parser<SubstituteAction>
Overrides

getPath()

public String getPath()

Optional. The address to redirect to. The target is a relative path in the current host. Example: "/blog/404.html".

string path = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Optional. The address to redirect to. The target is a relative path in the current host. Example: "/blog/404.html".

string path = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FirewallAction.SubstituteAction.Builder newBuilderForType()
Returns
Type Description
FirewallAction.SubstituteAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FirewallAction.SubstituteAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FirewallAction.SubstituteAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FirewallAction.SubstituteAction.Builder toBuilder()
Returns
Type Description
FirewallAction.SubstituteAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException