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