Class Storage.BatchCreateReadSessionStreamsResponse.Builder (3.11.0)

public static final class Storage.BatchCreateReadSessionStreamsResponse.Builder extends GeneratedMessageV3.Builder<Storage.BatchCreateReadSessionStreamsResponse.Builder> implements Storage.BatchCreateReadSessionStreamsResponseOrBuilder

The response from BatchCreateReadSessionStreams returns the stream identifiers for the newly created streams.

Protobuf type google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllStreams(Iterable<? extends Storage.Stream> values)

public Storage.BatchCreateReadSessionStreamsResponse.Builder addAllStreams(Iterable<? extends Storage.Stream> values)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.storage.v1beta1.Storage.Stream>
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Storage.BatchCreateReadSessionStreamsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

addStreams(Storage.Stream value)

public Storage.BatchCreateReadSessionStreamsResponse.Builder addStreams(Storage.Stream value)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameter
Name Description
value Storage.Stream
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

addStreams(Storage.Stream.Builder builderForValue)

public Storage.BatchCreateReadSessionStreamsResponse.Builder addStreams(Storage.Stream.Builder builderForValue)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameter
Name Description
builderForValue Storage.Stream.Builder
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

addStreams(int index, Storage.Stream value)

public Storage.BatchCreateReadSessionStreamsResponse.Builder addStreams(int index, Storage.Stream value)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameters
Name Description
index int
value Storage.Stream
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

addStreams(int index, Storage.Stream.Builder builderForValue)

public Storage.BatchCreateReadSessionStreamsResponse.Builder addStreams(int index, Storage.Stream.Builder builderForValue)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameters
Name Description
index int
builderForValue Storage.Stream.Builder
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

addStreamsBuilder()

public Storage.Stream.Builder addStreamsBuilder()

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Returns
Type Description
Storage.Stream.Builder

addStreamsBuilder(int index)

public Storage.Stream.Builder addStreamsBuilder(int index)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameter
Name Description
index int
Returns
Type Description
Storage.Stream.Builder

build()

public Storage.BatchCreateReadSessionStreamsResponse build()
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse

buildPartial()

public Storage.BatchCreateReadSessionStreamsResponse buildPartial()
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse

clear()

public Storage.BatchCreateReadSessionStreamsResponse.Builder clear()
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Storage.BatchCreateReadSessionStreamsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Storage.BatchCreateReadSessionStreamsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

clearStreams()

public Storage.BatchCreateReadSessionStreamsResponse.Builder clearStreams()

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

clone()

public Storage.BatchCreateReadSessionStreamsResponse.Builder clone()
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

getDefaultInstanceForType()

public Storage.BatchCreateReadSessionStreamsResponse getDefaultInstanceForType()
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStreams(int index)

public Storage.Stream getStreams(int index)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameter
Name Description
index int
Returns
Type Description
Storage.Stream

getStreamsBuilder(int index)

public Storage.Stream.Builder getStreamsBuilder(int index)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameter
Name Description
index int
Returns
Type Description
Storage.Stream.Builder

getStreamsBuilderList()

public List<Storage.Stream.Builder> getStreamsBuilderList()

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Returns
Type Description
List<Builder>

getStreamsCount()

public int getStreamsCount()

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Returns
Type Description
int

getStreamsList()

public List<Storage.Stream> getStreamsList()

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Returns
Type Description
List<Stream>

getStreamsOrBuilder(int index)

public Storage.StreamOrBuilder getStreamsOrBuilder(int index)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameter
Name Description
index int
Returns
Type Description
Storage.StreamOrBuilder

getStreamsOrBuilderList()

public List<? extends Storage.StreamOrBuilder> getStreamsOrBuilderList()

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Storage.BatchCreateReadSessionStreamsResponse other)

public Storage.BatchCreateReadSessionStreamsResponse.Builder mergeFrom(Storage.BatchCreateReadSessionStreamsResponse other)
Parameter
Name Description
other Storage.BatchCreateReadSessionStreamsResponse
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Storage.BatchCreateReadSessionStreamsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Storage.BatchCreateReadSessionStreamsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Storage.BatchCreateReadSessionStreamsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

removeStreams(int index)

public Storage.BatchCreateReadSessionStreamsResponse.Builder removeStreams(int index)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameter
Name Description
index int
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Storage.BatchCreateReadSessionStreamsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Storage.BatchCreateReadSessionStreamsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

setStreams(int index, Storage.Stream value)

public Storage.BatchCreateReadSessionStreamsResponse.Builder setStreams(int index, Storage.Stream value)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameters
Name Description
index int
value Storage.Stream
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

setStreams(int index, Storage.Stream.Builder builderForValue)

public Storage.BatchCreateReadSessionStreamsResponse.Builder setStreams(int index, Storage.Stream.Builder builderForValue)

Newly added streams.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1;

Parameters
Name Description
index int
builderForValue Storage.Stream.Builder
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Storage.BatchCreateReadSessionStreamsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides