Class StreamingCommitCursorRequest (1.6.3)

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
TypeDescription
int

INITIAL_FIELD_NUMBER

public static final int INITIAL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingCommitCursorRequest getDefaultInstance()
Returns

getDescriptor()

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

newBuilder()

public static StreamingCommitCursorRequest.Builder newBuilder()
Returns

newBuilder(StreamingCommitCursorRequest prototype)

public static StreamingCommitCursorRequest.Builder newBuilder(StreamingCommitCursorRequest prototype)
Parameter
NameDescription
prototypeStreamingCommitCursorRequest
Returns

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

public static StreamingCommitCursorRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns Exceptions

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StreamingCommitCursorRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns Exceptions

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StreamingCommitCursorRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns Exceptions

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<StreamingCommitCursorRequest> parser()
Returns

Methods

equals(Object obj)

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

getCommit()

public SequencedCommitCursorRequest getCommit()

Request to commit a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorRequest

The commit.

getCommitOrBuilder()

public SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()

Request to commit a new cursor value.

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

Returns

getDefaultInstanceForType()

public StreamingCommitCursorRequest getDefaultInstanceForType()
Returns

getInitial()

public InitialCommitCursorRequest getInitial()

Initial request on the stream.

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

Returns
TypeDescription
InitialCommitCursorRequest

The initial.

getInitialOrBuilder()

public InitialCommitCursorRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

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

Returns

getParserForType()

public Parser<StreamingCommitCursorRequest> getParserForType()
Returns Overrides

getRequestCase()

public StreamingCommitCursorRequest.RequestCase getRequestCase()
Returns

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCommit()

public boolean hasCommit()

Request to commit a new cursor value.

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

Returns
TypeDescription
boolean

Whether the commit field is set.

hasInitial()

public boolean hasInitial()

Initial request on the stream.

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

Returns
TypeDescription
boolean

Whether the initial 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 StreamingCommitCursorRequest.Builder newBuilderForType()
Returns

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public StreamingCommitCursorRequest.Builder toBuilder()
Returns

writeTo(CodedOutputStream output)

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