1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/documentai/v1/document_io.proto 18 19 package com.google.cloud.documentai.v1; 20 21 public final class DocumentIoProto { DocumentIoProto()22 private DocumentIoProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_documentai_v1_RawDocument_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_documentai_v1_RawDocument_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_documentai_v1_GcsDocument_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_documentai_v1_GcsDocument_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_documentai_v1_GcsDocuments_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_documentai_v1_GcsDocuments_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_documentai_v1_GcsPrefix_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_documentai_v1_GcsPrefix_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_fieldAccessorTable; 50 static final com.google.protobuf.Descriptors.Descriptor 51 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_descriptor; 52 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 53 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_fieldAccessorTable; 54 static final com.google.protobuf.Descriptors.Descriptor 55 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_descriptor; 56 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 57 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_fieldAccessorTable; 58 static final com.google.protobuf.Descriptors.Descriptor 59 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor; 60 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 61 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_fieldAccessorTable; 62 getDescriptor()63 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 64 return descriptor; 65 } 66 67 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 68 69 static { 70 java.lang.String[] descriptorData = { 71 "\n,google/cloud/documentai/v1/document_io" 72 + ".proto\022\032google.cloud.documentai.v1\032 goog" 73 + "le/protobuf/field_mask.proto\"1\n\013RawDocum" 74 + "ent\022\017\n\007content\030\001 \001(\014\022\021\n\tmime_type\030\002 \001(\t\"" 75 + "1\n\013GcsDocument\022\017\n\007gcs_uri\030\001 \001(\t\022\021\n\tmime_" 76 + "type\030\002 \001(\t\"J\n\014GcsDocuments\022:\n\tdocuments\030" 77 + "\001 \003(\0132\'.google.cloud.documentai.v1.GcsDo" 78 + "cument\"#\n\tGcsPrefix\022\026\n\016gcs_uri_prefix\030\001 " 79 + "\001(\t\"\245\001\n\031BatchDocumentsInputConfig\022;\n\ngcs" 80 + "_prefix\030\001 \001(\0132%.google.cloud.documentai." 81 + "v1.GcsPrefixH\000\022A\n\rgcs_documents\030\002 \001(\0132(." 82 + "google.cloud.documentai.v1.GcsDocumentsH" 83 + "\000B\010\n\006source\"\205\003\n\024DocumentOutputConfig\022]\n\021" 84 + "gcs_output_config\030\001 \001(\0132@.google.cloud.d" 85 + "ocumentai.v1.DocumentOutputConfig.GcsOut" 86 + "putConfigH\000\032\376\001\n\017GcsOutputConfig\022\017\n\007gcs_u" 87 + "ri\030\001 \001(\t\022.\n\nfield_mask\030\002 \001(\0132\032.google.pr" 88 + "otobuf.FieldMask\022h\n\017sharding_config\030\003 \001(" 89 + "\0132O.google.cloud.documentai.v1.DocumentO" 90 + "utputConfig.GcsOutputConfig.ShardingConf" 91 + "ig\032@\n\016ShardingConfig\022\027\n\017pages_per_shard\030" 92 + "\001 \001(\005\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destinat" 93 + "ionB\315\001\n\036com.google.cloud.documentai.v1B\017" 94 + "DocumentIoProtoP\001Z>cloud.google.com/go/d" 95 + "ocumentai/apiv1/documentaipb;documentaip" 96 + "b\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Google\\" 97 + "Cloud\\DocumentAI\\V1\352\002\035Google::Cloud::Doc" 98 + "umentAI::V1b\006proto3" 99 }; 100 descriptor = 101 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 102 descriptorData, 103 new com.google.protobuf.Descriptors.FileDescriptor[] { 104 com.google.protobuf.FieldMaskProto.getDescriptor(), 105 }); 106 internal_static_google_cloud_documentai_v1_RawDocument_descriptor = 107 getDescriptor().getMessageTypes().get(0); 108 internal_static_google_cloud_documentai_v1_RawDocument_fieldAccessorTable = 109 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 110 internal_static_google_cloud_documentai_v1_RawDocument_descriptor, 111 new java.lang.String[] { 112 "Content", "MimeType", 113 }); 114 internal_static_google_cloud_documentai_v1_GcsDocument_descriptor = 115 getDescriptor().getMessageTypes().get(1); 116 internal_static_google_cloud_documentai_v1_GcsDocument_fieldAccessorTable = 117 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 118 internal_static_google_cloud_documentai_v1_GcsDocument_descriptor, 119 new java.lang.String[] { 120 "GcsUri", "MimeType", 121 }); 122 internal_static_google_cloud_documentai_v1_GcsDocuments_descriptor = 123 getDescriptor().getMessageTypes().get(2); 124 internal_static_google_cloud_documentai_v1_GcsDocuments_fieldAccessorTable = 125 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 126 internal_static_google_cloud_documentai_v1_GcsDocuments_descriptor, 127 new java.lang.String[] { 128 "Documents", 129 }); 130 internal_static_google_cloud_documentai_v1_GcsPrefix_descriptor = 131 getDescriptor().getMessageTypes().get(3); 132 internal_static_google_cloud_documentai_v1_GcsPrefix_fieldAccessorTable = 133 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 134 internal_static_google_cloud_documentai_v1_GcsPrefix_descriptor, 135 new java.lang.String[] { 136 "GcsUriPrefix", 137 }); 138 internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor = 139 getDescriptor().getMessageTypes().get(4); 140 internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_fieldAccessorTable = 141 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 142 internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor, 143 new java.lang.String[] { 144 "GcsPrefix", "GcsDocuments", "Source", 145 }); 146 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_descriptor = 147 getDescriptor().getMessageTypes().get(5); 148 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_fieldAccessorTable = 149 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 150 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_descriptor, 151 new java.lang.String[] { 152 "GcsOutputConfig", "Destination", 153 }); 154 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_descriptor = 155 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_descriptor 156 .getNestedTypes() 157 .get(0); 158 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_fieldAccessorTable = 159 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 160 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_descriptor, 161 new java.lang.String[] { 162 "GcsUri", "FieldMask", "ShardingConfig", 163 }); 164 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor = 165 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_descriptor 166 .getNestedTypes() 167 .get(0); 168 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_fieldAccessorTable = 169 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 170 internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor, 171 new java.lang.String[] { 172 "PagesPerShard", "PagesOverlap", 173 }); com.google.protobuf.FieldMaskProto.getDescriptor()174 com.google.protobuf.FieldMaskProto.getDescriptor(); 175 } 176 177 // @@protoc_insertion_point(outer_class_scope) 178 } 179