Class StreamingCommitCursorRequest (1.14.8)

public final class StreamingCommitCursorRequest extends GeneratedMessageV3 implements StreamingCommitCursorRequestOrBuilder

A request sent from the client to the server on a stream.

Protobuf type google.cloud.pubsublite.v1.StreamingCommitCursorRequest

Static Fields

COMMIT_FIELD_NUMBER

public static final int COMMIT_FIELD_NUMBER
Field Value
Type Description
int

INITIAL_FIELD_NUMBER

public static final int INITIAL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamingCommitCursorRequest getDefaultInstance()
Returns
Type Description
StreamingCommitCursorRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StreamingCommitCursorRequest.Builder newBuilder()
Returns
Type Description
StreamingCommitCursorRequest.Builder

newBuilder(StreamingCommitCursorRequest prototype)

public static StreamingCommitCursorRequest.Builder newBuilder(StreamingCommitCursorRequest prototype)
Parameter
Name Description
prototype StreamingCommitCursorRequest
Returns
Type Description
StreamingCommitCursorRequest.Builder

parseDelimitedFrom(InputStream input)

public static StreamingCommitCursorRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingCommitCursorRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StreamingCommitCursorRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingCommitCursorRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingCommitCursorRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingCommitCursorRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingCommitCursorRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingCommitCursorRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StreamingCommitCursorRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingCommitCursorRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StreamingCommitCursorRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingCommitCursorRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingCommitCursorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StreamingCommitCursorRequest> parser()
Returns
Type Description
Parser<StreamingCommitCursorRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCommit()

public SequencedCommitCursorRequest getCommit()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
SequencedCommitCursorRequest

The commit.

getCommitOrBuilder()

public SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
SequencedCommitCursorRequestOrBuilder

getDefaultInstanceForType()

public StreamingCommitCursorRequest getDefaultInstanceForType()
Returns
Type Description
StreamingCommitCursorRequest

getInitial()

public InitialCommitCursorRequest getInitial()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Returns
Type Description
InitialCommitCursorRequest

The initial.

getInitialOrBuilder()

public InitialCommitCursorRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Returns
Type Description
InitialCommitCursorRequestOrBuilder

getParserForType()

public Parser<StreamingCommitCursorRequest> getParserForType()
Returns
Type Description
Parser<StreamingCommitCursorRequest>
Overrides

getRequestCase()

public StreamingCommitCursorRequest.RequestCase getRequestCase()
Returns
Type Description
StreamingCommitCursorRequest.RequestCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCommit()

public boolean hasCommit()

Request to commit a new cursor value.

.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;

Returns
Type Description
boolean

Whether the commit field is set.

hasInitial()

public boolean hasInitial()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;

Returns
Type Description
boolean

Whether the initial field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StreamingCommitCursorRequest.Builder newBuilderForType()
Returns
Type Description
StreamingCommitCursorRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingCommitCursorRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamingCommitCursorRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StreamingCommitCursorRequest.Builder toBuilder()
Returns
Type Description
StreamingCommitCursorRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException