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
INITIAL_FIELD_NUMBER
public static final int INITIAL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StreamingCommitCursorResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StreamingCommitCursorResponse.Builder newBuilder()
Returns
newBuilder(StreamingCommitCursorResponse prototype)
public static StreamingCommitCursorResponse.Builder newBuilder(StreamingCommitCursorResponse prototype)
Parameter
Returns
public static StreamingCommitCursorResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamingCommitCursorResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StreamingCommitCursorResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StreamingCommitCursorResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamingCommitCursorResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StreamingCommitCursorResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamingCommitCursorResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamingCommitCursorResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StreamingCommitCursorResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StreamingCommitCursorResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCommit()
public SequencedCommitCursorResponse getCommit()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
Returns
getCommitOrBuilder()
public SequencedCommitCursorResponseOrBuilder getCommitOrBuilder()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
Returns
getDefaultInstanceForType()
public StreamingCommitCursorResponse getDefaultInstanceForType()
Returns
getInitial()
public InitialCommitCursorResponse getInitial()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Returns
getInitialOrBuilder()
public InitialCommitCursorResponseOrBuilder getInitialOrBuilder()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Returns
getParserForType()
public Parser<StreamingCommitCursorResponse> getParserForType()
Returns
Overrides
getRequestCase()
public StreamingCommitCursorResponse.RequestCase getRequestCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCommit()
public boolean hasCommit()
Response to committing a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorResponse commit = 2;
Returns
Type | Description |
boolean | Whether the commit field is set.
|
hasInitial()
public boolean hasInitial()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorResponse initial = 1;
Returns
Type | Description |
boolean | Whether the initial field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StreamingCommitCursorResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingCommitCursorResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StreamingCommitCursorResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions