Package com.google.cloud.channel.v1
Enum OperationMetadata.OperationType
- java.lang.Object
-
- java.lang.Enum<OperationMetadata.OperationType>
-
- com.google.cloud.channel.v1.OperationMetadata.OperationType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<OperationMetadata.OperationType>
- Enclosing class:
- OperationMetadata
public static enum OperationMetadata.OperationType extends Enum<OperationMetadata.OperationType> implements com.google.protobuf.ProtocolMessageEnum
RPCs that return a Long Running Operation.
Protobuf enumgoogle.cloud.channel.v1.OperationMetadata.OperationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATE_ENTITLEMENT
Long Running Operation was triggered by ActivateEntitlement.CANCEL_ENTITLEMENT
Long Running Operation was triggered by CancelEntitlement.CHANGE_OFFER
Long Running Operation was triggered by ChangeOffer.CHANGE_PARAMETERS
Long Running Operation was triggered by ChangeParameters.CHANGE_RENEWAL_SETTINGS
Long Running Operation was triggered by ChangeRenewalSettings.CREATE_ENTITLEMENT
Long Running Operation was triggered by CreateEntitlement.OPERATION_TYPE_UNSPECIFIED
Not used.PROVISION_CLOUD_IDENTITY
Long Running Operation was triggered by ProvisionCloudIdentity.START_PAID_SERVICE
Long Running Operation was triggered by StartPaidService.SUSPEND_ENTITLEMENT
Long Running Operation was triggered by SuspendEntitlement.TRANSFER_ENTITLEMENTS
Long Running Operation was triggered by TransferEntitlements.TRANSFER_ENTITLEMENTS_TO_GOOGLE
Long Running Operation was triggered by TransferEntitlementsToGoogle.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVATE_ENTITLEMENT_VALUE
Long Running Operation was triggered by ActivateEntitlement.static int
CANCEL_ENTITLEMENT_VALUE
Long Running Operation was triggered by CancelEntitlement.static int
CHANGE_OFFER_VALUE
Long Running Operation was triggered by ChangeOffer.static int
CHANGE_PARAMETERS_VALUE
Long Running Operation was triggered by ChangeParameters.static int
CHANGE_RENEWAL_SETTINGS_VALUE
Long Running Operation was triggered by ChangeRenewalSettings.static int
CREATE_ENTITLEMENT_VALUE
Long Running Operation was triggered by CreateEntitlement.static int
OPERATION_TYPE_UNSPECIFIED_VALUE
Not used.static int
PROVISION_CLOUD_IDENTITY_VALUE
Long Running Operation was triggered by ProvisionCloudIdentity.static int
START_PAID_SERVICE_VALUE
Long Running Operation was triggered by StartPaidService.static int
SUSPEND_ENTITLEMENT_VALUE
Long Running Operation was triggered by SuspendEntitlement.static int
TRANSFER_ENTITLEMENTS_TO_GOOGLE_VALUE
Long Running Operation was triggered by TransferEntitlementsToGoogle.static int
TRANSFER_ENTITLEMENTS_VALUE
Long Running Operation was triggered by TransferEntitlements.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OperationMetadata.OperationType
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<OperationMetadata.OperationType>
internalGetValueMap()
static OperationMetadata.OperationType
valueOf(int value)
Deprecated.static OperationMetadata.OperationType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static OperationMetadata.OperationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OperationMetadata.OperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPERATION_TYPE_UNSPECIFIED
public static final OperationMetadata.OperationType OPERATION_TYPE_UNSPECIFIED
Not used.
OPERATION_TYPE_UNSPECIFIED = 0;
-
CREATE_ENTITLEMENT
public static final OperationMetadata.OperationType CREATE_ENTITLEMENT
Long Running Operation was triggered by CreateEntitlement.
CREATE_ENTITLEMENT = 1;
-
CHANGE_RENEWAL_SETTINGS
public static final OperationMetadata.OperationType CHANGE_RENEWAL_SETTINGS
Long Running Operation was triggered by ChangeRenewalSettings.
CHANGE_RENEWAL_SETTINGS = 3;
-
START_PAID_SERVICE
public static final OperationMetadata.OperationType START_PAID_SERVICE
Long Running Operation was triggered by StartPaidService.
START_PAID_SERVICE = 5;
-
ACTIVATE_ENTITLEMENT
public static final OperationMetadata.OperationType ACTIVATE_ENTITLEMENT
Long Running Operation was triggered by ActivateEntitlement.
ACTIVATE_ENTITLEMENT = 7;
-
SUSPEND_ENTITLEMENT
public static final OperationMetadata.OperationType SUSPEND_ENTITLEMENT
Long Running Operation was triggered by SuspendEntitlement.
SUSPEND_ENTITLEMENT = 8;
-
CANCEL_ENTITLEMENT
public static final OperationMetadata.OperationType CANCEL_ENTITLEMENT
Long Running Operation was triggered by CancelEntitlement.
CANCEL_ENTITLEMENT = 9;
-
TRANSFER_ENTITLEMENTS
public static final OperationMetadata.OperationType TRANSFER_ENTITLEMENTS
Long Running Operation was triggered by TransferEntitlements.
TRANSFER_ENTITLEMENTS = 10;
-
TRANSFER_ENTITLEMENTS_TO_GOOGLE
public static final OperationMetadata.OperationType TRANSFER_ENTITLEMENTS_TO_GOOGLE
Long Running Operation was triggered by TransferEntitlementsToGoogle.
TRANSFER_ENTITLEMENTS_TO_GOOGLE = 11;
-
CHANGE_OFFER
public static final OperationMetadata.OperationType CHANGE_OFFER
Long Running Operation was triggered by ChangeOffer.
CHANGE_OFFER = 14;
-
CHANGE_PARAMETERS
public static final OperationMetadata.OperationType CHANGE_PARAMETERS
Long Running Operation was triggered by ChangeParameters.
CHANGE_PARAMETERS = 15;
-
PROVISION_CLOUD_IDENTITY
public static final OperationMetadata.OperationType PROVISION_CLOUD_IDENTITY
Long Running Operation was triggered by ProvisionCloudIdentity.
PROVISION_CLOUD_IDENTITY = 16;
-
UNRECOGNIZED
public static final OperationMetadata.OperationType UNRECOGNIZED
-
-
Field Detail
-
OPERATION_TYPE_UNSPECIFIED_VALUE
public static final int OPERATION_TYPE_UNSPECIFIED_VALUE
Not used.
OPERATION_TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CREATE_ENTITLEMENT_VALUE
public static final int CREATE_ENTITLEMENT_VALUE
Long Running Operation was triggered by CreateEntitlement.
CREATE_ENTITLEMENT = 1;
- See Also:
- Constant Field Values
-
CHANGE_RENEWAL_SETTINGS_VALUE
public static final int CHANGE_RENEWAL_SETTINGS_VALUE
Long Running Operation was triggered by ChangeRenewalSettings.
CHANGE_RENEWAL_SETTINGS = 3;
- See Also:
- Constant Field Values
-
START_PAID_SERVICE_VALUE
public static final int START_PAID_SERVICE_VALUE
Long Running Operation was triggered by StartPaidService.
START_PAID_SERVICE = 5;
- See Also:
- Constant Field Values
-
ACTIVATE_ENTITLEMENT_VALUE
public static final int ACTIVATE_ENTITLEMENT_VALUE
Long Running Operation was triggered by ActivateEntitlement.
ACTIVATE_ENTITLEMENT = 7;
- See Also:
- Constant Field Values
-
SUSPEND_ENTITLEMENT_VALUE
public static final int SUSPEND_ENTITLEMENT_VALUE
Long Running Operation was triggered by SuspendEntitlement.
SUSPEND_ENTITLEMENT = 8;
- See Also:
- Constant Field Values
-
CANCEL_ENTITLEMENT_VALUE
public static final int CANCEL_ENTITLEMENT_VALUE
Long Running Operation was triggered by CancelEntitlement.
CANCEL_ENTITLEMENT = 9;
- See Also:
- Constant Field Values
-
TRANSFER_ENTITLEMENTS_VALUE
public static final int TRANSFER_ENTITLEMENTS_VALUE
Long Running Operation was triggered by TransferEntitlements.
TRANSFER_ENTITLEMENTS = 10;
- See Also:
- Constant Field Values
-
TRANSFER_ENTITLEMENTS_TO_GOOGLE_VALUE
public static final int TRANSFER_ENTITLEMENTS_TO_GOOGLE_VALUE
Long Running Operation was triggered by TransferEntitlementsToGoogle.
TRANSFER_ENTITLEMENTS_TO_GOOGLE = 11;
- See Also:
- Constant Field Values
-
CHANGE_OFFER_VALUE
public static final int CHANGE_OFFER_VALUE
Long Running Operation was triggered by ChangeOffer.
CHANGE_OFFER = 14;
- See Also:
- Constant Field Values
-
CHANGE_PARAMETERS_VALUE
public static final int CHANGE_PARAMETERS_VALUE
Long Running Operation was triggered by ChangeParameters.
CHANGE_PARAMETERS = 15;
- See Also:
- Constant Field Values
-
PROVISION_CLOUD_IDENTITY_VALUE
public static final int PROVISION_CLOUD_IDENTITY_VALUE
Long Running Operation was triggered by ProvisionCloudIdentity.
PROVISION_CLOUD_IDENTITY = 16;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OperationMetadata.OperationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperationMetadata.OperationType c : OperationMetadata.OperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationMetadata.OperationType 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static OperationMetadata.OperationType 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 OperationMetadata.OperationType 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<OperationMetadata.OperationType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static OperationMetadata.OperationType 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
-
-