Class StreamingCommitCursorResponse (1.9.4)

public final class StreamingCommitCursorResponse extends GeneratedMessageV3 implements StreamingCommitCursorResponseOrBuilder

Response to a StreamingCommitCursorRequest.

Protobuf type google.cloud.pubsublite.v1.StreamingCommitCursorResponse

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 StreamingCommitCursorResponse getDefaultInstance()
Returns
TypeDescription
StreamingCommitCursorResponse

getDescriptor()

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

newBuilder()

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

newBuilder(StreamingCommitCursorResponse prototype)

public static StreamingCommitCursorResponse.Builder newBuilder(StreamingCommitCursorResponse prototype)
Parameter
NameDescription
prototypeStreamingCommitCursorResponse
Returns
TypeDescription
StreamingCommitCursorResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCommit()

public SequencedCommitCursorResponse getCommit()

Response to committing a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorResponse

The commit.

getCommitOrBuilder()

public SequencedCommitCursorResponseOrBuilder getCommitOrBuilder()

Response to committing a new cursor value.

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

Returns
TypeDescription
SequencedCommitCursorResponseOrBuilder

getDefaultInstanceForType()

public StreamingCommitCursorResponse getDefaultInstanceForType()
Returns
TypeDescription
StreamingCommitCursorResponse

getInitial()

public InitialCommitCursorResponse getInitial()

Initial response on the stream.

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

Returns
TypeDescription
InitialCommitCursorResponse

The initial.

getInitialOrBuilder()

public InitialCommitCursorResponseOrBuilder getInitialOrBuilder()

Initial response on the stream.

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

Returns
TypeDescription
InitialCommitCursorResponseOrBuilder

getParserForType()

public Parser<StreamingCommitCursorResponse> getParserForType()
Returns
TypeDescription
Parser<StreamingCommitCursorResponse>
Overrides

getRequestCase()

public StreamingCommitCursorResponse.RequestCase getRequestCase()
Returns
TypeDescription
StreamingCommitCursorResponse.RequestCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCommit()

public boolean hasCommit()

Response to committing a new cursor value.

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

Returns
TypeDescription
boolean

Whether the commit field is set.

hasInitial()

public boolean hasInitial()

Initial response on the stream.

.google.cloud.pubsublite.v1.InitialCommitCursorResponse 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 StreamingCommitCursorResponse.Builder newBuilderForType()
Returns
TypeDescription
StreamingCommitCursorResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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