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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SeekResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SeekResponse build()
Returns
buildPartial()
public SeekResponse buildPartial()
Returns
clear()
public SeekResponse.Builder clear()
Returns
Overrides
clearCursor()
public SeekResponse.Builder clearCursor()
The new delivery cursor for the current stream.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public SeekResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SeekResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SeekResponse.Builder clone()
Returns
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
getCursorOrBuilder()
public CursorOrBuilder getCursorOrBuilder()
The new delivery cursor for the current stream.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Returns
getDefaultInstanceForType()
public SeekResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(SeekResponse other)
public SeekResponse.Builder mergeFrom(SeekResponse other)
Parameter
Returns
public SeekResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SeekResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SeekResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SeekResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SeekResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SeekResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides