public static final class Storage.ReadSession.Builder extends GeneratedMessageV3.Builder<Storage.ReadSession.Builder> implements Storage.ReadSessionOrBuilder
Information returned from a CreateReadSession
request.
Protobuf type google.cloud.bigquery.storage.v1beta1.ReadSession
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Storage.ReadSession.BuilderImplements
Storage.ReadSessionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllStreams(Iterable<? extends Storage.Stream> values)
public Storage.ReadSession.Builder addAllStreams(Iterable<? extends Storage.Stream> values)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.bigquery.storage.v1beta1.Storage.Stream> |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.ReadSession.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
addStreams(Storage.Stream value)
public Storage.ReadSession.Builder addStreams(Storage.Stream value)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter | |
---|---|
Name | Description |
value |
Storage.Stream |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
addStreams(Storage.Stream.Builder builderForValue)
public Storage.ReadSession.Builder addStreams(Storage.Stream.Builder builderForValue)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Storage.Stream.Builder |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
addStreams(int index, Storage.Stream value)
public Storage.ReadSession.Builder addStreams(int index, Storage.Stream value)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Storage.Stream |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
addStreams(int index, Storage.Stream.Builder builderForValue)
public Storage.ReadSession.Builder addStreams(int index, Storage.Stream.Builder builderForValue)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Storage.Stream.Builder |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
addStreamsBuilder()
public Storage.Stream.Builder addStreamsBuilder()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Returns | |
---|---|
Type | Description |
Storage.Stream.Builder |
addStreamsBuilder(int index)
public Storage.Stream.Builder addStreamsBuilder(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Storage.Stream.Builder |
build()
public Storage.ReadSession build()
Returns | |
---|---|
Type | Description |
Storage.ReadSession |
buildPartial()
public Storage.ReadSession buildPartial()
Returns | |
---|---|
Type | Description |
Storage.ReadSession |
clear()
public Storage.ReadSession.Builder clear()
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearArrowSchema()
public Storage.ReadSession.Builder clearArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearAvroSchema()
public Storage.ReadSession.Builder clearAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearExpireTime()
public Storage.ReadSession.Builder clearExpireTime()
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearField(Descriptors.FieldDescriptor field)
public Storage.ReadSession.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearName()
public Storage.ReadSession.Builder clearName()
Unique identifier for the session, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}
.
string name = 1;
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.ReadSession.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearSchema()
public Storage.ReadSession.Builder clearSchema()
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearShardingStrategy()
public Storage.ReadSession.Builder clearShardingStrategy()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
This builder for chaining. |
clearStreams()
public Storage.ReadSession.Builder clearStreams()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearTableModifiers()
public Storage.ReadSession.Builder clearTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clearTableReference()
public Storage.ReadSession.Builder clearTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
clone()
public Storage.ReadSession.Builder clone()
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
getArrowSchema()
public ArrowProto.ArrowSchema getArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Returns | |
---|---|
Type | Description |
ArrowProto.ArrowSchema |
The arrowSchema. |
getArrowSchemaBuilder()
public ArrowProto.ArrowSchema.Builder getArrowSchemaBuilder()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Returns | |
---|---|
Type | Description |
ArrowProto.ArrowSchema.Builder |
getArrowSchemaOrBuilder()
public ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Returns | |
---|---|
Type | Description |
ArrowProto.ArrowSchemaOrBuilder |
getAvroSchema()
public AvroProto.AvroSchema getAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Returns | |
---|---|
Type | Description |
AvroProto.AvroSchema |
The avroSchema. |
getAvroSchemaBuilder()
public AvroProto.AvroSchema.Builder getAvroSchemaBuilder()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Returns | |
---|---|
Type | Description |
AvroProto.AvroSchema.Builder |
getAvroSchemaOrBuilder()
public AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Returns | |
---|---|
Type | Description |
AvroProto.AvroSchemaOrBuilder |
getDefaultInstanceForType()
public Storage.ReadSession getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Storage.ReadSession |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpireTime()
public Timestamp getExpireTime()
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;
Returns | |
---|---|
Type | Description |
Builder |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getName()
public String getName()
Unique identifier for the session, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}
.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Unique identifier for the session, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}
.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getSchemaCase()
public Storage.ReadSession.SchemaCase getSchemaCase()
Returns | |
---|---|
Type | Description |
Storage.ReadSession.SchemaCase |
getShardingStrategy()
public Storage.ShardingStrategy getShardingStrategy()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
Returns | |
---|---|
Type | Description |
Storage.ShardingStrategy |
The shardingStrategy. |
getShardingStrategyValue()
public int getShardingStrategyValue()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for shardingStrategy. |
getStreams(int index)
public Storage.Stream getStreams(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Storage.Stream |
getStreamsBuilder(int index)
public Storage.Stream.Builder getStreamsBuilder(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Storage.Stream.Builder |
getStreamsBuilderList()
public List<Storage.Stream.Builder> getStreamsBuilderList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getStreamsCount()
public int getStreamsCount()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Returns | |
---|---|
Type | Description |
int |
getStreamsList()
public List<Storage.Stream> getStreamsList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Returns | |
---|---|
Type | Description |
List<Stream> |
getStreamsOrBuilder(int index)
public Storage.StreamOrBuilder getStreamsOrBuilder(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Storage.StreamOrBuilder |
getStreamsOrBuilderList()
public List<? extends Storage.StreamOrBuilder> getStreamsOrBuilderList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> |
getTableModifiers()
public TableReferenceProto.TableModifiers getTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Returns | |
---|---|
Type | Description |
TableReferenceProto.TableModifiers |
The tableModifiers. |
getTableModifiersBuilder()
public TableReferenceProto.TableModifiers.Builder getTableModifiersBuilder()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Returns | |
---|---|
Type | Description |
TableReferenceProto.TableModifiers.Builder |
getTableModifiersOrBuilder()
public TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Returns | |
---|---|
Type | Description |
TableReferenceProto.TableModifiersOrBuilder |
getTableReference()
public TableReferenceProto.TableReference getTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Returns | |
---|---|
Type | Description |
TableReferenceProto.TableReference |
The tableReference. |
getTableReferenceBuilder()
public TableReferenceProto.TableReference.Builder getTableReferenceBuilder()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Returns | |
---|---|
Type | Description |
TableReferenceProto.TableReference.Builder |
getTableReferenceOrBuilder()
public TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Returns | |
---|---|
Type | Description |
TableReferenceProto.TableReferenceOrBuilder |
hasArrowSchema()
public boolean hasArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the arrowSchema field is set. |
hasAvroSchema()
public boolean hasAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the avroSchema field is set. |
hasExpireTime()
public boolean hasExpireTime()
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the expireTime field is set. |
hasTableModifiers()
public boolean hasTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the tableModifiers field is set. |
hasTableReference()
public boolean hasTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the tableReference field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeArrowSchema(ArrowProto.ArrowSchema value)
public Storage.ReadSession.Builder mergeArrowSchema(ArrowProto.ArrowSchema value)
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Parameter | |
---|---|
Name | Description |
value |
ArrowProto.ArrowSchema |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
mergeAvroSchema(AvroProto.AvroSchema value)
public Storage.ReadSession.Builder mergeAvroSchema(AvroProto.AvroSchema value)
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Parameter | |
---|---|
Name | Description |
value |
AvroProto.AvroSchema |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
mergeExpireTime(Timestamp value)
public Storage.ReadSession.Builder mergeExpireTime(Timestamp value)
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
mergeFrom(Storage.ReadSession other)
public Storage.ReadSession.Builder mergeFrom(Storage.ReadSession other)
Parameter | |
---|---|
Name | Description |
other |
Storage.ReadSession |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.ReadSession.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Storage.ReadSession.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
mergeTableModifiers(TableReferenceProto.TableModifiers value)
public Storage.ReadSession.Builder mergeTableModifiers(TableReferenceProto.TableModifiers value)
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Parameter | |
---|---|
Name | Description |
value |
TableReferenceProto.TableModifiers |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
mergeTableReference(TableReferenceProto.TableReference value)
public Storage.ReadSession.Builder mergeTableReference(TableReferenceProto.TableReference value)
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Parameter | |
---|---|
Name | Description |
value |
TableReferenceProto.TableReference |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.ReadSession.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
removeStreams(int index)
public Storage.ReadSession.Builder removeStreams(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setArrowSchema(ArrowProto.ArrowSchema value)
public Storage.ReadSession.Builder setArrowSchema(ArrowProto.ArrowSchema value)
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Parameter | |
---|---|
Name | Description |
value |
ArrowProto.ArrowSchema |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setArrowSchema(ArrowProto.ArrowSchema.Builder builderForValue)
public Storage.ReadSession.Builder setArrowSchema(ArrowProto.ArrowSchema.Builder builderForValue)
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
ArrowProto.ArrowSchema.Builder |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setAvroSchema(AvroProto.AvroSchema value)
public Storage.ReadSession.Builder setAvroSchema(AvroProto.AvroSchema value)
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Parameter | |
---|---|
Name | Description |
value |
AvroProto.AvroSchema |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setAvroSchema(AvroProto.AvroSchema.Builder builderForValue)
public Storage.ReadSession.Builder setAvroSchema(AvroProto.AvroSchema.Builder builderForValue)
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
AvroProto.AvroSchema.Builder |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setExpireTime(Timestamp value)
public Storage.ReadSession.Builder setExpireTime(Timestamp value)
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setExpireTime(Timestamp.Builder builderForValue)
public Storage.ReadSession.Builder setExpireTime(Timestamp.Builder builderForValue)
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.ReadSession.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setName(String value)
public Storage.ReadSession.Builder setName(String value)
Unique identifier for the session, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Storage.ReadSession.Builder setNameBytes(ByteString value)
Unique identifier for the session, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.ReadSession.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setShardingStrategy(Storage.ShardingStrategy value)
public Storage.ReadSession.Builder setShardingStrategy(Storage.ShardingStrategy value)
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
Parameter | |
---|---|
Name | Description |
value |
Storage.ShardingStrategy The shardingStrategy to set. |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
This builder for chaining. |
setShardingStrategyValue(int value)
public Storage.ReadSession.Builder setShardingStrategyValue(int value)
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for shardingStrategy to set. |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
This builder for chaining. |
setStreams(int index, Storage.Stream value)
public Storage.ReadSession.Builder setStreams(int index, Storage.Stream value)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Storage.Stream |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setStreams(int index, Storage.Stream.Builder builderForValue)
public Storage.ReadSession.Builder setStreams(int index, Storage.Stream.Builder builderForValue)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Storage.Stream.Builder |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setTableModifiers(TableReferenceProto.TableModifiers value)
public Storage.ReadSession.Builder setTableModifiers(TableReferenceProto.TableModifiers value)
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Parameter | |
---|---|
Name | Description |
value |
TableReferenceProto.TableModifiers |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setTableModifiers(TableReferenceProto.TableModifiers.Builder builderForValue)
public Storage.ReadSession.Builder setTableModifiers(TableReferenceProto.TableModifiers.Builder builderForValue)
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
TableReferenceProto.TableModifiers.Builder |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setTableReference(TableReferenceProto.TableReference value)
public Storage.ReadSession.Builder setTableReference(TableReferenceProto.TableReference value)
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Parameter | |
---|---|
Name | Description |
value |
TableReferenceProto.TableReference |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setTableReference(TableReferenceProto.TableReference.Builder builderForValue)
public Storage.ReadSession.Builder setTableReference(TableReferenceProto.TableReference.Builder builderForValue)
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
TableReferenceProto.TableReference.Builder |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.ReadSession.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Storage.ReadSession.Builder |