public static final class Storage.StreamPosition extends GeneratedMessageV3 implements Storage.StreamPositionOrBuilder
Expresses a point within a given stream using an offset position.
Protobuf type google.cloud.bigquery.storage.v1beta1.StreamPosition
Static Fields
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
Field Value
STREAM_FIELD_NUMBER
public static final int STREAM_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Storage.StreamPosition getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Storage.StreamPosition.Builder newBuilder()
Returns
newBuilder(Storage.StreamPosition prototype)
public static Storage.StreamPosition.Builder newBuilder(Storage.StreamPosition prototype)
Parameter
Returns
public static Storage.StreamPosition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Storage.StreamPosition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Storage.StreamPosition parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamPosition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Storage.StreamPosition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamPosition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Storage.StreamPosition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Storage.StreamPosition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Storage.StreamPosition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Storage.StreamPosition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Storage.StreamPosition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Storage.StreamPosition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Storage.StreamPosition> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Storage.StreamPosition getDefaultInstanceForType()
Returns
getOffset()
Position in the stream.
int64 offset = 2;
Returns
Type | Description |
long | The offset.
|
getParserForType()
public Parser<Storage.StreamPosition> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStream()
public Storage.Stream getStream()
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Returns
getStreamOrBuilder()
public Storage.StreamOrBuilder getStreamOrBuilder()
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasStream()
public boolean hasStream()
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Returns
Type | Description |
boolean | Whether the stream field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Storage.StreamPosition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Storage.StreamPosition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Storage.StreamPosition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions