Class VideoSegment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VideoSegment.Builder>
com.google.cloud.videointelligence.v1.VideoSegment.Builder
- All Implemented Interfaces:
VideoSegmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VideoSegment
public static final class VideoSegment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VideoSegment.Builder>
implements VideoSegmentOrBuilder
Video segment.Protobuf type
google.cloud.videointelligence.v1.VideoSegment-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationTime-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).com.google.protobuf.Duration.BuilderTime-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).com.google.protobuf.DurationOrBuilderTime-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).com.google.protobuf.DurationTime-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).com.google.protobuf.Duration.BuilderTime-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).com.google.protobuf.DurationOrBuilderTime-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).booleanTime-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).booleanTime-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTimeOffset(com.google.protobuf.Duration value) Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).mergeFrom(VideoSegment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTimeOffset(com.google.protobuf.Duration value) Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).setEndTimeOffset(com.google.protobuf.Duration value) Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue) Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).setStartTimeOffset(com.google.protobuf.Duration value) Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue) Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VideoSegment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VideoSegment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VideoSegment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoSegment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VideoSegment.Builder>
-
mergeFrom
public VideoSegment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoSegment.Builder>- Throws:
IOException
-
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;- Specified by:
hasStartTimeOffsetin interfaceVideoSegmentOrBuilder- Returns:
- Whether the startTimeOffset field is set.
-
getStartTimeOffset
public com.google.protobuf.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;- Specified by:
getStartTimeOffsetin interfaceVideoSegmentOrBuilder- Returns:
- The startTimeOffset.
-
setStartTimeOffset
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
public VideoSegment.Builder setStartTimeOffset(com.google.protobuf.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; -
mergeStartTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).
.google.protobuf.Duration start_time_offset = 1; -
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; -
getStartTimeOffsetBuilder
public com.google.protobuf.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 com.google.protobuf.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;- Specified by:
getStartTimeOffsetOrBuilderin interfaceVideoSegmentOrBuilder
-
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;- Specified by:
hasEndTimeOffsetin interfaceVideoSegmentOrBuilder- Returns:
- Whether the endTimeOffset field is set.
-
getEndTimeOffset
public com.google.protobuf.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;- Specified by:
getEndTimeOffsetin interfaceVideoSegmentOrBuilder- Returns:
- The endTimeOffset.
-
setEndTimeOffset
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
Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2; -
mergeEndTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).
.google.protobuf.Duration end_time_offset = 2; -
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; -
getEndTimeOffsetBuilder
public com.google.protobuf.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 com.google.protobuf.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;- Specified by:
getEndTimeOffsetOrBuilderin interfaceVideoSegmentOrBuilder
-