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 BatchCreateOccurrencesRequestOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.BatchCreateOccurrencesRequest) 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 occurrences 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 occurrences 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 occurrences to create. Max allowed length is 1000. 63 * </pre> 64 * 65 * <code> 66 * repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED]; 67 * </code> 68 */ getOccurrencesList()69 java.util.List<io.grafeas.v1.Occurrence> getOccurrencesList(); 70 /** 71 * 72 * 73 * <pre> 74 * The occurrences to create. Max allowed length is 1000. 75 * </pre> 76 * 77 * <code> 78 * repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED]; 79 * </code> 80 */ getOccurrences(int index)81 io.grafeas.v1.Occurrence getOccurrences(int index); 82 /** 83 * 84 * 85 * <pre> 86 * The occurrences to create. Max allowed length is 1000. 87 * </pre> 88 * 89 * <code> 90 * repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED]; 91 * </code> 92 */ getOccurrencesCount()93 int getOccurrencesCount(); 94 /** 95 * 96 * 97 * <pre> 98 * The occurrences to create. Max allowed length is 1000. 99 * </pre> 100 * 101 * <code> 102 * repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED]; 103 * </code> 104 */ getOccurrencesOrBuilderList()105 java.util.List<? extends io.grafeas.v1.OccurrenceOrBuilder> getOccurrencesOrBuilderList(); 106 /** 107 * 108 * 109 * <pre> 110 * The occurrences to create. Max allowed length is 1000. 111 * </pre> 112 * 113 * <code> 114 * repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED]; 115 * </code> 116 */ getOccurrencesOrBuilder(int index)117 io.grafeas.v1.OccurrenceOrBuilder getOccurrencesOrBuilder(int index); 118 } 119