Package com.google.cloud.compute.v1
Interface SecurityPolicyRuleRedirectOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecurityPolicyRuleRedirectOptions,SecurityPolicyRuleRedirectOptions.Builder
@Generated
public interface SecurityPolicyRuleRedirectOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionTarget for the redirect action.com.google.protobuf.ByteStringTarget for the redirect action.getType()Type of the redirect action.com.google.protobuf.ByteStringType of the redirect action.booleanTarget for the redirect action.booleanhasType()Type of the redirect action.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTarget
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:
- Whether the target field is set.
-
getTarget
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:
- The target.
-
getTargetBytes
com.google.protobuf.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:
- The bytes for target.
-
hasType
boolean hasType()Type of the redirect action. Possible values are: - GOOGLE_RECAPTCHA: redirect to reCAPTCHA for manual challenge assessment. - EXTERNAL_302: redirect to a different URL via a 302 response. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- Whether the type field is set.
-
getType
String getType()Type of the redirect action. Possible values are: - GOOGLE_RECAPTCHA: redirect to reCAPTCHA for manual challenge assessment. - EXTERNAL_302: redirect to a different URL via a 302 response. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Type of the redirect action. Possible values are: - GOOGLE_RECAPTCHA: redirect to reCAPTCHA for manual challenge assessment. - EXTERNAL_302: redirect to a different URL via a 302 response. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The bytes for type.
-