public static final class TextSegment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder> implements TextSegmentOrBuilder
Video segment level annotation results for text detection.Protobuf type
google.cloud.videointelligence.v1p3beta1.TextSegment| Modifier and Type | Method and Description |
|---|---|
TextSegment.Builder |
addAllFrames(Iterable<? extends TextFrame> values)
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
addFrames(int index,
TextFrame.Builder builderForValue)
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
addFrames(int index,
TextFrame value)
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
addFrames(TextFrame.Builder builderForValue)
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
addFrames(TextFrame value)
Information related to the frames where OCR detected text appears.
|
TextFrame.Builder |
addFramesBuilder()
Information related to the frames where OCR detected text appears.
|
TextFrame.Builder |
addFramesBuilder(int index)
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextSegment |
build() |
TextSegment |
buildPartial() |
TextSegment.Builder |
clear() |
TextSegment.Builder |
clearConfidence()
Confidence for the track of detected text.
|
TextSegment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TextSegment.Builder |
clearFrames()
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TextSegment.Builder |
clearSegment()
Video segment where a text snippet was detected.
|
TextSegment.Builder |
clone() |
float |
getConfidence()
Confidence for the track of detected text.
|
TextSegment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
TextFrame |
getFrames(int index)
Information related to the frames where OCR detected text appears.
|
TextFrame.Builder |
getFramesBuilder(int index)
Information related to the frames where OCR detected text appears.
|
List<TextFrame.Builder> |
getFramesBuilderList()
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.
|
VideoSegment |
getSegment()
Video segment where a text snippet was detected.
|
VideoSegment.Builder |
getSegmentBuilder()
Video segment where a text snippet was detected.
|
VideoSegmentOrBuilder |
getSegmentOrBuilder()
Video segment where a text snippet was detected.
|
boolean |
hasSegment()
Video segment where a text snippet was detected.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TextSegment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TextSegment.Builder |
mergeFrom(com.google.protobuf.Message other) |
TextSegment.Builder |
mergeFrom(TextSegment other) |
TextSegment.Builder |
mergeSegment(VideoSegment value)
Video segment where a text snippet was detected.
|
TextSegment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TextSegment.Builder |
removeFrames(int index)
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
setConfidence(float value)
Confidence for the track of detected text.
|
TextSegment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextSegment.Builder |
setFrames(int index,
TextFrame.Builder builderForValue)
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
setFrames(int index,
TextFrame value)
Information related to the frames where OCR detected text appears.
|
TextSegment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TextSegment.Builder |
setSegment(VideoSegment.Builder builderForValue)
Video segment where a text snippet was detected.
|
TextSegment.Builder |
setSegment(VideoSegment value)
Video segment where a text snippet was detected.
|
TextSegment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TextSegment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TextSegment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TextSegment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextSegment.Builder>public TextSegment.Builder mergeFrom(TextSegment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public TextSegment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextSegment.Builder>IOExceptionpublic boolean hasSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1;hasSegment in interface TextSegmentOrBuilderpublic VideoSegment getSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1;getSegment in interface TextSegmentOrBuilderpublic TextSegment.Builder setSegment(VideoSegment value)
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1;public TextSegment.Builder setSegment(VideoSegment.Builder builderForValue)
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1;public TextSegment.Builder mergeSegment(VideoSegment value)
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1;public TextSegment.Builder clearSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1;public VideoSegment.Builder getSegmentBuilder()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1;public VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p3beta1.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 TextSegment.Builder setConfidence(float value)
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
float confidence = 2;value - The confidence to set.public TextSegment.Builder clearConfidence()
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
float confidence = 2;public List<TextFrame> getFramesList()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;getFramesList in interface TextSegmentOrBuilderpublic int getFramesCount()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.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.v1p3beta1.TextFrame frames = 3;getFrames in interface TextSegmentOrBuilderpublic TextSegment.Builder setFrames(int index, TextFrame value)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextSegment.Builder setFrames(int index, TextFrame.Builder builderForValue)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextSegment.Builder addFrames(TextFrame value)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextSegment.Builder addFrames(int index, TextFrame value)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextSegment.Builder addFrames(TextFrame.Builder builderForValue)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextSegment.Builder addFrames(int index, TextFrame.Builder builderForValue)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextSegment.Builder addAllFrames(Iterable<? extends TextFrame> values)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextSegment.Builder clearFrames()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextSegment.Builder removeFrames(int index)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextFrame.Builder getFramesBuilder(int index)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextFrameOrBuilder getFramesOrBuilder(int index)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;getFramesOrBuilder in interface TextSegmentOrBuilderpublic List<? extends TextFrameOrBuilder> getFramesOrBuilderList()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;getFramesOrBuilderList in interface TextSegmentOrBuilderpublic TextFrame.Builder addFramesBuilder()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public TextFrame.Builder addFramesBuilder(int index)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public List<TextFrame.Builder> getFramesBuilderList()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3;public final TextSegment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>public final TextSegment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextSegment.Builder>Copyright © 2024 Google LLC. All rights reserved.