public static final class Storage.BatchCreateReadSessionStreamsRequest.Builder extends GeneratedMessage.Builder<Storage.BatchCreateReadSessionStreamsRequest.Builder> implements Storage.BatchCreateReadSessionStreamsRequestOrBuilderInformation needed to request additional streams for an established read session.
Protobuf type
google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Storage.BatchCreateReadSessionStreamsRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Storage.BatchCreateReadSessionStreamsRequest build()| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest |
|
buildPartial()
public Storage.BatchCreateReadSessionStreamsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest |
|
clear()
public Storage.BatchCreateReadSessionStreamsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
|
clearRequestedStreams()
public Storage.BatchCreateReadSessionStreamsRequest.Builder clearRequestedStreams()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 |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
This builder for chaining. |
clearSession()
public Storage.BatchCreateReadSessionStreamsRequest.Builder clearSession()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.BatchCreateReadSessionStreamsRequest.Builder |
|
getDefaultInstanceForType()
public Storage.BatchCreateReadSessionStreamsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRequestedStreams()
public 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 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. |
getSessionBuilder()
public Storage.ReadSession.Builder getSessionBuilder()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.Builder |
|
getSessionOrBuilder()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Storage.BatchCreateReadSessionStreamsRequest other)
public Storage.BatchCreateReadSessionStreamsRequest.Builder mergeFrom(Storage.BatchCreateReadSessionStreamsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
Storage.BatchCreateReadSessionStreamsRequest |
| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.BatchCreateReadSessionStreamsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Storage.BatchCreateReadSessionStreamsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
|
mergeSession(Storage.ReadSession value)
public Storage.BatchCreateReadSessionStreamsRequest.Builder mergeSession(Storage.ReadSession value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Storage.ReadSession |
| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
|
setRequestedStreams(int value)
public Storage.BatchCreateReadSessionStreamsRequest.Builder setRequestedStreams(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe requestedStreams to set. |
| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
This builder for chaining. |
setSession(Storage.ReadSession value)
public Storage.BatchCreateReadSessionStreamsRequest.Builder setSession(Storage.ReadSession value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Storage.ReadSession |
| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
|
setSession(Storage.ReadSession.Builder builderForValue)
public Storage.BatchCreateReadSessionStreamsRequest.Builder setSession(Storage.ReadSession.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Storage.ReadSession.Builder |
| Returns | |
|---|---|
| Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
|