Package com.google.cloud.channel.v1
Enum ResourceType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ResourceType>
@Generated
public enum ResourceType
extends Enum<ResourceType>
implements com.google.protobuf.ProtocolMessageEnum
Represents the type for a monetizable resource(any entity on which billing happens). For example, this could be MINUTES for Google Voice and GB for Google Drive. One SKU can map to multiple monetizable resources.Protobuf enum
google.cloud.channel.v1.ResourceType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGB (used for storage SKUs).For IaaS SKUs like Google Cloud, monetization is based on usage accrued on your billing account irrespective of the type of monetizable resource.Active licensed users(for Voice SKUs).Monthly active user.Voice usage.Not used.Seat.For Google Cloud subscriptions like Anthos or SAP. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGB (used for storage SKUs).static final intFor IaaS SKUs like Google Cloud, monetization is based on usage accrued on your billing account irrespective of the type of monetizable resource.static final intActive licensed users(for Voice SKUs).static final intMonthly active user.static final intVoice usage.static final intNot used.static final intSeat.static final intFor Google Cloud subscriptions like Anthos or SAP. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ResourceType>static ResourceTypevalueOf(int value) Deprecated.static ResourceTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ResourceTypeReturns the enum constant of this type with the specified name.static ResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RESOURCE_TYPE_UNSPECIFIED
Not used.
RESOURCE_TYPE_UNSPECIFIED = 0; -
SEAT
Seat.
SEAT = 1; -
MAU
Monthly active user.
MAU = 2; -
GB
GB (used for storage SKUs).
GB = 3; -
LICENSED_USER
Active licensed users(for Voice SKUs).
LICENSED_USER = 4; -
MINUTES
Voice usage.
MINUTES = 5; -
IAAS_USAGE
For IaaS SKUs like Google Cloud, monetization is based on usage accrued on your billing account irrespective of the type of monetizable resource. This enum represents an aggregated resource/container for all usage SKUs on a billing account. Currently, only applicable to Google Cloud.
IAAS_USAGE = 6; -
SUBSCRIPTION
For Google Cloud subscriptions like Anthos or SAP.
SUBSCRIPTION = 7; -
UNRECOGNIZED
-
-
Field Details
-
RESOURCE_TYPE_UNSPECIFIED_VALUE
public static final int RESOURCE_TYPE_UNSPECIFIED_VALUENot used.
RESOURCE_TYPE_UNSPECIFIED = 0;- See Also:
-
SEAT_VALUE
public static final int SEAT_VALUESeat.
SEAT = 1;- See Also:
-
MAU_VALUE
public static final int MAU_VALUEMonthly active user.
MAU = 2;- See Also:
-
GB_VALUE
public static final int GB_VALUEGB (used for storage SKUs).
GB = 3;- See Also:
-
LICENSED_USER_VALUE
public static final int LICENSED_USER_VALUEActive licensed users(for Voice SKUs).
LICENSED_USER = 4;- See Also:
-
MINUTES_VALUE
public static final int MINUTES_VALUEVoice usage.
MINUTES = 5;- See Also:
-
IAAS_USAGE_VALUE
public static final int IAAS_USAGE_VALUEFor IaaS SKUs like Google Cloud, monetization is based on usage accrued on your billing account irrespective of the type of monetizable resource. This enum represents an aggregated resource/container for all usage SKUs on a billing account. Currently, only applicable to Google Cloud.
IAAS_USAGE = 6;- See Also:
-
SUBSCRIPTION_VALUE
public static final int SUBSCRIPTION_VALUEFor Google Cloud subscriptions like Anthos or SAP.
SUBSCRIPTION = 7;- 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
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
-