public static final class StreamingCommitCursorRequest.Builder extends GeneratedMessageV3.Builder<StreamingCommitCursorRequest.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamingCommitCursorRequest build()
buildPartial()
public StreamingCommitCursorRequest buildPartial()
clear()
public StreamingCommitCursorRequest.Builder clear()
Overrides
clearCommit()
public StreamingCommitCursorRequest.Builder clearCommit()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
clearField(Descriptors.FieldDescriptor field)
public StreamingCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInitial()
public StreamingCommitCursorRequest.Builder clearInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequest()
public StreamingCommitCursorRequest.Builder clearRequest()
clone()
public StreamingCommitCursorRequest.Builder clone()
Overrides
getCommit()
public SequencedCommitCursorRequest getCommit()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
getCommitBuilder()
public SequencedCommitCursorRequest.Builder getCommitBuilder()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInitial()
public InitialCommitCursorRequest getInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
getInitialBuilder()
public InitialCommitCursorRequest.Builder getInitialBuilder()
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;
getRequestCase()
public StreamingCommitCursorRequest.RequestCase getRequestCase()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCommit(SequencedCommitCursorRequest value)
public StreamingCommitCursorRequest.Builder mergeCommit(SequencedCommitCursorRequest value)
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
mergeFrom(StreamingCommitCursorRequest other)
public StreamingCommitCursorRequest.Builder mergeFrom(StreamingCommitCursorRequest other)
public StreamingCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamingCommitCursorRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeInitial(InitialCommitCursorRequest value)
public StreamingCommitCursorRequest.Builder mergeInitial(InitialCommitCursorRequest value)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCommit(SequencedCommitCursorRequest value)
public StreamingCommitCursorRequest.Builder setCommit(SequencedCommitCursorRequest value)
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
setCommit(SequencedCommitCursorRequest.Builder builderForValue)
public StreamingCommitCursorRequest.Builder setCommit(SequencedCommitCursorRequest.Builder builderForValue)
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInitial(InitialCommitCursorRequest value)
public StreamingCommitCursorRequest.Builder setInitial(InitialCommitCursorRequest value)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
setInitial(InitialCommitCursorRequest.Builder builderForValue)
public StreamingCommitCursorRequest.Builder setInitial(InitialCommitCursorRequest.Builder builderForValue)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides