1 /* 2 * Copyright 2019 The Grafeas Authors. All rights reserved. 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 17 // Generated by the protocol buffer compiler. DO NOT EDIT! 18 // source: grafeas/v1/grafeas.proto 19 20 package io.grafeas.v1; 21 22 public interface BatchCreateNotesRequestOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.BatchCreateNotesRequest) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * The name of the project in the form of `projects/[PROJECT_ID]`, under which 32 * the notes are to be created. 33 * </pre> 34 * 35 * <code> 36 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 37 * </code> 38 * 39 * @return The parent. 40 */ getParent()41 java.lang.String getParent(); 42 /** 43 * 44 * 45 * <pre> 46 * The name of the project in the form of `projects/[PROJECT_ID]`, under which 47 * the notes are to be created. 48 * </pre> 49 * 50 * <code> 51 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 52 * </code> 53 * 54 * @return The bytes for parent. 55 */ getParentBytes()56 com.google.protobuf.ByteString getParentBytes(); 57 58 /** 59 * 60 * 61 * <pre> 62 * The notes to create. Max allowed length is 1000. 63 * </pre> 64 * 65 * <code>map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED]; 66 * </code> 67 */ getNotesCount()68 int getNotesCount(); 69 /** 70 * 71 * 72 * <pre> 73 * The notes to create. Max allowed length is 1000. 74 * </pre> 75 * 76 * <code>map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED]; 77 * </code> 78 */ containsNotes(java.lang.String key)79 boolean containsNotes(java.lang.String key); 80 /** Use {@link #getNotesMap()} instead. */ 81 @java.lang.Deprecated getNotes()82 java.util.Map<java.lang.String, io.grafeas.v1.Note> getNotes(); 83 /** 84 * 85 * 86 * <pre> 87 * The notes to create. Max allowed length is 1000. 88 * </pre> 89 * 90 * <code>map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED]; 91 * </code> 92 */ getNotesMap()93 java.util.Map<java.lang.String, io.grafeas.v1.Note> getNotesMap(); 94 /** 95 * 96 * 97 * <pre> 98 * The notes to create. Max allowed length is 1000. 99 * </pre> 100 * 101 * <code>map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED]; 102 * </code> 103 */ 104 /* nullable */ getNotesOrDefault( java.lang.String key, io.grafeas.v1.Note defaultValue)105 io.grafeas.v1.Note getNotesOrDefault( 106 java.lang.String key, 107 /* nullable */ 108 io.grafeas.v1.Note defaultValue); 109 /** 110 * 111 * 112 * <pre> 113 * The notes to create. Max allowed length is 1000. 114 * </pre> 115 * 116 * <code>map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED]; 117 * </code> 118 */ getNotesOrThrow(java.lang.String key)119 io.grafeas.v1.Note getNotesOrThrow(java.lang.String key); 120 } 121