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/apigateway/v1/apigateway.proto 18 19 package com.google.cloud.apigateway.v1; 20 21 public interface CreateApiConfigRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.apigateway.v1.CreateApiConfigRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. Parent resource of the API Config, of the form: 31 * `projects/*/locations/global/apis/*` 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. Parent resource of the API Config, of the form: 46 * `projects/*/locations/global/apis/*` 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. Identifier to assign to the API Config. Must be unique within scope of 62 * the parent resource. 63 * </pre> 64 * 65 * <code>string api_config_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 66 * 67 * @return The apiConfigId. 68 */ getApiConfigId()69 java.lang.String getApiConfigId(); 70 /** 71 * 72 * 73 * <pre> 74 * Required. Identifier to assign to the API Config. Must be unique within scope of 75 * the parent resource. 76 * </pre> 77 * 78 * <code>string api_config_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 79 * 80 * @return The bytes for apiConfigId. 81 */ getApiConfigIdBytes()82 com.google.protobuf.ByteString getApiConfigIdBytes(); 83 84 /** 85 * 86 * 87 * <pre> 88 * Required. API resource. 89 * </pre> 90 * 91 * <code> 92 * .google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED]; 93 * </code> 94 * 95 * @return Whether the apiConfig field is set. 96 */ hasApiConfig()97 boolean hasApiConfig(); 98 /** 99 * 100 * 101 * <pre> 102 * Required. API resource. 103 * </pre> 104 * 105 * <code> 106 * .google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED]; 107 * </code> 108 * 109 * @return The apiConfig. 110 */ getApiConfig()111 com.google.cloud.apigateway.v1.ApiConfig getApiConfig(); 112 /** 113 * 114 * 115 * <pre> 116 * Required. API resource. 117 * </pre> 118 * 119 * <code> 120 * .google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED]; 121 * </code> 122 */ getApiConfigOrBuilder()123 com.google.cloud.apigateway.v1.ApiConfigOrBuilder getApiConfigOrBuilder(); 124 } 125