public static final class TextFrame.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TextFrame.Builder> implements TextFrameOrBuilder
Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.Protobuf type
google.cloud.videointelligence.v1p2beta1.TextFrame| Modifier and Type | Method and Description |
|---|---|
TextFrame.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextFrame |
build() |
TextFrame |
buildPartial() |
TextFrame.Builder |
clear() |
TextFrame.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TextFrame.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TextFrame.Builder |
clearRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
|
TextFrame.Builder |
clearTimeOffset()
Timestamp of this frame.
|
TextFrame.Builder |
clone() |
TextFrame |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
NormalizedBoundingPoly |
getRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
|
NormalizedBoundingPoly.Builder |
getRotatedBoundingBoxBuilder()
Bounding polygon of the detected text for this frame.
|
NormalizedBoundingPolyOrBuilder |
getRotatedBoundingBoxOrBuilder()
Bounding polygon of the detected text for this frame.
|
com.google.protobuf.Duration |
getTimeOffset()
Timestamp of this frame.
|
com.google.protobuf.Duration.Builder |
getTimeOffsetBuilder()
Timestamp of this frame.
|
com.google.protobuf.DurationOrBuilder |
getTimeOffsetOrBuilder()
Timestamp of this frame.
|
boolean |
hasRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
|
boolean |
hasTimeOffset()
Timestamp of this frame.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TextFrame.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TextFrame.Builder |
mergeFrom(com.google.protobuf.Message other) |
TextFrame.Builder |
mergeFrom(TextFrame other) |
TextFrame.Builder |
mergeRotatedBoundingBox(NormalizedBoundingPoly value)
Bounding polygon of the detected text for this frame.
|
TextFrame.Builder |
mergeTimeOffset(com.google.protobuf.Duration value)
Timestamp of this frame.
|
TextFrame.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TextFrame.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextFrame.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TextFrame.Builder |
setRotatedBoundingBox(NormalizedBoundingPoly.Builder builderForValue)
Bounding polygon of the detected text for this frame.
|
TextFrame.Builder |
setRotatedBoundingBox(NormalizedBoundingPoly value)
Bounding polygon of the detected text for this frame.
|
TextFrame.Builder |
setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Timestamp of this frame.
|
TextFrame.Builder |
setTimeOffset(com.google.protobuf.Duration value)
Timestamp of this frame.
|
TextFrame.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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<TextFrame.Builder>public TextFrame.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TextFrame.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<TextFrame.Builder>public TextFrame getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TextFrame build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TextFrame buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TextFrame.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TextFrame.Builder>public TextFrame.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<TextFrame.Builder>public TextFrame.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TextFrame.Builder>public TextFrame.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TextFrame.Builder>public TextFrame.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<TextFrame.Builder>public TextFrame.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<TextFrame.Builder>public TextFrame.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextFrame.Builder>public TextFrame.Builder mergeFrom(TextFrame other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TextFrame.Builder>public TextFrame.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<TextFrame.Builder>IOExceptionpublic boolean hasRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
hasRotatedBoundingBox in interface TextFrameOrBuilderpublic NormalizedBoundingPoly getRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
getRotatedBoundingBox in interface TextFrameOrBuilderpublic TextFrame.Builder setRotatedBoundingBox(NormalizedBoundingPoly value)
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
public TextFrame.Builder setRotatedBoundingBox(NormalizedBoundingPoly.Builder builderForValue)
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
public TextFrame.Builder mergeRotatedBoundingBox(NormalizedBoundingPoly value)
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
public TextFrame.Builder clearRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
public NormalizedBoundingPoly.Builder getRotatedBoundingBoxBuilder()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
public NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
getRotatedBoundingBoxOrBuilder in interface TextFrameOrBuilderpublic boolean hasTimeOffset()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;hasTimeOffset in interface TextFrameOrBuilderpublic com.google.protobuf.Duration getTimeOffset()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;getTimeOffset in interface TextFrameOrBuilderpublic TextFrame.Builder setTimeOffset(com.google.protobuf.Duration value)
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;public TextFrame.Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;public TextFrame.Builder mergeTimeOffset(com.google.protobuf.Duration value)
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;public TextFrame.Builder clearTimeOffset()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;public com.google.protobuf.Duration.Builder getTimeOffsetBuilder()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;getTimeOffsetOrBuilder in interface TextFrameOrBuilderpublic final TextFrame.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextFrame.Builder>public final TextFrame.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextFrame.Builder>Copyright © 2018 Google LLC. All rights reserved.