Interface ListSessionsResponseOrBuilder (4.37.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dataproc.v1.SessionOrBuilder>