Class SearchCaseClassificationsResponse.Builder (0.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.support.v2.CaseClassification>
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder

addCaseClassifications(CaseClassification value)

public SearchCaseClassificationsResponse.Builder addCaseClassifications(CaseClassification value)

The classifications retrieved.

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

Parameter
NameDescription
valueCaseClassification
Returns
TypeDescription
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
NameDescription
builderForValueCaseClassification.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCaseClassification
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCaseClassification.Builder
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder

addCaseClassificationsBuilder()

public CaseClassification.Builder addCaseClassificationsBuilder()

The classifications retrieved.

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

Returns
TypeDescription
CaseClassification.Builder

addCaseClassificationsBuilder(int index)

public CaseClassification.Builder addCaseClassificationsBuilder(int index)

The classifications retrieved.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CaseClassification.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchCaseClassificationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder
Overrides

build()

public SearchCaseClassificationsResponse build()
Returns
TypeDescription
SearchCaseClassificationsResponse

buildPartial()

public SearchCaseClassificationsResponse buildPartial()
Returns
TypeDescription
SearchCaseClassificationsResponse

clear()

public SearchCaseClassificationsResponse.Builder clear()
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder
Overrides

clearCaseClassifications()

public SearchCaseClassificationsResponse.Builder clearCaseClassifications()

The classifications retrieved.

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

Returns
TypeDescription
SearchCaseClassificationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchCaseClassificationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SearchCaseClassificationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchCaseClassificationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder
Overrides

clone()

public SearchCaseClassificationsResponse.Builder clone()
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder
Overrides

getCaseClassifications(int index)

public CaseClassification getCaseClassifications(int index)

The classifications retrieved.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CaseClassification

getCaseClassificationsBuilder(int index)

public CaseClassification.Builder getCaseClassificationsBuilder(int index)

The classifications retrieved.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CaseClassification.Builder

getCaseClassificationsBuilderList()

public List<CaseClassification.Builder> getCaseClassificationsBuilderList()

The classifications retrieved.

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

Returns
TypeDescription
List<Builder>

getCaseClassificationsCount()

public int getCaseClassificationsCount()

The classifications retrieved.

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

Returns
TypeDescription
int

getCaseClassificationsList()

public List<CaseClassification> getCaseClassificationsList()

The classifications retrieved.

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

Returns
TypeDescription
List<CaseClassification>

getCaseClassificationsOrBuilder(int index)

public CaseClassificationOrBuilder getCaseClassificationsOrBuilder(int index)

The classifications retrieved.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CaseClassificationOrBuilder

getCaseClassificationsOrBuilderList()

public List<? extends CaseClassificationOrBuilder> getCaseClassificationsOrBuilderList()

The classifications retrieved.

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

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

getDefaultInstanceForType()

public SearchCaseClassificationsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchCaseClassificationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchCaseClassificationsResponse other)

public SearchCaseClassificationsResponse.Builder mergeFrom(SearchCaseClassificationsResponse other)
Parameter
NameDescription
otherSearchCaseClassificationsResponse
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchCaseClassificationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchCaseClassificationsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchCaseClassificationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueCaseClassification
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCaseClassification.Builder
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchCaseClassificationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchCaseClassificationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchCaseClassificationsResponse.Builder
Overrides