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/cloud/webrisk/v1/webrisk.proto 18 19 package com.google.webrisk.v1; 20 21 public interface CreateSubmissionRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.webrisk.v1.CreateSubmissionRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The name of the project that is making the submission. This string is in 31 * the format "projects/{project_number}". 32 * </pre> 33 * 34 * <code> 35 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 36 * </code> 37 * 38 * @return The parent. 39 */ getParent()40 java.lang.String getParent(); 41 /** 42 * 43 * 44 * <pre> 45 * Required. The name of the project that is making the submission. This string is in 46 * the format "projects/{project_number}". 47 * </pre> 48 * 49 * <code> 50 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 51 * </code> 52 * 53 * @return The bytes for parent. 54 */ getParentBytes()55 com.google.protobuf.ByteString getParentBytes(); 56 57 /** 58 * 59 * 60 * <pre> 61 * Required. The submission that contains the content of the phishing report. 62 * </pre> 63 * 64 * <code> 65 * .google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED]; 66 * </code> 67 * 68 * @return Whether the submission field is set. 69 */ hasSubmission()70 boolean hasSubmission(); 71 /** 72 * 73 * 74 * <pre> 75 * Required. The submission that contains the content of the phishing report. 76 * </pre> 77 * 78 * <code> 79 * .google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED]; 80 * </code> 81 * 82 * @return The submission. 83 */ getSubmission()84 com.google.webrisk.v1.Submission getSubmission(); 85 /** 86 * 87 * 88 * <pre> 89 * Required. The submission that contains the content of the phishing report. 90 * </pre> 91 * 92 * <code> 93 * .google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED]; 94 * </code> 95 */ getSubmissionOrBuilder()96 com.google.webrisk.v1.SubmissionOrBuilder getSubmissionOrBuilder(); 97 } 98