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