Package com.google.cloud.billing.v1
Class Sku.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
- com.google.cloud.billing.v1.Sku.Builder
-
- All Implemented Interfaces:
SkuOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Sku
public static final class Sku.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder> implements SkuOrBuilder
Encapsulates a single SKU in Google Cloud Platform
Protobuf typegoogle.cloud.billing.v1.Sku
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Sku.BuilderaddAllPricingInfo(Iterable<? extends PricingInfo> values)A timeline of pricing info for this SKU in chronological order.Sku.BuilderaddAllServiceRegions(Iterable<String> values)List of service regions this SKU is offered at.Sku.BuilderaddPricingInfo(int index, PricingInfo value)A timeline of pricing info for this SKU in chronological order.Sku.BuilderaddPricingInfo(int index, PricingInfo.Builder builderForValue)A timeline of pricing info for this SKU in chronological order.Sku.BuilderaddPricingInfo(PricingInfo value)A timeline of pricing info for this SKU in chronological order.Sku.BuilderaddPricingInfo(PricingInfo.Builder builderForValue)A timeline of pricing info for this SKU in chronological order.PricingInfo.BuilderaddPricingInfoBuilder()A timeline of pricing info for this SKU in chronological order.PricingInfo.BuilderaddPricingInfoBuilder(int index)A timeline of pricing info for this SKU in chronological order.Sku.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Sku.BuilderaddServiceRegions(String value)List of service regions this SKU is offered at.Sku.BuilderaddServiceRegionsBytes(com.google.protobuf.ByteString value)List of service regions this SKU is offered at.Skubuild()SkubuildPartial()Sku.Builderclear()Sku.BuilderclearCategory()The category hierarchy of this SKU, purely for organizational purpose.Sku.BuilderclearDescription()A human readable description of the SKU, has a maximum length of 256 characters.Sku.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Sku.BuilderclearGeoTaxonomy()The geographic taxonomy for this sku.Sku.BuilderclearName()The resource name for the SKU.Sku.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Sku.BuilderclearPricingInfo()A timeline of pricing info for this SKU in chronological order.Sku.BuilderclearServiceProviderName()Identifies the service provider.Sku.BuilderclearServiceRegions()List of service regions this SKU is offered at.Sku.BuilderclearSkuId()The identifier for the SKU.Sku.Builderclone()CategorygetCategory()The category hierarchy of this SKU, purely for organizational purpose.Category.BuildergetCategoryBuilder()The category hierarchy of this SKU, purely for organizational purpose.CategoryOrBuildergetCategoryOrBuilder()The category hierarchy of this SKU, purely for organizational purpose.SkugetDefaultInstanceForType()StringgetDescription()A human readable description of the SKU, has a maximum length of 256 characters.com.google.protobuf.ByteStringgetDescriptionBytes()A human readable description of the SKU, has a maximum length of 256 characters.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()GeoTaxonomygetGeoTaxonomy()The geographic taxonomy for this sku.GeoTaxonomy.BuildergetGeoTaxonomyBuilder()The geographic taxonomy for this sku.GeoTaxonomyOrBuildergetGeoTaxonomyOrBuilder()The geographic taxonomy for this sku.StringgetName()The resource name for the SKU.com.google.protobuf.ByteStringgetNameBytes()The resource name for the SKU.PricingInfogetPricingInfo(int index)A timeline of pricing info for this SKU in chronological order.PricingInfo.BuildergetPricingInfoBuilder(int index)A timeline of pricing info for this SKU in chronological order.List<PricingInfo.Builder>getPricingInfoBuilderList()A timeline of pricing info for this SKU in chronological order.intgetPricingInfoCount()A timeline of pricing info for this SKU in chronological order.List<PricingInfo>getPricingInfoList()A timeline of pricing info for this SKU in chronological order.PricingInfoOrBuildergetPricingInfoOrBuilder(int index)A timeline of pricing info for this SKU in chronological order.List<? extends PricingInfoOrBuilder>getPricingInfoOrBuilderList()A timeline of pricing info for this SKU in chronological order.StringgetServiceProviderName()Identifies the service provider.com.google.protobuf.ByteStringgetServiceProviderNameBytes()Identifies the service provider.StringgetServiceRegions(int index)List of service regions this SKU is offered at.com.google.protobuf.ByteStringgetServiceRegionsBytes(int index)List of service regions this SKU is offered at.intgetServiceRegionsCount()List of service regions this SKU is offered at.com.google.protobuf.ProtocolStringListgetServiceRegionsList()List of service regions this SKU is offered at.StringgetSkuId()The identifier for the SKU.com.google.protobuf.ByteStringgetSkuIdBytes()The identifier for the SKU.booleanhasCategory()The category hierarchy of this SKU, purely for organizational purpose.booleanhasGeoTaxonomy()The geographic taxonomy for this sku.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Sku.BuildermergeCategory(Category value)The category hierarchy of this SKU, purely for organizational purpose.Sku.BuildermergeFrom(Sku other)Sku.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Sku.BuildermergeFrom(com.google.protobuf.Message other)Sku.BuildermergeGeoTaxonomy(GeoTaxonomy value)The geographic taxonomy for this sku.Sku.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Sku.BuilderremovePricingInfo(int index)A timeline of pricing info for this SKU in chronological order.Sku.BuildersetCategory(Category value)The category hierarchy of this SKU, purely for organizational purpose.Sku.BuildersetCategory(Category.Builder builderForValue)The category hierarchy of this SKU, purely for organizational purpose.Sku.BuildersetDescription(String value)A human readable description of the SKU, has a maximum length of 256 characters.Sku.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A human readable description of the SKU, has a maximum length of 256 characters.Sku.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Sku.BuildersetGeoTaxonomy(GeoTaxonomy value)The geographic taxonomy for this sku.Sku.BuildersetGeoTaxonomy(GeoTaxonomy.Builder builderForValue)The geographic taxonomy for this sku.Sku.BuildersetName(String value)The resource name for the SKU.Sku.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name for the SKU.Sku.BuildersetPricingInfo(int index, PricingInfo value)A timeline of pricing info for this SKU in chronological order.Sku.BuildersetPricingInfo(int index, PricingInfo.Builder builderForValue)A timeline of pricing info for this SKU in chronological order.Sku.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Sku.BuildersetServiceProviderName(String value)Identifies the service provider.Sku.BuildersetServiceProviderNameBytes(com.google.protobuf.ByteString value)Identifies the service provider.Sku.BuildersetServiceRegions(int index, String value)List of service regions this SKU is offered at.Sku.BuildersetSkuId(String value)The identifier for the SKU.Sku.BuildersetSkuIdBytes(com.google.protobuf.ByteString value)The identifier for the SKU.Sku.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
clear
public Sku.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.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.GeneratedMessageV3.Builder<Sku.Builder>
-
getDefaultInstanceForType
public Sku getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Sku build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Sku buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Sku.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
setField
public Sku.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
clearField
public Sku.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
clearOneof
public Sku.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
setRepeatedField
public Sku.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
addRepeatedField
public Sku.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
mergeFrom
public Sku.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Sku.Builder>
-
mergeFrom
public Sku.Builder mergeFrom(Sku other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
mergeFrom
public Sku.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<Sku.Builder>- Throws:
IOException
-
getName
public String getName()
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
string name = 1;- Specified by:
getNamein interfaceSkuOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
string name = 1;- Specified by:
getNameBytesin interfaceSkuOrBuilder- Returns:
- The bytes for name.
-
setName
public Sku.Builder setName(String value)
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Sku.Builder clearName()
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Sku.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getSkuId
public String getSkuId()
The identifier for the SKU. Example: "AA95-CD31-42FE"
string sku_id = 2;- Specified by:
getSkuIdin interfaceSkuOrBuilder- Returns:
- The skuId.
-
getSkuIdBytes
public com.google.protobuf.ByteString getSkuIdBytes()
The identifier for the SKU. Example: "AA95-CD31-42FE"
string sku_id = 2;- Specified by:
getSkuIdBytesin interfaceSkuOrBuilder- Returns:
- The bytes for skuId.
-
setSkuId
public Sku.Builder setSkuId(String value)
The identifier for the SKU. Example: "AA95-CD31-42FE"
string sku_id = 2;- Parameters:
value- The skuId to set.- Returns:
- This builder for chaining.
-
clearSkuId
public Sku.Builder clearSkuId()
The identifier for the SKU. Example: "AA95-CD31-42FE"
string sku_id = 2;- Returns:
- This builder for chaining.
-
setSkuIdBytes
public Sku.Builder setSkuIdBytes(com.google.protobuf.ByteString value)
The identifier for the SKU. Example: "AA95-CD31-42FE"
string sku_id = 2;- Parameters:
value- The bytes for skuId to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;- Specified by:
getDescriptionin interfaceSkuOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;- Specified by:
getDescriptionBytesin interfaceSkuOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Sku.Builder setDescription(String value)
A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Sku.Builder clearDescription()
A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Sku.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCategory
public boolean hasCategory()
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;- Specified by:
hasCategoryin interfaceSkuOrBuilder- Returns:
- Whether the category field is set.
-
getCategory
public Category getCategory()
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;- Specified by:
getCategoryin interfaceSkuOrBuilder- Returns:
- The category.
-
setCategory
public Sku.Builder setCategory(Category value)
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;
-
setCategory
public Sku.Builder setCategory(Category.Builder builderForValue)
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;
-
mergeCategory
public Sku.Builder mergeCategory(Category value)
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;
-
clearCategory
public Sku.Builder clearCategory()
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;
-
getCategoryBuilder
public Category.Builder getCategoryBuilder()
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;
-
getCategoryOrBuilder
public CategoryOrBuilder getCategoryOrBuilder()
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;- Specified by:
getCategoryOrBuilderin interfaceSkuOrBuilder
-
getServiceRegionsList
public com.google.protobuf.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;- Specified by:
getServiceRegionsListin interfaceSkuOrBuilder- Returns:
- A list containing the serviceRegions.
-
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;- Specified by:
getServiceRegionsCountin interfaceSkuOrBuilder- Returns:
- The count of serviceRegions.
-
getServiceRegions
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;- Specified by:
getServiceRegionsin interfaceSkuOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The serviceRegions at the given index.
-
getServiceRegionsBytes
public com.google.protobuf.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;- Specified by:
getServiceRegionsBytesin interfaceSkuOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the serviceRegions at the given index.
-
setServiceRegions
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:
index- The index to set the value at.value- The serviceRegions to set.- Returns:
- This builder for chaining.
-
addServiceRegions
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;- Parameters:
value- The serviceRegions to add.- Returns:
- This builder for chaining.
-
addAllServiceRegions
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;- Parameters:
values- The serviceRegions to add.- Returns:
- 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:
- This builder for chaining.
-
addServiceRegionsBytes
public Sku.Builder addServiceRegionsBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the serviceRegions to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getPricingInfoListin interfaceSkuOrBuilder
-
getPricingInfoCount
public int getPricingInfoCount()
A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;- Specified by:
getPricingInfoCountin interfaceSkuOrBuilder
-
getPricingInfo
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;- Specified by:
getPricingInfoin interfaceSkuOrBuilder
-
setPricingInfo
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;
-
setPricingInfo
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;
-
addPricingInfo
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;
-
addPricingInfo
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;
-
addPricingInfo
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;
-
addPricingInfo
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;
-
addAllPricingInfo
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;
-
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;
-
removePricingInfo
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;
-
getPricingInfoBuilder
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;
-
getPricingInfoOrBuilder
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;- Specified by:
getPricingInfoOrBuilderin interfaceSkuOrBuilder
-
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;- Specified by:
getPricingInfoOrBuilderListin interfaceSkuOrBuilder
-
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;
-
addPricingInfoBuilder
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;
-
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;
-
getServiceProviderName
public String getServiceProviderName()
Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
string service_provider_name = 7;- Specified by:
getServiceProviderNamein interfaceSkuOrBuilder- Returns:
- The serviceProviderName.
-
getServiceProviderNameBytes
public com.google.protobuf.ByteString getServiceProviderNameBytes()
Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
string service_provider_name = 7;- Specified by:
getServiceProviderNameBytesin interfaceSkuOrBuilder- Returns:
- The bytes for serviceProviderName.
-
setServiceProviderName
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;- Parameters:
value- The serviceProviderName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setServiceProviderNameBytes
public Sku.Builder setServiceProviderNameBytes(com.google.protobuf.ByteString value)
Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
string service_provider_name = 7;- Parameters:
value- The bytes for serviceProviderName to set.- Returns:
- This builder for chaining.
-
hasGeoTaxonomy
public boolean hasGeoTaxonomy()
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;- Specified by:
hasGeoTaxonomyin interfaceSkuOrBuilder- Returns:
- Whether the geoTaxonomy field is set.
-
getGeoTaxonomy
public GeoTaxonomy getGeoTaxonomy()
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;- Specified by:
getGeoTaxonomyin interfaceSkuOrBuilder- Returns:
- The geoTaxonomy.
-
setGeoTaxonomy
public Sku.Builder setGeoTaxonomy(GeoTaxonomy value)
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
-
setGeoTaxonomy
public Sku.Builder setGeoTaxonomy(GeoTaxonomy.Builder builderForValue)
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
-
mergeGeoTaxonomy
public Sku.Builder mergeGeoTaxonomy(GeoTaxonomy value)
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
-
clearGeoTaxonomy
public Sku.Builder clearGeoTaxonomy()
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
-
getGeoTaxonomyBuilder
public GeoTaxonomy.Builder getGeoTaxonomyBuilder()
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
-
getGeoTaxonomyOrBuilder
public GeoTaxonomyOrBuilder getGeoTaxonomyOrBuilder()
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;- Specified by:
getGeoTaxonomyOrBuilderin interfaceSkuOrBuilder
-
setUnknownFields
public final Sku.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
mergeUnknownFields
public final Sku.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
-