Enum OperationMetadata.OperationType

    • Enum Constant Detail

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