Enum BillingType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BillingType>
@Generated
public enum BillingType
extends Enum<BillingType>
implements com.google.protobuf.ProtocolMessageEnum
Billing typeProtobuf enum
google.cloud.securitycenter.settings.v1beta1.BillingType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlpha customer for Premium billing tierDefault billing typeSubscription for Premium billing tierTrial subscription for Premium billing tier -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAlpha customer for Premium billing tierstatic final intDefault billing typestatic final intSubscription for Premium billing tierstatic final intTrial subscription for Premium billing tier -
Method Summary
Modifier and TypeMethodDescriptionstatic BillingTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<BillingType>static BillingTypevalueOf(int value) Deprecated.static BillingTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static BillingTypeReturns the enum constant of this type with the specified name.static BillingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BILLING_TYPE_UNSPECIFIED
Default billing type
BILLING_TYPE_UNSPECIFIED = 0; -
SUBSCRIPTION
Subscription for Premium billing tier
SUBSCRIPTION = 1; -
TRIAL_SUBSCRIPTION
Trial subscription for Premium billing tier
TRIAL_SUBSCRIPTION = 2; -
ALPHA
Alpha customer for Premium billing tier
ALPHA = 3; -
UNRECOGNIZED
-
-
Field Details
-
BILLING_TYPE_UNSPECIFIED_VALUE
public static final int BILLING_TYPE_UNSPECIFIED_VALUEDefault billing type
BILLING_TYPE_UNSPECIFIED = 0;- See Also:
-
SUBSCRIPTION_VALUE
public static final int SUBSCRIPTION_VALUESubscription for Premium billing tier
SUBSCRIPTION = 1;- See Also:
-
TRIAL_SUBSCRIPTION_VALUE
public static final int TRIAL_SUBSCRIPTION_VALUETrial subscription for Premium billing tier
TRIAL_SUBSCRIPTION = 2;- See Also:
-
ALPHA_VALUE
public static final int ALPHA_VALUEAlpha customer for Premium billing tier
ALPHA = 3;- 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
-