Class StreamList.Builder (3.9.0)

public static final class StreamList.Builder extends GeneratedMessageV3.Builder<StreamList.Builder> implements StreamListOrBuilder

List of streams.

Protobuf type google.cloud.bigquery.storage.v1alpha.StreamList

Implements

StreamListOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllStreams(Iterable<? extends ReadStream> values)

public StreamList.Builder addAllStreams(Iterable<? extends ReadStream> values)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.storage.v1alpha.ReadStream>
Returns
Type Description
StreamList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStreams(ReadStream value)

public StreamList.Builder addStreams(ReadStream value)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReadStream
Returns
Type Description
StreamList.Builder

addStreams(ReadStream.Builder builderForValue)

public StreamList.Builder addStreams(ReadStream.Builder builderForValue)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ReadStream.Builder
Returns
Type Description
StreamList.Builder

addStreams(int index, ReadStream value)

public StreamList.Builder addStreams(int index, ReadStream value)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ReadStream
Returns
Type Description
StreamList.Builder

addStreams(int index, ReadStream.Builder builderForValue)

public StreamList.Builder addStreams(int index, ReadStream.Builder builderForValue)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ReadStream.Builder
Returns
Type Description
StreamList.Builder

addStreamsBuilder()

public ReadStream.Builder addStreamsBuilder()

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReadStream.Builder

addStreamsBuilder(int index)

public ReadStream.Builder addStreamsBuilder(int index)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReadStream.Builder

build()

public StreamList build()
Returns
Type Description
StreamList

buildPartial()

public StreamList buildPartial()
Returns
Type Description
StreamList

clear()

public StreamList.Builder clear()
Returns
Type Description
StreamList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStreams()

public StreamList.Builder clearStreams()

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StreamList.Builder

clone()

public StreamList.Builder clone()
Returns
Type Description
StreamList.Builder
Overrides

getDefaultInstanceForType()

public StreamList getDefaultInstanceForType()
Returns
Type Description
StreamList

getDescriptorForType()

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

getStreams(int index)

public ReadStream getStreams(int index)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReadStream

getStreamsBuilder(int index)

public ReadStream.Builder getStreamsBuilder(int index)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReadStream.Builder

getStreamsBuilderList()

public List<ReadStream.Builder> getStreamsBuilderList()

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getStreamsCount()

public int getStreamsCount()

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getStreamsList()

public List<ReadStream> getStreamsList()

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ReadStream>

getStreamsOrBuilder(int index)

public ReadStreamOrBuilder getStreamsOrBuilder(int index)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReadStreamOrBuilder

getStreamsOrBuilderList()

public List<? extends ReadStreamOrBuilder> getStreamsOrBuilderList()

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.bigquery.storage.v1alpha.ReadStreamOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeStreams(int index)

public StreamList.Builder removeStreams(int index)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
StreamList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStreams(int index, ReadStream value)

public StreamList.Builder setStreams(int index, ReadStream value)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ReadStream
Returns
Type Description
StreamList.Builder

setStreams(int index, ReadStream.Builder builderForValue)

public StreamList.Builder setStreams(int index, ReadStream.Builder builderForValue)

Output only. List of streams.

repeated .google.cloud.bigquery.storage.v1alpha.ReadStream streams = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ReadStream.Builder
Returns
Type Description
StreamList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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