public static final class SecurityPolicyRuleRedirectOptions.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleRedirectOptions.Builder> implements SecurityPolicyRuleRedirectOptionsOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions
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 SecurityPolicyRuleRedirectOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecurityPolicyRuleRedirectOptions build()
buildPartial()
public SecurityPolicyRuleRedirectOptions buildPartial()
clear()
public SecurityPolicyRuleRedirectOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyRuleRedirectOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyRuleRedirectOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTarget()
public SecurityPolicyRuleRedirectOptions.Builder clearTarget()
Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
optional string target = 192835985;
clearType()
public SecurityPolicyRuleRedirectOptions.Builder clearType()
Type of the redirect action.
Check the Type enum for the list of possible values.
optional string type = 3575610;
clone()
public SecurityPolicyRuleRedirectOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public SecurityPolicyRuleRedirectOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTarget()
public String getTarget()
Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
optional string target = 192835985;
Returns |
Type |
Description |
String |
The target.
|
getTargetBytes()
public ByteString getTargetBytes()
Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
optional string target = 192835985;
Returns |
Type |
Description |
ByteString |
The bytes for target.
|
getType()
Type of the redirect action.
Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Type of the redirect action.
Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
hasTarget()
public boolean hasTarget()
Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
optional string target = 192835985;
Returns |
Type |
Description |
boolean |
Whether the target field is set.
|
hasType()
Type of the redirect action.
Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns |
Type |
Description |
boolean |
Whether the type field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityPolicyRuleRedirectOptions other)
public SecurityPolicyRuleRedirectOptions.Builder mergeFrom(SecurityPolicyRuleRedirectOptions other)
public SecurityPolicyRuleRedirectOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityPolicyRuleRedirectOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleRedirectOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyRuleRedirectOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyRuleRedirectOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTarget(String value)
public SecurityPolicyRuleRedirectOptions.Builder setTarget(String value)
Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
optional string target = 192835985;
Parameter |
Name |
Description |
value |
String
The target to set.
|
setTargetBytes(ByteString value)
public SecurityPolicyRuleRedirectOptions.Builder setTargetBytes(ByteString value)
Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
optional string target = 192835985;
Parameter |
Name |
Description |
value |
ByteString
The bytes for target to set.
|
setType(String value)
public SecurityPolicyRuleRedirectOptions.Builder setType(String value)
Type of the redirect action.
Check the Type enum for the list of possible values.
optional string type = 3575610;
Parameter |
Name |
Description |
value |
String
The type to set.
|
setTypeBytes(ByteString value)
public SecurityPolicyRuleRedirectOptions.Builder setTypeBytes(ByteString value)
Type of the redirect action.
Check the Type enum for the list of possible values.
optional string type = 3575610;
Parameter |
Name |
Description |
value |
ByteString
The bytes for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleRedirectOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides