Class CaseClassification (0.23.0)

public final class CaseClassification extends GeneratedMessageV3 implements CaseClassificationOrBuilder

A classification object with a product type and value.

Protobuf type google.cloud.support.v2.CaseClassification

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CaseClassification getDefaultInstance()
Returns
TypeDescription
CaseClassification

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CaseClassification.Builder newBuilder()
Returns
TypeDescription
CaseClassification.Builder

newBuilder(CaseClassification prototype)

public static CaseClassification.Builder newBuilder(CaseClassification prototype)
Parameter
NameDescription
prototypeCaseClassification
Returns
TypeDescription
CaseClassification.Builder

parseDelimitedFrom(InputStream input)

public static CaseClassification parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaseClassification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CaseClassification parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CaseClassification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CaseClassification parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CaseClassification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CaseClassification parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CaseClassification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CaseClassification parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaseClassification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CaseClassification parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CaseClassification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaseClassification
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CaseClassification> parser()
Returns
TypeDescription
Parser<CaseClassification>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CaseClassification getDefaultInstanceForType()
Returns
TypeDescription
CaseClassification

getDisplayName()

public String getDisplayName()

The display name of the classification.

string display_name = 4;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the classification.

string display_name = 4;

Returns
TypeDescription
ByteString

The bytes for displayName.

getId()

public String getId()

The unique ID for a classification. Must be specified for case creation.

To retrieve valid classification IDs for case creation, use caseClassifications.search.

string id = 3;

Returns
TypeDescription
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.

string id = 3;

Returns
TypeDescription
ByteString

The bytes for id.

getParserForType()

public Parser<CaseClassification> getParserForType()
Returns
TypeDescription
Parser<CaseClassification>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CaseClassification.Builder newBuilderForType()
Returns
TypeDescription
CaseClassification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CaseClassification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CaseClassification.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CaseClassification.Builder toBuilder()
Returns
TypeDescription
CaseClassification.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException