Enum AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption
java.lang.Object
java.lang.Enum<AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption>
com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption>
- Enclosing class:
- AuthzPolicy.AuthzRule.To.RequestOperation
public static enum AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption
extends Enum<AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption>
implements com.google.protobuf.ProtocolMessageEnum
Describes the option to match against the base MCP protocol methods.Protobuf enum
google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnspecified option.Match on the base MCP protocol methods.Skip matching on the base MCP protocol methods. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnspecified option.static final intMatch on the base MCP protocol methods.static final intSkip matching on the base MCP protocol methods. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIED
public static final AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIEDUnspecified option. Defaults to SKIP_BASE_PROTOCOL_METHODS.
BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIED = 0; -
SKIP_BASE_PROTOCOL_METHODS
public static final AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption SKIP_BASE_PROTOCOL_METHODSSkip matching on the base MCP protocol methods.
SKIP_BASE_PROTOCOL_METHODS = 1; -
MATCH_BASE_PROTOCOL_METHODS
public static final AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption MATCH_BASE_PROTOCOL_METHODSMatch on the base MCP protocol methods.
MATCH_BASE_PROTOCOL_METHODS = 2; -
UNRECOGNIZED
public static final AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption UNRECOGNIZED
-
-
Field Details
-
BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIED_VALUE
public static final int BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIED_VALUEUnspecified option. Defaults to SKIP_BASE_PROTOCOL_METHODS.
BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIED = 0;- See Also:
-
SKIP_BASE_PROTOCOL_METHODS_VALUE
public static final int SKIP_BASE_PROTOCOL_METHODS_VALUESkip matching on the base MCP protocol methods.
SKIP_BASE_PROTOCOL_METHODS = 1;- See Also:
-
MATCH_BASE_PROTOCOL_METHODS_VALUE
public static final int MATCH_BASE_PROTOCOL_METHODS_VALUEMatch on the base MCP protocol methods.
MATCH_BASE_PROTOCOL_METHODS = 2;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption valueOf(int value) Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption forNumber(int value) - Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-