public static final class CaseClassification.Builder extends GeneratedMessageV3.Builder<CaseClassification.Builder> implements CaseClassificationOrBuilder
A classification object with a product type and value.
Protobuf type google.cloud.support.v2.CaseClassification
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CaseClassification.BuilderImplements
CaseClassificationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CaseClassification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
build()
public CaseClassification build()
Returns | |
---|---|
Type | Description |
CaseClassification |
buildPartial()
public CaseClassification buildPartial()
Returns | |
---|---|
Type | Description |
CaseClassification |
clear()
public CaseClassification.Builder clear()
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
clearDisplayName()
public CaseClassification.Builder clearDisplayName()
The display name of the classification.
string display_name = 4;
Returns | |
---|---|
Type | Description |
CaseClassification.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CaseClassification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
clearId()
public CaseClassification.Builder clearId()
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 | |
---|---|
Type | Description |
CaseClassification.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CaseClassification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
clone()
public CaseClassification.Builder clone()
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
getDefaultInstanceForType()
public CaseClassification getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CaseClassification |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name of the classification.
string display_name = 4;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the classification.
string display_name = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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
.
string id = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CaseClassification other)
public CaseClassification.Builder mergeFrom(CaseClassification other)
Parameter | |
---|---|
Name | Description |
other | CaseClassification |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CaseClassification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CaseClassification.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CaseClassification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
setDisplayName(String value)
public CaseClassification.Builder setDisplayName(String value)
The display name of the classification.
string display_name = 4;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public CaseClassification.Builder setDisplayNameBytes(ByteString value)
The display name of the classification.
string display_name = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CaseClassification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
setId(String value)
public CaseClassification.Builder setId(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public CaseClassification.Builder setIdBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CaseClassification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CaseClassification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CaseClassification.Builder |