Package com.google.cloud.channel.v1
Class Entitlement
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.channel.v1.Entitlement
-
- All Implemented Interfaces:
EntitlementOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Entitlement extends com.google.protobuf.GeneratedMessageV3 implements EntitlementOrBuilder
An entitlement is a representation of a customer's ability to use a service.
Protobuf typegoogle.cloud.channel.v1.Entitlement
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Entitlement.Builder
An entitlement is a representation of a customer's ability to use a service.static class
Entitlement.ProvisioningState
Indicates the current provisioning state of the entitlement.static class
Entitlement.SuspensionReason
Suspension reason for an entitlement if [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state] = SUSPENDED.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ASSOCIATION_INFO_FIELD_NUMBER
static int
BILLING_ACCOUNT_FIELD_NUMBER
static int
COMMITMENT_SETTINGS_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OFFER_FIELD_NUMBER
static int
PARAMETERS_FIELD_NUMBER
static int
PROVISIONED_SERVICE_FIELD_NUMBER
static int
PROVISIONING_STATE_FIELD_NUMBER
static int
PURCHASE_ORDER_ID_FIELD_NUMBER
static int
SUSPENSION_REASONS_FIELD_NUMBER
static int
TRIAL_SETTINGS_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AssociationInfo
getAssociationInfo()
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.CommitmentSettingsOrBuilder
getCommitmentSettingsOrBuilder()
Commitment settings for a commitment-based Offer.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Entitlement
getDefaultInstance()
Entitlement
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.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.com.google.protobuf.Parser<Entitlement>
getParserForType()
ProvisionedService
getProvisionedService()
Output only.ProvisionedServiceOrBuilder
getProvisionedServiceOrBuilder()
Output only.Entitlement.ProvisioningState
getProvisioningState()
Output only.int
getProvisioningStateValue()
Output only.String
getPurchaseOrderId()
Optional.com.google.protobuf.ByteString
getPurchaseOrderIdBytes()
Optional.int
getSerializedSize()
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.TrialSettingsOrBuilder
getTrialSettingsOrBuilder()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
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.int
hashCode()
boolean
hasProvisionedService()
Output only.boolean
hasTrialSettings()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Entitlement.Builder
newBuilder()
static Entitlement.Builder
newBuilder(Entitlement prototype)
Entitlement.Builder
newBuilderForType()
protected Entitlement.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Entitlement
parseDelimitedFrom(InputStream input)
static Entitlement
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entitlement
parseFrom(byte[] data)
static Entitlement
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entitlement
parseFrom(com.google.protobuf.ByteString data)
static Entitlement
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entitlement
parseFrom(com.google.protobuf.CodedInputStream input)
static Entitlement
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entitlement
parseFrom(InputStream input)
static Entitlement
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Entitlement
parseFrom(ByteBuffer data)
static Entitlement
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Entitlement>
parser()
Entitlement.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OFFER_FIELD_NUMBER
public static final int OFFER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMITMENT_SETTINGS_FIELD_NUMBER
public static final int COMMITMENT_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVISIONING_STATE_FIELD_NUMBER
public static final int PROVISIONING_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVISIONED_SERVICE_FIELD_NUMBER
public static final int PROVISIONED_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUSPENSION_REASONS_FIELD_NUMBER
public static final int SUSPENSION_REASONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PURCHASE_ORDER_ID_FIELD_NUMBER
public static final int PURCHASE_ORDER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRIAL_SETTINGS_FIELD_NUMBER
public static final int TRIAL_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSOCIATION_INFO_FIELD_NUMBER
public static final int ASSOCIATION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BILLING_ACCOUNT_FIELD_NUMBER
public static final int BILLING_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Entitlement parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Entitlement parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Entitlement parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Entitlement parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Entitlement parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Entitlement parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Entitlement parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Entitlement.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Entitlement.Builder newBuilder()
-
newBuilder
public static Entitlement.Builder newBuilder(Entitlement prototype)
-
toBuilder
public Entitlement.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Entitlement.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Entitlement getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Entitlement> parser()
-
getParserForType
public com.google.protobuf.Parser<Entitlement> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Entitlement getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-