Interface SkuOrBuilder (2.11.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
TypeDescription
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
TypeDescription
CategoryOrBuilder

getDescription()

public abstract String getDescription()

A human readable description of the SKU, has a maximum length of 256 characters.

string description = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GeoTaxonomy

The geoTaxonomy.

getGeoTaxonomyOrBuilder()

public abstract GeoTaxonomyOrBuilder getGeoTaxonomyOrBuilder()

The geographic taxonomy for this sku.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The skuId.

getSkuIdBytes()

public abstract ByteString getSkuIdBytes()

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

string sku_id = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the geoTaxonomy field is set.