public static final class VideoSegment.Builder extends GeneratedMessageV3.Builder<VideoSegment.Builder> implements VideoSegmentOrBuilder
Video segment.
Protobuf type google.cloud.videointelligence.v1p1beta1.VideoSegment
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VideoSegment build()
Returns
buildPartial()
public VideoSegment buildPartial()
Returns
clear()
public VideoSegment.Builder clear()
Returns
Overrides
clearEndTimeOffset()
public VideoSegment.Builder clearEndTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public VideoSegment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStartTimeOffset()
public VideoSegment.Builder clearStartTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1;
Returns
clone()
public VideoSegment.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VideoSegment getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEndTimeOffset()
public Duration getEndTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2;
Returns
Type | Description |
Duration | The endTimeOffset.
|
getEndTimeOffsetBuilder()
public Duration.Builder getEndTimeOffsetBuilder()
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2;
Returns
getEndTimeOffsetOrBuilder()
public DurationOrBuilder getEndTimeOffsetOrBuilder()
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2;
Returns
getStartTimeOffset()
public Duration getStartTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1;
Returns
Type | Description |
Duration | The startTimeOffset.
|
getStartTimeOffsetBuilder()
public Duration.Builder getStartTimeOffsetBuilder()
Time-offset, relative to the beginning of the video,
corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1;
Returns
getStartTimeOffsetOrBuilder()
public DurationOrBuilder getStartTimeOffsetOrBuilder()
Time-offset, relative to the beginning of the video,
corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1;
Returns
hasEndTimeOffset()
public boolean hasEndTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2;
Returns
Type | Description |
boolean | Whether the endTimeOffset field is set.
|
hasStartTimeOffset()
public boolean hasStartTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1;
Returns
Type | Description |
boolean | Whether the startTimeOffset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEndTimeOffset(Duration value)
public VideoSegment.Builder mergeEndTimeOffset(Duration value)
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2;
Parameter
Returns
mergeFrom(VideoSegment other)
public VideoSegment.Builder mergeFrom(VideoSegment other)
Parameter
Returns
public VideoSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VideoSegment.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeStartTimeOffset(Duration value)
public VideoSegment.Builder mergeStartTimeOffset(Duration value)
Time-offset, relative to the beginning of the video,
corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEndTimeOffset(Duration value)
public VideoSegment.Builder setEndTimeOffset(Duration value)
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2;
Parameter
Returns
setEndTimeOffset(Duration.Builder builderForValue)
public VideoSegment.Builder setEndTimeOffset(Duration.Builder builderForValue)
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VideoSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStartTimeOffset(Duration value)
public VideoSegment.Builder setStartTimeOffset(Duration value)
Time-offset, relative to the beginning of the video,
corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1;
Parameter
Returns
setStartTimeOffset(Duration.Builder builderForValue)
public VideoSegment.Builder setStartTimeOffset(Duration.Builder builderForValue)
Time-offset, relative to the beginning of the video,
corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides