Interface SecurityPolicyRuleRedirectOptionsOrBuilder (1.19.0)

public interface SecurityPolicyRuleRedirectOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTarget()

public abstract 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
TypeDescription
String

The target.

getTargetBytes()

public abstract 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
TypeDescription
ByteString

The bytes for target.

getType()

public abstract String getType()

Type of the redirect action. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Type of the redirect action. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
ByteString

The bytes for type.

hasTarget()

public abstract 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
TypeDescription
boolean

Whether the target field is set.

hasType()

public abstract boolean hasType()

Type of the redirect action. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
boolean

Whether the type field is set.