public final class VideoContext extends GeneratedMessageV3 implements VideoContextOrBuilder
Video context and/or feature-specific parameters.Protobuf type
google.cloud.videointelligence.v1beta2.VideoContext| Modifier and Type | Class and Description |
|---|---|
static class |
VideoContext.Builder
Video context and/or feature-specific parameters.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER |
static int |
FACE_DETECTION_CONFIG_FIELD_NUMBER |
static int |
LABEL_DETECTION_CONFIG_FIELD_NUMBER |
static int |
SEGMENTS_FIELD_NUMBER |
static int |
SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SEGMENTS_FIELD_NUMBER
public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER
public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER
public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER
public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.util.List<VideoSegment> getSegmentsList()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;getSegmentsList in interface VideoContextOrBuilderpublic java.util.List<? extends VideoSegmentOrBuilder> getSegmentsOrBuilderList()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;getSegmentsOrBuilderList in interface VideoContextOrBuilderpublic int getSegmentsCount()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;getSegmentsCount in interface VideoContextOrBuilderpublic VideoSegment getSegments(int index)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;getSegments in interface VideoContextOrBuilderpublic VideoSegmentOrBuilder getSegmentsOrBuilder(int index)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;getSegmentsOrBuilder in interface VideoContextOrBuilderpublic boolean hasLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;hasLabelDetectionConfig in interface VideoContextOrBuilderpublic LabelDetectionConfig getLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;getLabelDetectionConfig in interface VideoContextOrBuilderpublic LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;getLabelDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;hasShotChangeDetectionConfig in interface VideoContextOrBuilderpublic ShotChangeDetectionConfig getShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;getShotChangeDetectionConfig in interface VideoContextOrBuilderpublic ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;getShotChangeDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;hasExplicitContentDetectionConfig in interface VideoContextOrBuilderpublic ExplicitContentDetectionConfig getExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;getExplicitContentDetectionConfig in interface VideoContextOrBuilderpublic ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;getExplicitContentDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;hasFaceDetectionConfig in interface VideoContextOrBuilderpublic FaceDetectionConfig getFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;getFaceDetectionConfig in interface VideoContextOrBuilderpublic FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;getFaceDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static VideoContext parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VideoContext parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static VideoContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VideoContext parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static VideoContext parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VideoContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic VideoContext.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static VideoContext.Builder newBuilder()
public static VideoContext.Builder newBuilder(VideoContext prototype)
public VideoContext.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected VideoContext.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static VideoContext getDefaultInstance()
public static Parser<VideoContext> parser()
public Parser<VideoContext> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public VideoContext getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder