Package com.google.cloud.support.v2
Class ListCasesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
- com.google.cloud.support.v2.ListCasesResponse.Builder
-
- All Implemented Interfaces:
ListCasesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListCasesResponse
public static final class ListCasesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder> implements ListCasesResponseOrBuilder
The response message for the ListCases endpoint.
Protobuf typegoogle.cloud.support.v2.ListCasesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCasesResponse.BuilderaddAllCases(Iterable<? extends Case> values)The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuilderaddCases(int index, Case value)The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuilderaddCases(int index, Case.Builder builderForValue)The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuilderaddCases(Case value)The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuilderaddCases(Case.Builder builderForValue)The list of cases associated with the Google Cloud Resource, after any filters have been applied.Case.BuilderaddCasesBuilder()The list of cases associated with the Google Cloud Resource, after any filters have been applied.Case.BuilderaddCasesBuilder(int index)The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListCasesResponsebuild()ListCasesResponsebuildPartial()ListCasesResponse.Builderclear()ListCasesResponse.BuilderclearCases()The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListCasesResponse.BuilderclearNextPageToken()A token to retrieve the next page of results.ListCasesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListCasesResponse.Builderclone()CasegetCases(int index)The list of cases associated with the Google Cloud Resource, after any filters have been applied.Case.BuildergetCasesBuilder(int index)The list of cases associated with the Google Cloud Resource, after any filters have been applied.List<Case.Builder>getCasesBuilderList()The list of cases associated with the Google Cloud Resource, after any filters have been applied.intgetCasesCount()The list of cases associated with the Google Cloud Resource, after any filters have been applied.List<Case>getCasesList()The list of cases associated with the Google Cloud Resource, after any filters have been applied.CaseOrBuildergetCasesOrBuilder(int index)The list of cases associated with the Google Cloud Resource, after any filters have been applied.List<? extends CaseOrBuilder>getCasesOrBuilderList()The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()A token to retrieve the next page of results.com.google.protobuf.ByteStringgetNextPageTokenBytes()A token to retrieve the next page of results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListCasesResponse.BuildermergeFrom(ListCasesResponse other)ListCasesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListCasesResponse.BuildermergeFrom(com.google.protobuf.Message other)ListCasesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListCasesResponse.BuilderremoveCases(int index)The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuildersetCases(int index, Case value)The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuildersetCases(int index, Case.Builder builderForValue)The list of cases associated with the Google Cloud Resource, after any filters have been applied.ListCasesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListCasesResponse.BuildersetNextPageToken(String value)A token to retrieve the next page of results.ListCasesResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A token to retrieve the next page of results.ListCasesResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListCasesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
clear
public ListCasesResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
getDefaultInstanceForType
public ListCasesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListCasesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListCasesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListCasesResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
setField
public ListCasesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
clearField
public ListCasesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
clearOneof
public ListCasesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
setRepeatedField
public ListCasesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
addRepeatedField
public ListCasesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
mergeFrom
public ListCasesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListCasesResponse.Builder>
-
mergeFrom
public ListCasesResponse.Builder mergeFrom(ListCasesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
mergeFrom
public ListCasesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListCasesResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getCasesListin interfaceListCasesResponseOrBuilder
-
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;- Specified by:
getCasesCountin interfaceListCasesResponseOrBuilder
-
getCases
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;- Specified by:
getCasesin interfaceListCasesResponseOrBuilder
-
setCases
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;
-
setCases
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;
-
addCases
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;
-
addCases
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;
-
addCases
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
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;
-
addAllCases
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;
-
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;
-
removeCases
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;
-
getCasesBuilder
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;
-
getCasesOrBuilder
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;- Specified by:
getCasesOrBuilderin interfaceListCasesResponseOrBuilder
-
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;- Specified by:
getCasesOrBuilderListin interfaceListCasesResponseOrBuilder
-
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
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;
-
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;
-
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;- Specified by:
getNextPageTokenin interfaceListCasesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListCasesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListCasesResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListCasesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
mergeUnknownFields
public final ListCasesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCasesResponse.Builder>
-
-