Class SequencedCommitCursorRequest.Builder (1.10.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SequencedCommitCursorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides

build()

public SequencedCommitCursorRequest build()
Returns
TypeDescription
SequencedCommitCursorRequest

buildPartial()

public SequencedCommitCursorRequest buildPartial()
Returns
TypeDescription
SequencedCommitCursorRequest

clear()

public SequencedCommitCursorRequest.Builder clear()
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides

clearCursor()

public SequencedCommitCursorRequest.Builder clearCursor()

The new value for the committed cursor.

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

Returns
TypeDescription
SequencedCommitCursorRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SequencedCommitCursorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SequencedCommitCursorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides

clone()

public SequencedCommitCursorRequest.Builder clone()
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides

getCursor()

public Cursor getCursor()

The new value for the committed cursor.

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

Returns
TypeDescription
Cursor

The cursor.

getCursorBuilder()

public Cursor.Builder getCursorBuilder()

The new value for the committed cursor.

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

Returns
TypeDescription
Cursor.Builder

getCursorOrBuilder()

public CursorOrBuilder getCursorOrBuilder()

The new value for the committed cursor.

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

Returns
TypeDescription
CursorOrBuilder

getDefaultInstanceForType()

public SequencedCommitCursorRequest getDefaultInstanceForType()
Returns
TypeDescription
SequencedCommitCursorRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCursor()

public boolean hasCursor()

The new value for the committed cursor.

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

Returns
TypeDescription
boolean

Whether the cursor field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCursor
Returns
TypeDescription
SequencedCommitCursorRequest.Builder

mergeFrom(SequencedCommitCursorRequest other)

public SequencedCommitCursorRequest.Builder mergeFrom(SequencedCommitCursorRequest other)
Parameter
NameDescription
otherSequencedCommitCursorRequest
Returns
TypeDescription
SequencedCommitCursorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SequencedCommitCursorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SequencedCommitCursorRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SequencedCommitCursorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCursor
Returns
TypeDescription
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
NameDescription
builderForValueCursor.Builder
Returns
TypeDescription
SequencedCommitCursorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SequencedCommitCursorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides

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

public SequencedCommitCursorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SequencedCommitCursorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SequencedCommitCursorRequest.Builder
Overrides