public static final class TimeTarget.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeTarget.Builder> implements TimeTargetOrBuilder
A target publish or event time. Can be used for seeking to or retrieving the corresponding cursor.Protobuf type
google.cloud.pubsublite.v1.TimeTarget| Modifier and Type | Method and Description |
|---|---|
TimeTarget.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeTarget |
build() |
TimeTarget |
buildPartial() |
TimeTarget.Builder |
clear() |
TimeTarget.Builder |
clearEventTime()
Request the cursor of the first message with event time greater than or
equal to `event_time`.
|
TimeTarget.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TimeTarget.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TimeTarget.Builder |
clearPublishTime()
Request the cursor of the first message with publish time greater than or
equal to `publish_time`.
|
TimeTarget.Builder |
clearTime() |
TimeTarget.Builder |
clone() |
TimeTarget |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEventTime()
Request the cursor of the first message with event time greater than or
equal to `event_time`.
|
com.google.protobuf.Timestamp.Builder |
getEventTimeBuilder()
Request the cursor of the first message with event time greater than or
equal to `event_time`.
|
com.google.protobuf.TimestampOrBuilder |
getEventTimeOrBuilder()
Request the cursor of the first message with event time greater than or
equal to `event_time`.
|
com.google.protobuf.Timestamp |
getPublishTime()
Request the cursor of the first message with publish time greater than or
equal to `publish_time`.
|
com.google.protobuf.Timestamp.Builder |
getPublishTimeBuilder()
Request the cursor of the first message with publish time greater than or
equal to `publish_time`.
|
com.google.protobuf.TimestampOrBuilder |
getPublishTimeOrBuilder()
Request the cursor of the first message with publish time greater than or
equal to `publish_time`.
|
TimeTarget.TimeCase |
getTimeCase() |
boolean |
hasEventTime()
Request the cursor of the first message with event time greater than or
equal to `event_time`.
|
boolean |
hasPublishTime()
Request the cursor of the first message with publish time greater than or
equal to `publish_time`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimeTarget.Builder |
mergeEventTime(com.google.protobuf.Timestamp value)
Request the cursor of the first message with event time greater than or
equal to `event_time`.
|
TimeTarget.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimeTarget.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimeTarget.Builder |
mergeFrom(TimeTarget other) |
TimeTarget.Builder |
mergePublishTime(com.google.protobuf.Timestamp value)
Request the cursor of the first message with publish time greater than or
equal to `publish_time`.
|
TimeTarget.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeTarget.Builder |
setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Request the cursor of the first message with event time greater than or
equal to `event_time`.
|
TimeTarget.Builder |
setEventTime(com.google.protobuf.Timestamp value)
Request the cursor of the first message with event time greater than or
equal to `event_time`.
|
TimeTarget.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeTarget.Builder |
setPublishTime(com.google.protobuf.Timestamp.Builder builderForValue)
Request the cursor of the first message with publish time greater than or
equal to `publish_time`.
|
TimeTarget.Builder |
setPublishTime(com.google.protobuf.Timestamp value)
Request the cursor of the first message with publish time greater than or
equal to `publish_time`.
|
TimeTarget.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TimeTarget.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<TimeTarget.Builder>public TimeTarget.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TimeTarget.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<TimeTarget.Builder>public TimeTarget getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TimeTarget build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TimeTarget buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TimeTarget.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TimeTarget.Builder>public TimeTarget.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<TimeTarget.Builder>public TimeTarget.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeTarget.Builder>public TimeTarget.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimeTarget.Builder>public TimeTarget.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<TimeTarget.Builder>public TimeTarget.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<TimeTarget.Builder>public TimeTarget.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeTarget.Builder>public TimeTarget.Builder mergeFrom(TimeTarget other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TimeTarget.Builder>public TimeTarget.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<TimeTarget.Builder>IOExceptionpublic TimeTarget.TimeCase getTimeCase()
getTimeCase in interface TimeTargetOrBuilderpublic TimeTarget.Builder clearTime()
public boolean hasPublishTime()
Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.
.google.protobuf.Timestamp publish_time = 1;hasPublishTime in interface TimeTargetOrBuilderpublic com.google.protobuf.Timestamp getPublishTime()
Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.
.google.protobuf.Timestamp publish_time = 1;getPublishTime in interface TimeTargetOrBuilderpublic TimeTarget.Builder setPublishTime(com.google.protobuf.Timestamp value)
Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.
.google.protobuf.Timestamp publish_time = 1;public TimeTarget.Builder setPublishTime(com.google.protobuf.Timestamp.Builder builderForValue)
Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.
.google.protobuf.Timestamp publish_time = 1;public TimeTarget.Builder mergePublishTime(com.google.protobuf.Timestamp value)
Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.
.google.protobuf.Timestamp publish_time = 1;public TimeTarget.Builder clearPublishTime()
Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.
.google.protobuf.Timestamp publish_time = 1;public com.google.protobuf.Timestamp.Builder getPublishTimeBuilder()
Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.
.google.protobuf.Timestamp publish_time = 1;public com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder()
Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.
.google.protobuf.Timestamp publish_time = 1;getPublishTimeOrBuilder in interface TimeTargetOrBuilderpublic boolean hasEventTime()
Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
.google.protobuf.Timestamp event_time = 2;hasEventTime in interface TimeTargetOrBuilderpublic com.google.protobuf.Timestamp getEventTime()
Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
.google.protobuf.Timestamp event_time = 2;getEventTime in interface TimeTargetOrBuilderpublic TimeTarget.Builder setEventTime(com.google.protobuf.Timestamp value)
Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
.google.protobuf.Timestamp event_time = 2;public TimeTarget.Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
.google.protobuf.Timestamp event_time = 2;public TimeTarget.Builder mergeEventTime(com.google.protobuf.Timestamp value)
Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
.google.protobuf.Timestamp event_time = 2;public TimeTarget.Builder clearEventTime()
Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
.google.protobuf.Timestamp event_time = 2;public com.google.protobuf.Timestamp.Builder getEventTimeBuilder()
Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
.google.protobuf.Timestamp event_time = 2;public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.
.google.protobuf.Timestamp event_time = 2;getEventTimeOrBuilder in interface TimeTargetOrBuilderpublic final TimeTarget.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeTarget.Builder>public final TimeTarget.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeTarget.Builder>Copyright © 2023 Google LLC. All rights reserved.