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 CreateOccurrenceRequestOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.CreateOccurrenceRequest) 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 occurrence 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 occurrence 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 occurrence to create. 63 * </pre> 64 * 65 * <code>.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];</code> 66 * 67 * @return Whether the occurrence field is set. 68 */ hasOccurrence()69 boolean hasOccurrence(); 70 /** 71 * 72 * 73 * <pre> 74 * The occurrence to create. 75 * </pre> 76 * 77 * <code>.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];</code> 78 * 79 * @return The occurrence. 80 */ getOccurrence()81 io.grafeas.v1.Occurrence getOccurrence(); 82 /** 83 * 84 * 85 * <pre> 86 * The occurrence to create. 87 * </pre> 88 * 89 * <code>.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];</code> 90 */ getOccurrenceOrBuilder()91 io.grafeas.v1.OccurrenceOrBuilder getOccurrenceOrBuilder(); 92 } 93