- 2.78.0 (latest)
 - 2.76.0
 - 2.75.0
 - 2.74.0
 - 2.73.0
 - 2.72.0
 - 2.70.0
 - 2.68.0
 - 2.67.0
 - 2.64.0
 - 2.63.0
 - 2.62.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.0
 - 2.52.0
 - 2.51.0
 - 2.49.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.42.0
 - 2.41.0
 - 2.40.0
 - 2.39.0
 - 2.37.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.30.0
 - 2.29.0
 - 2.28.0
 - 2.27.0
 - 2.24.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.14.0
 - 2.13.0
 - 2.12.0
 - 2.11.0
 - 2.10.0
 - 2.9.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.0
 - 2.4.0
 - 2.3.5
 - 2.2.1
 - 2.1.12
 
public static final class Sku.Builder extends GeneratedMessageV3.Builder<Sku.Builder> implements SkuOrBuilderEncapsulates a single SKU in Google Cloud
 Protobuf type google.cloud.billing.v1.Sku
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Sku.BuilderImplements
SkuOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllPricingInfo(Iterable<? extends PricingInfo> values)
public Sku.Builder addAllPricingInfo(Iterable<? extends PricingInfo> values)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.billing.v1.PricingInfo> | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
addAllServiceRegions(Iterable<String> values)
public Sku.Builder addAllServiceRegions(Iterable<String> values)List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<String>The serviceRegions to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
addPricingInfo(PricingInfo value)
public Sku.Builder addPricingInfo(PricingInfo value)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        PricingInfo | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
addPricingInfo(PricingInfo.Builder builderForValue)
public Sku.Builder addPricingInfo(PricingInfo.Builder builderForValue)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        PricingInfo.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
addPricingInfo(int index, PricingInfo value)
public Sku.Builder addPricingInfo(int index, PricingInfo value)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        PricingInfo | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
addPricingInfo(int index, PricingInfo.Builder builderForValue)
public Sku.Builder addPricingInfo(int index, PricingInfo.Builder builderForValue)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        PricingInfo.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
addPricingInfoBuilder()
public PricingInfo.Builder addPricingInfoBuilder()A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Returns | |
|---|---|
| Type | Description | 
PricingInfo.Builder | 
        |
addPricingInfoBuilder(int index)
public PricingInfo.Builder addPricingInfoBuilder(int index)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
PricingInfo.Builder | 
        |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Sku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
addServiceRegions(String value)
public Sku.Builder addServiceRegions(String value)List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe serviceRegions to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
addServiceRegionsBytes(ByteString value)
public Sku.Builder addServiceRegionsBytes(ByteString value)List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes of the serviceRegions to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
build()
public Sku build()| Returns | |
|---|---|
| Type | Description | 
Sku | 
        |
buildPartial()
public Sku buildPartial()| Returns | |
|---|---|
| Type | Description | 
Sku | 
        |
clear()
public Sku.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
clearCategory()
public Sku.Builder clearCategory()The category hierarchy of this SKU, purely for organizational purpose.
 .google.cloud.billing.v1.Category category = 4;
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
clearDescription()
public Sku.Builder clearDescription()A human readable description of the SKU, has a maximum length of 256 characters.
 string description = 3;
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Sku.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
clearGeoTaxonomy()
public Sku.Builder clearGeoTaxonomy()The geographic taxonomy for this sku.
 .google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
clearName()
public Sku.Builder clearName()The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Sku.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
clearPricingInfo()
public Sku.Builder clearPricingInfo()A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
clearServiceProviderName()
public Sku.Builder clearServiceProviderName()Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
 string service_provider_name = 7;
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
clearServiceRegions()
public Sku.Builder clearServiceRegions()List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
clearSkuId()
public Sku.Builder clearSkuId()The identifier for the SKU. Example: "D041-B8A1-6E0B"
 string sku_id = 2;
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
clone()
public Sku.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
getCategory()
public Category getCategory()The category hierarchy of this SKU, purely for organizational purpose.
 .google.cloud.billing.v1.Category category = 4;
| Returns | |
|---|---|
| Type | Description | 
Category | 
        The category.  | 
      
getCategoryBuilder()
public Category.Builder getCategoryBuilder()The category hierarchy of this SKU, purely for organizational purpose.
 .google.cloud.billing.v1.Category category = 4;
| Returns | |
|---|---|
| Type | Description | 
Category.Builder | 
        |
getCategoryOrBuilder()
public CategoryOrBuilder getCategoryOrBuilder()The category hierarchy of this SKU, purely for organizational purpose.
 .google.cloud.billing.v1.Category category = 4;
| Returns | |
|---|---|
| Type | Description | 
CategoryOrBuilder | 
        |
getDefaultInstanceForType()
public Sku getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Sku | 
        |
getDescription()
public String getDescription()A human readable description of the SKU, has a maximum length of 256 characters.
 string description = 3;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public ByteString getDescriptionBytes()A human readable description of the SKU, has a maximum length of 256 characters.
 string description = 3;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getGeoTaxonomy()
public GeoTaxonomy getGeoTaxonomy()The geographic taxonomy for this sku.
 .google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
| Returns | |
|---|---|
| Type | Description | 
GeoTaxonomy | 
        The geoTaxonomy.  | 
      
getGeoTaxonomyBuilder()
public GeoTaxonomy.Builder getGeoTaxonomyBuilder()The geographic taxonomy for this sku.
 .google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
| Returns | |
|---|---|
| Type | Description | 
GeoTaxonomy.Builder | 
        |
getGeoTaxonomyOrBuilder()
public GeoTaxonomyOrBuilder getGeoTaxonomyOrBuilder()The geographic taxonomy for this sku.
 .google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
| Returns | |
|---|---|
| Type | Description | 
GeoTaxonomyOrBuilder | 
        |
getName()
public String getName()The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes()The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getPricingInfo(int index)
public PricingInfo getPricingInfo(int index)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
PricingInfo | 
        |
getPricingInfoBuilder(int index)
public PricingInfo.Builder getPricingInfoBuilder(int index)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
PricingInfo.Builder | 
        |
getPricingInfoBuilderList()
public List<PricingInfo.Builder> getPricingInfoBuilderList()A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getPricingInfoCount()
public int getPricingInfoCount()A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getPricingInfoList()
public List<PricingInfo> getPricingInfoList()A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Returns | |
|---|---|
| Type | Description | 
List<PricingInfo> | 
        |
getPricingInfoOrBuilder(int index)
public PricingInfoOrBuilder getPricingInfoOrBuilder(int index)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
PricingInfoOrBuilder | 
        |
getPricingInfoOrBuilderList()
public List<? extends PricingInfoOrBuilder> getPricingInfoOrBuilderList()A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.billing.v1.PricingInfoOrBuilder> | 
        |
getServiceProviderName()
public String getServiceProviderName()Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
 string service_provider_name = 7;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The serviceProviderName.  | 
      
getServiceProviderNameBytes()
public ByteString getServiceProviderNameBytes()Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
 string service_provider_name = 7;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for serviceProviderName.  | 
      
getServiceRegions(int index)
public String getServiceRegions(int index)List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        The serviceRegions at the given index.  | 
      
getServiceRegionsBytes(int index)
public ByteString getServiceRegionsBytes(int index)List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes of the serviceRegions at the given index.  | 
      
getServiceRegionsCount()
public int getServiceRegionsCount()List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of serviceRegions.  | 
      
getServiceRegionsList()
public ProtocolStringList getServiceRegionsList()List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Returns | |
|---|---|
| Type | Description | 
ProtocolStringList | 
        A list containing the serviceRegions.  | 
      
getSkuId()
public String getSkuId()The identifier for the SKU. Example: "D041-B8A1-6E0B"
 string sku_id = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The skuId.  | 
      
getSkuIdBytes()
public ByteString getSkuIdBytes()The identifier for the SKU. Example: "D041-B8A1-6E0B"
 string sku_id = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for skuId.  | 
      
hasCategory()
public boolean hasCategory()The category hierarchy of this SKU, purely for organizational purpose.
 .google.cloud.billing.v1.Category category = 4;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the category field is set.  | 
      
hasGeoTaxonomy()
public boolean hasGeoTaxonomy()The geographic taxonomy for this sku.
 .google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the geoTaxonomy field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeCategory(Category value)
public Sku.Builder mergeCategory(Category value)The category hierarchy of this SKU, purely for organizational purpose.
 .google.cloud.billing.v1.Category category = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Category | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
mergeFrom(Sku other)
public Sku.Builder mergeFrom(Sku other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Sku | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Sku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Sku.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
mergeGeoTaxonomy(GeoTaxonomy value)
public Sku.Builder mergeGeoTaxonomy(GeoTaxonomy value)The geographic taxonomy for this sku.
 .google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        GeoTaxonomy | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Sku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
removePricingInfo(int index)
public Sku.Builder removePricingInfo(int index)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setCategory(Category value)
public Sku.Builder setCategory(Category value)The category hierarchy of this SKU, purely for organizational purpose.
 .google.cloud.billing.v1.Category category = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Category | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setCategory(Category.Builder builderForValue)
public Sku.Builder setCategory(Category.Builder builderForValue)The category hierarchy of this SKU, purely for organizational purpose.
 .google.cloud.billing.v1.Category category = 4;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Category.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setDescription(String value)
public Sku.Builder setDescription(String value)A human readable description of the SKU, has a maximum length of 256 characters.
 string description = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Sku.Builder setDescriptionBytes(ByteString value)A human readable description of the SKU, has a maximum length of 256 characters.
 string description = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Sku.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setGeoTaxonomy(GeoTaxonomy value)
public Sku.Builder setGeoTaxonomy(GeoTaxonomy value)The geographic taxonomy for this sku.
 .google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        GeoTaxonomy | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setGeoTaxonomy(GeoTaxonomy.Builder builderForValue)
public Sku.Builder setGeoTaxonomy(GeoTaxonomy.Builder builderForValue)The geographic taxonomy for this sku.
 .google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        GeoTaxonomy.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setName(String value)
public Sku.Builder setName(String value)The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Sku.Builder setNameBytes(ByteString value)The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setPricingInfo(int index, PricingInfo value)
public Sku.Builder setPricingInfo(int index, PricingInfo value)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        PricingInfo | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setPricingInfo(int index, PricingInfo.Builder builderForValue)
public Sku.Builder setPricingInfo(int index, PricingInfo.Builder builderForValue)A timeline of pricing info for this SKU in chronological order.
 repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        PricingInfo.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Sku.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |
setServiceProviderName(String value)
public Sku.Builder setServiceProviderName(String value)Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
 string service_provider_name = 7;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe serviceProviderName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setServiceProviderNameBytes(ByteString value)
public Sku.Builder setServiceProviderNameBytes(ByteString value)Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
 string service_provider_name = 7;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for serviceProviderName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setServiceRegions(int index, String value)
public Sku.Builder setServiceRegions(int index, String value)List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
 repeated string service_regions = 5;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe serviceRegions to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setSkuId(String value)
public Sku.Builder setSkuId(String value)The identifier for the SKU. Example: "D041-B8A1-6E0B"
 string sku_id = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe skuId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setSkuIdBytes(ByteString value)
public Sku.Builder setSkuIdBytes(ByteString value)The identifier for the SKU. Example: "D041-B8A1-6E0B"
 string sku_id = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for skuId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Sku.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Sku.Builder | 
        |