Enum VpcFlowLogsConfig.TargetResourceState
java.lang.Object
java.lang.Enum<VpcFlowLogsConfig.TargetResourceState>
com.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.TargetResourceState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<VpcFlowLogsConfig.TargetResourceState>
- Enclosing class:
- VpcFlowLogsConfig
public static enum VpcFlowLogsConfig.TargetResourceState
extends Enum<VpcFlowLogsConfig.TargetResourceState>
implements com.google.protobuf.ProtocolMessageEnum
Output only. Indicates whether the target resource exists, for diagnostic purposes.Protobuf enum
google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig.TargetResourceState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the target resource does not exist.Indicates that the target resource exists.Unspecified target resource state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that the target resource does not exist.static final intIndicates that the target resource exists.static final intUnspecified target resource state. -
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<VpcFlowLogsConfig.TargetResourceState>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
-
TARGET_RESOURCE_STATE_UNSPECIFIED
Unspecified target resource state.
TARGET_RESOURCE_STATE_UNSPECIFIED = 0; -
TARGET_RESOURCE_EXISTS
Indicates that the target resource exists.
TARGET_RESOURCE_EXISTS = 1; -
TARGET_RESOURCE_DOES_NOT_EXIST
Indicates that the target resource does not exist.
TARGET_RESOURCE_DOES_NOT_EXIST = 2; -
UNRECOGNIZED
-
-
Field Details
-
TARGET_RESOURCE_STATE_UNSPECIFIED_VALUE
public static final int TARGET_RESOURCE_STATE_UNSPECIFIED_VALUEUnspecified target resource state.
TARGET_RESOURCE_STATE_UNSPECIFIED = 0;- See Also:
-
TARGET_RESOURCE_EXISTS_VALUE
public static final int TARGET_RESOURCE_EXISTS_VALUEIndicates that the target resource exists.
TARGET_RESOURCE_EXISTS = 1;- See Also:
-
TARGET_RESOURCE_DOES_NOT_EXIST_VALUE
public static final int TARGET_RESOURCE_DOES_NOT_EXIST_VALUEIndicates that the target resource does not exist.
TARGET_RESOURCE_DOES_NOT_EXIST = 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
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.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
- 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<VpcFlowLogsConfig.TargetResourceState> 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 VpcFlowLogsConfig.TargetResourceState 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
-