public static final class Storage.BatchCreateReadSessionStreamsRequest.Builder extends GeneratedMessageV3.Builder<Storage.BatchCreateReadSessionStreamsRequest.Builder> implements Storage.BatchCreateReadSessionStreamsRequestOrBuilder
Information needed to request additional streams for an established read session.
Protobuf type
google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Storage.BatchCreateReadSessionStreamsRequest.BuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.BatchCreateReadSessionStreamsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
build()
public Storage.BatchCreateReadSessionStreamsRequest build()
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest |
buildPartial()
public Storage.BatchCreateReadSessionStreamsRequest buildPartial()
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest |
clear()
public Storage.BatchCreateReadSessionStreamsRequest.Builder clear()
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public Storage.BatchCreateReadSessionStreamsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.BatchCreateReadSessionStreamsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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];
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];
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
clone()
public Storage.BatchCreateReadSessionStreamsRequest.Builder clone()
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
getDefaultInstanceForType()
public Storage.BatchCreateReadSessionStreamsRequest getDefaultInstanceForType()
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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];
Type | Description |
boolean | Whether the session field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Storage.BatchCreateReadSessionStreamsRequest other)
public Storage.BatchCreateReadSessionStreamsRequest.Builder mergeFrom(Storage.BatchCreateReadSessionStreamsRequest other)
Name | Description |
other | Storage.BatchCreateReadSessionStreamsRequest |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.BatchCreateReadSessionStreamsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Storage.BatchCreateReadSessionStreamsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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];
Name | Description |
value | Storage.ReadSession |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.BatchCreateReadSessionStreamsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.BatchCreateReadSessionStreamsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.BatchCreateReadSessionStreamsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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];
Name | Description |
value | int The requestedStreams to set. |
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];
Name | Description |
value | Storage.ReadSession |
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];
Name | Description |
builderForValue | Storage.ReadSession.Builder |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.BatchCreateReadSessionStreamsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.BatchCreateReadSessionStreamsRequest.Builder |