public static final class ListSessionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder> implements ListSessionsResponseOrBuilder
Response message for [SessionService.ListSessions][google.cloud.aiplatform.v1beta1.SessionService.ListSessions].Protobuf type
google.cloud.aiplatform.v1beta1.ListSessionsResponse| Modifier and Type | Method and Description |
|---|---|
ListSessionsResponse.Builder |
addAllSessions(Iterable<? extends Session> values)
A list of sessions matching the request.
|
ListSessionsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSessionsResponse.Builder |
addSessions(int index,
Session.Builder builderForValue)
A list of sessions matching the request.
|
ListSessionsResponse.Builder |
addSessions(int index,
Session value)
A list of sessions matching the request.
|
ListSessionsResponse.Builder |
addSessions(Session.Builder builderForValue)
A list of sessions matching the request.
|
ListSessionsResponse.Builder |
addSessions(Session value)
A list of sessions matching the request.
|
Session.Builder |
addSessionsBuilder()
A list of sessions matching the request.
|
Session.Builder |
addSessionsBuilder(int index)
A list of sessions matching the request.
|
ListSessionsResponse |
build() |
ListSessionsResponse |
buildPartial() |
ListSessionsResponse.Builder |
clear() |
ListSessionsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSessionsResponse.Builder |
clearNextPageToken()
A token, which can be sent as
[ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token]
to retrieve the next page.
|
ListSessionsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSessionsResponse.Builder |
clearSessions()
A list of sessions matching the request.
|
ListSessionsResponse.Builder |
clone() |
ListSessionsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token, which can be sent as
[ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token]
to retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token, which can be sent as
[ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token]
to retrieve the next page.
|
Session |
getSessions(int index)
A list of sessions matching the request.
|
Session.Builder |
getSessionsBuilder(int index)
A list of sessions matching the request.
|
List<Session.Builder> |
getSessionsBuilderList()
A list of sessions matching the request.
|
int |
getSessionsCount()
A list of sessions matching the request.
|
List<Session> |
getSessionsList()
A list of sessions matching the request.
|
SessionOrBuilder |
getSessionsOrBuilder(int index)
A list of sessions matching the request.
|
List<? extends SessionOrBuilder> |
getSessionsOrBuilderList()
A list of sessions matching the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSessionsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSessionsResponse.Builder |
mergeFrom(ListSessionsResponse other) |
ListSessionsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSessionsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSessionsResponse.Builder |
removeSessions(int index)
A list of sessions matching the request.
|
ListSessionsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSessionsResponse.Builder |
setNextPageToken(String value)
A token, which can be sent as
[ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token]
to retrieve the next page.
|
ListSessionsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as
[ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token]
to retrieve the next page.
|
ListSessionsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSessionsResponse.Builder |
setSessions(int index,
Session.Builder builderForValue)
A list of sessions matching the request.
|
ListSessionsResponse.Builder |
setSessions(int index,
Session value)
A list of sessions matching the request.
|
ListSessionsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListSessionsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListSessionsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListSessionsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder mergeFrom(ListSessionsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public ListSessionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSessionsResponse.Builder>IOExceptionpublic List<Session> getSessionsList()
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;getSessionsList in interface ListSessionsResponseOrBuilderpublic int getSessionsCount()
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;getSessionsCount in interface ListSessionsResponseOrBuilderpublic Session getSessions(int index)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;getSessions in interface ListSessionsResponseOrBuilderpublic ListSessionsResponse.Builder setSessions(int index, Session value)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public ListSessionsResponse.Builder setSessions(int index, Session.Builder builderForValue)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public ListSessionsResponse.Builder addSessions(Session value)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public ListSessionsResponse.Builder addSessions(int index, Session value)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public ListSessionsResponse.Builder addSessions(Session.Builder builderForValue)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public ListSessionsResponse.Builder addSessions(int index, Session.Builder builderForValue)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public ListSessionsResponse.Builder addAllSessions(Iterable<? extends Session> values)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public ListSessionsResponse.Builder clearSessions()
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public ListSessionsResponse.Builder removeSessions(int index)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public Session.Builder getSessionsBuilder(int index)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public SessionOrBuilder getSessionsOrBuilder(int index)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;getSessionsOrBuilder in interface ListSessionsResponseOrBuilderpublic List<? extends SessionOrBuilder> getSessionsOrBuilderList()
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;getSessionsOrBuilderList in interface ListSessionsResponseOrBuilderpublic Session.Builder addSessionsBuilder()
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public Session.Builder addSessionsBuilder(int index)
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public List<Session.Builder> getSessionsBuilderList()
A list of sessions matching the request.
repeated .google.cloud.aiplatform.v1beta1.Session sessions = 1;public String getNextPageToken()
A token, which can be sent as [ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;getNextPageToken in interface ListSessionsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
A token, which can be sent as [ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;getNextPageTokenBytes in interface ListSessionsResponseOrBuilderpublic ListSessionsResponse.Builder setNextPageToken(String value)
A token, which can be sent as [ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;value - The nextPageToken to set.public ListSessionsResponse.Builder clearNextPageToken()
A token, which can be sent as [ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;public ListSessionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as [ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;value - The bytes for nextPageToken to set.public final ListSessionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>public final ListSessionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSessionsResponse.Builder>Copyright © 2025 Google LLC. All rights reserved.