Enum Workload.ResourceInfo.ResourceType
java.lang.Object
java.lang.Enum<Workload.ResourceInfo.ResourceType>
com.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Workload.ResourceInfo.ResourceType>
- Enclosing class:
- Workload.ResourceInfo
public static enum Workload.ResourceInfo.ResourceType
extends Enum<Workload.ResourceInfo.ResourceType>
implements com.google.protobuf.ProtocolMessageEnum
The type of resource.Protobuf enum
google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConsumer Folder.Deprecated.Consumer project containing encryption keys.Keyring resource that hosts encryption keys.Unknown resource type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConsumer Folder.static final intDeprecated.static final intConsumer project containing encryption keys.static final intKeyring resource that hosts encryption keys.static final intUnknown resource type. -
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<Workload.ResourceInfo.ResourceType>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.static Workload.ResourceInfo.ResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RESOURCE_TYPE_UNSPECIFIED
Unknown resource type.
RESOURCE_TYPE_UNSPECIFIED = 0; -
CONSUMER_PROJECT
Deprecated.Consumer project. AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.
CONSUMER_PROJECT = 1 [deprecated = true]; -
CONSUMER_FOLDER
Consumer Folder.
CONSUMER_FOLDER = 4; -
ENCRYPTION_KEYS_PROJECT
Consumer project containing encryption keys.
ENCRYPTION_KEYS_PROJECT = 2; -
KEYRING
Keyring resource that hosts encryption keys.
KEYRING = 3; -
UNRECOGNIZED
-
-
Field Details
-
RESOURCE_TYPE_UNSPECIFIED_VALUE
public static final int RESOURCE_TYPE_UNSPECIFIED_VALUEUnknown resource type.
RESOURCE_TYPE_UNSPECIFIED = 0;- See Also:
-
CONSUMER_PROJECT_VALUE
Deprecated.Consumer project. AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.
CONSUMER_PROJECT = 1 [deprecated = true];- See Also:
-
CONSUMER_FOLDER_VALUE
public static final int CONSUMER_FOLDER_VALUEConsumer Folder.
CONSUMER_FOLDER = 4;- See Also:
-
ENCRYPTION_KEYS_PROJECT_VALUE
public static final int ENCRYPTION_KEYS_PROJECT_VALUEConsumer project containing encryption keys.
ENCRYPTION_KEYS_PROJECT = 2;- See Also:
-
KEYRING_VALUE
public static final int KEYRING_VALUEKeyring resource that hosts encryption keys.
KEYRING = 3;- 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<Workload.ResourceInfo.ResourceType> 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 Workload.ResourceInfo.ResourceType 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
-