All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.vision.v1p1beta1.TextAnnotationProto Maven / Gradle / Ivy

There is a newer version: 0.141.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/vision/v1p1beta1/text_annotation.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.vision.v1p1beta1;

public final class TextAnnotationProto {
  private TextAnnotationProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_DetectedLanguage_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_DetectedLanguage_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_DetectedBreak_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_DetectedBreak_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_TextProperty_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_TextProperty_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_Page_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_Page_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_Block_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_Block_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_Paragraph_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_Paragraph_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_Word_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_Word_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vision_v1p1beta1_Symbol_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vision_v1p1beta1_Symbol_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n3google/cloud/vision/v1p1beta1/text_ann"
          + "otation.proto\022\035google.cloud.vision.v1p1b"
          + "eta1\032,google/cloud/vision/v1p1beta1/geom"
          + "etry.proto\"\262\004\n\016TextAnnotation\0222\n\005pages\030\001"
          + " \003(\0132#.google.cloud.vision.v1p1beta1.Pag"
          + "e\022\014\n\004text\030\002 \001(\t\032=\n\020DetectedLanguage\022\025\n\rl"
          + "anguage_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\334"
          + "\001\n\rDetectedBreak\022S\n\004type\030\001 \001(\0162E.google."
          + "cloud.vision.v1p1beta1.TextAnnotation.De"
          + "tectedBreak.BreakType\022\021\n\tis_prefix\030\002 \001(\010"
          + "\"c\n\tBreakType\022\013\n\007UNKNOWN\020\000\022\t\n\005SPACE\020\001\022\016\n"
          + "\nSURE_SPACE\020\002\022\022\n\016EOL_SURE_SPACE\020\003\022\n\n\006HYP"
          + "HEN\020\004\022\016\n\nLINE_BREAK\020\005\032\277\001\n\014TextProperty\022Z"
          + "\n\022detected_languages\030\001 \003(\0132>.google.clou"
          + "d.vision.v1p1beta1.TextAnnotation.Detect"
          + "edLanguage\022S\n\016detected_break\030\002 \001(\0132;.goo"
          + "gle.cloud.vision.v1p1beta1.TextAnnotatio"
          + "n.DetectedBreak\"\275\001\n\004Page\022L\n\010property\030\001 \001"
          + "(\0132:.google.cloud.vision.v1p1beta1.TextA"
          + "nnotation.TextProperty\022\r\n\005width\030\002 \001(\005\022\016\n"
          + "\006height\030\003 \001(\005\0224\n\006blocks\030\004 \003(\0132$.google.c"
          + "loud.vision.v1p1beta1.Block\022\022\n\nconfidenc"
          + "e\030\005 \001(\002\"\202\003\n\005Block\022L\n\010property\030\001 \001(\0132:.go"
          + "ogle.cloud.vision.v1p1beta1.TextAnnotati"
          + "on.TextProperty\022A\n\014bounding_box\030\002 \001(\0132+."
          + "google.cloud.vision.v1p1beta1.BoundingPo"
          + "ly\022<\n\nparagraphs\030\003 \003(\0132(.google.cloud.vi"
          + "sion.v1p1beta1.Paragraph\022B\n\nblock_type\030\004"
          + " \001(\0162..google.cloud.vision.v1p1beta1.Blo"
          + "ck.BlockType\022\022\n\nconfidence\030\005 \001(\002\"R\n\tBloc"
          + "kType\022\013\n\007UNKNOWN\020\000\022\010\n\004TEXT\020\001\022\t\n\005TABLE\020\002\022"
          + "\013\n\007PICTURE\020\003\022\t\n\005RULER\020\004\022\013\n\007BARCODE\020\005\"\344\001\n"
          + "\tParagraph\022L\n\010property\030\001 \001(\0132:.google.cl"
          + "oud.vision.v1p1beta1.TextAnnotation.Text"
          + "Property\022A\n\014bounding_box\030\002 \001(\0132+.google."
          + "cloud.vision.v1p1beta1.BoundingPoly\0222\n\005w"
          + "ords\030\003 \003(\0132#.google.cloud.vision.v1p1bet"
          + "a1.Word\022\022\n\nconfidence\030\004 \001(\002\"\343\001\n\004Word\022L\n\010"
          + "property\030\001 \001(\0132:.google.cloud.vision.v1p"
          + "1beta1.TextAnnotation.TextProperty\022A\n\014bo"
          + "unding_box\030\002 \001(\0132+.google.cloud.vision.v"
          + "1p1beta1.BoundingPoly\0226\n\007symbols\030\003 \003(\0132%"
          + ".google.cloud.vision.v1p1beta1.Symbol\022\022\n"
          + "\nconfidence\030\004 \001(\002\"\273\001\n\006Symbol\022L\n\010property"
          + "\030\001 \001(\0132:.google.cloud.vision.v1p1beta1.T"
          + "extAnnotation.TextProperty\022A\n\014bounding_b"
          + "ox\030\002 \001(\0132+.google.cloud.vision.v1p1beta1"
          + ".BoundingPoly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidenc"
          + "e\030\004 \001(\002B{\n!com.google.cloud.vision.v1p1b"
          + "eta1B\023TextAnnotationProtoP\001Z




© 2015 - 2024 Weber Informatics LLC | Privacy Policy