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 UpdateOccurrenceRequestOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.UpdateOccurrenceRequest) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * The name of the occurrence in the form of 32 * `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 33 * </pre> 34 * 35 * <code> 36 * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 37 * </code> 38 * 39 * @return The name. 40 */ getName()41 java.lang.String getName(); 42 /** 43 * 44 * 45 * <pre> 46 * The name of the occurrence in the form of 47 * `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 48 * </pre> 49 * 50 * <code> 51 * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 52 * </code> 53 * 54 * @return The bytes for name. 55 */ getNameBytes()56 com.google.protobuf.ByteString getNameBytes(); 57 58 /** 59 * 60 * 61 * <pre> 62 * The updated occurrence. 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 updated occurrence. 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 updated occurrence. 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 /** 94 * 95 * 96 * <pre> 97 * The fields to update. 98 * </pre> 99 * 100 * <code>.google.protobuf.FieldMask update_mask = 3;</code> 101 * 102 * @return Whether the updateMask field is set. 103 */ hasUpdateMask()104 boolean hasUpdateMask(); 105 /** 106 * 107 * 108 * <pre> 109 * The fields to update. 110 * </pre> 111 * 112 * <code>.google.protobuf.FieldMask update_mask = 3;</code> 113 * 114 * @return The updateMask. 115 */ getUpdateMask()116 com.google.protobuf.FieldMask getUpdateMask(); 117 /** 118 * 119 * 120 * <pre> 121 * The fields to update. 122 * </pre> 123 * 124 * <code>.google.protobuf.FieldMask update_mask = 3;</code> 125 */ getUpdateMaskOrBuilder()126 com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); 127 } 128