Class Storage.Stream.Builder (3.3.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Storage.Stream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Storage.Stream.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Storage.Stream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Storage.Stream.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Storage.Stream other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Storage.Stream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.Stream.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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