Class SplitReadStreamResponse (2.26.0)

public final class SplitReadStreamResponse extends GeneratedMessageV3 implements SplitReadStreamResponseOrBuilder

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

Static Fields

PRIMARY_STREAM_FIELD_NUMBER

public static final int PRIMARY_STREAM_FIELD_NUMBER
Field Value
TypeDescription
int

REMAINDER_STREAM_FIELD_NUMBER

public static final int REMAINDER_STREAM_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SplitReadStreamResponse getDefaultInstance()
Returns
TypeDescription
SplitReadStreamResponse

getDescriptor()

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

newBuilder()

public static SplitReadStreamResponse.Builder newBuilder()
Returns
TypeDescription
SplitReadStreamResponse.Builder

newBuilder(SplitReadStreamResponse prototype)

public static SplitReadStreamResponse.Builder newBuilder(SplitReadStreamResponse prototype)
Parameter
NameDescription
prototypeSplitReadStreamResponse
Returns
TypeDescription
SplitReadStreamResponse.Builder

parseDelimitedFrom(InputStream input)

public static SplitReadStreamResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SplitReadStreamResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SplitReadStreamResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SplitReadStreamResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SplitReadStreamResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SplitReadStreamResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SplitReadStreamResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SplitReadStreamResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SplitReadStreamResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SplitReadStreamResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SplitReadStreamResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SplitReadStreamResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitReadStreamResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SplitReadStreamResponse> parser()
Returns
TypeDescription
Parser<SplitReadStreamResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SplitReadStreamResponse getDefaultInstanceForType()
Returns
TypeDescription
SplitReadStreamResponse

getParserForType()

public Parser<SplitReadStreamResponse> getParserForType()
Returns
TypeDescription
Parser<SplitReadStreamResponse>
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.v1beta2.ReadStream primary_stream = 1;

Returns
TypeDescription
ReadStream

The primaryStream.

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.v1beta2.ReadStream primary_stream = 1;

Returns
TypeDescription
ReadStreamOrBuilder

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.v1beta2.ReadStream remainder_stream = 2;

Returns
TypeDescription
ReadStream

The remainderStream.

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.v1beta2.ReadStream remainder_stream = 2;

Returns
TypeDescription
ReadStreamOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.v1beta2.ReadStream 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.v1beta2.ReadStream remainder_stream = 2;

Returns
TypeDescription
boolean

Whether the remainderStream field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SplitReadStreamResponse.Builder newBuilderForType()
Returns
TypeDescription
SplitReadStreamResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SplitReadStreamResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SplitReadStreamResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SplitReadStreamResponse.Builder toBuilder()
Returns
TypeDescription
SplitReadStreamResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException