public static final class TimeSegment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.Builder> implements TimeSegmentOrBuilder
A time period inside of an example that has a time dimension (e.g. video).Protobuf type
google.cloud.datalabeling.v1beta1.TimeSegment| Modifier and Type | Method and Description |
|---|---|
TimeSegment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSegment |
build() |
TimeSegment |
buildPartial() |
TimeSegment.Builder |
clear() |
TimeSegment.Builder |
clearEndTimeOffset()
End of the time segment (exclusive), represented as the duration since the
example start.
|
TimeSegment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TimeSegment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TimeSegment.Builder |
clearStartTimeOffset()
Start of the time segment (inclusive), represented as the duration since
the example start.
|
TimeSegment.Builder |
clone() |
TimeSegment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getEndTimeOffset()
End of the time segment (exclusive), represented as the duration since the
example start.
|
com.google.protobuf.Duration.Builder |
getEndTimeOffsetBuilder()
End of the time segment (exclusive), represented as the duration since the
example start.
|
com.google.protobuf.DurationOrBuilder |
getEndTimeOffsetOrBuilder()
End of the time segment (exclusive), represented as the duration since the
example start.
|
com.google.protobuf.Duration |
getStartTimeOffset()
Start of the time segment (inclusive), represented as the duration since
the example start.
|
com.google.protobuf.Duration.Builder |
getStartTimeOffsetBuilder()
Start of the time segment (inclusive), represented as the duration since
the example start.
|
com.google.protobuf.DurationOrBuilder |
getStartTimeOffsetOrBuilder()
Start of the time segment (inclusive), represented as the duration since
the example start.
|
boolean |
hasEndTimeOffset()
End of the time segment (exclusive), represented as the duration since the
example start.
|
boolean |
hasStartTimeOffset()
Start of the time segment (inclusive), represented as the duration since
the example start.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimeSegment.Builder |
mergeEndTimeOffset(com.google.protobuf.Duration value)
End of the time segment (exclusive), represented as the duration since the
example start.
|
TimeSegment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimeSegment.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimeSegment.Builder |
mergeFrom(TimeSegment other) |
TimeSegment.Builder |
mergeStartTimeOffset(com.google.protobuf.Duration value)
Start of the time segment (inclusive), represented as the duration since
the example start.
|
TimeSegment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeSegment.Builder |
setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
End of the time segment (exclusive), represented as the duration since the
example start.
|
TimeSegment.Builder |
setEndTimeOffset(com.google.protobuf.Duration value)
End of the time segment (exclusive), represented as the duration since the
example start.
|
TimeSegment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSegment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TimeSegment.Builder |
setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Start of the time segment (inclusive), represented as the duration since
the example start.
|
TimeSegment.Builder |
setStartTimeOffset(com.google.protobuf.Duration value)
Start of the time segment (inclusive), represented as the duration since
the example start.
|
TimeSegment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.Builder>public TimeSegment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.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<TimeSegment.Builder>public TimeSegment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TimeSegment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TimeSegment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TimeSegment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.Builder>public TimeSegment.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<TimeSegment.Builder>public TimeSegment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.Builder>public TimeSegment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.Builder>public TimeSegment.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<TimeSegment.Builder>public TimeSegment.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<TimeSegment.Builder>public TimeSegment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSegment.Builder>public TimeSegment.Builder mergeFrom(TimeSegment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.Builder>public TimeSegment.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<TimeSegment.Builder>IOExceptionpublic boolean hasStartTimeOffset()
Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;hasStartTimeOffset in interface TimeSegmentOrBuilderpublic com.google.protobuf.Duration getStartTimeOffset()
Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;getStartTimeOffset in interface TimeSegmentOrBuilderpublic TimeSegment.Builder setStartTimeOffset(com.google.protobuf.Duration value)
Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;public TimeSegment.Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;public TimeSegment.Builder mergeStartTimeOffset(com.google.protobuf.Duration value)
Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;public TimeSegment.Builder clearStartTimeOffset()
Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder()
Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder()
Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;getStartTimeOffsetOrBuilder in interface TimeSegmentOrBuilderpublic boolean hasEndTimeOffset()
End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;hasEndTimeOffset in interface TimeSegmentOrBuilderpublic com.google.protobuf.Duration getEndTimeOffset()
End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;getEndTimeOffset in interface TimeSegmentOrBuilderpublic TimeSegment.Builder setEndTimeOffset(com.google.protobuf.Duration value)
End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;public TimeSegment.Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;public TimeSegment.Builder mergeEndTimeOffset(com.google.protobuf.Duration value)
End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;public TimeSegment.Builder clearEndTimeOffset()
End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder()
End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder()
End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;getEndTimeOffsetOrBuilder in interface TimeSegmentOrBuilderpublic final TimeSegment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.Builder>public final TimeSegment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSegment.Builder>Copyright © 2019 Google LLC. All rights reserved.