public final class Sku extends com.google.protobuf.GeneratedMessageV3 implements SkuOrBuilder
Encapsulates a single SKU in Google CloudProtobuf type
google.cloud.billing.v1.Sku| Modifier and Type | Class and Description |
|---|---|
static class |
Sku.Builder
Encapsulates a single SKU in Google Cloud
Protobuf type
google.cloud.billing.v1.Sku |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CATEGORY_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
GEO_TAXONOMY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PRICING_INFO_FIELD_NUMBER |
static int |
SERVICE_PROVIDER_NAME_FIELD_NUMBER |
static int |
SERVICE_REGIONS_FIELD_NUMBER |
static int |
SKU_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Category |
getCategory()
The category hierarchy of this SKU, purely for organizational purpose.
|
CategoryOrBuilder |
getCategoryOrBuilder()
The category hierarchy of this SKU, purely for organizational purpose.
|
static Sku |
getDefaultInstance() |
Sku |
getDefaultInstanceForType() |
String |
getDescription()
A human readable description of the SKU, has a maximum length of 256
characters.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A human readable description of the SKU, has a maximum length of 256
characters.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GeoTaxonomy |
getGeoTaxonomy()
The geographic taxonomy for this sku.
|
GeoTaxonomyOrBuilder |
getGeoTaxonomyOrBuilder()
The geographic taxonomy for this sku.
|
String |
getName()
The resource name for the SKU.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name for the SKU.
|
com.google.protobuf.Parser<Sku> |
getParserForType() |
PricingInfo |
getPricingInfo(int index)
A timeline of pricing info for this SKU in chronological order.
|
int |
getPricingInfoCount()
A timeline of pricing info for this SKU in chronological order.
|
List<PricingInfo> |
getPricingInfoList()
A timeline of pricing info for this SKU in chronological order.
|
PricingInfoOrBuilder |
getPricingInfoOrBuilder(int index)
A timeline of pricing info for this SKU in chronological order.
|
List<? extends PricingInfoOrBuilder> |
getPricingInfoOrBuilderList()
A timeline of pricing info for this SKU in chronological order.
|
int |
getSerializedSize() |
String |
getServiceProviderName()
Identifies the service provider.
|
com.google.protobuf.ByteString |
getServiceProviderNameBytes()
Identifies the service provider.
|
String |
getServiceRegions(int index)
List of service regions this SKU is offered at.
|
com.google.protobuf.ByteString |
getServiceRegionsBytes(int index)
List of service regions this SKU is offered at.
|
int |
getServiceRegionsCount()
List of service regions this SKU is offered at.
|
com.google.protobuf.ProtocolStringList |
getServiceRegionsList()
List of service regions this SKU is offered at.
|
String |
getSkuId()
The identifier for the SKU.
|
com.google.protobuf.ByteString |
getSkuIdBytes()
The identifier for the SKU.
|
boolean |
hasCategory()
The category hierarchy of this SKU, purely for organizational purpose.
|
boolean |
hasGeoTaxonomy()
The geographic taxonomy for this sku.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Sku.Builder |
newBuilder() |
static Sku.Builder |
newBuilder(Sku prototype) |
Sku.Builder |
newBuilderForType() |
protected Sku.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Sku |
parseDelimitedFrom(InputStream input) |
static Sku |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Sku |
parseFrom(byte[] data) |
static Sku |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Sku |
parseFrom(ByteBuffer data) |
static Sku |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Sku |
parseFrom(com.google.protobuf.ByteString data) |
static Sku |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Sku |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Sku |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Sku |
parseFrom(InputStream input) |
static Sku |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Sku> |
parser() |
Sku.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int SKU_ID_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
public static final int SERVICE_REGIONS_FIELD_NUMBER
public static final int PRICING_INFO_FIELD_NUMBER
public static final int SERVICE_PROVIDER_NAME_FIELD_NUMBER
public static final int GEO_TAXONOMY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
string name = 1;getName in interface SkuOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
string name = 1;getNameBytes in interface SkuOrBuilderpublic String getSkuId()
The identifier for the SKU. Example: "D041-B8A1-6E0B"
string sku_id = 2;getSkuId in interface SkuOrBuilderpublic com.google.protobuf.ByteString getSkuIdBytes()
The identifier for the SKU. Example: "D041-B8A1-6E0B"
string sku_id = 2;getSkuIdBytes in interface SkuOrBuilderpublic String getDescription()
A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;getDescription in interface SkuOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A human readable description of the SKU, has a maximum length of 256 characters.
string description = 3;getDescriptionBytes in interface SkuOrBuilderpublic boolean hasCategory()
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;hasCategory in interface SkuOrBuilderpublic Category getCategory()
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;getCategory in interface SkuOrBuilderpublic CategoryOrBuilder getCategoryOrBuilder()
The category hierarchy of this SKU, purely for organizational purpose.
.google.cloud.billing.v1.Category category = 4;getCategoryOrBuilder in interface SkuOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getServiceRegionsList in interface SkuOrBuilderpublic 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;getServiceRegionsCount in interface SkuOrBuilderpublic 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;getServiceRegions in interface SkuOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getServiceRegionsBytes in interface SkuOrBuilderindex - The index of the value to return.public List<PricingInfo> getPricingInfoList()
A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;getPricingInfoList in interface SkuOrBuilderpublic List<? extends PricingInfoOrBuilder> getPricingInfoOrBuilderList()
A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;getPricingInfoOrBuilderList in interface SkuOrBuilderpublic int getPricingInfoCount()
A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;getPricingInfoCount in interface SkuOrBuilderpublic PricingInfo getPricingInfo(int index)
A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;getPricingInfo in interface SkuOrBuilderpublic PricingInfoOrBuilder getPricingInfoOrBuilder(int index)
A timeline of pricing info for this SKU in chronological order.
repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;getPricingInfoOrBuilder in interface SkuOrBuilderpublic String getServiceProviderName()
Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
string service_provider_name = 7;getServiceProviderName in interface SkuOrBuilderpublic com.google.protobuf.ByteString getServiceProviderNameBytes()
Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
string service_provider_name = 7;getServiceProviderNameBytes in interface SkuOrBuilderpublic boolean hasGeoTaxonomy()
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;hasGeoTaxonomy in interface SkuOrBuilderpublic GeoTaxonomy getGeoTaxonomy()
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;getGeoTaxonomy in interface SkuOrBuilderpublic GeoTaxonomyOrBuilder getGeoTaxonomyOrBuilder()
The geographic taxonomy for this sku.
.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;getGeoTaxonomyOrBuilder in interface SkuOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Sku parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Sku parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Sku parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Sku parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Sku parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Sku parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Sku parseFrom(InputStream input) throws IOException
IOExceptionpublic static Sku parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Sku parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Sku parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Sku parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Sku parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Sku.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Sku.Builder newBuilder()
public static Sku.Builder newBuilder(Sku prototype)
public Sku.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Sku.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Sku getDefaultInstance()
public static com.google.protobuf.Parser<Sku> parser()
public com.google.protobuf.Parser<Sku> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Sku getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.