Package com.google.cloud.billing.v1
Interface GeoTaxonomyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeoTaxonomy
,GeoTaxonomy.Builder
public interface GeoTaxonomyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getRegions(int index)
The list of regions associated with a sku.com.google.protobuf.ByteString
getRegionsBytes(int index)
The list of regions associated with a sku.int
getRegionsCount()
The list of regions associated with a sku.List<String>
getRegionsList()
The list of regions associated with a sku.GeoTaxonomy.Type
getType()
The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.int
getTypeValue()
The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
.google.cloud.billing.v1.GeoTaxonomy.Type type = 1;
- Returns:
- The enum numeric value on the wire for type.
-
getType
GeoTaxonomy.Type getType()
The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
.google.cloud.billing.v1.GeoTaxonomy.Type type = 1;
- Returns:
- The type.
-
getRegionsList
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:
- A list containing the regions.
-
getRegionsCount
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:
- The count of regions.
-
getRegions
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The regions at the given index.
-
getRegionsBytes
com.google.protobuf.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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the regions at the given index.
-
-