Interface SkuOrBuilder (2.44.0)

public interface SkuOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCategory()

public abstract 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.

getCategoryOrBuilder()

public abstract CategoryOrBuilder getCategoryOrBuilder()

The category hierarchy of this SKU, purely for organizational purpose.

.google.cloud.billing.v1.Category category = 4;

Returns
Type Description
CategoryOrBuilder

getDescription()

public abstract 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 abstract 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.

getGeoTaxonomy()

public abstract GeoTaxonomy getGeoTaxonomy()

The geographic taxonomy for this sku.

.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;

Returns
Type Description
GeoTaxonomy

The geoTaxonomy.

getGeoTaxonomyOrBuilder()

public abstract GeoTaxonomyOrBuilder getGeoTaxonomyOrBuilder()

The geographic taxonomy for this sku.

.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;

Returns
Type Description
GeoTaxonomyOrBuilder

getName()

public abstract String getName()

The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPricingInfo(int index)

public abstract 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

getPricingInfoCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The serviceRegions at the given index.

getServiceRegionsBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the serviceRegions at the given index.

getServiceRegionsCount()

public abstract 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 abstract 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
Type Description
List<String>

A list containing the serviceRegions.

getSkuId()

public abstract String getSkuId()

The identifier for the SKU. Example: "AA95-CD31-42FE"

string sku_id = 2;

Returns
Type Description
String

The skuId.

getSkuIdBytes()

public abstract ByteString getSkuIdBytes()

The identifier for the SKU. Example: "AA95-CD31-42FE"

string sku_id = 2;

Returns
Type Description
ByteString

The bytes for skuId.

hasCategory()

public abstract 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 abstract 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.