Class Storage.SplitReadStreamResponse.Builder (3.1.0)

public static final class Storage.SplitReadStreamResponse.Builder extends GeneratedMessageV3.Builder<Storage.SplitReadStreamResponse.Builder> implements Storage.SplitReadStreamResponseOrBuilder

Response from SplitReadStream.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Storage.SplitReadStreamResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrimaryStream()

public Storage.SplitReadStreamResponse.Builder clearPrimaryStream()

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;

Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

clearRemainderStream()

public Storage.SplitReadStreamResponse.Builder clearRemainderStream()

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;

Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPrimaryStream()

public Storage.Stream getPrimaryStream()

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;

Returns
TypeDescription
Storage.Stream

The primaryStream.

getPrimaryStreamBuilder()

public Storage.Stream.Builder getPrimaryStreamBuilder()

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;

Returns
TypeDescription
Storage.Stream.Builder

getPrimaryStreamOrBuilder()

public Storage.StreamOrBuilder getPrimaryStreamOrBuilder()

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;

Returns
TypeDescription
Storage.StreamOrBuilder

getRemainderStream()

public Storage.Stream getRemainderStream()

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;

Returns
TypeDescription
Storage.Stream

The remainderStream.

getRemainderStreamBuilder()

public Storage.Stream.Builder getRemainderStreamBuilder()

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;

Returns
TypeDescription
Storage.Stream.Builder

getRemainderStreamOrBuilder()

public Storage.StreamOrBuilder getRemainderStreamOrBuilder()

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;

Returns
TypeDescription
Storage.StreamOrBuilder

hasPrimaryStream()

public boolean hasPrimaryStream()

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;

Returns
TypeDescription
boolean

Whether the primaryStream field is set.

hasRemainderStream()

public boolean hasRemainderStream()

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;

Returns
TypeDescription
boolean

Whether the remainderStream field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Storage.SplitReadStreamResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePrimaryStream(Storage.Stream value)

public Storage.SplitReadStreamResponse.Builder mergePrimaryStream(Storage.Stream value)

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;

Parameter
NameDescription
valueStorage.Stream
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

mergeRemainderStream(Storage.Stream value)

public Storage.SplitReadStreamResponse.Builder mergeRemainderStream(Storage.Stream value)

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;

Parameter
NameDescription
valueStorage.Stream
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPrimaryStream(Storage.Stream value)

public Storage.SplitReadStreamResponse.Builder setPrimaryStream(Storage.Stream value)

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;

Parameter
NameDescription
valueStorage.Stream
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

setPrimaryStream(Storage.Stream.Builder builderForValue)

public Storage.SplitReadStreamResponse.Builder setPrimaryStream(Storage.Stream.Builder builderForValue)

Primary stream, which contains the beginning portion of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;

Parameter
NameDescription
builderForValueStorage.Stream.Builder
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

setRemainderStream(Storage.Stream value)

public Storage.SplitReadStreamResponse.Builder setRemainderStream(Storage.Stream value)

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;

Parameter
NameDescription
valueStorage.Stream
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

setRemainderStream(Storage.Stream.Builder builderForValue)

public Storage.SplitReadStreamResponse.Builder setRemainderStream(Storage.Stream.Builder builderForValue)

Remainder stream, which contains the tail of |original_stream|. An empty value indicates that the original stream can no longer be split.

.google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;

Parameter
NameDescription
builderForValueStorage.Stream.Builder
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder

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

public Storage.SplitReadStreamResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Storage.SplitReadStreamResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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