public final class ListSessionsResponse extends GeneratedMessageV3 implements ListSessionsResponseOrBuilder
Response for ListSessions method.
Protobuf type google.cloud.discoveryengine.v1beta.ListSessionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SESSIONS_FIELD_NUMBER
public static final int SESSIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ListSessionsResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListSessionsResponse.Builder newBuilder()
newBuilder(ListSessionsResponse prototype)
public static ListSessionsResponse.Builder newBuilder(ListSessionsResponse prototype)
public static ListSessionsResponse parseDelimitedFrom(InputStream input)
public static ListSessionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListSessionsResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListSessionsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(CodedInputStream input)
public static ListSessionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(InputStream input)
public static ListSessionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListSessionsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListSessionsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ListSessionsResponse getDefaultInstanceForType()
getNextPageToken()
public String getNextPageToken()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getParserForType()
public Parser<ListSessionsResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSessions(int index)
public Session getSessions(int index)
All the Sessions for a given data store.
repeated .google.cloud.discoveryengine.v1beta.Session sessions = 1;
Parameter |
Name |
Description |
index |
int
|
getSessionsCount()
public int getSessionsCount()
All the Sessions for a given data store.
repeated .google.cloud.discoveryengine.v1beta.Session sessions = 1;
Returns |
Type |
Description |
int |
|
getSessionsList()
public List<Session> getSessionsList()
All the Sessions for a given data store.
repeated .google.cloud.discoveryengine.v1beta.Session sessions = 1;
getSessionsOrBuilder(int index)
public SessionOrBuilder getSessionsOrBuilder(int index)
All the Sessions for a given data store.
repeated .google.cloud.discoveryengine.v1beta.Session sessions = 1;
Parameter |
Name |
Description |
index |
int
|
getSessionsOrBuilderList()
public List<? extends SessionOrBuilder> getSessionsOrBuilderList()
All the Sessions for a given data store.
repeated .google.cloud.discoveryengine.v1beta.Session sessions = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.SessionOrBuilder> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListSessionsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListSessionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ListSessionsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides