Class Storage.BatchCreateReadSessionStreamsResponse.Builder (2.47.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.storage.v1beta1.Storage.Stream>
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Storage.BatchCreateReadSessionStreamsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueStorage.Stream
Returns
TypeDescription
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
NameDescription
builderForValueStorage.Stream.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueStorage.Stream
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStorage.Stream.Builder
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder

addStreamsBuilder()

public Storage.Stream.Builder addStreamsBuilder()

Newly added streams.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Storage.Stream.Builder

build()

public Storage.BatchCreateReadSessionStreamsResponse build()
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse

buildPartial()

public Storage.BatchCreateReadSessionStreamsResponse buildPartial()
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse

clear()

public Storage.BatchCreateReadSessionStreamsResponse.Builder clear()
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Storage.BatchCreateReadSessionStreamsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Storage.BatchCreateReadSessionStreamsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

clearStreams()

public Storage.BatchCreateReadSessionStreamsResponse.Builder clearStreams()

Newly added streams.

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

Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder

clone()

public Storage.BatchCreateReadSessionStreamsResponse.Builder clone()
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

getDefaultInstanceForType()

public Storage.BatchCreateReadSessionStreamsResponse getDefaultInstanceForType()
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStreams(int index)

public Storage.Stream getStreams(int index)

Newly added streams.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Storage.Stream.Builder

getStreamsBuilderList()

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

Newly added streams.

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

Returns
TypeDescription
List<Builder>

getStreamsCount()

public int getStreamsCount()

Newly added streams.

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

Returns
TypeDescription
int

getStreamsList()

public List<Storage.Stream> getStreamsList()

Newly added streams.

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

Returns
TypeDescription
List<Stream>

getStreamsOrBuilder(int index)

public Storage.StreamOrBuilder getStreamsOrBuilder(int index)

Newly added streams.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Storage.StreamOrBuilder

getStreamsOrBuilderList()

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

Newly added streams.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Storage.BatchCreateReadSessionStreamsResponse other)

public Storage.BatchCreateReadSessionStreamsResponse.Builder mergeFrom(Storage.BatchCreateReadSessionStreamsResponse other)
Parameter
NameDescription
otherStorage.BatchCreateReadSessionStreamsResponse
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Storage.BatchCreateReadSessionStreamsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Storage.BatchCreateReadSessionStreamsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Storage.BatchCreateReadSessionStreamsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Storage.BatchCreateReadSessionStreamsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueStorage.Stream
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStorage.Stream.Builder
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Storage.BatchCreateReadSessionStreamsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.BatchCreateReadSessionStreamsResponse.Builder
Overrides