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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FirewallAction.SubstituteAction.Builder newBuilder()
newBuilder(FirewallAction.SubstituteAction prototype)
public static FirewallAction.SubstituteAction.Builder newBuilder(FirewallAction.SubstituteAction prototype)
public static FirewallAction.SubstituteAction parseDelimitedFrom(InputStream input)
public static FirewallAction.SubstituteAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FirewallAction.SubstituteAction parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FirewallAction.SubstituteAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FirewallAction.SubstituteAction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FirewallAction.SubstituteAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FirewallAction.SubstituteAction parseFrom(CodedInputStream input)
public static FirewallAction.SubstituteAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FirewallAction.SubstituteAction parseFrom(InputStream input)
public static FirewallAction.SubstituteAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FirewallAction.SubstituteAction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FirewallAction.SubstituteAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FirewallAction.SubstituteAction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public FirewallAction.SubstituteAction getDefaultInstanceForType()
getParserForType()
public Parser<FirewallAction.SubstituteAction> getParserForType()
Overrides
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FirewallAction.SubstituteAction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FirewallAction.SubstituteAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public FirewallAction.SubstituteAction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides