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.Builder
addAllPricingInfo(Iterable<? extends PricingInfo> values)
A timeline of pricing info for this SKU in chronological order.Sku.Builder
addAllServiceRegions(Iterable<String> values)
List of service regions this SKU is offered at.Sku.Builder
addPricingInfo(int index, PricingInfo value)
A timeline of pricing info for this SKU in chronological order.Sku.Builder
addPricingInfo(int index, PricingInfo.Builder builderForValue)
A timeline of pricing info for this SKU in chronological order.Sku.Builder
addPricingInfo(PricingInfo value)
A timeline of pricing info for this SKU in chronological order.Sku.Builder
addPricingInfo(PricingInfo.Builder builderForValue)
A timeline of pricing info for this SKU in chronological order.PricingInfo.Builder
addPricingInfoBuilder()
A timeline of pricing info for this SKU in chronological order.PricingInfo.Builder
addPricingInfoBuilder(int index)
A timeline of pricing info for this SKU in chronological order.Sku.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Sku.Builder
addServiceRegions(String value)
List of service regions this SKU is offered at.Sku.Builder
addServiceRegionsBytes(com.google.protobuf.ByteString value)
List of service regions this SKU is offered at.Sku
build()
Sku
buildPartial()
Sku.Builder
clear()
Sku.Builder
clearCategory()
The category hierarchy of this SKU, purely for organizational purpose.Sku.Builder
clearDescription()
A human readable description of the SKU, has a maximum length of 256 characters.Sku.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Sku.Builder
clearGeoTaxonomy()
The geographic taxonomy for this sku.Sku.Builder
clearName()
The resource name for the SKU.Sku.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Sku.Builder
clearPricingInfo()
A timeline of pricing info for this SKU in chronological order.Sku.Builder
clearServiceProviderName()
Identifies the service provider.Sku.Builder
clearServiceRegions()
List of service regions this SKU is offered at.Sku.Builder
clearSkuId()
The identifier for the SKU.Sku.Builder
clone()
Category
getCategory()
The category hierarchy of this SKU, purely for organizational purpose.Category.Builder
getCategoryBuilder()
The category hierarchy of this SKU, purely for organizational purpose.CategoryOrBuilder
getCategoryOrBuilder()
The category hierarchy of this SKU, purely for organizational purpose.Sku
getDefaultInstanceForType()
String
getDescription()
A human readable description of the SKU, has a maximum length of 256 characters.com.google.protobuf.ByteString
getDescriptionBytes()
A human readable description of the SKU, has a maximum length of 256 characters.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GeoTaxonomy
getGeoTaxonomy()
The geographic taxonomy for this sku.GeoTaxonomy.Builder
getGeoTaxonomyBuilder()
The geographic taxonomy for this sku.GeoTaxonomyOrBuilder
getGeoTaxonomyOrBuilder()
The geographic taxonomy for this sku.String
getName()
The resource name for the SKU.com.google.protobuf.ByteString
getNameBytes()
The resource name for the SKU.PricingInfo
getPricingInfo(int index)
A timeline of pricing info for this SKU in chronological order.PricingInfo.Builder
getPricingInfoBuilder(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.int
getPricingInfoCount()
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.PricingInfoOrBuilder
getPricingInfoOrBuilder(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.String
getServiceProviderName()
Identifies the service provider.com.google.protobuf.ByteString
getServiceProviderNameBytes()
Identifies the service provider.String
getServiceRegions(int index)
List of service regions this SKU is offered at.com.google.protobuf.ByteString
getServiceRegionsBytes(int index)
List of service regions this SKU is offered at.int
getServiceRegionsCount()
List of service regions this SKU is offered at.com.google.protobuf.ProtocolStringList
getServiceRegionsList()
List of service regions this SKU is offered at.String
getSkuId()
The identifier for the SKU.com.google.protobuf.ByteString
getSkuIdBytes()
The identifier for the SKU.boolean
hasCategory()
The category hierarchy of this SKU, purely for organizational purpose.boolean
hasGeoTaxonomy()
The geographic taxonomy for this sku.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Sku.Builder
mergeCategory(Category value)
The category hierarchy of this SKU, purely for organizational purpose.Sku.Builder
mergeFrom(Sku other)
Sku.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Sku.Builder
mergeFrom(com.google.protobuf.Message other)
Sku.Builder
mergeGeoTaxonomy(GeoTaxonomy value)
The geographic taxonomy for this sku.Sku.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Sku.Builder
removePricingInfo(int index)
A timeline of pricing info for this SKU in chronological order.Sku.Builder
setCategory(Category value)
The category hierarchy of this SKU, purely for organizational purpose.Sku.Builder
setCategory(Category.Builder builderForValue)
The category hierarchy of this SKU, purely for organizational purpose.Sku.Builder
setDescription(String value)
A human readable description of the SKU, has a maximum length of 256 characters.Sku.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A human readable description of the SKU, has a maximum length of 256 characters.Sku.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Sku.Builder
setGeoTaxonomy(GeoTaxonomy value)
The geographic taxonomy for this sku.Sku.Builder
setGeoTaxonomy(GeoTaxonomy.Builder builderForValue)
The geographic taxonomy for this sku.Sku.Builder
setName(String value)
The resource name for the SKU.Sku.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource name for the SKU.Sku.Builder
setPricingInfo(int index, PricingInfo value)
A timeline of pricing info for this SKU in chronological order.Sku.Builder
setPricingInfo(int index, PricingInfo.Builder builderForValue)
A timeline of pricing info for this SKU in chronological order.Sku.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Sku.Builder
setServiceProviderName(String value)
Identifies the service provider.Sku.Builder
setServiceProviderNameBytes(com.google.protobuf.ByteString value)
Identifies the service provider.Sku.Builder
setServiceRegions(int index, String value)
List of service regions this SKU is offered at.Sku.Builder
setSkuId(String value)
The identifier for the SKU.Sku.Builder
setSkuIdBytes(com.google.protobuf.ByteString value)
The identifier for the SKU.Sku.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
clear
public Sku.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
getDefaultInstanceForType
public Sku getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Sku build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Sku buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Sku.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
setField
public Sku.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
clearField
public Sku.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
clearOneof
public Sku.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
setRepeatedField
public Sku.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
addRepeatedField
public Sku.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
mergeFrom
public Sku.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Sku.Builder>
-
mergeFrom
public Sku.Builder mergeFrom(Sku other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getSkuId
in 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:
getSkuIdBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
hasCategory
in 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:
getCategory
in 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:
getCategoryOrBuilder
in 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:
getServiceRegionsList
in 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:
getServiceRegionsCount
in 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:
getServiceRegions
in 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:
getServiceRegionsBytes
in 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:
getPricingInfoList
in 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:
getPricingInfoCount
in 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:
getPricingInfo
in 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:
getPricingInfoOrBuilder
in 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:
getPricingInfoOrBuilderList
in 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:
getServiceProviderName
in 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:
getServiceProviderNameBytes
in 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:
hasGeoTaxonomy
in 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:
getGeoTaxonomy
in 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:
getGeoTaxonomyOrBuilder
in interfaceSkuOrBuilder
-
setUnknownFields
public final Sku.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
mergeUnknownFields
public final Sku.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Sku.Builder>
-
-