Class SequencedCommitCursorRequest.Builder (1.13.6)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SequencedCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides

build()

public SequencedCommitCursorRequest build()
Returns
Type Description
SequencedCommitCursorRequest

buildPartial()

public SequencedCommitCursorRequest buildPartial()
Returns
Type Description
SequencedCommitCursorRequest

clear()

public SequencedCommitCursorRequest.Builder clear()
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides

clearCursor()

public SequencedCommitCursorRequest.Builder clearCursor()

The new value for the committed cursor.

.google.cloud.pubsublite.v1.Cursor cursor = 1;

Returns
Type Description
SequencedCommitCursorRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SequencedCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SequencedCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides

clone()

public SequencedCommitCursorRequest.Builder clone()
Returns
Type Description
SequencedCommitCursorRequest.Builder
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;

Returns
Type Description
Cursor.Builder

getCursorOrBuilder()

public CursorOrBuilder getCursorOrBuilder()

The new value for the committed cursor.

.google.cloud.pubsublite.v1.Cursor cursor = 1;

Returns
Type Description
CursorOrBuilder

getDefaultInstanceForType()

public SequencedCommitCursorRequest getDefaultInstanceForType()
Returns
Type Description
SequencedCommitCursorRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Returns
Type Description
SequencedCommitCursorRequest.Builder

mergeFrom(SequencedCommitCursorRequest other)

public SequencedCommitCursorRequest.Builder mergeFrom(SequencedCommitCursorRequest other)
Parameter
Name Description
other SequencedCommitCursorRequest
Returns
Type Description
SequencedCommitCursorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SequencedCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SequencedCommitCursorRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SequencedCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SequencedCommitCursorRequest.Builder
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
Returns
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;

Parameter
Name Description
builderForValue Cursor.Builder
Returns
Type Description
SequencedCommitCursorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SequencedCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SequencedCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SequencedCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SequencedCommitCursorRequest.Builder
Overrides