Class ListCasesResponse.Builder (0.17.0)

public static final class ListCasesResponse.Builder extends GeneratedMessageV3.Builder<ListCasesResponse.Builder> implements ListCasesResponseOrBuilder

The response message for the ListCases endpoint.

Protobuf type google.cloud.support.v2.ListCasesResponse

Static Methods

getDescriptor()

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

Methods

addAllCases(Iterable<? extends Case> values)

public ListCasesResponse.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
NameDescription
valuesIterable<? extends com.google.cloud.support.v2.Case>
Returns
TypeDescription
ListCasesResponse.Builder

addCases(Case value)

public ListCasesResponse.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
NameDescription
valueCase
Returns
TypeDescription
ListCasesResponse.Builder

addCases(Case.Builder builderForValue)

public ListCasesResponse.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
NameDescription
builderForValueCase.Builder
Returns
TypeDescription
ListCasesResponse.Builder

addCases(int index, Case value)

public ListCasesResponse.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
NameDescription
indexint
valueCase
Returns
TypeDescription
ListCasesResponse.Builder

addCases(int index, Case.Builder builderForValue)

public ListCasesResponse.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
NameDescription
indexint
builderForValueCase.Builder
Returns
TypeDescription
ListCasesResponse.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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Case.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCasesResponse build()
Returns
TypeDescription
ListCasesResponse

buildPartial()

public ListCasesResponse buildPartial()
Returns
TypeDescription
ListCasesResponse

clear()

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

clearCases()

public ListCasesResponse.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
TypeDescription
ListCasesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListCasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListCasesResponse.Builder
Overrides

clearNextPageToken()

public ListCasesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListCasesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListCasesResponse.Builder clone()
Returns
TypeDescription
ListCasesResponse.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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.support.v2.CaseOrBuilder>

getDefaultInstanceForType()

public ListCasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCasesResponse

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 the subsequent ListCasesRequest 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 the subsequent ListCasesRequest 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(ListCasesResponse other)

public ListCasesResponse.Builder mergeFrom(ListCasesResponse other)
Parameter
NameDescription
otherListCasesResponse
Returns
TypeDescription
ListCasesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCasesResponse.Builder
Overrides

removeCases(int index)

public ListCasesResponse.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
NameDescription
indexint
Returns
TypeDescription
ListCasesResponse.Builder

setCases(int index, Case value)

public ListCasesResponse.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
NameDescription
indexint
valueCase
Returns
TypeDescription
ListCasesResponse.Builder

setCases(int index, Case.Builder builderForValue)

public ListCasesResponse.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
NameDescription
indexint
builderForValueCase.Builder
Returns
TypeDescription
ListCasesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCasesResponse.Builder setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCasesResponse.Builder setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListCasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListCasesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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