public static final class ListSessionsResponse.Builder extends com.google.protobuf.GeneratedMessage.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 |
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 |
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 |
clearSessions()
A list of sessions matching the request.
|
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.GeneratedMessage.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 |
removeSessions(int index)
A list of sessions matching the request.
|
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 |
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.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.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.Copyright © 2026 Google LLC. All rights reserved.