public final class VideoContext extends GeneratedMessageV3 implements VideoContextOrBuilder
Video context and/or feature-specific parameters.Protobuf type
google.cloud.videointelligence.v1.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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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.v1.VideoSegment segments = 1;
getSegmentsList
in interface VideoContextOrBuilder
public 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.v1.VideoSegment segments = 1;
getSegmentsOrBuilderList
in interface VideoContextOrBuilder
public 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.v1.VideoSegment segments = 1;
getSegmentsCount
in interface VideoContextOrBuilder
public 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.v1.VideoSegment segments = 1;
getSegments
in interface VideoContextOrBuilder
public 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.v1.VideoSegment segments = 1;
getSegmentsOrBuilder
in interface VideoContextOrBuilder
public boolean hasLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;
hasLabelDetectionConfig
in interface VideoContextOrBuilder
public LabelDetectionConfig getLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;
getLabelDetectionConfig
in interface VideoContextOrBuilder
public LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;
getLabelDetectionConfigOrBuilder
in interface VideoContextOrBuilder
public boolean hasShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;
hasShotChangeDetectionConfig
in interface VideoContextOrBuilder
public ShotChangeDetectionConfig getShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;
getShotChangeDetectionConfig
in interface VideoContextOrBuilder
public ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;
getShotChangeDetectionConfigOrBuilder
in interface VideoContextOrBuilder
public boolean hasExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
hasExplicitContentDetectionConfig
in interface VideoContextOrBuilder
public ExplicitContentDetectionConfig getExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
getExplicitContentDetectionConfig
in interface VideoContextOrBuilder
public ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
getExplicitContentDetectionConfigOrBuilder
in interface VideoContextOrBuilder
public boolean hasFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;
hasFaceDetectionConfig
in interface VideoContextOrBuilder
public FaceDetectionConfig getFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;
getFaceDetectionConfig
in interface VideoContextOrBuilder
public FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;
getFaceDetectionConfigOrBuilder
in interface VideoContextOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static VideoContext parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoContext parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoContext parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoContext parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoContext parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static VideoContext parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static VideoContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static VideoContext parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static VideoContext parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static VideoContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public VideoContext.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static VideoContext.Builder newBuilder()
public static VideoContext.Builder newBuilder(VideoContext prototype)
public VideoContext.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected VideoContext.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static VideoContext getDefaultInstance()
public static Parser<VideoContext> parser()
public Parser<VideoContext> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public VideoContext getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder