Interface ListSessionsResponseOrBuilder (4.50.0)

public interface ListSessionsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token, which can be sent as page_token, to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token, which can be sent as page_token, to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSessions(int index)

public abstract Session getSessions(int index)

Output only. The sessions from the specified collection.

repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Session

getSessionsCount()

public abstract int getSessionsCount()

Output only. The sessions from the specified collection.

repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSessionsList()

public abstract List<Session> getSessionsList()

Output only. The sessions from the specified collection.

repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Session>

getSessionsOrBuilder(int index)

public abstract SessionOrBuilder getSessionsOrBuilder(int index)

Output only. The sessions from the specified collection.

repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SessionOrBuilder

getSessionsOrBuilderList()

public abstract List<? extends SessionOrBuilder> getSessionsOrBuilderList()

Output only. The sessions from the specified collection.

repeated .google.cloud.dataproc.v1.Session sessions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dataproc.v1.SessionOrBuilder>