public static final class TextAnnotation.DetectedBreak.Builder extends GeneratedMessage.Builder<TextAnnotation.DetectedBreak.Builder> implements TextAnnotation.DetectedBreakOrBuilderDetected start or end of a structural component.
Protobuf type google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TextAnnotation.DetectedBreak.BuilderImplements
TextAnnotation.DetectedBreakOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TextAnnotation.DetectedBreak build()| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak |
|
buildPartial()
public TextAnnotation.DetectedBreak buildPartial()| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak |
|
clear()
public TextAnnotation.DetectedBreak.Builder clear()| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
|
clearIsPrefix()
public TextAnnotation.DetectedBreak.Builder clearIsPrefix()True if break prepends the element.
bool is_prefix = 2;
| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
This builder for chaining. |
clearType()
public TextAnnotation.DetectedBreak.Builder clearType()Detected break type.
.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public TextAnnotation.DetectedBreak getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.BreakType |
The type. |
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TextAnnotation.DetectedBreak other)
public TextAnnotation.DetectedBreak.Builder mergeFrom(TextAnnotation.DetectedBreak other)| Parameter | |
|---|---|
| Name | Description |
other |
TextAnnotation.DetectedBreak |
| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextAnnotation.DetectedBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TextAnnotation.DetectedBreak.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
|
setIsPrefix(boolean value)
public TextAnnotation.DetectedBreak.Builder setIsPrefix(boolean value)True if break prepends the element.
bool is_prefix = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe isPrefix to set. |
| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
TextAnnotation.DetectedBreak.BreakTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
TextAnnotation.DetectedBreak.Builder |
This builder for chaining. |