Interface Storage.BatchCreateReadSessionStreamsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Storage.BatchCreateReadSessionStreamsRequest,Storage.BatchCreateReadSessionStreamsRequest.Builder
- Enclosing class:
- Storage
public static interface Storage.BatchCreateReadSessionStreamsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintRequired.Required.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSession
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:
- Whether the session field is set.
-
getSession
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:
- The session.
-
getSessionOrBuilder
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]; -
getRequestedStreams
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:
- The requestedStreams.
-