Class Storage.Stream.Builder (3.11.0)

public static final class Storage.Stream.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public Storage.Stream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Storage.Stream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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