Class Storage.Stream.Builder (3.20.0)

public static final class Storage.Stream.Builder extends GeneratedMessage.Builder<Storage.Stream.Builder> implements Storage.StreamOrBuilder

Information about a single data stream within a read session.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearName()

public Storage.Stream.Builder clearName()

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

string name = 1;

Returns
Type Description
Storage.Stream.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getName()

public String getName()

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Storage.Stream other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public Storage.Stream.Builder setName(String value)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Storage.Stream.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Storage.Stream.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Storage.Stream.Builder

This builder for chaining.