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
public interface SkuOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Category
getCategory()
The category hierarchy of this SKU, purely for organizational purpose.CategoryOrBuilder
getCategoryOrBuilder()
The category hierarchy of this SKU, purely for organizational purpose.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.GeoTaxonomy
getGeoTaxonomy()
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.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.List<String>
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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
string name = 1;
- Returns:
- The bytes for name.
-
getSkuId
String getSkuId()
The identifier for the SKU. Example: "AA95-CD31-42FE"
string sku_id = 2;
- Returns:
- The skuId.
-
getSkuIdBytes
com.google.protobuf.ByteString getSkuIdBytes()
The identifier for the SKU. Example: "AA95-CD31-42FE"
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<String> 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
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;
- 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
PricingInfo getPricingInfo(int index)
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
PricingInfoOrBuilder getPricingInfoOrBuilder(int index)
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;
-
-