public final class VideoContext extends GeneratedMessageV3 implements VideoContextOrBuilder
Video context and/or feature-specific parameters.
Protobuf type google.cloud.videointelligence.v1.VideoContext
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER
public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FACE_DETECTION_CONFIG_FIELD_NUMBER
public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABEL_DETECTION_CONFIG_FIELD_NUMBER
public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECT_TRACKING_CONFIG_FIELD_NUMBER
public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PERSON_DETECTION_CONFIG_FIELD_NUMBER
public static final int PERSON_DETECTION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEGMENTS_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER
public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER
public static final int SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEXT_DETECTION_CONFIG_FIELD_NUMBER
public static final int TEXT_DETECTION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static VideoContext getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VideoContext.Builder newBuilder()
newBuilder(VideoContext prototype)
public static VideoContext.Builder newBuilder(VideoContext prototype)
parseDelimitedFrom(InputStream input)
public static VideoContext parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VideoContext parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VideoContext parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static VideoContext parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static VideoContext parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VideoContext parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VideoContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VideoContext> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public VideoContext getDefaultInstanceForType()
getExplicitContentDetectionConfig()
public ExplicitContentDetectionConfig getExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
getExplicitContentDetectionConfigOrBuilder()
public ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
getFaceDetectionConfig()
public FaceDetectionConfig getFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;
getFaceDetectionConfigOrBuilder()
public FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;
getLabelDetectionConfig()
public LabelDetectionConfig getLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;
getLabelDetectionConfigOrBuilder()
public LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;
getObjectTrackingConfig()
public ObjectTrackingConfig getObjectTrackingConfig()
Config for OBJECT_TRACKING.
.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;
getObjectTrackingConfigOrBuilder()
public ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()
Config for OBJECT_TRACKING.
.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;
getParserForType()
public Parser<VideoContext> getParserForType()
Overrides
getPersonDetectionConfig()
public PersonDetectionConfig getPersonDetectionConfig()
Config for PERSON_DETECTION.
.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;
getPersonDetectionConfigOrBuilder()
public PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder()
Config for PERSON_DETECTION.
.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;
getSegments(int index)
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;
Parameter |
Name |
Description |
index |
int
|
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;
Returns |
Type |
Description |
int |
|
getSegmentsList()
public 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;
getSegmentsOrBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
getSegmentsOrBuilderList()
public 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;
Returns |
Type |
Description |
List<? extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getShotChangeDetectionConfig()
public ShotChangeDetectionConfig getShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;
getShotChangeDetectionConfigOrBuilder()
public ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;
getSpeechTranscriptionConfig()
public SpeechTranscriptionConfig getSpeechTranscriptionConfig()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;
getSpeechTranscriptionConfigOrBuilder()
public SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;
getTextDetectionConfig()
public TextDetectionConfig getTextDetectionConfig()
Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;
getTextDetectionConfigOrBuilder()
public TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder()
Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;
hasExplicitContentDetectionConfig()
public boolean hasExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Returns |
Type |
Description |
boolean |
Whether the explicitContentDetectionConfig field is set.
|
hasFaceDetectionConfig()
public boolean hasFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5;
Returns |
Type |
Description |
boolean |
Whether the faceDetectionConfig field is set.
|
hasLabelDetectionConfig()
public boolean hasLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2;
Returns |
Type |
Description |
boolean |
Whether the labelDetectionConfig field is set.
|
hasObjectTrackingConfig()
public boolean hasObjectTrackingConfig()
Config for OBJECT_TRACKING.
.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;
Returns |
Type |
Description |
boolean |
Whether the objectTrackingConfig field is set.
|
hasPersonDetectionConfig()
public boolean hasPersonDetectionConfig()
Config for PERSON_DETECTION.
.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;
Returns |
Type |
Description |
boolean |
Whether the personDetectionConfig field is set.
|
hasShotChangeDetectionConfig()
public boolean hasShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Returns |
Type |
Description |
boolean |
Whether the shotChangeDetectionConfig field is set.
|
hasSpeechTranscriptionConfig()
public boolean hasSpeechTranscriptionConfig()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;
Returns |
Type |
Description |
boolean |
Whether the speechTranscriptionConfig field is set.
|
hasTextDetectionConfig()
public boolean hasTextDetectionConfig()
Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;
Returns |
Type |
Description |
boolean |
Whether the textDetectionConfig field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VideoContext.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VideoContext.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public VideoContext.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides