Class CaseClassification (0.60.0)
public final class CaseClassification extends GeneratedMessageV3 implements CaseClassificationOrBuilder
A Case Classification represents the topic that a case is about. It's very
important to use accurate classifications, because they're
used to route your cases to specialists who can help you.
A classification always has an ID that is its unique identifier.
A valid ID is required when creating a case.
Protobuf type google.cloud.support.v2beta.CaseClassification
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRODUCT_FIELD_NUMBER
public static final int PRODUCT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CaseClassification getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CaseClassification.Builder newBuilder()
newBuilder(CaseClassification prototype)
public static CaseClassification.Builder newBuilder(CaseClassification prototype)
public static CaseClassification parseDelimitedFrom(InputStream input)
public static CaseClassification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CaseClassification parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CaseClassification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CaseClassification parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CaseClassification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CaseClassification parseFrom(CodedInputStream input)
public static CaseClassification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CaseClassification parseFrom(InputStream input)
public static CaseClassification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CaseClassification parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CaseClassification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CaseClassification> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public CaseClassification getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
A display name for the classification.
The display name is not static and can change. To uniquely and consistently
identify classifications, use the CaseClassification.id
field.
string display_name = 4;
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
A display name for the classification.
The display name is not static and can change. To uniquely and consistently
identify classifications, use the CaseClassification.id
field.
string display_name = 4;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getId()
The unique ID for a classification. Must be specified for case creation.
To retrieve valid classification IDs for case creation, use
caseClassifications.search
.
Classification IDs returned by caseClassifications.search
are guaranteed
to be valid for at least 6 months. If a given classification is
deactiveated, it will immediately stop being returned. After 6 months,
case.create
requests using the classification ID will fail.
string id = 3;
Returns |
Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
The unique ID for a classification. Must be specified for case creation.
To retrieve valid classification IDs for case creation, use
caseClassifications.search
.
Classification IDs returned by caseClassifications.search
are guaranteed
to be valid for at least 6 months. If a given classification is
deactiveated, it will immediately stop being returned. After 6 months,
case.create
requests using the classification ID will fail.
string id = 3;
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getParserForType()
public Parser<CaseClassification> getParserForType()
Overrides
getProduct()
public Product getProduct()
The full product the classification corresponds to.
.google.cloud.support.v2beta.Product product = 10;
Returns |
Type |
Description |
Product |
The product.
|
getProductOrBuilder()
public ProductOrBuilder getProductOrBuilder()
The full product the classification corresponds to.
.google.cloud.support.v2beta.Product product = 10;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasProduct()
public boolean hasProduct()
The full product the classification corresponds to.
.google.cloud.support.v2beta.Product product = 10;
Returns |
Type |
Description |
boolean |
Whether the product field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CaseClassification.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CaseClassification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CaseClassification.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]