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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StreamingCommitCursorRequest build()
Returns
buildPartial()
public StreamingCommitCursorRequest buildPartial()
Returns
clear()
public StreamingCommitCursorRequest.Builder clear()
Returns
Overrides
clearCommit()
public StreamingCommitCursorRequest.Builder clearCommit()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public StreamingCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInitial()
public StreamingCommitCursorRequest.Builder clearInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRequest()
public StreamingCommitCursorRequest.Builder clearRequest()
Returns
clone()
public StreamingCommitCursorRequest.Builder clone()
Returns
Overrides
getCommit()
public SequencedCommitCursorRequest getCommit()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
getCommitBuilder()
public SequencedCommitCursorRequest.Builder getCommitBuilder()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
getCommitOrBuilder()
public SequencedCommitCursorRequestOrBuilder getCommitOrBuilder()
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Returns
getDefaultInstanceForType()
public StreamingCommitCursorRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInitial()
public InitialCommitCursorRequest getInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Returns
getInitialBuilder()
public InitialCommitCursorRequest.Builder getInitialBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Returns
getInitialOrBuilder()
public InitialCommitCursorRequestOrBuilder getInitialOrBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Returns
getRequestCase()
public StreamingCommitCursorRequest.RequestCase getRequestCase()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCommit(SequencedCommitCursorRequest value)
public StreamingCommitCursorRequest.Builder mergeCommit(SequencedCommitCursorRequest value)
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Parameter
Returns
mergeFrom(StreamingCommitCursorRequest other)
public StreamingCommitCursorRequest.Builder mergeFrom(StreamingCommitCursorRequest other)
Parameter
Returns
public StreamingCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamingCommitCursorRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeInitial(InitialCommitCursorRequest value)
public StreamingCommitCursorRequest.Builder mergeInitial(InitialCommitCursorRequest value)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCommit(SequencedCommitCursorRequest value)
public StreamingCommitCursorRequest.Builder setCommit(SequencedCommitCursorRequest value)
Request to commit a new cursor value.
.google.cloud.pubsublite.v1.SequencedCommitCursorRequest commit = 2;
Parameter
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInitial(InitialCommitCursorRequest value)
public StreamingCommitCursorRequest.Builder setInitial(InitialCommitCursorRequest value)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Parameter
Returns
setInitial(InitialCommitCursorRequest.Builder builderForValue)
public StreamingCommitCursorRequest.Builder setInitial(InitialCommitCursorRequest.Builder builderForValue)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialCommitCursorRequest initial = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides