Class SearchCasesResponse.Builder (0.37.0)

public static final class SearchCasesResponse.Builder extends GeneratedMessageV3.Builder<SearchCasesResponse.Builder> implements SearchCasesResponseOrBuilder

The response message for the SearchCases endpoint.

Protobuf type google.cloud.support.v2.SearchCasesResponse

Static Methods

getDescriptor()

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

Methods

addAllCases(Iterable<? extends Case> values)

public SearchCasesResponse.Builder addAllCases(Iterable<? extends Case> values)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

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

addCases(Case value)

public SearchCasesResponse.Builder addCases(Case value)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
Name Description
value Case
Returns
Type Description
SearchCasesResponse.Builder

addCases(Case.Builder builderForValue)

public SearchCasesResponse.Builder addCases(Case.Builder builderForValue)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
Name Description
builderForValue Case.Builder
Returns
Type Description
SearchCasesResponse.Builder

addCases(int index, Case value)

public SearchCasesResponse.Builder addCases(int index, Case value)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameters
Name Description
index int
value Case
Returns
Type Description
SearchCasesResponse.Builder

addCases(int index, Case.Builder builderForValue)

public SearchCasesResponse.Builder addCases(int index, Case.Builder builderForValue)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameters
Name Description
index int
builderForValue Case.Builder
Returns
Type Description
SearchCasesResponse.Builder

addCasesBuilder()

public Case.Builder addCasesBuilder()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Returns
Type Description
Case.Builder

addCasesBuilder(int index)

public Case.Builder addCasesBuilder(int index)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Case.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchCasesResponse build()
Returns
Type Description
SearchCasesResponse

buildPartial()

public SearchCasesResponse buildPartial()
Returns
Type Description
SearchCasesResponse

clear()

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

clearCases()

public SearchCasesResponse.Builder clearCases()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Returns
Type Description
SearchCasesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public SearchCasesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
SearchCasesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCases(int index)

public Case getCases(int index)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Case

getCasesBuilder(int index)

public Case.Builder getCasesBuilder(int index)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Case.Builder

getCasesBuilderList()

public List<Case.Builder> getCasesBuilderList()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Returns
Type Description
List<Builder>

getCasesCount()

public int getCasesCount()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Returns
Type Description
int

getCasesList()

public List<Case> getCasesList()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Returns
Type Description
List<Case>

getCasesOrBuilder(int index)

public CaseOrBuilder getCasesOrBuilder(int index)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
CaseOrBuilder

getCasesOrBuilderList()

public List<? extends CaseOrBuilder> getCasesOrBuilderList()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

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

getDefaultInstanceForType()

public SearchCasesResponse getDefaultInstanceForType()
Returns
Type Description
SearchCasesResponse

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 SearchCaseRequest 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 SearchCaseRequest 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(SearchCasesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCases(int index)

public SearchCasesResponse.Builder removeCases(int index)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchCasesResponse.Builder

setCases(int index, Case value)

public SearchCasesResponse.Builder setCases(int index, Case value)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameters
Name Description
index int
value Case
Returns
Type Description
SearchCasesResponse.Builder

setCases(int index, Case.Builder builderForValue)

public SearchCasesResponse.Builder setCases(int index, Case.Builder builderForValue)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameters
Name Description
index int
builderForValue Case.Builder
Returns
Type Description
SearchCasesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public SearchCasesResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseRequest 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
SearchCasesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchCasesResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseRequest 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
SearchCasesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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