Class SearchCaseClassificationsResponse.Builder (0.30.0)

public static final class SearchCaseClassificationsResponse.Builder extends GeneratedMessageV3.Builder<SearchCaseClassificationsResponse.Builder> implements SearchCaseClassificationsResponseOrBuilder

The response message for SearchCaseClassifications endpoint.

Protobuf type google.cloud.support.v2.SearchCaseClassificationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCaseClassifications(Iterable<? extends CaseClassification> values)

public SearchCaseClassificationsResponse.Builder addAllCaseClassifications(Iterable<? extends CaseClassification> values)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.support.v2.CaseClassification>
Returns
Type Description
SearchCaseClassificationsResponse.Builder

addCaseClassifications(CaseClassification value)

public SearchCaseClassificationsResponse.Builder addCaseClassifications(CaseClassification value)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameter
Name Description
value CaseClassification
Returns
Type Description
SearchCaseClassificationsResponse.Builder

addCaseClassifications(CaseClassification.Builder builderForValue)

public SearchCaseClassificationsResponse.Builder addCaseClassifications(CaseClassification.Builder builderForValue)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameter
Name Description
builderForValue CaseClassification.Builder
Returns
Type Description
SearchCaseClassificationsResponse.Builder

addCaseClassifications(int index, CaseClassification value)

public SearchCaseClassificationsResponse.Builder addCaseClassifications(int index, CaseClassification value)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameters
Name Description
index int
value CaseClassification
Returns
Type Description
SearchCaseClassificationsResponse.Builder

addCaseClassifications(int index, CaseClassification.Builder builderForValue)

public SearchCaseClassificationsResponse.Builder addCaseClassifications(int index, CaseClassification.Builder builderForValue)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameters
Name Description
index int
builderForValue CaseClassification.Builder
Returns
Type Description
SearchCaseClassificationsResponse.Builder

addCaseClassificationsBuilder()

public CaseClassification.Builder addCaseClassificationsBuilder()

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Returns
Type Description
CaseClassification.Builder

addCaseClassificationsBuilder(int index)

public CaseClassification.Builder addCaseClassificationsBuilder(int index)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameter
Name Description
index int
Returns
Type Description
CaseClassification.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchCaseClassificationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

build()

public SearchCaseClassificationsResponse build()
Returns
Type Description
SearchCaseClassificationsResponse

buildPartial()

public SearchCaseClassificationsResponse buildPartial()
Returns
Type Description
SearchCaseClassificationsResponse

clear()

public SearchCaseClassificationsResponse.Builder clear()
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

clearCaseClassifications()

public SearchCaseClassificationsResponse.Builder clearCaseClassifications()

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Returns
Type Description
SearchCaseClassificationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchCaseClassificationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

clearNextPageToken()

public SearchCaseClassificationsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseClassificationsRequest message that is issued. If unspecified, there are no more results to retrieve.

string next_page_token = 2;

Returns
Type Description
SearchCaseClassificationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchCaseClassificationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

clone()

public SearchCaseClassificationsResponse.Builder clone()
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

getCaseClassifications(int index)

public CaseClassification getCaseClassifications(int index)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameter
Name Description
index int
Returns
Type Description
CaseClassification

getCaseClassificationsBuilder(int index)

public CaseClassification.Builder getCaseClassificationsBuilder(int index)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameter
Name Description
index int
Returns
Type Description
CaseClassification.Builder

getCaseClassificationsBuilderList()

public List<CaseClassification.Builder> getCaseClassificationsBuilderList()

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Returns
Type Description
List<Builder>

getCaseClassificationsCount()

public int getCaseClassificationsCount()

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Returns
Type Description
int

getCaseClassificationsList()

public List<CaseClassification> getCaseClassificationsList()

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Returns
Type Description
List<CaseClassification>

getCaseClassificationsOrBuilder(int index)

public CaseClassificationOrBuilder getCaseClassificationsOrBuilder(int index)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameter
Name Description
index int
Returns
Type Description
CaseClassificationOrBuilder

getCaseClassificationsOrBuilderList()

public List<? extends CaseClassificationOrBuilder> getCaseClassificationsOrBuilderList()

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Returns
Type Description
List<? extends com.google.cloud.support.v2.CaseClassificationOrBuilder>

getDefaultInstanceForType()

public SearchCaseClassificationsResponse getDefaultInstanceForType()
Returns
Type Description
SearchCaseClassificationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseClassificationsRequest message that is issued. If unspecified, there are no more results to retrieve.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseClassificationsRequest message that is issued. If unspecified, there are no more results to retrieve.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchCaseClassificationsResponse other)

public SearchCaseClassificationsResponse.Builder mergeFrom(SearchCaseClassificationsResponse other)
Parameter
Name Description
other SearchCaseClassificationsResponse
Returns
Type Description
SearchCaseClassificationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchCaseClassificationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchCaseClassificationsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchCaseClassificationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

removeCaseClassifications(int index)

public SearchCaseClassificationsResponse.Builder removeCaseClassifications(int index)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchCaseClassificationsResponse.Builder

setCaseClassifications(int index, CaseClassification value)

public SearchCaseClassificationsResponse.Builder setCaseClassifications(int index, CaseClassification value)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameters
Name Description
index int
value CaseClassification
Returns
Type Description
SearchCaseClassificationsResponse.Builder

setCaseClassifications(int index, CaseClassification.Builder builderForValue)

public SearchCaseClassificationsResponse.Builder setCaseClassifications(int index, CaseClassification.Builder builderForValue)

The classifications retrieved.

repeated .google.cloud.support.v2.CaseClassification case_classifications = 1;

Parameters
Name Description
index int
builderForValue CaseClassification.Builder
Returns
Type Description
SearchCaseClassificationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchCaseClassificationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

setNextPageToken(String value)

public SearchCaseClassificationsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseClassificationsRequest message that is issued. If unspecified, there are no more results to retrieve.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchCaseClassificationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchCaseClassificationsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseClassificationsRequest message that is issued. If unspecified, there are no more results to retrieve.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchCaseClassificationsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchCaseClassificationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchCaseClassificationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchCaseClassificationsResponse.Builder
Overrides