public static final class ComputeTimeCursorResponse.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
ComputeTimeCursorResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ComputeTimeCursorResponse |
build() |
ComputeTimeCursorResponse |
buildPartial() |
ComputeTimeCursorResponse.Builder |
clear() |
ComputeTimeCursorResponse.Builder |
clearCursor()
If present, the cursor references the first message with time greater than
or equal to the specified target time.
|
ComputeTimeCursorResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ComputeTimeCursorResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ComputeTimeCursorResponse.Builder |
clone() |
Cursor |
getCursor()
If present, the cursor references the first message with time greater than
or equal to the specified target time.
|
Cursor.Builder |
getCursorBuilder()
If present, the cursor references the first message with time greater than
or equal to the specified target time.
|
CursorOrBuilder |
getCursorOrBuilder()
If present, the cursor references the first message with time greater than
or equal to the specified target time.
|
ComputeTimeCursorResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasCursor()
If present, the cursor references the first message with time greater than
or equal to the specified target time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ComputeTimeCursorResponse.Builder |
mergeCursor(Cursor value)
If present, the cursor references the first message with time greater than
or equal to the specified target time.
|
ComputeTimeCursorResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ComputeTimeCursorResponse.Builder |
mergeFrom(ComputeTimeCursorResponse other) |
ComputeTimeCursorResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ComputeTimeCursorResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
ComputeTimeCursorResponse.Builder |
setCursor(Cursor value)
If present, the cursor references the first message with time greater than
or equal to the specified target time.
|
ComputeTimeCursorResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ComputeTimeCursorResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ComputeTimeCursorResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ComputeTimeCursorResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ComputeTimeCursorResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ComputeTimeCursorResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder mergeFrom(ComputeTimeCursorResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public ComputeTimeCursorResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ComputeTimeCursorResponse.Builder>IOExceptionpublic 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;hasCursor in interface ComputeTimeCursorResponseOrBuilderpublic 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;getCursor in interface ComputeTimeCursorResponseOrBuilderpublic 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;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;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;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;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;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;getCursorOrBuilder in interface ComputeTimeCursorResponseOrBuilderpublic final ComputeTimeCursorResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>public final ComputeTimeCursorResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeTimeCursorResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.