public static final class VideoSegment.Builder extends GeneratedMessageV3.Builder<VideoSegment.Builder> implements VideoSegmentOrBuilder
Video segment.
Protobuf type google.cloud.videointelligence.v1p2beta1.VideoSegment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VideoSegment build()
buildPartial()
public VideoSegment buildPartial()
clear()
public VideoSegment.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public VideoSegment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public VideoSegment.Builder clone()
Overrides
getDefaultInstanceForType()
public VideoSegment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(VideoSegment other)
public VideoSegment.Builder mergeFrom(VideoSegment other)
public VideoSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VideoSegment.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public VideoSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides