public static final class SplitReadStreamResponse.Builder extends GeneratedMessageV3.Builder<SplitReadStreamResponse.Builder> implements SplitReadStreamResponseOrBuilder
Response message for SplitReadStream
.
Protobuf type google.cloud.bigquery.storage.v1.SplitReadStreamResponse
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SplitReadStreamResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SplitReadStreamResponse build()
Returns
buildPartial()
public SplitReadStreamResponse buildPartial()
Returns
clear()
public SplitReadStreamResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SplitReadStreamResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SplitReadStreamResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPrimaryStream()
public 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.v1.ReadStream primary_stream = 1;
Returns
clearRemainderStream()
public 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.v1.ReadStream remainder_stream = 2;
Returns
clone()
public SplitReadStreamResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SplitReadStreamResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPrimaryStream()
public ReadStream 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.v1.ReadStream primary_stream = 1;
Returns
getPrimaryStreamBuilder()
public ReadStream.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.v1.ReadStream primary_stream = 1;
Returns
getPrimaryStreamOrBuilder()
public ReadStreamOrBuilder 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.v1.ReadStream primary_stream = 1;
Returns
getRemainderStream()
public ReadStream 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.v1.ReadStream remainder_stream = 2;
Returns
getRemainderStreamBuilder()
public ReadStream.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.v1.ReadStream remainder_stream = 2;
Returns
getRemainderStreamOrBuilder()
public ReadStreamOrBuilder 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.v1.ReadStream remainder_stream = 2;
Returns
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.v1.ReadStream primary_stream = 1;
Returns
Type | Description |
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.v1.ReadStream remainder_stream = 2;
Returns
Type | Description |
boolean | Whether the remainderStream field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SplitReadStreamResponse other)
public SplitReadStreamResponse.Builder mergeFrom(SplitReadStreamResponse other)
Parameter
Returns
public SplitReadStreamResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SplitReadStreamResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePrimaryStream(ReadStream value)
public SplitReadStreamResponse.Builder mergePrimaryStream(ReadStream 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.v1.ReadStream primary_stream = 1;
Parameter
Returns
mergeRemainderStream(ReadStream value)
public SplitReadStreamResponse.Builder mergeRemainderStream(ReadStream 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.v1.ReadStream remainder_stream = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SplitReadStreamResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SplitReadStreamResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPrimaryStream(ReadStream value)
public SplitReadStreamResponse.Builder setPrimaryStream(ReadStream 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.v1.ReadStream primary_stream = 1;
Parameter
Returns
setPrimaryStream(ReadStream.Builder builderForValue)
public SplitReadStreamResponse.Builder setPrimaryStream(ReadStream.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.v1.ReadStream primary_stream = 1;
Parameter
Returns
setRemainderStream(ReadStream value)
public SplitReadStreamResponse.Builder setRemainderStream(ReadStream 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.v1.ReadStream remainder_stream = 2;
Parameter
Returns
setRemainderStream(ReadStream.Builder builderForValue)
public SplitReadStreamResponse.Builder setRemainderStream(ReadStream.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.v1.ReadStream remainder_stream = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SplitReadStreamResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SplitReadStreamResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides