public static final class ComputeTimeCursorResponse.Builder extends GeneratedMessage.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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ComputeTimeCursorResponse build()
buildPartial()
public ComputeTimeCursorResponse buildPartial()
clear()
public ComputeTimeCursorResponse.Builder clear()
Overrides
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;
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;
| Returns |
| 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;
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;
getDefaultInstanceForType()
public ComputeTimeCursorResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
| Returns |
| Type |
Description |
boolean |
Whether the cursor field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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;
| Parameter |
| Name |
Description |
value |
Cursor
|
mergeFrom(ComputeTimeCursorResponse other)
public ComputeTimeCursorResponse.Builder mergeFrom(ComputeTimeCursorResponse other)
public ComputeTimeCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ComputeTimeCursorResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
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;
| Parameter |
| Name |
Description |
value |
Cursor
|
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;