Interface Storage.BatchCreateReadSessionStreamsRequestOrBuilder (2.45.0)

public static interface Storage.BatchCreateReadSessionStreamsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRequestedStreams()

public abstract int getRequestedStreams()

Required. Number of new streams requested. Must be positive. Number of added streams may be less than this, see CreateReadSessionRequest for more information.

int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The requestedStreams.

getSession()

public abstract Storage.ReadSession getSession()

Required. Must be a non-expired session obtained from a call to CreateReadSession. Only the name field needs to be set.

.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Storage.ReadSession

The session.

getSessionOrBuilder()

public abstract Storage.ReadSessionOrBuilder getSessionOrBuilder()

Required. Must be a non-expired session obtained from a call to CreateReadSession. Only the name field needs to be set.

.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Storage.ReadSessionOrBuilder

hasSession()

public abstract boolean hasSession()

Required. Must be a non-expired session obtained from a call to CreateReadSession. Only the name field needs to be set.

.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the session field is set.