Class SeekResponse.Builder (1.14.7)

public static final class SeekResponse.Builder extends GeneratedMessageV3.Builder<SeekResponse.Builder> implements SeekResponseOrBuilder

Response to a SeekRequest.

Protobuf type google.cloud.pubsublite.v1.SeekResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SeekResponse build()
Returns
Type Description
SeekResponse

buildPartial()

public SeekResponse buildPartial()
Returns
Type Description
SeekResponse

clear()

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

clearCursor()

public SeekResponse.Builder clearCursor()

The new delivery cursor for the current stream.

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

Returns
Type Description
SeekResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SeekResponse.Builder clone()
Returns
Type Description
SeekResponse.Builder
Overrides

getCursor()

public Cursor getCursor()

The new delivery cursor for the current stream.

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

Returns
Type Description
Cursor

The cursor.

getCursorBuilder()

public Cursor.Builder getCursorBuilder()

The new delivery cursor for the current stream.

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

Returns
Type Description
Cursor.Builder

getCursorOrBuilder()

public CursorOrBuilder getCursorOrBuilder()

The new delivery cursor for the current stream.

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

Returns
Type Description
CursorOrBuilder

getDefaultInstanceForType()

public SeekResponse getDefaultInstanceForType()
Returns
Type Description
SeekResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasCursor()

public boolean hasCursor()

The new delivery cursor for the current stream.

.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 SeekResponse.Builder mergeCursor(Cursor value)

The new delivery cursor for the current stream.

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

Parameter
Name Description
value Cursor
Returns
Type Description
SeekResponse.Builder

mergeFrom(SeekResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SeekResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SeekResponse.Builder
Overrides

setCursor(Cursor value)

public SeekResponse.Builder setCursor(Cursor value)

The new delivery cursor for the current stream.

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

Parameter
Name Description
value Cursor
Returns
Type Description
SeekResponse.Builder

setCursor(Cursor.Builder builderForValue)

public SeekResponse.Builder setCursor(Cursor.Builder builderForValue)

The new delivery cursor for the current stream.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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