Class VideoContext
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.videointelligence.v1.VideoContext
- All Implemented Interfaces:
VideoContextOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class VideoContext
extends com.google.protobuf.GeneratedMessage
implements VideoContextOrBuilder
Video context and/or feature-specific parameters.Protobuf type
google.cloud.videointelligence.v1.VideoContext- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classVideo context and/or feature-specific parameters.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VideoContextstatic final com.google.protobuf.Descriptors.DescriptorConfig for EXPLICIT_CONTENT_DETECTION.Config for EXPLICIT_CONTENT_DETECTION.Config for FACE_DETECTION.Config for FACE_DETECTION.Config for LABEL_DETECTION.Config for LABEL_DETECTION.Config for OBJECT_TRACKING.Config for OBJECT_TRACKING.com.google.protobuf.Parser<VideoContext>Config for PERSON_DETECTION.Config for PERSON_DETECTION.getSegments(int index) Video segments to annotate.intVideo segments to annotate.Video segments to annotate.getSegmentsOrBuilder(int index) Video segments to annotate.List<? extends VideoSegmentOrBuilder>Video segments to annotate.intConfig for SHOT_CHANGE_DETECTION.Config for SHOT_CHANGE_DETECTION.Config for SPEECH_TRANSCRIPTION.Config for SPEECH_TRANSCRIPTION.Config for TEXT_DETECTION.Config for TEXT_DETECTION.booleanConfig for EXPLICIT_CONTENT_DETECTION.booleanConfig for FACE_DETECTION.inthashCode()booleanConfig for LABEL_DETECTION.booleanConfig for OBJECT_TRACKING.booleanConfig for PERSON_DETECTION.booleanConfig for SHOT_CHANGE_DETECTION.booleanConfig for SPEECH_TRANSCRIPTION.booleanConfig for TEXT_DETECTION.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic VideoContext.Builderstatic VideoContext.BuildernewBuilder(VideoContext prototype) protected VideoContext.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static VideoContextparseDelimitedFrom(InputStream input) static VideoContextparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoContextparseFrom(byte[] data) static VideoContextparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoContextparseFrom(com.google.protobuf.ByteString data) static VideoContextparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoContextparseFrom(com.google.protobuf.CodedInputStream input) static VideoContextparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoContextparseFrom(InputStream input) static VideoContextparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoContextparseFrom(ByteBuffer data) static VideoContextparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VideoContext>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SEGMENTS_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER- See Also:
-
LABEL_DETECTION_CONFIG_FIELD_NUMBER
public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER- See Also:
-
SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER
public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER- See Also:
-
EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER
public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER- See Also:
-
FACE_DETECTION_CONFIG_FIELD_NUMBER
public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER- See Also:
-
SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER
public static final int SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER- See Also:
-
TEXT_DETECTION_CONFIG_FIELD_NUMBER
public static final int TEXT_DETECTION_CONFIG_FIELD_NUMBER- See Also:
-
PERSON_DETECTION_CONFIG_FIELD_NUMBER
public static final int PERSON_DETECTION_CONFIG_FIELD_NUMBER- See Also:
-
OBJECT_TRACKING_CONFIG_FIELD_NUMBER
public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER- See Also:
-
-
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
-
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;- Specified by:
getSegmentsListin interfaceVideoContextOrBuilder
-
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;- Specified by:
getSegmentsOrBuilderListin interfaceVideoContextOrBuilder
-
getSegmentsCount
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;- Specified by:
getSegmentsCountin interfaceVideoContextOrBuilder
-
getSegments
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;- Specified by:
getSegmentsin interfaceVideoContextOrBuilder
-
getSegmentsOrBuilder
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;- Specified by:
getSegmentsOrBuilderin interfaceVideoContextOrBuilder
-
hasLabelDetectionConfig
public boolean hasLabelDetectionConfig()Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;- Specified by:
hasLabelDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- Whether the labelDetectionConfig field is set.
-
getLabelDetectionConfig
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;- Specified by:
getLabelDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- The labelDetectionConfig.
-
getLabelDetectionConfigOrBuilder
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;- Specified by:
getLabelDetectionConfigOrBuilderin interfaceVideoContextOrBuilder
-
hasShotChangeDetectionConfig
public boolean hasShotChangeDetectionConfig()Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;- Specified by:
hasShotChangeDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- Whether the shotChangeDetectionConfig field is set.
-
getShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;- Specified by:
getShotChangeDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- The shotChangeDetectionConfig.
-
getShotChangeDetectionConfigOrBuilder
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;- Specified by:
getShotChangeDetectionConfigOrBuilderin interfaceVideoContextOrBuilder
-
hasExplicitContentDetectionConfig
public boolean hasExplicitContentDetectionConfig()Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;- Specified by:
hasExplicitContentDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- Whether the explicitContentDetectionConfig field is set.
-
getExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;- Specified by:
getExplicitContentDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- The explicitContentDetectionConfig.
-
getExplicitContentDetectionConfigOrBuilder
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;- Specified by:
getExplicitContentDetectionConfigOrBuilderin interfaceVideoContextOrBuilder
-
hasFaceDetectionConfig
public boolean hasFaceDetectionConfig()Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;- Specified by:
hasFaceDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- Whether the faceDetectionConfig field is set.
-
getFaceDetectionConfig
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;- Specified by:
getFaceDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- The faceDetectionConfig.
-
getFaceDetectionConfigOrBuilder
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;- Specified by:
getFaceDetectionConfigOrBuilderin interfaceVideoContextOrBuilder
-
hasSpeechTranscriptionConfig
public boolean hasSpeechTranscriptionConfig()Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;- Specified by:
hasSpeechTranscriptionConfigin interfaceVideoContextOrBuilder- Returns:
- Whether the speechTranscriptionConfig field is set.
-
getSpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;- Specified by:
getSpeechTranscriptionConfigin interfaceVideoContextOrBuilder- Returns:
- The speechTranscriptionConfig.
-
getSpeechTranscriptionConfigOrBuilder
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;- Specified by:
getSpeechTranscriptionConfigOrBuilderin interfaceVideoContextOrBuilder
-
hasTextDetectionConfig
public boolean hasTextDetectionConfig()Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;- Specified by:
hasTextDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- Whether the textDetectionConfig field is set.
-
getTextDetectionConfig
Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;- Specified by:
getTextDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- The textDetectionConfig.
-
getTextDetectionConfigOrBuilder
Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;- Specified by:
getTextDetectionConfigOrBuilderin interfaceVideoContextOrBuilder
-
hasPersonDetectionConfig
public boolean hasPersonDetectionConfig()Config for PERSON_DETECTION.
.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;- Specified by:
hasPersonDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- Whether the personDetectionConfig field is set.
-
getPersonDetectionConfig
Config for PERSON_DETECTION.
.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;- Specified by:
getPersonDetectionConfigin interfaceVideoContextOrBuilder- Returns:
- The personDetectionConfig.
-
getPersonDetectionConfigOrBuilder
Config for PERSON_DETECTION.
.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;- Specified by:
getPersonDetectionConfigOrBuilderin interfaceVideoContextOrBuilder
-
hasObjectTrackingConfig
public boolean hasObjectTrackingConfig()Config for OBJECT_TRACKING.
.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;- Specified by:
hasObjectTrackingConfigin interfaceVideoContextOrBuilder- Returns:
- Whether the objectTrackingConfig field is set.
-
getObjectTrackingConfig
Config for OBJECT_TRACKING.
.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;- Specified by:
getObjectTrackingConfigin interfaceVideoContextOrBuilder- Returns:
- The objectTrackingConfig.
-
getObjectTrackingConfigOrBuilder
Config for OBJECT_TRACKING.
.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;- Specified by:
getObjectTrackingConfigOrBuilderin interfaceVideoContextOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VideoContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VideoContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VideoContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VideoContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VideoContext.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-