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