Package com.google.cloud.channel.v1
Class Entitlement.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
- com.google.cloud.channel.v1.Entitlement.Builder
-
- All Implemented Interfaces:
EntitlementOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Entitlement
public static final class Entitlement.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder> implements EntitlementOrBuilder
An entitlement is a representation of a customer's ability to use a service.
Protobuf typegoogle.cloud.channel.v1.Entitlement
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Entitlement.BuilderaddAllParameters(Iterable<? extends Parameter> values)Extended entitlement parameters.Entitlement.BuilderaddAllSuspensionReasons(Iterable<? extends Entitlement.SuspensionReason> values)Output only.Entitlement.BuilderaddAllSuspensionReasonsValue(Iterable<Integer> values)Output only.Entitlement.BuilderaddParameters(int index, Parameter value)Extended entitlement parameters.Entitlement.BuilderaddParameters(int index, Parameter.Builder builderForValue)Extended entitlement parameters.Entitlement.BuilderaddParameters(Parameter value)Extended entitlement parameters.Entitlement.BuilderaddParameters(Parameter.Builder builderForValue)Extended entitlement parameters.Parameter.BuilderaddParametersBuilder()Extended entitlement parameters.Parameter.BuilderaddParametersBuilder(int index)Extended entitlement parameters.Entitlement.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Entitlement.BuilderaddSuspensionReasons(Entitlement.SuspensionReason value)Output only.Entitlement.BuilderaddSuspensionReasonsValue(int value)Output only.Entitlementbuild()EntitlementbuildPartial()Entitlement.Builderclear()Entitlement.BuilderclearAssociationInfo()Association information to other entitlements.Entitlement.BuilderclearBillingAccount()Optional.Entitlement.BuilderclearCommitmentSettings()Commitment settings for a commitment-based Offer.Entitlement.BuilderclearCreateTime()Output only.Entitlement.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Entitlement.BuilderclearName()Output only.Entitlement.BuilderclearOffer()Required.Entitlement.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Entitlement.BuilderclearParameters()Extended entitlement parameters.Entitlement.BuilderclearProvisionedService()Output only.Entitlement.BuilderclearProvisioningState()Output only.Entitlement.BuilderclearPurchaseOrderId()Optional.Entitlement.BuilderclearSuspensionReasons()Output only.Entitlement.BuilderclearTrialSettings()Output only.Entitlement.BuilderclearUpdateTime()Output only.Entitlement.Builderclone()AssociationInfogetAssociationInfo()Association information to other entitlements.AssociationInfo.BuildergetAssociationInfoBuilder()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.CommitmentSettings.BuildergetCommitmentSettingsBuilder()Commitment settings for a commitment-based Offer.CommitmentSettingsOrBuildergetCommitmentSettingsOrBuilder()Commitment settings for a commitment-based Offer.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.EntitlementgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetOffer()Required.com.google.protobuf.ByteStringgetOfferBytes()Required.ParametergetParameters(int index)Extended entitlement parameters.Parameter.BuildergetParametersBuilder(int index)Extended entitlement parameters.List<Parameter.Builder>getParametersBuilderList()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.ProvisionedServicegetProvisionedService()Output only.ProvisionedService.BuildergetProvisionedServiceBuilder()Output only.ProvisionedServiceOrBuildergetProvisionedServiceOrBuilder()Output only.Entitlement.ProvisioningStategetProvisioningState()Output only.intgetProvisioningStateValue()Output only.StringgetPurchaseOrderId()Optional.com.google.protobuf.ByteStringgetPurchaseOrderIdBytes()Optional.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.TrialSettings.BuildergetTrialSettingsBuilder()Output only.TrialSettingsOrBuildergetTrialSettingsOrBuilder()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()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.booleanhasProvisionedService()Output only.booleanhasTrialSettings()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Entitlement.BuildermergeAssociationInfo(AssociationInfo value)Association information to other entitlements.Entitlement.BuildermergeCommitmentSettings(CommitmentSettings value)Commitment settings for a commitment-based Offer.Entitlement.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Entitlement.BuildermergeFrom(Entitlement other)Entitlement.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Entitlement.BuildermergeFrom(com.google.protobuf.Message other)Entitlement.BuildermergeProvisionedService(ProvisionedService value)Output only.Entitlement.BuildermergeTrialSettings(TrialSettings value)Output only.Entitlement.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Entitlement.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Entitlement.BuilderremoveParameters(int index)Extended entitlement parameters.Entitlement.BuildersetAssociationInfo(AssociationInfo value)Association information to other entitlements.Entitlement.BuildersetAssociationInfo(AssociationInfo.Builder builderForValue)Association information to other entitlements.Entitlement.BuildersetBillingAccount(String value)Optional.Entitlement.BuildersetBillingAccountBytes(com.google.protobuf.ByteString value)Optional.Entitlement.BuildersetCommitmentSettings(CommitmentSettings value)Commitment settings for a commitment-based Offer.Entitlement.BuildersetCommitmentSettings(CommitmentSettings.Builder builderForValue)Commitment settings for a commitment-based Offer.Entitlement.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Entitlement.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Entitlement.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Entitlement.BuildersetName(String value)Output only.Entitlement.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Entitlement.BuildersetOffer(String value)Required.Entitlement.BuildersetOfferBytes(com.google.protobuf.ByteString value)Required.Entitlement.BuildersetParameters(int index, Parameter value)Extended entitlement parameters.Entitlement.BuildersetParameters(int index, Parameter.Builder builderForValue)Extended entitlement parameters.Entitlement.BuildersetProvisionedService(ProvisionedService value)Output only.Entitlement.BuildersetProvisionedService(ProvisionedService.Builder builderForValue)Output only.Entitlement.BuildersetProvisioningState(Entitlement.ProvisioningState value)Output only.Entitlement.BuildersetProvisioningStateValue(int value)Output only.Entitlement.BuildersetPurchaseOrderId(String value)Optional.Entitlement.BuildersetPurchaseOrderIdBytes(com.google.protobuf.ByteString value)Optional.Entitlement.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Entitlement.BuildersetSuspensionReasons(int index, Entitlement.SuspensionReason value)Output only.Entitlement.BuildersetSuspensionReasonsValue(int index, int value)Output only.Entitlement.BuildersetTrialSettings(TrialSettings value)Output only.Entitlement.BuildersetTrialSettings(TrialSettings.Builder builderForValue)Output only.Entitlement.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Entitlement.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Entitlement.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Entitlement.Builder>
-
clear
public Entitlement.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
getDefaultInstanceForType
public Entitlement getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Entitlement build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Entitlement buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Entitlement.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
setField
public Entitlement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
clearField
public Entitlement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
clearOneof
public Entitlement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
setRepeatedField
public Entitlement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
addRepeatedField
public Entitlement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
mergeFrom
public Entitlement.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Entitlement.Builder>
-
mergeFrom
public Entitlement.Builder mergeFrom(Entitlement other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
mergeFrom
public Entitlement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Entitlement.Builder>- Throws:
IOException
-
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.
-
setName
public Entitlement.Builder setName(String value)
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Entitlement.Builder clearName()
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];- Returns:
- This builder for chaining.
-
setNameBytes
public Entitlement.Builder setNameBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public Entitlement.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the entitlement is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Entitlement.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which the entitlement is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Entitlement.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the entitlement is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Entitlement.Builder clearCreateTime()
Output only. The time at which the entitlement is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which the entitlement is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setUpdateTime
public Entitlement.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the entitlement is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Entitlement.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which the entitlement is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Entitlement.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the entitlement is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Entitlement.Builder clearUpdateTime()
Output only. The time at which the entitlement is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time at which the entitlement is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setOffer
public Entitlement.Builder setOffer(String value)
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) = { ... }- Parameters:
value- The offer to set.- Returns:
- This builder for chaining.
-
clearOffer
public Entitlement.Builder clearOffer()
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) = { ... }- Returns:
- This builder for chaining.
-
setOfferBytes
public Entitlement.Builder setOfferBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for offer to set.- Returns:
- This builder for chaining.
-
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.
-
setCommitmentSettings
public Entitlement.Builder setCommitmentSettings(CommitmentSettings value)
Commitment settings for a commitment-based Offer. Required for commitment based offers.
.google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
-
setCommitmentSettings
public Entitlement.Builder setCommitmentSettings(CommitmentSettings.Builder builderForValue)
Commitment settings for a commitment-based Offer. Required for commitment based offers.
.google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
-
mergeCommitmentSettings
public Entitlement.Builder mergeCommitmentSettings(CommitmentSettings value)
Commitment settings for a commitment-based Offer. Required for commitment based offers.
.google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
-
clearCommitmentSettings
public Entitlement.Builder clearCommitmentSettings()
Commitment settings for a commitment-based Offer. Required for commitment based offers.
.google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
-
getCommitmentSettingsBuilder
public CommitmentSettings.Builder getCommitmentSettingsBuilder()
Commitment settings for a commitment-based Offer. Required for commitment based offers.
.google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
-
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.
-
setProvisioningStateValue
public Entitlement.Builder setProvisioningStateValue(int value)
Output only. Current provisioning state of the entitlement.
.google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for provisioningState to set.- Returns:
- This builder for chaining.
-
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.
-
setProvisioningState
public Entitlement.Builder setProvisioningState(Entitlement.ProvisioningState value)
Output only. Current provisioning state of the entitlement.
.google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The provisioningState to set.- Returns:
- This builder for chaining.
-
clearProvisioningState
public Entitlement.Builder clearProvisioningState()
Output only. Current provisioning state of the entitlement.
.google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setProvisionedService
public Entitlement.Builder setProvisionedService(ProvisionedService value)
Output only. Service provisioning details for the entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setProvisionedService
public Entitlement.Builder setProvisionedService(ProvisionedService.Builder builderForValue)
Output only. Service provisioning details for the entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeProvisionedService
public Entitlement.Builder mergeProvisionedService(ProvisionedService value)
Output only. Service provisioning details for the entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearProvisionedService
public Entitlement.Builder clearProvisionedService()
Output only. Service provisioning details for the entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getProvisionedServiceBuilder
public ProvisionedService.Builder getProvisionedServiceBuilder()
Output only. Service provisioning details for the entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setSuspensionReasons
public Entitlement.Builder setSuspensionReasons(int index, Entitlement.SuspensionReason value)
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];- Parameters:
index- The index to set the value at.value- The suspensionReasons to set.- Returns:
- This builder for chaining.
-
addSuspensionReasons
public Entitlement.Builder addSuspensionReasons(Entitlement.SuspensionReason value)
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];- Parameters:
value- The suspensionReasons to add.- Returns:
- This builder for chaining.
-
addAllSuspensionReasons
public Entitlement.Builder addAllSuspensionReasons(Iterable<? extends Entitlement.SuspensionReason> values)
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];- Parameters:
values- The suspensionReasons to add.- Returns:
- This builder for chaining.
-
clearSuspensionReasons
public Entitlement.Builder clearSuspensionReasons()
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];- Returns:
- This builder for chaining.
-
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.
-
setSuspensionReasonsValue
public Entitlement.Builder setSuspensionReasonsValue(int index, int value)
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];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for suspensionReasons to set.- Returns:
- This builder for chaining.
-
addSuspensionReasonsValue
public Entitlement.Builder addSuspensionReasonsValue(int value)
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];- Parameters:
value- The enum numeric value on the wire for suspensionReasons to add.- Returns:
- This builder for chaining.
-
addAllSuspensionReasonsValue
public Entitlement.Builder addAllSuspensionReasonsValue(Iterable<Integer> values)
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];- Parameters:
values- The enum numeric values on the wire for suspensionReasons to add.- Returns:
- This builder for chaining.
-
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.
-
setPurchaseOrderId
public Entitlement.Builder setPurchaseOrderId(String value)
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];- Parameters:
value- The purchaseOrderId to set.- Returns:
- This builder for chaining.
-
clearPurchaseOrderId
public Entitlement.Builder clearPurchaseOrderId()
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];- Returns:
- This builder for chaining.
-
setPurchaseOrderIdBytes
public Entitlement.Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for purchaseOrderId to set.- Returns:
- This builder for chaining.
-
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.
-
setTrialSettings
public Entitlement.Builder setTrialSettings(TrialSettings value)
Output only. Settings for trial offers.
.google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTrialSettings
public Entitlement.Builder setTrialSettings(TrialSettings.Builder builderForValue)
Output only. Settings for trial offers.
.google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeTrialSettings
public Entitlement.Builder mergeTrialSettings(TrialSettings value)
Output only. Settings for trial offers.
.google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTrialSettings
public Entitlement.Builder clearTrialSettings()
Output only. Settings for trial offers.
.google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrialSettingsBuilder
public TrialSettings.Builder getTrialSettingsBuilder()
Output only. Settings for trial offers.
.google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setAssociationInfo
public Entitlement.Builder setAssociationInfo(AssociationInfo value)
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;
-
setAssociationInfo
public Entitlement.Builder setAssociationInfo(AssociationInfo.Builder builderForValue)
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;
-
mergeAssociationInfo
public Entitlement.Builder mergeAssociationInfo(AssociationInfo value)
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;
-
clearAssociationInfo
public Entitlement.Builder clearAssociationInfo()
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;
-
getAssociationInfoBuilder
public AssociationInfo.Builder getAssociationInfoBuilder()
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;
-
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
-
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
-
setParameters
public Entitlement.Builder setParameters(int index, Parameter value)
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;
-
setParameters
public Entitlement.Builder setParameters(int index, Parameter.Builder builderForValue)
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;
-
addParameters
public Entitlement.Builder addParameters(Parameter value)
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;
-
addParameters
public Entitlement.Builder addParameters(int index, Parameter value)
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;
-
addParameters
public Entitlement.Builder addParameters(Parameter.Builder builderForValue)
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;
-
addParameters
public Entitlement.Builder addParameters(int index, Parameter.Builder builderForValue)
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;
-
addAllParameters
public Entitlement.Builder addAllParameters(Iterable<? extends Parameter> values)
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;
-
clearParameters
public Entitlement.Builder clearParameters()
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;
-
removeParameters
public Entitlement.Builder removeParameters(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;
-
getParametersBuilder
public Parameter.Builder getParametersBuilder(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;
-
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
-
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
-
addParametersBuilder
public Parameter.Builder addParametersBuilder()
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;
-
addParametersBuilder
public Parameter.Builder addParametersBuilder(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;
-
getParametersBuilderList
public List<Parameter.Builder> getParametersBuilderList()
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;
-
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.
-
setBillingAccount
public Entitlement.Builder setBillingAccount(String value)
Optional. The billing account resource name that is used to pay for this entitlement.
string billing_account = 28 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The billingAccount to set.- Returns:
- This builder for chaining.
-
clearBillingAccount
public Entitlement.Builder clearBillingAccount()
Optional. The billing account resource name that is used to pay for this entitlement.
string billing_account = 28 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setBillingAccountBytes
public Entitlement.Builder setBillingAccountBytes(com.google.protobuf.ByteString value)
Optional. The billing account resource name that is used to pay for this entitlement.
string billing_account = 28 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for billingAccount to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Entitlement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
mergeUnknownFields
public final Entitlement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
-