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
@Generated
public interface GeoTaxonomyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetRegions(int index) The list of regions associated with a sku.com.google.protobuf.ByteStringgetRegionsBytes(int index) The list of regions associated with a sku.intThe list of regions associated with a sku.The list of regions associated with a sku.getType()The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.intThe type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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.
-