public static enum OSPolicyAssignmentOperationMetadata.APIMethod extends Enum<OSPolicyAssignmentOperationMetadata.APIMethod> implements com.google.protobuf.ProtocolMessageEnum
The OS policy assignment API method.Protobuf enum
google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod| Enum Constant and Description |
|---|
API_METHOD_UNSPECIFIED
Invalid value
|
CREATE
Create OS policy assignment API method
|
DELETE
Delete OS policy assignment API method
|
UNRECOGNIZED |
UPDATE
Update OS policy assignment API method
|
| Modifier and Type | Field and Description |
|---|---|
static int |
API_METHOD_UNSPECIFIED_VALUE
Invalid value
|
static int |
CREATE_VALUE
Create OS policy assignment API method
|
static int |
DELETE_VALUE
Delete OS policy assignment API method
|
static int |
UPDATE_VALUE
Update OS policy assignment API method
|
| Modifier and Type | Method and Description |
|---|---|
static OSPolicyAssignmentOperationMetadata.APIMethod |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OSPolicyAssignmentOperationMetadata.APIMethod> |
internalGetValueMap() |
static OSPolicyAssignmentOperationMetadata.APIMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OSPolicyAssignmentOperationMetadata.APIMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OSPolicyAssignmentOperationMetadata.APIMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OSPolicyAssignmentOperationMetadata.APIMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSPolicyAssignmentOperationMetadata.APIMethod API_METHOD_UNSPECIFIED
Invalid value
API_METHOD_UNSPECIFIED = 0;public static final OSPolicyAssignmentOperationMetadata.APIMethod CREATE
Create OS policy assignment API method
CREATE = 1;public static final OSPolicyAssignmentOperationMetadata.APIMethod UPDATE
Update OS policy assignment API method
UPDATE = 2;public static final OSPolicyAssignmentOperationMetadata.APIMethod DELETE
Delete OS policy assignment API method
DELETE = 3;public static final OSPolicyAssignmentOperationMetadata.APIMethod UNRECOGNIZED
public static final int API_METHOD_UNSPECIFIED_VALUE
Invalid value
API_METHOD_UNSPECIFIED = 0;public static final int CREATE_VALUE
Create OS policy assignment API method
CREATE = 1;public static final int UPDATE_VALUE
Update OS policy assignment API method
UPDATE = 2;public static final int DELETE_VALUE
Delete OS policy assignment API method
DELETE = 3;public static OSPolicyAssignmentOperationMetadata.APIMethod[] values()
for (OSPolicyAssignmentOperationMetadata.APIMethod c : OSPolicyAssignmentOperationMetadata.APIMethod.values()) System.out.println(c);
public static OSPolicyAssignmentOperationMetadata.APIMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OSPolicyAssignmentOperationMetadata.APIMethod valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static OSPolicyAssignmentOperationMetadata.APIMethod forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<OSPolicyAssignmentOperationMetadata.APIMethod> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OSPolicyAssignmentOperationMetadata.APIMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.