public final class SequencedCommitCursorResponse extends GeneratedMessageV3 implements SequencedCommitCursorResponseOrBuilder
Response to a SequencedCommitCursorRequest.
Protobuf type google.cloud.pubsublite.v1.SequencedCommitCursorResponse
Static Fields
ACKNOWLEDGED_COMMITS_FIELD_NUMBER
public static final int ACKNOWLEDGED_COMMITS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SequencedCommitCursorResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SequencedCommitCursorResponse.Builder newBuilder()
Returns
newBuilder(SequencedCommitCursorResponse prototype)
public static SequencedCommitCursorResponse.Builder newBuilder(SequencedCommitCursorResponse prototype)
Parameter
Returns
public static SequencedCommitCursorResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SequencedCommitCursorResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SequencedCommitCursorResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SequencedCommitCursorResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SequencedCommitCursorResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SequencedCommitCursorResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SequencedCommitCursorResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SequencedCommitCursorResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SequencedCommitCursorResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SequencedCommitCursorResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SequencedCommitCursorResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SequencedCommitCursorResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SequencedCommitCursorResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAcknowledgedCommits()
public long getAcknowledgedCommits()
The number of outstanding SequencedCommitCursorRequests acknowledged by
this response. Note that SequencedCommitCursorRequests are acknowledged in
the order that they are received.
int64 acknowledged_commits = 1;
Returns
Type | Description |
long | The acknowledgedCommits.
|
getDefaultInstanceForType()
public SequencedCommitCursorResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<SequencedCommitCursorResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SequencedCommitCursorResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SequencedCommitCursorResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SequencedCommitCursorResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions