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.v1.TextAnnotation.DetectedBreak
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 TextAnnotation.DetectedBreak.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TextAnnotation.DetectedBreak build()
buildPartial()
public TextAnnotation.DetectedBreak buildPartial()
clear()
public TextAnnotation.DetectedBreak.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TextAnnotation.DetectedBreak.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIsPrefix()
public TextAnnotation.DetectedBreak.Builder clearIsPrefix()
True if break prepends the element.
bool is_prefix = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public TextAnnotation.DetectedBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public TextAnnotation.DetectedBreak.Builder clearType()
Detected break type.
.google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;
clone()
public TextAnnotation.DetectedBreak.Builder clone()
Overrides
getDefaultInstanceForType()
public TextAnnotation.DetectedBreak getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1.TextAnnotation.DetectedBreak.BreakType type = 1;
getTypeValue()
public int getTypeValue()
Detected break type.
.google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for type.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TextAnnotation.DetectedBreak other)
public TextAnnotation.DetectedBreak.Builder mergeFrom(TextAnnotation.DetectedBreak other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextAnnotation.DetectedBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TextAnnotation.DetectedBreak.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextAnnotation.DetectedBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TextAnnotation.DetectedBreak.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextAnnotation.DetectedBreak.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setType(TextAnnotation.DetectedBreak.BreakType value)
public TextAnnotation.DetectedBreak.Builder setType(TextAnnotation.DetectedBreak.BreakType value)
Detected break type.
.google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;
setTypeValue(int value)
public TextAnnotation.DetectedBreak.Builder setTypeValue(int value)
Detected break type.
.google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TextAnnotation.DetectedBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides