Package com.google.cloud.channel.v1
Enum EntitlementEvent.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EntitlementEvent.Type>
- Enclosing class:
- EntitlementEvent
public static enum EntitlementEvent.Type
extends Enum<EntitlementEvent.Type>
implements com.google.protobuf.ProtocolMessageEnum
Type of entitlement event.Protobuf enum
google.cloud.channel.v1.EntitlementEvent.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEntitlement was unsuspended.Entitlement was cancelled.Annual commitment for a commit plan was changed.A new entitlement was created.License was assigned to or revoked from a user.License cap was changed for the entitlement.Paid service has started on trial entitlement.The offer type associated with an entitlement was changed.The renewal settings of an entitlement has changed.An annual entitlement was renewed.Entitlement was upgraded or downgraded (e.g. from Google Workspace Business Standard to Google Workspace Business Plus).Entitlement was suspended.Not used. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEntitlement was unsuspended.static final intEntitlement was cancelled.static final intAnnual commitment for a commit plan was changed.static final intA new entitlement was created.static final intLicense was assigned to or revoked from a user.static final intLicense cap was changed for the entitlement.static final intPaid service has started on trial entitlement.static final intThe offer type associated with an entitlement was changed.static final intThe renewal settings of an entitlement has changed.static final intAn annual entitlement was renewed.static final intEntitlement was upgraded or downgraded (e.g. from Google Workspace Business Standard to Google Workspace Business Plus).static final intEntitlement was suspended.static final intNot used. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntitlementEvent.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EntitlementEvent.Type>static EntitlementEvent.TypevalueOf(int value) Deprecated.static EntitlementEvent.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static EntitlementEvent.TypeReturns the enum constant of this type with the specified name.static EntitlementEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Not used.
TYPE_UNSPECIFIED = 0; -
CREATED
A new entitlement was created.
CREATED = 1; -
PRICE_PLAN_SWITCHED
The offer type associated with an entitlement was changed. This is not triggered if an entitlement converts from a commit offer to a flexible offer as part of a renewal.
PRICE_PLAN_SWITCHED = 3; -
COMMITMENT_CHANGED
Annual commitment for a commit plan was changed.
COMMITMENT_CHANGED = 4; -
RENEWED
An annual entitlement was renewed.
RENEWED = 5; -
SUSPENDED
Entitlement was suspended.
SUSPENDED = 6; -
ACTIVATED
Entitlement was unsuspended.
ACTIVATED = 7; -
CANCELLED
Entitlement was cancelled.
CANCELLED = 8; -
SKU_CHANGED
Entitlement was upgraded or downgraded (e.g. from Google Workspace Business Standard to Google Workspace Business Plus).
SKU_CHANGED = 9; -
RENEWAL_SETTING_CHANGED
The renewal settings of an entitlement has changed.
RENEWAL_SETTING_CHANGED = 10; -
PAID_SERVICE_STARTED
Paid service has started on trial entitlement.
PAID_SERVICE_STARTED = 11; -
LICENSE_ASSIGNMENT_CHANGED
License was assigned to or revoked from a user.
LICENSE_ASSIGNMENT_CHANGED = 12; -
LICENSE_CAP_CHANGED
License cap was changed for the entitlement.
LICENSE_CAP_CHANGED = 13; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUENot used.
TYPE_UNSPECIFIED = 0;- See Also:
-
CREATED_VALUE
public static final int CREATED_VALUEA new entitlement was created.
CREATED = 1;- See Also:
-
PRICE_PLAN_SWITCHED_VALUE
public static final int PRICE_PLAN_SWITCHED_VALUEThe offer type associated with an entitlement was changed. This is not triggered if an entitlement converts from a commit offer to a flexible offer as part of a renewal.
PRICE_PLAN_SWITCHED = 3;- See Also:
-
COMMITMENT_CHANGED_VALUE
public static final int COMMITMENT_CHANGED_VALUEAnnual commitment for a commit plan was changed.
COMMITMENT_CHANGED = 4;- See Also:
-
RENEWED_VALUE
public static final int RENEWED_VALUEAn annual entitlement was renewed.
RENEWED = 5;- See Also:
-
SUSPENDED_VALUE
public static final int SUSPENDED_VALUEEntitlement was suspended.
SUSPENDED = 6;- See Also:
-
ACTIVATED_VALUE
public static final int ACTIVATED_VALUEEntitlement was unsuspended.
ACTIVATED = 7;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEEntitlement was cancelled.
CANCELLED = 8;- See Also:
-
SKU_CHANGED_VALUE
public static final int SKU_CHANGED_VALUEEntitlement was upgraded or downgraded (e.g. from Google Workspace Business Standard to Google Workspace Business Plus).
SKU_CHANGED = 9;- See Also:
-
RENEWAL_SETTING_CHANGED_VALUE
public static final int RENEWAL_SETTING_CHANGED_VALUEThe renewal settings of an entitlement has changed.
RENEWAL_SETTING_CHANGED = 10;- See Also:
-
PAID_SERVICE_STARTED_VALUE
public static final int PAID_SERVICE_STARTED_VALUEPaid service has started on trial entitlement.
PAID_SERVICE_STARTED = 11;- See Also:
-
LICENSE_ASSIGNMENT_CHANGED_VALUE
public static final int LICENSE_ASSIGNMENT_CHANGED_VALUELicense was assigned to or revoked from a user.
LICENSE_ASSIGNMENT_CHANGED = 12;- See Also:
-
LICENSE_CAP_CHANGED_VALUE
public static final int LICENSE_CAP_CHANGED_VALUELicense cap was changed for the entitlement.
LICENSE_CAP_CHANGED = 13;- 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
-
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 EntitlementEvent.Type 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
-