Class SeekResponse.Builder (1.10.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SeekResponse build()
Returns
TypeDescription
SeekResponse

buildPartial()

public SeekResponse buildPartial()
Returns
TypeDescription
SeekResponse

clear()

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

clearCursor()

public SeekResponse.Builder clearCursor()

The new delivery cursor for the current stream.

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

Returns
TypeDescription
SeekResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCursor()

public Cursor getCursor()

The new delivery cursor for the current stream.

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

Returns
TypeDescription
Cursor

The cursor.

getCursorBuilder()

public Cursor.Builder getCursorBuilder()

The new delivery cursor for the current stream.

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

Returns
TypeDescription
Cursor.Builder

getCursorOrBuilder()

public CursorOrBuilder getCursorOrBuilder()

The new delivery cursor for the current stream.

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

Returns
TypeDescription
CursorOrBuilder

getDefaultInstanceForType()

public SeekResponse getDefaultInstanceForType()
Returns
TypeDescription
SeekResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCursor()

public boolean hasCursor()

The new delivery cursor for the current stream.

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

The new delivery cursor for the current stream.

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

Parameter
NameDescription
valueCursor
Returns
TypeDescription
SeekResponse.Builder

mergeFrom(SeekResponse other)

public SeekResponse.Builder mergeFrom(SeekResponse other)
Parameter
NameDescription
otherSeekResponse
Returns
TypeDescription
SeekResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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