Package com.google.cloud.channel.v1
Class Entitlement
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.channel.v1.Entitlement
-
- All Implemented Interfaces:
EntitlementOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Entitlement extends com.google.protobuf.GeneratedMessageV3 implements EntitlementOrBuilder
An entitlement is a representation of a customer's ability to use a service.
Protobuf typegoogle.cloud.channel.v1.Entitlement- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntitlement.BuilderAn entitlement is a representation of a customer's ability to use a service.static classEntitlement.ProvisioningStateIndicates the current provisioning state of the entitlement.static classEntitlement.SuspensionReasonSuspension reason for an entitlement if [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state] = SUSPENDED.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intASSOCIATION_INFO_FIELD_NUMBERstatic intBILLING_ACCOUNT_FIELD_NUMBERstatic intCOMMITMENT_SETTINGS_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOFFER_FIELD_NUMBERstatic intPARAMETERS_FIELD_NUMBERstatic intPROVISIONED_SERVICE_FIELD_NUMBERstatic intPROVISIONING_STATE_FIELD_NUMBERstatic intPURCHASE_ORDER_ID_FIELD_NUMBERstatic intSUSPENSION_REASONS_FIELD_NUMBERstatic intTRIAL_SETTINGS_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AssociationInfogetAssociationInfo()Association information to other entitlements.AssociationInfoOrBuildergetAssociationInfoOrBuilder()Association information to other entitlements.StringgetBillingAccount()Optional.com.google.protobuf.ByteStringgetBillingAccountBytes()Optional.CommitmentSettingsgetCommitmentSettings()Commitment settings for a commitment-based Offer.CommitmentSettingsOrBuildergetCommitmentSettingsOrBuilder()Commitment settings for a commitment-based Offer.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static EntitlementgetDefaultInstance()EntitlementgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetOffer()Required.com.google.protobuf.ByteStringgetOfferBytes()Required.ParametergetParameters(int index)Extended entitlement parameters.intgetParametersCount()Extended entitlement parameters.List<Parameter>getParametersList()Extended entitlement parameters.ParameterOrBuildergetParametersOrBuilder(int index)Extended entitlement parameters.List<? extends ParameterOrBuilder>getParametersOrBuilderList()Extended entitlement parameters.com.google.protobuf.Parser<Entitlement>getParserForType()ProvisionedServicegetProvisionedService()Output only.ProvisionedServiceOrBuildergetProvisionedServiceOrBuilder()Output only.Entitlement.ProvisioningStategetProvisioningState()Output only.intgetProvisioningStateValue()Output only.StringgetPurchaseOrderId()Optional.com.google.protobuf.ByteStringgetPurchaseOrderIdBytes()Optional.intgetSerializedSize()Entitlement.SuspensionReasongetSuspensionReasons(int index)Output only.intgetSuspensionReasonsCount()Output only.List<Entitlement.SuspensionReason>getSuspensionReasonsList()Output only.intgetSuspensionReasonsValue(int index)Output only.List<Integer>getSuspensionReasonsValueList()Output only.TrialSettingsgetTrialSettings()Output only.TrialSettingsOrBuildergetTrialSettingsOrBuilder()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAssociationInfo()Association information to other entitlements.booleanhasCommitmentSettings()Commitment settings for a commitment-based Offer.booleanhasCreateTime()Output only.inthashCode()booleanhasProvisionedService()Output only.booleanhasTrialSettings()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Entitlement.BuildernewBuilder()static Entitlement.BuildernewBuilder(Entitlement prototype)Entitlement.BuildernewBuilderForType()protected Entitlement.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static EntitlementparseDelimitedFrom(InputStream input)static EntitlementparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntitlementparseFrom(byte[] data)static EntitlementparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntitlementparseFrom(com.google.protobuf.ByteString data)static EntitlementparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntitlementparseFrom(com.google.protobuf.CodedInputStream input)static EntitlementparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntitlementparseFrom(InputStream input)static EntitlementparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntitlementparseFrom(ByteBuffer data)static EntitlementparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Entitlement>parser()Entitlement.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OFFER_FIELD_NUMBER
public static final int OFFER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMITMENT_SETTINGS_FIELD_NUMBER
public static final int COMMITMENT_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVISIONING_STATE_FIELD_NUMBER
public static final int PROVISIONING_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVISIONED_SERVICE_FIELD_NUMBER
public static final int PROVISIONED_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUSPENSION_REASONS_FIELD_NUMBER
public static final int SUSPENSION_REASONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PURCHASE_ORDER_ID_FIELD_NUMBER
public static final int PURCHASE_ORDER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRIAL_SETTINGS_FIELD_NUMBER
public static final int TRIAL_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSOCIATION_INFO_FIELD_NUMBER
public static final int ASSOCIATION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BILLING_ACCOUNT_FIELD_NUMBER
public static final int BILLING_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceEntitlementOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceEntitlementOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time at which the entitlement is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceEntitlementOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which the entitlement is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceEntitlementOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the entitlement is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceEntitlementOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time at which the entitlement is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceEntitlementOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time at which the entitlement is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceEntitlementOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which the entitlement is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceEntitlementOrBuilder
-
getOffer
public String getOffer()
Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getOfferin interfaceEntitlementOrBuilder- Returns:
- The offer.
-
getOfferBytes
public com.google.protobuf.ByteString getOfferBytes()
Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getOfferBytesin interfaceEntitlementOrBuilder- Returns:
- The bytes for offer.
-
hasCommitmentSettings
public boolean hasCommitmentSettings()
Commitment settings for a commitment-based Offer. Required for commitment based offers.
.google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;- Specified by:
hasCommitmentSettingsin interfaceEntitlementOrBuilder- Returns:
- Whether the commitmentSettings field is set.
-
getCommitmentSettings
public CommitmentSettings getCommitmentSettings()
Commitment settings for a commitment-based Offer. Required for commitment based offers.
.google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;- Specified by:
getCommitmentSettingsin interfaceEntitlementOrBuilder- Returns:
- The commitmentSettings.
-
getCommitmentSettingsOrBuilder
public CommitmentSettingsOrBuilder getCommitmentSettingsOrBuilder()
Commitment settings for a commitment-based Offer. Required for commitment based offers.
.google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;- Specified by:
getCommitmentSettingsOrBuilderin interfaceEntitlementOrBuilder
-
getProvisioningStateValue
public int getProvisioningStateValue()
Output only. Current provisioning state of the entitlement.
.google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisioningStateValuein interfaceEntitlementOrBuilder- Returns:
- The enum numeric value on the wire for provisioningState.
-
getProvisioningState
public Entitlement.ProvisioningState getProvisioningState()
Output only. Current provisioning state of the entitlement.
.google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisioningStatein interfaceEntitlementOrBuilder- Returns:
- The provisioningState.
-
hasProvisionedService
public boolean hasProvisionedService()
Output only. Service provisioning details for the entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProvisionedServicein interfaceEntitlementOrBuilder- Returns:
- Whether the provisionedService field is set.
-
getProvisionedService
public ProvisionedService getProvisionedService()
Output only. Service provisioning details for the entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisionedServicein interfaceEntitlementOrBuilder- Returns:
- The provisionedService.
-
getProvisionedServiceOrBuilder
public ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder()
Output only. Service provisioning details for the entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisionedServiceOrBuilderin interfaceEntitlementOrBuilder
-
getSuspensionReasonsList
public List<Entitlement.SuspensionReason> getSuspensionReasonsList()
Output only. Enumerable of all current suspension reasons for an entitlement.
repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsListin interfaceEntitlementOrBuilder- Returns:
- A list containing the suspensionReasons.
-
getSuspensionReasonsCount
public int getSuspensionReasonsCount()
Output only. Enumerable of all current suspension reasons for an entitlement.
repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsCountin interfaceEntitlementOrBuilder- Returns:
- The count of suspensionReasons.
-
getSuspensionReasons
public Entitlement.SuspensionReason getSuspensionReasons(int index)
Output only. Enumerable of all current suspension reasons for an entitlement.
repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsin interfaceEntitlementOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The suspensionReasons at the given index.
-
getSuspensionReasonsValueList
public List<Integer> getSuspensionReasonsValueList()
Output only. Enumerable of all current suspension reasons for an entitlement.
repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsValueListin interfaceEntitlementOrBuilder- Returns:
- A list containing the enum numeric values on the wire for suspensionReasons.
-
getSuspensionReasonsValue
public int getSuspensionReasonsValue(int index)
Output only. Enumerable of all current suspension reasons for an entitlement.
repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsValuein interfaceEntitlementOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of suspensionReasons at the given index.
-
getPurchaseOrderId
public String getPurchaseOrderId()
Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. This is only supported for Google Workspace entitlements.
string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPurchaseOrderIdin interfaceEntitlementOrBuilder- Returns:
- The purchaseOrderId.
-
getPurchaseOrderIdBytes
public com.google.protobuf.ByteString getPurchaseOrderIdBytes()
Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. This is only supported for Google Workspace entitlements.
string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPurchaseOrderIdBytesin interfaceEntitlementOrBuilder- Returns:
- The bytes for purchaseOrderId.
-
hasTrialSettings
public boolean hasTrialSettings()
Output only. Settings for trial offers.
.google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTrialSettingsin interfaceEntitlementOrBuilder- Returns:
- Whether the trialSettings field is set.
-
getTrialSettings
public TrialSettings getTrialSettings()
Output only. Settings for trial offers.
.google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrialSettingsin interfaceEntitlementOrBuilder- Returns:
- The trialSettings.
-
getTrialSettingsOrBuilder
public TrialSettingsOrBuilder getTrialSettingsOrBuilder()
Output only. Settings for trial offers.
.google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrialSettingsOrBuilderin interfaceEntitlementOrBuilder
-
hasAssociationInfo
public boolean hasAssociationInfo()
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;- Specified by:
hasAssociationInfoin interfaceEntitlementOrBuilder- Returns:
- Whether the associationInfo field is set.
-
getAssociationInfo
public AssociationInfo getAssociationInfo()
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;- Specified by:
getAssociationInfoin interfaceEntitlementOrBuilder- Returns:
- The associationInfo.
-
getAssociationInfoOrBuilder
public AssociationInfoOrBuilder getAssociationInfoOrBuilder()
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;- Specified by:
getAssociationInfoOrBuilderin interfaceEntitlementOrBuilder
-
getParametersList
public List<Parameter> getParametersList()
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
repeated .google.cloud.channel.v1.Parameter parameters = 26;- Specified by:
getParametersListin interfaceEntitlementOrBuilder
-
getParametersOrBuilderList
public List<? extends ParameterOrBuilder> getParametersOrBuilderList()
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
repeated .google.cloud.channel.v1.Parameter parameters = 26;- Specified by:
getParametersOrBuilderListin interfaceEntitlementOrBuilder
-
getParametersCount
public int getParametersCount()
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
repeated .google.cloud.channel.v1.Parameter parameters = 26;- Specified by:
getParametersCountin interfaceEntitlementOrBuilder
-
getParameters
public Parameter getParameters(int index)
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
repeated .google.cloud.channel.v1.Parameter parameters = 26;- Specified by:
getParametersin interfaceEntitlementOrBuilder
-
getParametersOrBuilder
public ParameterOrBuilder getParametersOrBuilder(int index)
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
repeated .google.cloud.channel.v1.Parameter parameters = 26;- Specified by:
getParametersOrBuilderin interfaceEntitlementOrBuilder
-
getBillingAccount
public String getBillingAccount()
Optional. The billing account resource name that is used to pay for this entitlement.
string billing_account = 28 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBillingAccountin interfaceEntitlementOrBuilder- Returns:
- The billingAccount.
-
getBillingAccountBytes
public com.google.protobuf.ByteString getBillingAccountBytes()
Optional. The billing account resource name that is used to pay for this entitlement.
string billing_account = 28 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBillingAccountBytesin interfaceEntitlementOrBuilder- Returns:
- The bytes for billingAccount.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Entitlement parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Entitlement parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Entitlement parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Entitlement parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Entitlement parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Entitlement parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Entitlement.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Entitlement.Builder newBuilder()
-
newBuilder
public static Entitlement.Builder newBuilder(Entitlement prototype)
-
toBuilder
public Entitlement.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Entitlement.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Entitlement getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Entitlement> parser()
-
getParserForType
public com.google.protobuf.Parser<Entitlement> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Entitlement getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-