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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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 |
Name |
Description |
values |
Iterable<? extends com.google.cloud.support.v2.Case>
|
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 |
Name |
Description |
value |
Case
|
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;
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 |
Name |
Description |
index |
int
|
value |
Case
|
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCasesResponse build()
buildPartial()
public ListCasesResponse buildPartial()
clear()
public ListCasesResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ListCasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCasesResponse.Builder clone()
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
|
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;
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;
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
|
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 ListCasesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
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 the subsequent ListCasesRequest
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCasesResponse other)
public ListCasesResponse.Builder mergeFrom(ListCasesResponse other)
public ListCasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCasesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
value |
Case
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
value |
String
The nextPageToken to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides