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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamingCommitCursorRequestImplements
StreamingCommitCursorRequestOrBuilderStatic 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 StreamingCommitCursorRequest getDefaultInstance()
Type | Description |
StreamingCommitCursorRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static StreamingCommitCursorRequest.Builder newBuilder()
Type | Description |
StreamingCommitCursorRequest.Builder |
newBuilder(StreamingCommitCursorRequest prototype)
public static StreamingCommitCursorRequest.Builder newBuilder(StreamingCommitCursorRequest prototype)
Name | Description |
prototype | StreamingCommitCursorRequest |
Type | Description |
StreamingCommitCursorRequest.Builder |
parseDelimitedFrom(InputStream input)
public static StreamingCommitCursorRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static StreamingCommitCursorRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static StreamingCommitCursorRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static StreamingCommitCursorRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static StreamingCommitCursorRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static StreamingCommitCursorRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingCommitCursorRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<StreamingCommitCursorRequest> parser()
Type | Description |
Parser<StreamingCommitCursorRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCommit()
public SequencedCommitCursorRequest getCommit()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Type | Description |
SequencedCommitCursorRequest | The commit. |
getCommitOrBuilder()
public SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Type | Description |
SequencedCommitCursorRequestOrBuilder |
getDefaultInstanceForType()
public StreamingCommitCursorRequest getDefaultInstanceForType()
Type | Description |
StreamingCommitCursorRequest |
getInitial()
public InitialCommitCursorRequest getInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Type | Description |
InitialCommitCursorRequest | The initial. |
getInitialOrBuilder()
public InitialCommitCursorRequestOrBuilder getInitialOrBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Type | Description |
InitialCommitCursorRequestOrBuilder |
getParserForType()
public Parser<StreamingCommitCursorRequest> getParserForType()
Type | Description |
Parser<StreamingCommitCursorRequest> |
getRequestCase()
public StreamingCommitCursorRequest.RequestCase getRequestCase()
Type | Description |
StreamingCommitCursorRequest.RequestCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasCommit()
public boolean hasCommit()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Type | Description |
boolean | Whether the commit field is set. |
hasInitial()
public boolean hasInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest 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 StreamingCommitCursorRequest.Builder newBuilderForType()
Type | Description |
StreamingCommitCursorRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingCommitCursorRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
StreamingCommitCursorRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public StreamingCommitCursorRequest.Builder toBuilder()
Type | Description |
StreamingCommitCursorRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |