public final class TextSegment extends com.google.protobuf.GeneratedMessageV3 implements TextSegmentOrBuilder
Video segment level annotation results for text detection.Protobuf type
google.cloud.videointelligence.v1p2beta1.TextSegment| Modifier and Type | Class and Description |
|---|---|
static class |
TextSegment.Builder
Video segment level annotation results for text detection.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIDENCE_FIELD_NUMBER |
static int |
FRAMES_FIELD_NUMBER |
static int |
SEGMENT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
float |
getConfidence()
Confidence for the track of detected text.
|
static TextSegment |
getDefaultInstance() |
TextSegment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TextFrame |
getFrames(int index)
Information related to the frames where OCR detected text appears.
|
int |
getFramesCount()
Information related to the frames where OCR detected text appears.
|
List<TextFrame> |
getFramesList()
Information related to the frames where OCR detected text appears.
|
TextFrameOrBuilder |
getFramesOrBuilder(int index)
Information related to the frames where OCR detected text appears.
|
List<? extends TextFrameOrBuilder> |
getFramesOrBuilderList()
Information related to the frames where OCR detected text appears.
|
com.google.protobuf.Parser<TextSegment> |
getParserForType() |
VideoSegment |
getSegment()
Video segment where a text snippet was detected.
|
VideoSegmentOrBuilder |
getSegmentOrBuilder()
Video segment where a text snippet was detected.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSegment()
Video segment where a text snippet was detected.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TextSegment.Builder |
newBuilder() |
static TextSegment.Builder |
newBuilder(TextSegment prototype) |
TextSegment.Builder |
newBuilderForType() |
protected TextSegment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TextSegment |
parseDelimitedFrom(InputStream input) |
static TextSegment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextSegment |
parseFrom(byte[] data) |
static TextSegment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextSegment |
parseFrom(ByteBuffer data) |
static TextSegment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextSegment |
parseFrom(com.google.protobuf.ByteString data) |
static TextSegment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextSegment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TextSegment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextSegment |
parseFrom(InputStream input) |
static TextSegment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TextSegment> |
parser() |
TextSegment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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 SEGMENT_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
public static final int FRAMES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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 boolean hasSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;hasSegment in interface TextSegmentOrBuilderpublic VideoSegment getSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;getSegment in interface TextSegmentOrBuilderpublic VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;getSegmentOrBuilder in interface TextSegmentOrBuilderpublic float getConfidence()
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
float confidence = 2;getConfidence in interface TextSegmentOrBuilderpublic List<TextFrame> getFramesList()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;getFramesList in interface TextSegmentOrBuilderpublic List<? extends TextFrameOrBuilder> getFramesOrBuilderList()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;getFramesOrBuilderList in interface TextSegmentOrBuilderpublic int getFramesCount()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;getFramesCount in interface TextSegmentOrBuilderpublic TextFrame getFrames(int index)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;getFrames in interface TextSegmentOrBuilderpublic TextFrameOrBuilder getFramesOrBuilder(int index)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;getFramesOrBuilder in interface TextSegmentOrBuilderpublic 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 TextSegment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextSegment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextSegment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextSegment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextSegment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextSegment parseFrom(InputStream input) throws IOException
IOExceptionpublic static TextSegment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TextSegment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TextSegment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TextSegment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TextSegment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TextSegment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TextSegment.Builder newBuilder()
public static TextSegment.Builder newBuilder(TextSegment prototype)
public TextSegment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TextSegment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TextSegment getDefaultInstance()
public static com.google.protobuf.Parser<TextSegment> parser()
public com.google.protobuf.Parser<TextSegment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TextSegment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.