Interface GeoTaxonomyOrBuilder (2.22.0)

public interface GeoTaxonomyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRegions(int index)

public abstract String getRegions(int index)

The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.

repeated string regions = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The regions at the given index.

getRegionsBytes(int index)

public abstract ByteString getRegionsBytes(int index)

The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.

repeated string regions = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the regions at the given index.

getRegionsCount()

public abstract int getRegionsCount()

The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.

repeated string regions = 2;

Returns
TypeDescription
int

The count of regions.

getRegionsList()

public abstract List<String> getRegionsList()

The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.

repeated string regions = 2;

Returns
TypeDescription
List<String>

A list containing the regions.

getType()

public abstract GeoTaxonomy.Type getType()

The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.

.google.cloud.billing.v1.GeoTaxonomy.Type type = 1;

Returns
TypeDescription
GeoTaxonomy.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.

.google.cloud.billing.v1.GeoTaxonomy.Type type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.