public static final class SeekResponse.Builder extends GeneratedMessageV3.Builder<SeekResponse.Builder> implements SeekResponseOrBuilder
Response to a SeekRequest.
Protobuf type google.cloud.pubsublite.v1.SeekResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SeekResponse.BuilderImplements
SeekResponseOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public SeekResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
SeekResponse.Builder |
clone()
public SeekResponse.Builder clone()
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 |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SeekResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SeekResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SeekResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SeekResponse.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final SeekResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SeekResponse.Builder |