Package com.google.cloud.billing.v1
Interface SkuOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Sku,Sku.Builder
@Generated
public interface SkuOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe category hierarchy of this SKU, purely for organizational purpose.The category hierarchy of this SKU, purely for organizational purpose.A human readable description of the SKU, has a maximum length of 256 characters.com.google.protobuf.ByteStringA human readable description of the SKU, has a maximum length of 256 characters.The geographic taxonomy for this sku.The geographic taxonomy for this sku.getName()The resource name for the SKU.com.google.protobuf.ByteStringThe resource name for the SKU.getPricingInfo(int index) A timeline of pricing info for this SKU in chronological order.intA timeline of pricing info for this SKU in chronological order.A timeline of pricing info for this SKU in chronological order.getPricingInfoOrBuilder(int index) A timeline of pricing info for this SKU in chronological order.List<? extends PricingInfoOrBuilder>A timeline of pricing info for this SKU in chronological order.Identifies the service provider.com.google.protobuf.ByteStringIdentifies the service provider.getServiceRegions(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.intList of service regions this SKU is offered at.List of service regions this SKU is offered at.getSkuId()The identifier for the SKU.com.google.protobuf.ByteStringThe identifier for the SKU.booleanThe category hierarchy of this SKU, purely for organizational purpose.booleanThe geographic taxonomy for this sku.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
string name = 1;- Returns:
- The bytes for name.
-
getSkuId
String getSkuId()The identifier for the SKU. Example: "D041-B8A1-6E0B"
string sku_id = 2;- Returns:
- The skuId.
-
getSkuIdBytes
com.google.protobuf.ByteString getSkuIdBytes()The identifier for the SKU. Example: "D041-B8A1-6E0B"
string sku_id = 2;- Returns:
- The bytes for skuId.
-
getDescription
String getDescription()A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;- Returns:
- The bytes for description.
-
hasCategory
boolean hasCategory()The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;- Returns:
- Whether the category field is set.
-
getCategory
Category getCategory()The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;- Returns:
- The category.
-
getCategoryOrBuilder
CategoryOrBuilder getCategoryOrBuilder()The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4; -
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:
- A list containing the serviceRegions.
-
getServiceRegionsCount
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:
- The count of serviceRegions.
-
getServiceRegions
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 of the element to return.- Returns:
- The serviceRegions at the given index.
-
getServiceRegionsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the serviceRegions at the given index.
-
getPricingInfoList
List<PricingInfo> getPricingInfoList()A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6; -
getPricingInfo
A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6; -
getPricingInfoCount
int getPricingInfoCount()A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6; -
getPricingInfoOrBuilderList
List<? extends PricingInfoOrBuilder> getPricingInfoOrBuilderList()A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6; -
getPricingInfoOrBuilder
A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6; -
getServiceProviderName
String getServiceProviderName()Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
string service_provider_name = 7;- Returns:
- The serviceProviderName.
-
getServiceProviderNameBytes
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;- Returns:
- The bytes for serviceProviderName.
-
hasGeoTaxonomy
boolean hasGeoTaxonomy()The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;- Returns:
- Whether the geoTaxonomy field is set.
-
getGeoTaxonomy
GeoTaxonomy getGeoTaxonomy()The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;- Returns:
- The geoTaxonomy.
-
getGeoTaxonomyOrBuilder
GeoTaxonomyOrBuilder getGeoTaxonomyOrBuilder()The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;
-