public static final class FirewallAction.SubstituteAction extends GeneratedMessage implements FirewallAction.SubstituteActionOrBuilderA 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 > GeneratedMessage > FirewallAction.SubstituteActionImplements
FirewallAction.SubstituteActionOrBuilderStatic 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 |
|
getDefaultInstanceForType()
public FirewallAction.SubstituteAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FirewallAction.SubstituteAction |
|
getParserForType()
public Parser<FirewallAction.SubstituteAction> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SubstituteAction> |
|
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 |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public FirewallAction.SubstituteAction.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FirewallAction.SubstituteAction.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FirewallAction.SubstituteAction.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FirewallAction.SubstituteAction.Builder |
|
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 |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|