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 Details

    • 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 Details

    • OPERATION_TYPE_UNSPECIFIED_VALUE

      public static final int OPERATION_TYPE_UNSPECIFIED_VALUE
       Not used.
       
      OPERATION_TYPE_UNSPECIFIED = 0;
      See Also:
    • CREATE_ENTITLEMENT_VALUE

      public static final int CREATE_ENTITLEMENT_VALUE
       Long Running Operation was triggered by CreateEntitlement.
       
      CREATE_ENTITLEMENT = 1;
      See Also:
    • 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:
    • 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:
    • ACTIVATE_ENTITLEMENT_VALUE

      public static final int ACTIVATE_ENTITLEMENT_VALUE
       Long Running Operation was triggered by ActivateEntitlement.
       
      ACTIVATE_ENTITLEMENT = 7;
      See Also:
    • SUSPEND_ENTITLEMENT_VALUE

      public static final int SUSPEND_ENTITLEMENT_VALUE
       Long Running Operation was triggered by SuspendEntitlement.
       
      SUSPEND_ENTITLEMENT = 8;
      See Also:
    • CANCEL_ENTITLEMENT_VALUE

      public static final int CANCEL_ENTITLEMENT_VALUE
       Long Running Operation was triggered by CancelEntitlement.
       
      CANCEL_ENTITLEMENT = 9;
      See Also:
    • TRANSFER_ENTITLEMENTS_VALUE

      public static final int TRANSFER_ENTITLEMENTS_VALUE
       Long Running Operation was triggered by TransferEntitlements.
       
      TRANSFER_ENTITLEMENTS = 10;
      See Also:
    • 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:
    • CHANGE_OFFER_VALUE

      public static final int CHANGE_OFFER_VALUE
       Long Running Operation was triggered by ChangeOffer.
       
      CHANGE_OFFER = 14;
      See Also:
    • CHANGE_PARAMETERS_VALUE

      public static final int CHANGE_PARAMETERS_VALUE
       Long Running Operation was triggered by ChangeParameters.
       
      CHANGE_PARAMETERS = 15;
      See Also:
    • 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:
  • Method Details

    • values

      public static OperationMetadata.OperationType[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null