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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeTimeCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ComputeTimeCursorResponse build()
Returns
buildPartial()
public ComputeTimeCursorResponse buildPartial()
Returns
clear()
public ComputeTimeCursorResponse.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public ComputeTimeCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeTimeCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ComputeTimeCursorResponse.Builder clone()
Returns
Overrides
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;
Returns
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;
Returns
getDefaultInstanceForType()
public ComputeTimeCursorResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(ComputeTimeCursorResponse other)
public ComputeTimeCursorResponse.Builder mergeFrom(ComputeTimeCursorResponse other)
Parameter
Returns
public ComputeTimeCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ComputeTimeCursorResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeTimeCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeTimeCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeTimeCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeTimeCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides