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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COMMIT_FIELD_NUMBER
public static final int COMMIT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INITIAL_FIELD_NUMBER
public static final int INITIAL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static StreamingCommitCursorRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StreamingCommitCursorRequest.Builder newBuilder()
newBuilder(StreamingCommitCursorRequest prototype)
public static StreamingCommitCursorRequest.Builder newBuilder(StreamingCommitCursorRequest prototype)
public static StreamingCommitCursorRequest parseDelimitedFrom(InputStream input)
public static StreamingCommitCursorRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StreamingCommitCursorRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StreamingCommitCursorRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(CodedInputStream input)
public static StreamingCommitCursorRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(InputStream input)
public static StreamingCommitCursorRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StreamingCommitCursorRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingCommitCursorRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StreamingCommitCursorRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCommit()
public SequencedCommitCursorRequest getCommit()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
getCommitOrBuilder()
public SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
getDefaultInstanceForType()
public StreamingCommitCursorRequest getDefaultInstanceForType()
getInitial()
public InitialCommitCursorRequest getInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
getInitialOrBuilder()
public InitialCommitCursorRequestOrBuilder getInitialOrBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
getParserForType()
public Parser<StreamingCommitCursorRequest> getParserForType()
Overrides
getRequestCase()
public StreamingCommitCursorRequest.RequestCase getRequestCase()
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasCommit()
public boolean hasCommit()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns |
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;
Returns |
Type |
Description |
boolean |
Whether the initial field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StreamingCommitCursorRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingCommitCursorRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public StreamingCommitCursorRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides