Class ReadStream.Builder (3.5.2)

public static final class ReadStream.Builder extends GeneratedMessageV3.Builder<ReadStream.Builder> implements ReadStreamOrBuilder

Information about a single stream that gets data out of the storage system. Most of the information about ReadStream instances is aggregated, making ReadStream lightweight.

Protobuf type google.cloud.bigquery.storage.v1.ReadStream

Implements

ReadStreamOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadStream build()
Returns
Type Description
ReadStream

buildPartial()

public ReadStream buildPartial()
Returns
Type Description
ReadStream

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ReadStream.Builder clearName()

Output only. Name of the stream, in the form projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReadStream.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReadStream getDefaultInstanceForType()
Returns
Type Description
ReadStream

getDescriptorForType()

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

getName()

public String getName()

Output only. Name of the stream, in the form projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of the stream, in the form projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReadStream other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ReadStream.Builder setName(String value)

Output only. Name of the stream, in the form projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ReadStream.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReadStream.Builder setNameBytes(ByteString value)

Output only. Name of the stream, in the form projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ReadStream.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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