public final class VideoSegment extends GeneratedMessageV3 implements VideoSegmentOrBuilder
Video segment.
Protobuf type google.cloud.videointelligence.v1beta2.VideoSegment
Static Fields
END_TIME_OFFSET_FIELD_NUMBER
public static final int END_TIME_OFFSET_FIELD_NUMBER
Field Value
START_TIME_OFFSET_FIELD_NUMBER
public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VideoSegment getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VideoSegment.Builder newBuilder()
Returns
newBuilder(VideoSegment prototype)
public static VideoSegment.Builder newBuilder(VideoSegment prototype)
Parameter
Returns
public static VideoSegment parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoSegment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VideoSegment parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoSegment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VideoSegment parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoSegment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoSegment parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VideoSegment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoSegment parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoSegment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VideoSegment parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VideoSegment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VideoSegment> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public VideoSegment getDefaultInstanceForType()
Returns
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.
|
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
getParserForType()
public Parser<VideoSegment> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VideoSegment.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VideoSegment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VideoSegment.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions