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 enum
google.cloud.channel.v1.OperationMetadata.OperationType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLong Running Operation was triggered by ActivateEntitlement.Long Running Operation was triggered by CancelEntitlement.Long Running Operation was triggered by ChangeOffer.Long Running Operation was triggered by ChangeParameters.Long Running Operation was triggered by ChangeRenewalSettings.Long Running Operation was triggered by CreateEntitlement.Not used.Long Running Operation was triggered by ProvisionCloudIdentity.Long Running Operation was triggered by StartPaidService.Long Running Operation was triggered by SuspendEntitlement.Long Running Operation was triggered by TransferEntitlements.Long Running Operation was triggered by TransferEntitlementsToGoogle. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLong Running Operation was triggered by ActivateEntitlement.static final intLong Running Operation was triggered by CancelEntitlement.static final intLong Running Operation was triggered by ChangeOffer.static final intLong Running Operation was triggered by ChangeParameters.static final intLong Running Operation was triggered by ChangeRenewalSettings.static final intLong Running Operation was triggered by CreateEntitlement.static final intNot used.static final intLong Running Operation was triggered by ProvisionCloudIdentity.static final intLong Running Operation was triggered by StartPaidService.static final intLong Running Operation was triggered by SuspendEntitlement.static final intLong Running Operation was triggered by TransferEntitlementsToGoogle.static final intLong Running Operation was triggered by TransferEntitlements. -
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<OperationMetadata.OperationType>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 OperationMetadata.OperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPERATION_TYPE_UNSPECIFIED
Not used.
OPERATION_TYPE_UNSPECIFIED = 0; -
CREATE_ENTITLEMENT
Long Running Operation was triggered by CreateEntitlement.
CREATE_ENTITLEMENT = 1; -
CHANGE_RENEWAL_SETTINGS
Long Running Operation was triggered by ChangeRenewalSettings.
CHANGE_RENEWAL_SETTINGS = 3; -
START_PAID_SERVICE
Long Running Operation was triggered by StartPaidService.
START_PAID_SERVICE = 5; -
ACTIVATE_ENTITLEMENT
Long Running Operation was triggered by ActivateEntitlement.
ACTIVATE_ENTITLEMENT = 7; -
SUSPEND_ENTITLEMENT
Long Running Operation was triggered by SuspendEntitlement.
SUSPEND_ENTITLEMENT = 8; -
CANCEL_ENTITLEMENT
Long Running Operation was triggered by CancelEntitlement.
CANCEL_ENTITLEMENT = 9; -
TRANSFER_ENTITLEMENTS
Long Running Operation was triggered by TransferEntitlements.
TRANSFER_ENTITLEMENTS = 10; -
TRANSFER_ENTITLEMENTS_TO_GOOGLE
Long Running Operation was triggered by TransferEntitlementsToGoogle.
TRANSFER_ENTITLEMENTS_TO_GOOGLE = 11; -
CHANGE_OFFER
Long Running Operation was triggered by ChangeOffer.
CHANGE_OFFER = 14; -
CHANGE_PARAMETERS
Long Running Operation was triggered by ChangeParameters.
CHANGE_PARAMETERS = 15; -
PROVISION_CLOUD_IDENTITY
Long Running Operation was triggered by ProvisionCloudIdentity.
PROVISION_CLOUD_IDENTITY = 16; -
UNRECOGNIZED
-
-
Field Details
-
OPERATION_TYPE_UNSPECIFIED_VALUE
public static final int OPERATION_TYPE_UNSPECIFIED_VALUENot used.
OPERATION_TYPE_UNSPECIFIED = 0;- See Also:
-
CREATE_ENTITLEMENT_VALUE
public static final int CREATE_ENTITLEMENT_VALUELong Running Operation was triggered by CreateEntitlement.
CREATE_ENTITLEMENT = 1;- See Also:
-
CHANGE_RENEWAL_SETTINGS_VALUE
public static final int CHANGE_RENEWAL_SETTINGS_VALUELong Running Operation was triggered by ChangeRenewalSettings.
CHANGE_RENEWAL_SETTINGS = 3;- See Also:
-
START_PAID_SERVICE_VALUE
public static final int START_PAID_SERVICE_VALUELong Running Operation was triggered by StartPaidService.
START_PAID_SERVICE = 5;- See Also:
-
ACTIVATE_ENTITLEMENT_VALUE
public static final int ACTIVATE_ENTITLEMENT_VALUELong Running Operation was triggered by ActivateEntitlement.
ACTIVATE_ENTITLEMENT = 7;- See Also:
-
SUSPEND_ENTITLEMENT_VALUE
public static final int SUSPEND_ENTITLEMENT_VALUELong Running Operation was triggered by SuspendEntitlement.
SUSPEND_ENTITLEMENT = 8;- See Also:
-
CANCEL_ENTITLEMENT_VALUE
public static final int CANCEL_ENTITLEMENT_VALUELong Running Operation was triggered by CancelEntitlement.
CANCEL_ENTITLEMENT = 9;- See Also:
-
TRANSFER_ENTITLEMENTS_VALUE
public static final int TRANSFER_ENTITLEMENTS_VALUELong Running Operation was triggered by TransferEntitlements.
TRANSFER_ENTITLEMENTS = 10;- See Also:
-
TRANSFER_ENTITLEMENTS_TO_GOOGLE_VALUE
public static final int TRANSFER_ENTITLEMENTS_TO_GOOGLE_VALUELong Running Operation was triggered by TransferEntitlementsToGoogle.
TRANSFER_ENTITLEMENTS_TO_GOOGLE = 11;- See Also:
-
CHANGE_OFFER_VALUE
public static final int CHANGE_OFFER_VALUELong Running Operation was triggered by ChangeOffer.
CHANGE_OFFER = 14;- See Also:
-
CHANGE_PARAMETERS_VALUE
public static final int CHANGE_PARAMETERS_VALUELong Running Operation was triggered by ChangeParameters.
CHANGE_PARAMETERS = 15;- See Also:
-
PROVISION_CLOUD_IDENTITY_VALUE
public static final int PROVISION_CLOUD_IDENTITY_VALUELong Running Operation was triggered by ProvisionCloudIdentity.
PROVISION_CLOUD_IDENTITY = 16;- 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<OperationMetadata.OperationType> 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 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
-