Package com.google.cloud.channel.v1
Enum EntitlementChange.ChangeType
- java.lang.Object
-
- java.lang.Enum<EntitlementChange.ChangeType>
-
- com.google.cloud.channel.v1.EntitlementChange.ChangeType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EntitlementChange.ChangeType>
- Enclosing class:
- EntitlementChange
public static enum EntitlementChange.ChangeType extends Enum<EntitlementChange.ChangeType> implements com.google.protobuf.ProtocolMessageEnum
Specifies the type of change action
Protobuf enumgoogle.cloud.channel.v1.EntitlementChange.ChangeType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATEDEntitlement was activated.CANCELLEDEntitlement was cancelled.CHANGE_TYPE_UNSPECIFIEDNot used.COMMITMENT_CHANGEDNumber of seats committed for a commitment Entitlement was changed.CREATEDNew Entitlement was created.LICENSE_CAP_CHANGEDLicense cap was changed for the entitlement.PAID_SUBSCRIPTION_STARTEDUse for Google Workspace subscription.PRICE_PLAN_SWITCHEDPrice plan associated with an Entitlement was changed.RENEWAL_SETTING_CHANGEDThe settings for renewal of an Entitlement have changed.RENEWEDAn annual Entitlement was renewed.SKU_CHANGEDEntitlement was upgraded or downgraded for ex.SUSPENDEDEntitlement was suspended.SUSPENSION_DETAILS_CHANGEDThe suspension details have changed (but it is still suspended).TRIAL_END_DATE_EXTENDEDThe trial end date was extended.TRIAL_STARTEDEntitlement started trial.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intACTIVATED_VALUEEntitlement was activated.static intCANCELLED_VALUEEntitlement was cancelled.static intCHANGE_TYPE_UNSPECIFIED_VALUENot used.static intCOMMITMENT_CHANGED_VALUENumber of seats committed for a commitment Entitlement was changed.static intCREATED_VALUENew Entitlement was created.static intLICENSE_CAP_CHANGED_VALUELicense cap was changed for the entitlement.static intPAID_SUBSCRIPTION_STARTED_VALUEUse for Google Workspace subscription.static intPRICE_PLAN_SWITCHED_VALUEPrice plan associated with an Entitlement was changed.static intRENEWAL_SETTING_CHANGED_VALUEThe settings for renewal of an Entitlement have changed.static intRENEWED_VALUEAn annual Entitlement was renewed.static intSKU_CHANGED_VALUEEntitlement was upgraded or downgraded for ex.static intSUSPENDED_VALUEEntitlement was suspended.static intSUSPENSION_DETAILS_CHANGED_VALUEThe suspension details have changed (but it is still suspended).static intTRIAL_END_DATE_EXTENDED_VALUEThe trial end date was extended.static intTRIAL_STARTED_VALUEEntitlement started trial.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EntitlementChange.ChangeTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<EntitlementChange.ChangeType>internalGetValueMap()static EntitlementChange.ChangeTypevalueOf(int value)Deprecated.static EntitlementChange.ChangeTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static EntitlementChange.ChangeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EntitlementChange.ChangeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANGE_TYPE_UNSPECIFIED
public static final EntitlementChange.ChangeType CHANGE_TYPE_UNSPECIFIED
Not used.
CHANGE_TYPE_UNSPECIFIED = 0;
-
CREATED
public static final EntitlementChange.ChangeType CREATED
New Entitlement was created.
CREATED = 1;
-
PRICE_PLAN_SWITCHED
public static final EntitlementChange.ChangeType PRICE_PLAN_SWITCHED
Price plan associated with an Entitlement was changed.
PRICE_PLAN_SWITCHED = 3;
-
COMMITMENT_CHANGED
public static final EntitlementChange.ChangeType COMMITMENT_CHANGED
Number of seats committed for a commitment Entitlement was changed.
COMMITMENT_CHANGED = 4;
-
RENEWED
public static final EntitlementChange.ChangeType RENEWED
An annual Entitlement was renewed.
RENEWED = 5;
-
SUSPENDED
public static final EntitlementChange.ChangeType SUSPENDED
Entitlement was suspended.
SUSPENDED = 6;
-
ACTIVATED
public static final EntitlementChange.ChangeType ACTIVATED
Entitlement was activated.
ACTIVATED = 7;
-
CANCELLED
public static final EntitlementChange.ChangeType CANCELLED
Entitlement was cancelled.
CANCELLED = 8;
-
SKU_CHANGED
public static final EntitlementChange.ChangeType SKU_CHANGED
Entitlement was upgraded or downgraded for ex. from Google Workspace Business Standard to Google Workspace Business Plus.
SKU_CHANGED = 9;
-
RENEWAL_SETTING_CHANGED
public static final EntitlementChange.ChangeType RENEWAL_SETTING_CHANGED
The settings for renewal of an Entitlement have changed.
RENEWAL_SETTING_CHANGED = 10;
-
PAID_SUBSCRIPTION_STARTED
public static final EntitlementChange.ChangeType PAID_SUBSCRIPTION_STARTED
Use for Google Workspace subscription. Either a trial was converted to a paid subscription or a new subscription with no trial is created.
PAID_SUBSCRIPTION_STARTED = 11;
-
LICENSE_CAP_CHANGED
public static final EntitlementChange.ChangeType LICENSE_CAP_CHANGED
License cap was changed for the entitlement.
LICENSE_CAP_CHANGED = 12;
-
SUSPENSION_DETAILS_CHANGED
public static final EntitlementChange.ChangeType SUSPENSION_DETAILS_CHANGED
The suspension details have changed (but it is still suspended).
SUSPENSION_DETAILS_CHANGED = 13;
-
TRIAL_END_DATE_EXTENDED
public static final EntitlementChange.ChangeType TRIAL_END_DATE_EXTENDED
The trial end date was extended.
TRIAL_END_DATE_EXTENDED = 14;
-
TRIAL_STARTED
public static final EntitlementChange.ChangeType TRIAL_STARTED
Entitlement started trial.
TRIAL_STARTED = 15;
-
UNRECOGNIZED
public static final EntitlementChange.ChangeType UNRECOGNIZED
-
-
Field Detail
-
CHANGE_TYPE_UNSPECIFIED_VALUE
public static final int CHANGE_TYPE_UNSPECIFIED_VALUE
Not used.
CHANGE_TYPE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
CREATED_VALUE
public static final int CREATED_VALUE
New Entitlement was created.
CREATED = 1;- See Also:
- Constant Field Values
-
PRICE_PLAN_SWITCHED_VALUE
public static final int PRICE_PLAN_SWITCHED_VALUE
Price plan associated with an Entitlement was changed.
PRICE_PLAN_SWITCHED = 3;- See Also:
- Constant Field Values
-
COMMITMENT_CHANGED_VALUE
public static final int COMMITMENT_CHANGED_VALUE
Number of seats committed for a commitment Entitlement 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 activated.
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 for ex. 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 settings for renewal of an Entitlement have changed.
RENEWAL_SETTING_CHANGED = 10;- See Also:
- Constant Field Values
-
PAID_SUBSCRIPTION_STARTED_VALUE
public static final int PAID_SUBSCRIPTION_STARTED_VALUE
Use for Google Workspace subscription. Either a trial was converted to a paid subscription or a new subscription with no trial is created.
PAID_SUBSCRIPTION_STARTED = 11;- 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 = 12;- See Also:
- Constant Field Values
-
SUSPENSION_DETAILS_CHANGED_VALUE
public static final int SUSPENSION_DETAILS_CHANGED_VALUE
The suspension details have changed (but it is still suspended).
SUSPENSION_DETAILS_CHANGED = 13;- See Also:
- Constant Field Values
-
TRIAL_END_DATE_EXTENDED_VALUE
public static final int TRIAL_END_DATE_EXTENDED_VALUE
The trial end date was extended.
TRIAL_END_DATE_EXTENDED = 14;- See Also:
- Constant Field Values
-
TRIAL_STARTED_VALUE
public static final int TRIAL_STARTED_VALUE
Entitlement started trial.
TRIAL_STARTED = 15;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EntitlementChange.ChangeType[] 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 (EntitlementChange.ChangeType c : EntitlementChange.ChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntitlementChange.ChangeType 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static EntitlementChange.ChangeType 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 EntitlementChange.ChangeType 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<EntitlementChange.ChangeType> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static EntitlementChange.ChangeType 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
-
-