Class TextAnnotation.DetectedBreak.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.DetectedBreak.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.DetectedBreak.Builder>
      • getDefaultInstanceForType

        public TextAnnotation.DetectedBreak getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public TextAnnotation.DetectedBreak build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public TextAnnotation.DetectedBreak buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotation.DetectedBreak.Builder>
      • mergeFrom

        public TextAnnotation.DetectedBreak.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextAnnotation.DetectedBreak.Builder>
        Throws:
        IOException
      • getTypeValue

        public int getTypeValue()
         Detected break type.
         
        .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
        Specified by:
        getTypeValue in interface TextAnnotation.DetectedBreakOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public TextAnnotation.DetectedBreak.Builder setTypeValue​(int value)
         Detected break type.
         
        .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public TextAnnotation.DetectedBreak.Builder clearType()
         Detected break type.
         
        .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakType type = 1;
        Returns:
        This builder for chaining.
      • setIsPrefix

        public TextAnnotation.DetectedBreak.Builder setIsPrefix​(boolean value)
         True if break prepends the element.
         
        bool is_prefix = 2;
        Parameters:
        value - The isPrefix to set.
        Returns:
        This builder for chaining.