Package com.google.cloud.channel.v1
Enum EntitlementEvent.Type
- java.lang.Object
-
- java.lang.Enum<EntitlementEvent.Type>
-
- com.google.cloud.channel.v1.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 enumgoogle.cloud.channel.v1.EntitlementEvent.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATED
Entitlement was unsuspended.CANCELLED
Entitlement was cancelled.COMMITMENT_CHANGED
Annual commitment for a commit plan was changed.CREATED
A new entitlement was created.LICENSE_ASSIGNMENT_CHANGED
License was assigned to or revoked from a user.LICENSE_CAP_CHANGED
License cap was changed for the entitlement.PAID_SERVICE_STARTED
Paid service has started on trial entitlement.PRICE_PLAN_SWITCHED
The offer type associated with an entitlement was changed.RENEWAL_SETTING_CHANGED
The renewal settings of an entitlement has changed.RENEWED
An annual entitlement was renewed.SKU_CHANGED
Entitlement was upgraded or downgraded (e.g.SUSPENDED
Entitlement was suspended.TYPE_UNSPECIFIED
Not used.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVATED_VALUE
Entitlement was unsuspended.static int
CANCELLED_VALUE
Entitlement was cancelled.static int
COMMITMENT_CHANGED_VALUE
Annual commitment for a commit plan was changed.static int
CREATED_VALUE
A new entitlement was created.static int
LICENSE_ASSIGNMENT_CHANGED_VALUE
License was assigned to or revoked from a user.static int
LICENSE_CAP_CHANGED_VALUE
License cap was changed for the entitlement.static int
PAID_SERVICE_STARTED_VALUE
Paid service has started on trial entitlement.static int
PRICE_PLAN_SWITCHED_VALUE
The offer type associated with an entitlement was changed.static int
RENEWAL_SETTING_CHANGED_VALUE
The renewal settings of an entitlement has changed.static int
RENEWED_VALUE
An annual entitlement was renewed.static int
SKU_CHANGED_VALUE
Entitlement was upgraded or downgraded (e.g.static int
SUSPENDED_VALUE
Entitlement was suspended.static int
TYPE_UNSPECIFIED_VALUE
Not used.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EntitlementEvent.Type
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<EntitlementEvent.Type>
internalGetValueMap()
static EntitlementEvent.Type
valueOf(int value)
Deprecated.static EntitlementEvent.Type
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static EntitlementEvent.Type
valueOf(String name)
Returns 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 Detail
-
TYPE_UNSPECIFIED
public static final EntitlementEvent.Type TYPE_UNSPECIFIED
Not used.
TYPE_UNSPECIFIED = 0;
-
CREATED
public static final EntitlementEvent.Type CREATED
A new entitlement was created.
CREATED = 1;
-
PRICE_PLAN_SWITCHED
public static final EntitlementEvent.Type 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
public static final EntitlementEvent.Type COMMITMENT_CHANGED
Annual commitment for a commit plan was changed.
COMMITMENT_CHANGED = 4;
-
RENEWED
public static final EntitlementEvent.Type RENEWED
An annual entitlement was renewed.
RENEWED = 5;
-
SUSPENDED
public static final EntitlementEvent.Type SUSPENDED
Entitlement was suspended.
SUSPENDED = 6;
-
ACTIVATED
public static final EntitlementEvent.Type ACTIVATED
Entitlement was unsuspended.
ACTIVATED = 7;
-
CANCELLED
public static final EntitlementEvent.Type CANCELLED
Entitlement was cancelled.
CANCELLED = 8;
-
SKU_CHANGED
public static final EntitlementEvent.Type 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
public static final EntitlementEvent.Type RENEWAL_SETTING_CHANGED
The renewal settings of an entitlement has changed.
RENEWAL_SETTING_CHANGED = 10;
-
PAID_SERVICE_STARTED
public static final EntitlementEvent.Type PAID_SERVICE_STARTED
Paid service has started on trial entitlement.
PAID_SERVICE_STARTED = 11;
-
LICENSE_ASSIGNMENT_CHANGED
public static final EntitlementEvent.Type LICENSE_ASSIGNMENT_CHANGED
License was assigned to or revoked from a user.
LICENSE_ASSIGNMENT_CHANGED = 12;
-
LICENSE_CAP_CHANGED
public static final EntitlementEvent.Type LICENSE_CAP_CHANGED
License cap was changed for the entitlement.
LICENSE_CAP_CHANGED = 13;
-
UNRECOGNIZED
public static final EntitlementEvent.Type UNRECOGNIZED
-
-
Field Detail
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUE
Not used.
TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CREATED_VALUE
public static final int CREATED_VALUE
A new entitlement was created.
CREATED = 1;
- See Also:
- Constant Field Values
-
PRICE_PLAN_SWITCHED_VALUE
public static final int PRICE_PLAN_SWITCHED_VALUE
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;
- See Also:
- Constant Field Values
-
COMMITMENT_CHANGED_VALUE
public static final int COMMITMENT_CHANGED_VALUE
Annual commitment for a commit plan was changed.
COMMITMENT_CHANGED = 4;
- See Also:
- Constant Field Values
-
RENEWED_VALUE
public static final int RENEWED_VALUE
An annual entitlement was renewed.
RENEWED = 5;
- See Also:
- Constant Field Values
-
SUSPENDED_VALUE
public static final int SUSPENDED_VALUE
Entitlement was suspended.
SUSPENDED = 6;
- See Also:
- Constant Field Values
-
ACTIVATED_VALUE
public static final int ACTIVATED_VALUE
Entitlement was unsuspended.
ACTIVATED = 7;
- See Also:
- Constant Field Values
-
CANCELLED_VALUE
public static final int CANCELLED_VALUE
Entitlement was cancelled.
CANCELLED = 8;
- See Also:
- Constant Field Values
-
SKU_CHANGED_VALUE
public static final int SKU_CHANGED_VALUE
Entitlement was upgraded or downgraded (e.g. from Google Workspace Business Standard to Google Workspace Business Plus).
SKU_CHANGED = 9;
- See Also:
- Constant Field Values
-
RENEWAL_SETTING_CHANGED_VALUE
public static final int RENEWAL_SETTING_CHANGED_VALUE
The renewal settings of an entitlement has changed.
RENEWAL_SETTING_CHANGED = 10;
- See Also:
- Constant Field Values
-
PAID_SERVICE_STARTED_VALUE
public static final int PAID_SERVICE_STARTED_VALUE
Paid service has started on trial entitlement.
PAID_SERVICE_STARTED = 11;
- See Also:
- Constant Field Values
-
LICENSE_ASSIGNMENT_CHANGED_VALUE
public static final int LICENSE_ASSIGNMENT_CHANGED_VALUE
License was assigned to or revoked from a user.
LICENSE_ASSIGNMENT_CHANGED = 12;
- See Also:
- Constant Field Values
-
LICENSE_CAP_CHANGED_VALUE
public static final int LICENSE_CAP_CHANGED_VALUE
License cap was changed for the entitlement.
LICENSE_CAP_CHANGED = 13;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EntitlementEvent.Type[] 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 (EntitlementEvent.Type c : EntitlementEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntitlementEvent.Type 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 EntitlementEvent.Type 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 EntitlementEvent.Type 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<EntitlementEvent.Type> 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 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
-
-