public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 implements VideoContextOrBuilder
Video context and/or feature-specific parameters.Protobuf type
google.cloud.videointelligence.v1p2beta1.VideoContext| Modifier and Type | Class and Description |
|---|---|
static class |
VideoContext.Builder
Video context and/or feature-specific parameters.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER |
static int |
LABEL_DETECTION_CONFIG_FIELD_NUMBER |
static int |
SEGMENTS_FIELD_NUMBER |
static int |
SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER |
static int |
TEXT_DETECTION_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static VideoContext |
getDefaultInstance() |
VideoContext |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ExplicitContentDetectionConfig |
getExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
|
ExplicitContentDetectionConfigOrBuilder |
getExplicitContentDetectionConfigOrBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
|
LabelDetectionConfig |
getLabelDetectionConfig()
Config for LABEL_DETECTION.
|
LabelDetectionConfigOrBuilder |
getLabelDetectionConfigOrBuilder()
Config for LABEL_DETECTION.
|
com.google.protobuf.Parser<VideoContext> |
getParserForType() |
VideoSegment |
getSegments(int index)
Video segments to annotate.
|
int |
getSegmentsCount()
Video segments to annotate.
|
List<VideoSegment> |
getSegmentsList()
Video segments to annotate.
|
VideoSegmentOrBuilder |
getSegmentsOrBuilder(int index)
Video segments to annotate.
|
List<? extends VideoSegmentOrBuilder> |
getSegmentsOrBuilderList()
Video segments to annotate.
|
int |
getSerializedSize() |
ShotChangeDetectionConfig |
getShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
|
ShotChangeDetectionConfigOrBuilder |
getShotChangeDetectionConfigOrBuilder()
Config for SHOT_CHANGE_DETECTION.
|
TextDetectionConfig |
getTextDetectionConfig()
Config for TEXT_DETECTION.
|
TextDetectionConfigOrBuilder |
getTextDetectionConfigOrBuilder()
Config for TEXT_DETECTION.
|
boolean |
hasExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
|
int |
hashCode() |
boolean |
hasLabelDetectionConfig()
Config for LABEL_DETECTION.
|
boolean |
hasShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
|
boolean |
hasTextDetectionConfig()
Config for TEXT_DETECTION.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VideoContext.Builder |
newBuilder() |
static VideoContext.Builder |
newBuilder(VideoContext prototype) |
VideoContext.Builder |
newBuilderForType() |
protected VideoContext.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VideoContext |
parseDelimitedFrom(InputStream input) |
static VideoContext |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoContext |
parseFrom(byte[] data) |
static VideoContext |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoContext |
parseFrom(ByteBuffer data) |
static VideoContext |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoContext |
parseFrom(com.google.protobuf.ByteString data) |
static VideoContext |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoContext |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VideoContext |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoContext |
parseFrom(InputStream input) |
static VideoContext |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VideoContext> |
parser() |
VideoContext.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic 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 TEXT_DETECTION_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.v1p2beta1.VideoSegment segments = 1;getSegmentsList in interface VideoContextOrBuilderpublic 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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.VideoSegment segments = 1;getSegmentsOrBuilder in interface VideoContextOrBuilderpublic boolean hasLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2;
hasLabelDetectionConfig in interface VideoContextOrBuilderpublic LabelDetectionConfig getLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2;
getLabelDetectionConfig in interface VideoContextOrBuilderpublic LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2;
getLabelDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
hasShotChangeDetectionConfig in interface VideoContextOrBuilderpublic ShotChangeDetectionConfig getShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
getShotChangeDetectionConfig in interface VideoContextOrBuilderpublic ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
getShotChangeDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
hasExplicitContentDetectionConfig in interface VideoContextOrBuilderpublic ExplicitContentDetectionConfig getExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
getExplicitContentDetectionConfig in interface VideoContextOrBuilderpublic ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
getExplicitContentDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasTextDetectionConfig()
Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8;
hasTextDetectionConfig in interface VideoContextOrBuilderpublic TextDetectionConfig getTextDetectionConfig()
Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8;
getTextDetectionConfig in interface VideoContextOrBuilderpublic TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder()
Config for TEXT_DETECTION.
.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8;
getTextDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VideoContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoContext parseFrom(InputStream input) throws IOException
IOExceptionpublic static VideoContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VideoContext parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VideoContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VideoContext parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VideoContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VideoContext.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VideoContext.Builder newBuilder()
public static VideoContext.Builder newBuilder(VideoContext prototype)
public VideoContext.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VideoContext.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VideoContext getDefaultInstance()
public static com.google.protobuf.Parser<VideoContext> parser()
public com.google.protobuf.Parser<VideoContext> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VideoContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.