Interface Storage.BatchCreateReadSessionStreamsRequestOrBuilder (3.5.2)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the session field is set.