public static final class ComputeTimeCursorResponse.Builder extends GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder> implements ComputeTimeCursorResponseOrBuilder
Response containing the cursor corresponding to a publish or event time in a topic partition.
Protobuf type google.cloud.pubsublite.v1.ComputeTimeCursorResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeTimeCursorResponse.BuilderImplements
ComputeTimeCursorResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeTimeCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeTimeCursorResponse.Builder |
build()
public ComputeTimeCursorResponse build()
Type | Description |
ComputeTimeCursorResponse |
buildPartial()
public ComputeTimeCursorResponse buildPartial()
Type | Description |
ComputeTimeCursorResponse |
clear()
public ComputeTimeCursorResponse.Builder clear()
Type | Description |
ComputeTimeCursorResponse.Builder |
clearCursor()
public ComputeTimeCursorResponse.Builder clearCursor()
If present, the cursor references the first message with time greater than
or equal to the specified target time. If such a message cannot be found,
the cursor will be unset (i.e. cursor
is not present).
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
ComputeTimeCursorResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ComputeTimeCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ComputeTimeCursorResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeTimeCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ComputeTimeCursorResponse.Builder |
clone()
public ComputeTimeCursorResponse.Builder clone()
Type | Description |
ComputeTimeCursorResponse.Builder |
getCursor()
public Cursor getCursor()
If present, the cursor references the first message with time greater than
or equal to the specified target time. If such a message cannot be found,
the cursor will be unset (i.e. cursor
is not present).
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
Cursor | The cursor. |
getCursorBuilder()
public Cursor.Builder getCursorBuilder()
If present, the cursor references the first message with time greater than
or equal to the specified target time. If such a message cannot be found,
the cursor will be unset (i.e. cursor
is not present).
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
Cursor.Builder |
getCursorOrBuilder()
public CursorOrBuilder getCursorOrBuilder()
If present, the cursor references the first message with time greater than
or equal to the specified target time. If such a message cannot be found,
the cursor will be unset (i.e. cursor
is not present).
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
CursorOrBuilder |
getDefaultInstanceForType()
public ComputeTimeCursorResponse getDefaultInstanceForType()
Type | Description |
ComputeTimeCursorResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
hasCursor()
public boolean hasCursor()
If present, the cursor references the first message with time greater than
or equal to the specified target time. If such a message cannot be found,
the cursor will be unset (i.e. cursor
is not present).
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Type | Description |
boolean | Whether the cursor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCursor(Cursor value)
public ComputeTimeCursorResponse.Builder mergeCursor(Cursor value)
If present, the cursor references the first message with time greater than
or equal to the specified target time. If such a message cannot be found,
the cursor will be unset (i.e. cursor
is not present).
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Name | Description |
value | Cursor |
Type | Description |
ComputeTimeCursorResponse.Builder |
mergeFrom(ComputeTimeCursorResponse other)
public ComputeTimeCursorResponse.Builder mergeFrom(ComputeTimeCursorResponse other)
Name | Description |
other | ComputeTimeCursorResponse |
Type | Description |
ComputeTimeCursorResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeTimeCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeTimeCursorResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeTimeCursorResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ComputeTimeCursorResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeTimeCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeTimeCursorResponse.Builder |
setCursor(Cursor value)
public ComputeTimeCursorResponse.Builder setCursor(Cursor value)
If present, the cursor references the first message with time greater than
or equal to the specified target time. If such a message cannot be found,
the cursor will be unset (i.e. cursor
is not present).
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Name | Description |
value | Cursor |
Type | Description |
ComputeTimeCursorResponse.Builder |
setCursor(Cursor.Builder builderForValue)
public ComputeTimeCursorResponse.Builder setCursor(Cursor.Builder builderForValue)
If present, the cursor references the first message with time greater than
or equal to the specified target time. If such a message cannot be found,
the cursor will be unset (i.e. cursor
is not present).
.google.cloud.pubsublite.v1.Cursor cursor = 1;
Name | Description |
builderForValue | Cursor.Builder |
Type | Description |
ComputeTimeCursorResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeTimeCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeTimeCursorResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeTimeCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ComputeTimeCursorResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeTimeCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeTimeCursorResponse.Builder |