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/automl/v1/annotation_spec.proto 18 19 package com.google.cloud.automl.v1; 20 21 public final class AnnotationSpecOuterClass { AnnotationSpecOuterClass()22 private AnnotationSpecOuterClass() {} 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_automl_v1_AnnotationSpec_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_automl_v1_AnnotationSpec_fieldAccessorTable; 34 getDescriptor()35 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 36 return descriptor; 37 } 38 39 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 40 41 static { 42 java.lang.String[] descriptorData = { 43 "\n,google/cloud/automl/v1/annotation_spec" 44 + ".proto\022\026google.cloud.automl.v1\032\031google/a" 45 + "pi/resource.proto\"\326\001\n\016AnnotationSpec\022\014\n\004" 46 + "name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\025\n\rexam" 47 + "ple_count\030\t \001(\005:\210\001\352A\204\001\n$automl.googleapi" 48 + "s.com/AnnotationSpec\022\\projects/{project}" 49 + "/locations/{location}/datasets/{dataset}" 50 + "/annotationSpecs/{annotation_spec}B\240\001\n\032c" 51 + "om.google.cloud.automl.v1P\001Z2cloud.googl" 52 + "e.com/go/automl/apiv1/automlpb;automlpb\252" 53 + "\002\026Google.Cloud.AutoML.V1\312\002\026Google\\Cloud\\" 54 + "AutoMl\\V1\352\002\031Google::Cloud::AutoML::V1b\006p" 55 + "roto3" 56 }; 57 descriptor = 58 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 59 descriptorData, 60 new com.google.protobuf.Descriptors.FileDescriptor[] { 61 com.google.api.ResourceProto.getDescriptor(), 62 }); 63 internal_static_google_cloud_automl_v1_AnnotationSpec_descriptor = 64 getDescriptor().getMessageTypes().get(0); 65 internal_static_google_cloud_automl_v1_AnnotationSpec_fieldAccessorTable = 66 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 67 internal_static_google_cloud_automl_v1_AnnotationSpec_descriptor, 68 new java.lang.String[] { 69 "Name", "DisplayName", "ExampleCount", 70 }); 71 com.google.protobuf.ExtensionRegistry registry = 72 com.google.protobuf.ExtensionRegistry.newInstance(); 73 registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)74 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 75 descriptor, registry); com.google.api.ResourceProto.getDescriptor()76 com.google.api.ResourceProto.getDescriptor(); 77 } 78 79 // @@protoc_insertion_point(outer_class_scope) 80 } 81