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 CreateNoteRequestOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.CreateNoteRequest) 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 note is 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 note is 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 ID to use for this note. 63 * </pre> 64 * 65 * <code>string note_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 66 * 67 * @return The noteId. 68 */ getNoteId()69 java.lang.String getNoteId(); 70 /** 71 * 72 * 73 * <pre> 74 * The ID to use for this note. 75 * </pre> 76 * 77 * <code>string note_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 78 * 79 * @return The bytes for noteId. 80 */ getNoteIdBytes()81 com.google.protobuf.ByteString getNoteIdBytes(); 82 83 /** 84 * 85 * 86 * <pre> 87 * The note to create. 88 * </pre> 89 * 90 * <code>.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];</code> 91 * 92 * @return Whether the note field is set. 93 */ hasNote()94 boolean hasNote(); 95 /** 96 * 97 * 98 * <pre> 99 * The note to create. 100 * </pre> 101 * 102 * <code>.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];</code> 103 * 104 * @return The note. 105 */ getNote()106 io.grafeas.v1.Note getNote(); 107 /** 108 * 109 * 110 * <pre> 111 * The note to create. 112 * </pre> 113 * 114 * <code>.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];</code> 115 */ getNoteOrBuilder()116 io.grafeas.v1.NoteOrBuilder getNoteOrBuilder(); 117 } 118