Send feedback
Class TextFrame.Builder (2.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.13.0 keyboard_arrow_down
public static final class TextFrame . Builder extends 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.v1.TextFrame
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextFrame . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
buildPartial()
public TextFrame buildPartial ()
clear()
public TextFrame . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TextFrame . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TextFrame . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRotatedBoundingBox()
public TextFrame . Builder clearRotatedBoundingBox ()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1;
clearTimeOffset()
public TextFrame . Builder clearTimeOffset ()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
clone()
public TextFrame . Builder clone ()
Overrides
getDefaultInstanceForType()
public TextFrame getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getRotatedBoundingBox()
public NormalizedBoundingPoly getRotatedBoundingBox ()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1;
getRotatedBoundingBoxBuilder()
public NormalizedBoundingPoly . Builder getRotatedBoundingBoxBuilder ()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1;
getRotatedBoundingBoxOrBuilder()
public NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder ()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1;
getTimeOffset()
public Duration getTimeOffset ()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Returns Type Description Duration
The timeOffset.
getTimeOffsetBuilder()
public Duration . Builder getTimeOffsetBuilder ()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
getTimeOffsetOrBuilder()
public DurationOrBuilder getTimeOffsetOrBuilder ()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
hasRotatedBoundingBox()
public boolean hasRotatedBoundingBox ()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1;
Returns Type Description boolean
Whether the rotatedBoundingBox field is set.
hasTimeOffset()
public boolean hasTimeOffset ()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Returns Type Description boolean
Whether the timeOffset field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(TextFrame other)
public TextFrame . Builder mergeFrom ( TextFrame other )
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextFrame . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TextFrame . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeRotatedBoundingBox(NormalizedBoundingPoly value)
public TextFrame . Builder mergeRotatedBoundingBox ( NormalizedBoundingPoly value )
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1;
mergeTimeOffset(Duration value)
public TextFrame . Builder mergeTimeOffset ( Duration value )
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextFrame . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TextFrame . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextFrame . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRotatedBoundingBox(NormalizedBoundingPoly value)
public TextFrame . Builder setRotatedBoundingBox ( NormalizedBoundingPoly value )
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1;
setRotatedBoundingBox(NormalizedBoundingPoly.Builder builderForValue)
public TextFrame . Builder setRotatedBoundingBox ( NormalizedBoundingPoly . Builder builderForValue )
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1;
setTimeOffset(Duration value)
public TextFrame . Builder setTimeOffset ( Duration value )
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
setTimeOffset(Duration.Builder builderForValue)
public TextFrame . Builder setTimeOffset ( Duration . Builder builderForValue )
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Parameter Name Description builderForValue
Builder
setUnknownFields(UnknownFieldSet unknownFields)
public final TextFrame . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]