public static final class FirewallAction.SubstituteAction.Builder extends GeneratedMessageV3.Builder<FirewallAction.SubstituteAction.Builder> 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.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 FirewallAction.SubstituteAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FirewallAction.SubstituteAction build()
buildPartial()
public FirewallAction.SubstituteAction buildPartial()
clear()
public FirewallAction.SubstituteAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FirewallAction.SubstituteAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FirewallAction.SubstituteAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPath()
public FirewallAction.SubstituteAction.Builder clearPath()
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];
clone()
public FirewallAction.SubstituteAction.Builder clone()
Overrides
getDefaultInstanceForType()
public FirewallAction.SubstituteAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public FirewallAction.SubstituteAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FirewallAction.SubstituteAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(FirewallAction.SubstituteAction other)
public FirewallAction.SubstituteAction.Builder mergeFrom(FirewallAction.SubstituteAction other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FirewallAction.SubstituteAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FirewallAction.SubstituteAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPath(String value)
public FirewallAction.SubstituteAction.Builder setPath(String value)
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];
Parameter |
Name |
Description |
value |
String
The path to set.
|
setPathBytes(ByteString value)
public FirewallAction.SubstituteAction.Builder setPathBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for path to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FirewallAction.SubstituteAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FirewallAction.SubstituteAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides