public static final class SequencedCommitCursorRequest.Builder extends GeneratedMessageV3.Builder<SequencedCommitCursorRequest.Builder> implements SequencedCommitCursorRequestOrBuilder
Streaming request to update the committed cursor. Subsequent
SequencedCommitCursorRequests override outstanding ones.
Protobuf type google.cloud.pubsublite.v1.SequencedCommitCursorRequest
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 SequencedCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SequencedCommitCursorRequest build()
buildPartial()
public SequencedCommitCursorRequest buildPartial()
clear()
public SequencedCommitCursorRequest.Builder clear()
Overrides
clearCursor()
public SequencedCommitCursorRequest.Builder clearCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
clearField(Descriptors.FieldDescriptor field)
public SequencedCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SequencedCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SequencedCommitCursorRequest.Builder clone()
Overrides
getCursor()
public Cursor getCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns |
---|
Type | Description |
Cursor | The cursor.
|
getCursorBuilder()
public Cursor.Builder getCursorBuilder()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
getCursorOrBuilder()
public CursorOrBuilder getCursorOrBuilder()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
getDefaultInstanceForType()
public SequencedCommitCursorRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasCursor()
public boolean hasCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns |
---|
Type | Description |
boolean | Whether the cursor field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCursor(Cursor value)
public SequencedCommitCursorRequest.Builder mergeCursor(Cursor value)
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Parameter |
---|
Name | Description |
value | Cursor
|
mergeFrom(SequencedCommitCursorRequest other)
public SequencedCommitCursorRequest.Builder mergeFrom(SequencedCommitCursorRequest other)
public SequencedCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SequencedCommitCursorRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCursor(Cursor value)
public SequencedCommitCursorRequest.Builder setCursor(Cursor value)
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Parameter |
---|
Name | Description |
value | Cursor
|
setCursor(Cursor.Builder builderForValue)
public SequencedCommitCursorRequest.Builder setCursor(Cursor.Builder builderForValue)
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SequencedCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides