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.v1p2beta1.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public TextFrame buildPartial()
Returns
clear()
public TextFrame.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TextFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TextFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRotatedBoundingBox()
public TextFrame.Builder clearRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
Returns
clearTimeOffset()
public TextFrame.Builder clearTimeOffset()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Returns
clone()
public TextFrame.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TextFrame getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRotatedBoundingBox()
public NormalizedBoundingPoly getRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
Returns
getRotatedBoundingBoxBuilder()
public NormalizedBoundingPoly.Builder getRotatedBoundingBoxBuilder()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
Returns
getRotatedBoundingBoxOrBuilder()
public NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
Returns
getTimeOffset()
public Duration getTimeOffset()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Returns
getTimeOffsetBuilder()
public Duration.Builder getTimeOffsetBuilder()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Returns
getTimeOffsetOrBuilder()
public DurationOrBuilder getTimeOffsetOrBuilder()
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Returns
hasRotatedBoundingBox()
public boolean hasRotatedBoundingBox()
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TextFrame other)
public TextFrame.Builder mergeFrom(TextFrame other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TextFrame.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRotatedBoundingBox(NormalizedBoundingPoly value)
public TextFrame.Builder mergeRotatedBoundingBox(NormalizedBoundingPoly value)
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
Parameter
Returns
mergeTimeOffset(Duration value)
public TextFrame.Builder mergeTimeOffset(Duration value)
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TextFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRotatedBoundingBox(NormalizedBoundingPoly value)
public TextFrame.Builder setRotatedBoundingBox(NormalizedBoundingPoly value)
Bounding polygon of the detected text for this frame.
.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1;
Parameter
Returns
setRotatedBoundingBox(NormalizedBoundingPoly.Builder builderForValue)
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;
Parameter
Returns
setTimeOffset(Duration value)
public TextFrame.Builder setTimeOffset(Duration value)
Timestamp of this frame.
.google.protobuf.Duration time_offset = 2;
Parameter
Returns
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
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TextFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides