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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SequencedCommitCursorRequest.BuilderImplements
SequencedCommitCursorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SequencedCommitCursorRequest.Builder |
build()
public SequencedCommitCursorRequest build()
Type | Description |
SequencedCommitCursorRequest |
buildPartial()
public SequencedCommitCursorRequest buildPartial()
Type | Description |
SequencedCommitCursorRequest |
clear()
public SequencedCommitCursorRequest.Builder clear()
Type | Description |
SequencedCommitCursorRequest.Builder |
clearCursor()
public SequencedCommitCursorRequest.Builder clearCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
SequencedCommitCursorRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public SequencedCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SequencedCommitCursorRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SequencedCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SequencedCommitCursorRequest.Builder |
clone()
public SequencedCommitCursorRequest.Builder clone()
Type | Description |
SequencedCommitCursorRequest.Builder |
getCursor()
public Cursor getCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
Cursor | The cursor. |
getCursorBuilder()
public Cursor.Builder getCursorBuilder()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
Cursor.Builder |
getCursorOrBuilder()
public CursorOrBuilder getCursorOrBuilder()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
CursorOrBuilder |
getDefaultInstanceForType()
public SequencedCommitCursorRequest getDefaultInstanceForType()
Type | Description |
SequencedCommitCursorRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
hasCursor()
public boolean hasCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
boolean | Whether the cursor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCursor(Cursor value)
public SequencedCommitCursorRequest.Builder mergeCursor(Cursor value)
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Name | Description |
value | Cursor |
Type | Description |
SequencedCommitCursorRequest.Builder |
mergeFrom(SequencedCommitCursorRequest other)
public SequencedCommitCursorRequest.Builder mergeFrom(SequencedCommitCursorRequest other)
Name | Description |
other | SequencedCommitCursorRequest |
Type | Description |
SequencedCommitCursorRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SequencedCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SequencedCommitCursorRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SequencedCommitCursorRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SequencedCommitCursorRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SequencedCommitCursorRequest.Builder |
setCursor(Cursor value)
public SequencedCommitCursorRequest.Builder setCursor(Cursor value)
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Name | Description |
value | Cursor |
Type | Description |
SequencedCommitCursorRequest.Builder |
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;
Name | Description |
builderForValue | Cursor.Builder |
Type | Description |
SequencedCommitCursorRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SequencedCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SequencedCommitCursorRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SequencedCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SequencedCommitCursorRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SequencedCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SequencedCommitCursorRequest.Builder |