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 interface AnnotationSpecOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.AnnotationSpec) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Output only. Resource name of the annotation spec. 31 * Form: 32 * 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}' 33 * </pre> 34 * 35 * <code>string name = 1;</code> 36 * 37 * @return The name. 38 */ getName()39 java.lang.String getName(); 40 /** 41 * 42 * 43 * <pre> 44 * Output only. Resource name of the annotation spec. 45 * Form: 46 * 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}' 47 * </pre> 48 * 49 * <code>string name = 1;</code> 50 * 51 * @return The bytes for name. 52 */ getNameBytes()53 com.google.protobuf.ByteString getNameBytes(); 54 55 /** 56 * 57 * 58 * <pre> 59 * Required. The name of the annotation spec to show in the interface. The name can be 60 * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`. 61 * </pre> 62 * 63 * <code>string display_name = 2;</code> 64 * 65 * @return The displayName. 66 */ getDisplayName()67 java.lang.String getDisplayName(); 68 /** 69 * 70 * 71 * <pre> 72 * Required. The name of the annotation spec to show in the interface. The name can be 73 * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`. 74 * </pre> 75 * 76 * <code>string display_name = 2;</code> 77 * 78 * @return The bytes for displayName. 79 */ getDisplayNameBytes()80 com.google.protobuf.ByteString getDisplayNameBytes(); 81 82 /** 83 * 84 * 85 * <pre> 86 * Output only. The number of examples in the parent dataset 87 * labeled by the annotation spec. 88 * </pre> 89 * 90 * <code>int32 example_count = 9;</code> 91 * 92 * @return The exampleCount. 93 */ getExampleCount()94 int getExampleCount(); 95 } 96