- 3.52.0 (latest)
- 3.51.0
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
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.v1p2beta1.TextAnnotation.DetectedBreak
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TextAnnotation.DetectedBreak.BuilderImplements
TextAnnotation.DetectedBreakOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextAnnotation.DetectedBreak.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public TextAnnotation.DetectedBreak.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TextAnnotation.DetectedBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |
clearType()
public TextAnnotation.DetectedBreak.Builder clearType()
Detected break type.
.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |
This builder for chaining. |
clone()
public TextAnnotation.DetectedBreak.Builder clone()
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |
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.v1p2beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.BreakType |
The type. |
getTypeValue()
public int getTypeValue()
Detected break type.
.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextAnnotation.DetectedBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TextAnnotation.DetectedBreak.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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 |
boolean The isPrefix to set. |
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextAnnotation.DetectedBreak.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |
setType(TextAnnotation.DetectedBreak.BreakType value)
public TextAnnotation.DetectedBreak.Builder setType(TextAnnotation.DetectedBreak.BreakType value)
Detected break type.
.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Parameter | |
---|---|
Name | Description |
value |
TextAnnotation.DetectedBreak.BreakType The 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.v1p2beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TextAnnotation.DetectedBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TextAnnotation.DetectedBreak.Builder |