public final class Category extends com.google.protobuf.GeneratedMessageV3 implements CategoryOrBuilder
Represents the category hierarchy of a SKU.Protobuf type
google.cloud.billing.v1.Category| Modifier and Type | Class and Description |
|---|---|
static class |
Category.Builder
Represents the category hierarchy of a 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 |
RESOURCE_FAMILY_FIELD_NUMBER |
static int |
RESOURCE_GROUP_FIELD_NUMBER |
static int |
SERVICE_DISPLAY_NAME_FIELD_NUMBER |
static int |
USAGE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Category |
getDefaultInstance() |
Category |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Category> |
getParserForType() |
String |
getResourceFamily()
The type of product the SKU refers to.
|
com.google.protobuf.ByteString |
getResourceFamilyBytes()
The type of product the SKU refers to.
|
String |
getResourceGroup()
A group classification for related SKUs.
|
com.google.protobuf.ByteString |
getResourceGroupBytes()
A group classification for related SKUs.
|
int |
getSerializedSize() |
String |
getServiceDisplayName()
The display name of the service this SKU belongs to.
|
com.google.protobuf.ByteString |
getServiceDisplayNameBytes()
The display name of the service this SKU belongs to.
|
String |
getUsageType()
Represents how the SKU is consumed.
|
com.google.protobuf.ByteString |
getUsageTypeBytes()
Represents how the SKU is consumed.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Category.Builder |
newBuilder() |
static Category.Builder |
newBuilder(Category prototype) |
Category.Builder |
newBuilderForType() |
protected Category.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Category |
parseDelimitedFrom(InputStream input) |
static Category |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Category |
parseFrom(byte[] data) |
static Category |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Category |
parseFrom(ByteBuffer data) |
static Category |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Category |
parseFrom(com.google.protobuf.ByteString data) |
static Category |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Category |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Category |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Category |
parseFrom(InputStream input) |
static Category |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Category> |
parser() |
Category.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 SERVICE_DISPLAY_NAME_FIELD_NUMBER
public static final int RESOURCE_FAMILY_FIELD_NUMBER
public static final int RESOURCE_GROUP_FIELD_NUMBER
public static final int USAGE_TYPE_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 getServiceDisplayName()
The display name of the service this SKU belongs to.
string service_display_name = 1;getServiceDisplayName in interface CategoryOrBuilderpublic com.google.protobuf.ByteString getServiceDisplayNameBytes()
The display name of the service this SKU belongs to.
string service_display_name = 1;getServiceDisplayNameBytes in interface CategoryOrBuilderpublic String getResourceFamily()
The type of product the SKU refers to. Example: "Compute", "Storage", "Network", "ApplicationServices" etc.
string resource_family = 2;getResourceFamily in interface CategoryOrBuilderpublic com.google.protobuf.ByteString getResourceFamilyBytes()
The type of product the SKU refers to. Example: "Compute", "Storage", "Network", "ApplicationServices" etc.
string resource_family = 2;getResourceFamilyBytes in interface CategoryOrBuilderpublic String getResourceGroup()
A group classification for related SKUs. Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.
string resource_group = 3;getResourceGroup in interface CategoryOrBuilderpublic com.google.protobuf.ByteString getResourceGroupBytes()
A group classification for related SKUs. Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.
string resource_group = 3;getResourceGroupBytes in interface CategoryOrBuilderpublic String getUsageType()
Represents how the SKU is consumed. Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.
string usage_type = 4;getUsageType in interface CategoryOrBuilderpublic com.google.protobuf.ByteString getUsageTypeBytes()
Represents how the SKU is consumed. Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.
string usage_type = 4;getUsageTypeBytes in interface CategoryOrBuilderpublic 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 Category parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Category parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Category parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Category parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Category parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Category parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Category parseFrom(InputStream input) throws IOException
IOExceptionpublic static Category parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Category parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Category parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Category parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Category parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Category.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Category.Builder newBuilder()
public static Category.Builder newBuilder(Category prototype)
public Category.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Category.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Category getDefaultInstance()
public static com.google.protobuf.Parser<Category> parser()
public com.google.protobuf.Parser<Category> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Category getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.