public static final class TextAnnotation.TextProperty.Builder extends GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder> implements TextAnnotation.TextPropertyOrBuilder
Additional information detected on the structural component.
Protobuf type google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty
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
addAllDetectedLanguages(Iterable<? extends TextAnnotation.DetectedLanguage> values)
public TextAnnotation.TextProperty.Builder addAllDetectedLanguages(Iterable<? extends TextAnnotation.DetectedLanguage> values)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage>
|
addDetectedLanguages(TextAnnotation.DetectedLanguage value)
public TextAnnotation.TextProperty.Builder addDetectedLanguages(TextAnnotation.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
addDetectedLanguages(TextAnnotation.DetectedLanguage.Builder builderForValue)
public TextAnnotation.TextProperty.Builder addDetectedLanguages(TextAnnotation.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
addDetectedLanguages(int index, TextAnnotation.DetectedLanguage value)
public TextAnnotation.TextProperty.Builder addDetectedLanguages(int index, TextAnnotation.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
addDetectedLanguages(int index, TextAnnotation.DetectedLanguage.Builder builderForValue)
public TextAnnotation.TextProperty.Builder addDetectedLanguages(int index, TextAnnotation.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
addDetectedLanguagesBuilder()
public TextAnnotation.DetectedLanguage.Builder addDetectedLanguagesBuilder()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
addDetectedLanguagesBuilder(int index)
public TextAnnotation.DetectedLanguage.Builder addDetectedLanguagesBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextAnnotation.TextProperty.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TextAnnotation.TextProperty build()
buildPartial()
public TextAnnotation.TextProperty buildPartial()
clear()
public TextAnnotation.TextProperty.Builder clear()
Overrides
clearDetectedBreak()
public TextAnnotation.TextProperty.Builder clearDetectedBreak()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
clearDetectedLanguages()
public TextAnnotation.TextProperty.Builder clearDetectedLanguages()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
clearField(Descriptors.FieldDescriptor field)
public TextAnnotation.TextProperty.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TextAnnotation.TextProperty.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TextAnnotation.TextProperty.Builder clone()
Overrides
getDefaultInstanceForType()
public TextAnnotation.TextProperty getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDetectedBreak()
public TextAnnotation.DetectedBreak getDetectedBreak()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
getDetectedBreakBuilder()
public TextAnnotation.DetectedBreak.Builder getDetectedBreakBuilder()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
getDetectedBreakOrBuilder()
public TextAnnotation.DetectedBreakOrBuilder getDetectedBreakOrBuilder()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
getDetectedLanguages(int index)
public TextAnnotation.DetectedLanguage getDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Parameter |
---|
Name | Description |
index | int
|
getDetectedLanguagesBuilder(int index)
public TextAnnotation.DetectedLanguage.Builder getDetectedLanguagesBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Parameter |
---|
Name | Description |
index | int
|
getDetectedLanguagesBuilderList()
public List<TextAnnotation.DetectedLanguage.Builder> getDetectedLanguagesBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
getDetectedLanguagesCount()
public int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Returns |
---|
Type | Description |
int | |
getDetectedLanguagesList()
public List<TextAnnotation.DetectedLanguage> getDetectedLanguagesList()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
getDetectedLanguagesOrBuilder(int index)
public TextAnnotation.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Parameter |
---|
Name | Description |
index | int
|
getDetectedLanguagesOrBuilderList()
public List<? extends TextAnnotation.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguageOrBuilder> | |
hasDetectedBreak()
public boolean hasDetectedBreak()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
Returns |
---|
Type | Description |
boolean | Whether the detectedBreak field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDetectedBreak(TextAnnotation.DetectedBreak value)
public TextAnnotation.TextProperty.Builder mergeDetectedBreak(TextAnnotation.DetectedBreak value)
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
mergeFrom(TextAnnotation.TextProperty other)
public TextAnnotation.TextProperty.Builder mergeFrom(TextAnnotation.TextProperty other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextAnnotation.TextProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TextAnnotation.TextProperty.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextAnnotation.TextProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDetectedLanguages(int index)
public TextAnnotation.TextProperty.Builder removeDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Parameter |
---|
Name | Description |
index | int
|
setDetectedBreak(TextAnnotation.DetectedBreak value)
public TextAnnotation.TextProperty.Builder setDetectedBreak(TextAnnotation.DetectedBreak value)
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
setDetectedBreak(TextAnnotation.DetectedBreak.Builder builderForValue)
public TextAnnotation.TextProperty.Builder setDetectedBreak(TextAnnotation.DetectedBreak.Builder builderForValue)
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
setDetectedLanguages(int index, TextAnnotation.DetectedLanguage value)
public TextAnnotation.TextProperty.Builder setDetectedLanguages(int index, TextAnnotation.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
setDetectedLanguages(int index, TextAnnotation.DetectedLanguage.Builder builderForValue)
public TextAnnotation.TextProperty.Builder setDetectedLanguages(int index, TextAnnotation.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public TextAnnotation.TextProperty.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextAnnotation.TextProperty.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TextAnnotation.TextProperty.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides