Send feedback
Class TextAnnotation.DetectedBreak.Builder (3.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.4.0 keyboard_arrow_down
public static final class TextAnnotation . DetectedBreak . Builder extends GeneratedMessageV3 . Builder<TextAnnotation . DetectedBreak . Builder > implements TextAnnotation . DetectedBreakOrBuilder
Detected start or end of a structural component.
Protobuf type google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak
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 TextAnnotation . DetectedBreak . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public TextAnnotation . DetectedBreak build ()
Returns
buildPartial()
public TextAnnotation . DetectedBreak buildPartial ()
Returns
clear()
public TextAnnotation . DetectedBreak . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TextAnnotation . DetectedBreak . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearIsPrefix()
public TextAnnotation . DetectedBreak . Builder clearIsPrefix ()
True if break prepends the element.
bool is_prefix = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TextAnnotation . DetectedBreak . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearType()
public TextAnnotation . DetectedBreak . Builder clearType ()
Detected break type.
.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Returns
clone()
public TextAnnotation . DetectedBreak . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public TextAnnotation . DetectedBreak getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getIsPrefix()
public boolean getIsPrefix ()
True if break prepends the element.
bool is_prefix = 2;
Returns
Type Description boolean The isPrefix.
getType()
public TextAnnotation . DetectedBreak . BreakType getType ()
Detected break type.
.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Returns
getTypeValue()
public int getTypeValue ()
Detected break type.
.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Returns
Type Description int The enum numeric value on the wire for type.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(TextAnnotation.DetectedBreak other)
public TextAnnotation . DetectedBreak . Builder mergeFrom ( TextAnnotation . DetectedBreak other )
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextAnnotation . DetectedBreak . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TextAnnotation . DetectedBreak . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextAnnotation . DetectedBreak . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TextAnnotation . DetectedBreak . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setIsPrefix(boolean value)
public TextAnnotation . DetectedBreak . Builder setIsPrefix ( boolean value )
True if break prepends the element.
bool is_prefix = 2;
Parameter
Name Description value boolean
The isPrefix to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextAnnotation . DetectedBreak . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setType(TextAnnotation.DetectedBreak.BreakType value)
public TextAnnotation . DetectedBreak . Builder setType ( TextAnnotation . DetectedBreak . BreakType value )
Detected break type.
.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Parameter
Returns
setTypeValue(int value)
public TextAnnotation . DetectedBreak . Builder setTypeValue ( int value )
Detected break type.
.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Parameter
Name Description value int
The enum numeric value on the wire for type to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TextAnnotation . DetectedBreak . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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."],[],[]]