Class SeekResponse.Builder (1.16.5)

public static final class SeekResponse.Builder extends GeneratedMessage.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

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

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 GeneratedMessage.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

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