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.Builder
addAllParameters(Iterable<? extends Parameter> values)
Extended entitlement parameters.Entitlement.Builder
addAllSuspensionReasons(Iterable<? extends Entitlement.SuspensionReason> values)
Output only.Entitlement.Builder
addAllSuspensionReasonsValue(Iterable<Integer> values)
Output only.Entitlement.Builder
addParameters(int index, Parameter value)
Extended entitlement parameters.Entitlement.Builder
addParameters(int index, Parameter.Builder builderForValue)
Extended entitlement parameters.Entitlement.Builder
addParameters(Parameter value)
Extended entitlement parameters.Entitlement.Builder
addParameters(Parameter.Builder builderForValue)
Extended entitlement parameters.Parameter.Builder
addParametersBuilder()
Extended entitlement parameters.Parameter.Builder
addParametersBuilder(int index)
Extended entitlement parameters.Entitlement.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Entitlement.Builder
addSuspensionReasons(Entitlement.SuspensionReason value)
Output only.Entitlement.Builder
addSuspensionReasonsValue(int value)
Output only.Entitlement
build()
Entitlement
buildPartial()
Entitlement.Builder
clear()
Entitlement.Builder
clearAssociationInfo()
Association information to other entitlements.Entitlement.Builder
clearBillingAccount()
Optional.Entitlement.Builder
clearCommitmentSettings()
Commitment settings for a commitment-based Offer.Entitlement.Builder
clearCreateTime()
Output only.Entitlement.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Entitlement.Builder
clearName()
Output only.Entitlement.Builder
clearOffer()
Required.Entitlement.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Entitlement.Builder
clearParameters()
Extended entitlement parameters.Entitlement.Builder
clearProvisionedService()
Output only.Entitlement.Builder
clearProvisioningState()
Output only.Entitlement.Builder
clearPurchaseOrderId()
Optional.Entitlement.Builder
clearSuspensionReasons()
Output only.Entitlement.Builder
clearTrialSettings()
Output only.Entitlement.Builder
clearUpdateTime()
Output only.Entitlement.Builder
clone()
AssociationInfo
getAssociationInfo()
Association information to other entitlements.AssociationInfo.Builder
getAssociationInfoBuilder()
Association information to other entitlements.AssociationInfoOrBuilder
getAssociationInfoOrBuilder()
Association information to other entitlements.String
getBillingAccount()
Optional.com.google.protobuf.ByteString
getBillingAccountBytes()
Optional.CommitmentSettings
getCommitmentSettings()
Commitment settings for a commitment-based Offer.CommitmentSettings.Builder
getCommitmentSettingsBuilder()
Commitment settings for a commitment-based Offer.CommitmentSettingsOrBuilder
getCommitmentSettingsOrBuilder()
Commitment settings for a commitment-based Offer.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Entitlement
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getOffer()
Required.com.google.protobuf.ByteString
getOfferBytes()
Required.Parameter
getParameters(int index)
Extended entitlement parameters.Parameter.Builder
getParametersBuilder(int index)
Extended entitlement parameters.List<Parameter.Builder>
getParametersBuilderList()
Extended entitlement parameters.int
getParametersCount()
Extended entitlement parameters.List<Parameter>
getParametersList()
Extended entitlement parameters.ParameterOrBuilder
getParametersOrBuilder(int index)
Extended entitlement parameters.List<? extends ParameterOrBuilder>
getParametersOrBuilderList()
Extended entitlement parameters.ProvisionedService
getProvisionedService()
Output only.ProvisionedService.Builder
getProvisionedServiceBuilder()
Output only.ProvisionedServiceOrBuilder
getProvisionedServiceOrBuilder()
Output only.Entitlement.ProvisioningState
getProvisioningState()
Output only.int
getProvisioningStateValue()
Output only.String
getPurchaseOrderId()
Optional.com.google.protobuf.ByteString
getPurchaseOrderIdBytes()
Optional.Entitlement.SuspensionReason
getSuspensionReasons(int index)
Output only.int
getSuspensionReasonsCount()
Output only.List<Entitlement.SuspensionReason>
getSuspensionReasonsList()
Output only.int
getSuspensionReasonsValue(int index)
Output only.List<Integer>
getSuspensionReasonsValueList()
Output only.TrialSettings
getTrialSettings()
Output only.TrialSettings.Builder
getTrialSettingsBuilder()
Output only.TrialSettingsOrBuilder
getTrialSettingsOrBuilder()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasAssociationInfo()
Association information to other entitlements.boolean
hasCommitmentSettings()
Commitment settings for a commitment-based Offer.boolean
hasCreateTime()
Output only.boolean
hasProvisionedService()
Output only.boolean
hasTrialSettings()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Entitlement.Builder
mergeAssociationInfo(AssociationInfo value)
Association information to other entitlements.Entitlement.Builder
mergeCommitmentSettings(CommitmentSettings value)
Commitment settings for a commitment-based Offer.Entitlement.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Entitlement.Builder
mergeFrom(Entitlement other)
Entitlement.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Entitlement.Builder
mergeFrom(com.google.protobuf.Message other)
Entitlement.Builder
mergeProvisionedService(ProvisionedService value)
Output only.Entitlement.Builder
mergeTrialSettings(TrialSettings value)
Output only.Entitlement.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Entitlement.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Entitlement.Builder
removeParameters(int index)
Extended entitlement parameters.Entitlement.Builder
setAssociationInfo(AssociationInfo value)
Association information to other entitlements.Entitlement.Builder
setAssociationInfo(AssociationInfo.Builder builderForValue)
Association information to other entitlements.Entitlement.Builder
setBillingAccount(String value)
Optional.Entitlement.Builder
setBillingAccountBytes(com.google.protobuf.ByteString value)
Optional.Entitlement.Builder
setCommitmentSettings(CommitmentSettings value)
Commitment settings for a commitment-based Offer.Entitlement.Builder
setCommitmentSettings(CommitmentSettings.Builder builderForValue)
Commitment settings for a commitment-based Offer.Entitlement.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Entitlement.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Entitlement.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Entitlement.Builder
setName(String value)
Output only.Entitlement.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Entitlement.Builder
setOffer(String value)
Required.Entitlement.Builder
setOfferBytes(com.google.protobuf.ByteString value)
Required.Entitlement.Builder
setParameters(int index, Parameter value)
Extended entitlement parameters.Entitlement.Builder
setParameters(int index, Parameter.Builder builderForValue)
Extended entitlement parameters.Entitlement.Builder
setProvisionedService(ProvisionedService value)
Output only.Entitlement.Builder
setProvisionedService(ProvisionedService.Builder builderForValue)
Output only.Entitlement.Builder
setProvisioningState(Entitlement.ProvisioningState value)
Output only.Entitlement.Builder
setProvisioningStateValue(int value)
Output only.Entitlement.Builder
setPurchaseOrderId(String value)
Optional.Entitlement.Builder
setPurchaseOrderIdBytes(com.google.protobuf.ByteString value)
Optional.Entitlement.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Entitlement.Builder
setSuspensionReasons(int index, Entitlement.SuspensionReason value)
Output only.Entitlement.Builder
setSuspensionReasonsValue(int index, int value)
Output only.Entitlement.Builder
setTrialSettings(TrialSettings value)
Output only.Entitlement.Builder
setTrialSettings(TrialSettings.Builder builderForValue)
Output only.Entitlement.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Entitlement.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Entitlement.Builder
setUpdateTime(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
clear
public Entitlement.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
getDefaultInstanceForType
public Entitlement getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Entitlement build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Entitlement buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Entitlement.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
setField
public Entitlement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
clearField
public Entitlement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
clearOneof
public Entitlement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
setRepeatedField
public Entitlement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
addRepeatedField
public Entitlement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
mergeFrom
public Entitlement.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Entitlement.Builder>
-
mergeFrom
public Entitlement.Builder mergeFrom(Entitlement other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getOffer
in 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:
getOfferBytes
in 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:
hasCommitmentSettings
in 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:
getCommitmentSettings
in 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:
getCommitmentSettingsOrBuilder
in 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:
getProvisioningStateValue
in 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:
getProvisioningState
in 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:
hasProvisionedService
in 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:
getProvisionedService
in 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:
getProvisionedServiceOrBuilder
in 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:
getSuspensionReasonsList
in 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:
getSuspensionReasonsCount
in 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:
getSuspensionReasons
in 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:
getSuspensionReasonsValueList
in 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:
getSuspensionReasonsValue
in 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:
getPurchaseOrderId
in 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:
getPurchaseOrderIdBytes
in 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:
hasTrialSettings
in 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:
getTrialSettings
in 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:
getTrialSettingsOrBuilder
in interfaceEntitlementOrBuilder
-
hasAssociationInfo
public boolean hasAssociationInfo()
Association information to other entitlements.
.google.cloud.channel.v1.AssociationInfo association_info = 23;
- Specified by:
hasAssociationInfo
in 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:
getAssociationInfo
in 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:
getAssociationInfoOrBuilder
in 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:
getParametersList
in 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:
getParametersCount
in 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:
getParameters
in 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:
getParametersOrBuilder
in 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:
getParametersOrBuilderList
in 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:
getBillingAccount
in 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:
getBillingAccountBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
mergeUnknownFields
public final Entitlement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Entitlement.Builder>
-
-