- 0.203.0 (latest)
- 0.202.0
- 0.201.0
- 0.200.0
- 0.198.0
- 0.196.0
- 0.195.0
- 0.194.0
- 0.193.0
- 0.192.0
- 0.190.0
- 0.188.0
- 0.187.0
- 0.184.0
- 0.183.0
- 0.182.0
- 0.180.0
- 0.179.0
- 0.178.0
- 0.177.0
- 0.176.0
- 0.175.0
- 0.174.0
- 0.173.0
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class TimeSegment.Builder extends GeneratedMessage.Builder<TimeSegment.Builder> implements TimeSegmentOrBuilderA time period inside of an example that has a time dimension (e.g. video).
Protobuf type google.cloud.datalabeling.v1beta1.TimeSegment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimeSegment.BuilderImplements
TimeSegmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TimeSegment build()| Returns | |
|---|---|
| Type | Description |
TimeSegment |
|
buildPartial()
public TimeSegment buildPartial()| Returns | |
|---|---|
| Type | Description |
TimeSegment |
|
clear()
public TimeSegment.Builder clear()| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
clearEndTimeOffset()
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;
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
clearStartTimeOffset()
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;
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
getDefaultInstanceForType()
public TimeSegment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimeSegment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTimeOffset()
public Duration getEndTimeOffset()End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The endTimeOffset. |
getEndTimeOffsetBuilder()
public Duration.Builder getEndTimeOffsetBuilder()End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOffsetOrBuilder()
public DurationOrBuilder getEndTimeOffsetOrBuilder()End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getStartTimeOffset()
public Duration getStartTimeOffset()Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;
| Returns | |
|---|---|
| Type | Description |
Duration |
The startTimeOffset. |
getStartTimeOffsetBuilder()
public Duration.Builder getStartTimeOffsetBuilder()Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOffsetOrBuilder()
public DurationOrBuilder getStartTimeOffsetOrBuilder()Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasEndTimeOffset()
public boolean hasEndTimeOffset()End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTimeOffset field is set. |
hasStartTimeOffset()
public boolean hasStartTimeOffset()Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTimeOffset field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTimeOffset(Duration value)
public TimeSegment.Builder mergeEndTimeOffset(Duration value)End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
mergeFrom(TimeSegment other)
public TimeSegment.Builder mergeFrom(TimeSegment other)| Parameter | |
|---|---|
| Name | Description |
other |
TimeSegment |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimeSegment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
mergeStartTimeOffset(Duration value)
public TimeSegment.Builder mergeStartTimeOffset(Duration value)Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
setEndTimeOffset(Duration value)
public TimeSegment.Builder setEndTimeOffset(Duration value)End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
setEndTimeOffset(Duration.Builder builderForValue)
public TimeSegment.Builder setEndTimeOffset(Duration.Builder builderForValue)End of the time segment (exclusive), represented as the duration since the example start.
.google.protobuf.Duration end_time_offset = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
setStartTimeOffset(Duration value)
public TimeSegment.Builder setStartTimeOffset(Duration value)Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
setStartTimeOffset(Duration.Builder builderForValue)
public TimeSegment.Builder setStartTimeOffset(Duration.Builder builderForValue)Start of the time segment (inclusive), represented as the duration since the example start.
.google.protobuf.Duration start_time_offset = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|