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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ProvisionedService.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ProvisionedService.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ProvisionedService.Builder>
    • getDefaultInstanceForType

      public ProvisionedService getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ProvisionedService build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ProvisionedService buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ProvisionedService.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProvisionedService.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProvisionedService.Builder>
      Throws:
      IOException
    • getProvisioningId

      public String 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:
      getProvisioningId in interface ProvisionedServiceOrBuilder
      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:
      getProvisioningIdBytes in interface ProvisionedServiceOrBuilder
      Returns:
      The bytes for provisioningId.
    • setProvisioningId

      public ProvisionedService.Builder setProvisioningId(String value)
       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

      public ProvisionedService.Builder 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

      public ProvisionedService.Builder setProvisioningIdBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getProductId in interface ProvisionedServiceOrBuilder
      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:
      getProductIdBytes in interface ProvisionedServiceOrBuilder
      Returns:
      The bytes for productId.
    • setProductId

      public ProvisionedService.Builder setProductId(String value)
       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

      public ProvisionedService.Builder 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

      public ProvisionedService.Builder setProductIdBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getSkuId in interface ProvisionedServiceOrBuilder
      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:
      getSkuIdBytes in interface ProvisionedServiceOrBuilder
      Returns:
      The bytes for skuId.
    • setSkuId

      public ProvisionedService.Builder setSkuId(String value)
       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

      public ProvisionedService.Builder 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

      public ProvisionedService.Builder setSkuIdBytes(com.google.protobuf.ByteString value)
       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.