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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public TextAnnotation.TextProperty build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public TextAnnotation.TextProperty buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public TextAnnotation.TextProperty.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder mergeFrom(TextAnnotation.TextProperty other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public TextAnnotation.TextProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<TextAnnotation.TextProperty.Builder>
java.io.IOException
public java.util.List<TextAnnotation.DetectedLanguage> getDetectedLanguagesList()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
getDetectedLanguagesList
in interface TextAnnotation.TextPropertyOrBuilder
public int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
getDetectedLanguagesCount
in interface TextAnnotation.TextPropertyOrBuilder
public TextAnnotation.DetectedLanguage getDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
getDetectedLanguages
in interface TextAnnotation.TextPropertyOrBuilder
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;
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;
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;
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;
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;
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;
public TextAnnotation.TextProperty.Builder addAllDetectedLanguages(java.lang.Iterable<? extends TextAnnotation.DetectedLanguage> values)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
public TextAnnotation.TextProperty.Builder clearDetectedLanguages()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
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;
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;
public TextAnnotation.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
getDetectedLanguagesOrBuilder
in interface TextAnnotation.TextPropertyOrBuilder
public java.util.List<? extends TextAnnotation.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
getDetectedLanguagesOrBuilderList
in interface TextAnnotation.TextPropertyOrBuilder
public TextAnnotation.DetectedLanguage.Builder addDetectedLanguagesBuilder()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
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;
public java.util.List<TextAnnotation.DetectedLanguage.Builder> getDetectedLanguagesBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
public boolean hasDetectedBreak()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
hasDetectedBreak
in interface TextAnnotation.TextPropertyOrBuilder
public TextAnnotation.DetectedBreak getDetectedBreak()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
getDetectedBreak
in interface TextAnnotation.TextPropertyOrBuilder
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;
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;
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;
public TextAnnotation.TextProperty.Builder clearDetectedBreak()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
public TextAnnotation.DetectedBreak.Builder getDetectedBreakBuilder()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
public TextAnnotation.DetectedBreakOrBuilder getDetectedBreakOrBuilder()
Detected start or end of a text segment.
.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak detected_break = 2;
getDetectedBreakOrBuilder
in interface TextAnnotation.TextPropertyOrBuilder
public final TextAnnotation.TextProperty.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>
public final TextAnnotation.TextProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder>