Package com.google.cloud.channel.v1
Class ProvisionedService.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProvisionedService.Builder>
com.google.cloud.channel.v1.ProvisionedService.Builder
- All Implemented Interfaces:
ProvisionedServiceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProvisionedService
public static final class ProvisionedService.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProvisionedService.Builder>
implements ProvisionedServiceOrBuilder
Service provisioned for an entitlement.Protobuf type
google.cloud.channel.v1.ProvisionedService-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getSkuId()Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ProvisionedService other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setProductId(String value) Output only.setProductIdBytes(com.google.protobuf.ByteString value) Output only.setProvisioningId(String value) Output only.setProvisioningIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setSkuIdBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProvisionedService.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProvisionedService.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.GeneratedMessage.Builder<ProvisionedService.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProvisionedService.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProvisionedService.Builder>
-
mergeFrom
public ProvisionedService.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<ProvisionedService.Builder>- Throws:
IOException
-
getProvisioningId
Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.
string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisioningIdin interfaceProvisionedServiceOrBuilder- Returns:
- The provisioningId.
-
getProvisioningIdBytes
public com.google.protobuf.ByteString getProvisioningIdBytes()Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.
string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisioningIdBytesin interfaceProvisionedServiceOrBuilder- Returns:
- The bytes for provisioningId.
-
setProvisioningId
Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.
string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The provisioningId to set.- Returns:
- This builder for chaining.
-
clearProvisioningId
Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.
string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProvisioningIdBytes
Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.
string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for provisioningId to set.- Returns:
- This builder for chaining.
-
getProductId
Output only. The product pertaining to the provisioning resource as specified in the Offer.
string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductIdin interfaceProvisionedServiceOrBuilder- Returns:
- The productId.
-
getProductIdBytes
public com.google.protobuf.ByteString getProductIdBytes()Output only. The product pertaining to the provisioning resource as specified in the Offer.
string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductIdBytesin interfaceProvisionedServiceOrBuilder- Returns:
- The bytes for productId.
-
setProductId
Output only. The product pertaining to the provisioning resource as specified in the Offer.
string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The productId to set.- Returns:
- This builder for chaining.
-
clearProductId
Output only. The product pertaining to the provisioning resource as specified in the Offer.
string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProductIdBytes
Output only. The product pertaining to the provisioning resource as specified in the Offer.
string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for productId to set.- Returns:
- This builder for chaining.
-
getSkuId
Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSkuIdin interfaceProvisionedServiceOrBuilder- Returns:
- The skuId.
-
getSkuIdBytes
public com.google.protobuf.ByteString getSkuIdBytes()Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSkuIdBytesin interfaceProvisionedServiceOrBuilder- Returns:
- The bytes for skuId.
-
setSkuId
Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The skuId to set.- Returns:
- This builder for chaining.
-
clearSkuId
Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setSkuIdBytes
Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for skuId to set.- Returns:
- This builder for chaining.
-