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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface PatchSslPolicyRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchSslPolicyRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Project ID for this request. 31 * </pre> 32 * 33 * <code> 34 * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; 35 * </code> 36 * 37 * @return The project. 38 */ getProject()39 java.lang.String getProject(); 40 /** 41 * 42 * 43 * <pre> 44 * Project ID for this request. 45 * </pre> 46 * 47 * <code> 48 * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; 49 * </code> 50 * 51 * @return The bytes for project. 52 */ getProjectBytes()53 com.google.protobuf.ByteString getProjectBytes(); 54 55 /** 56 * 57 * 58 * <pre> 59 * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). 60 * </pre> 61 * 62 * <code>optional string request_id = 37109963;</code> 63 * 64 * @return Whether the requestId field is set. 65 */ hasRequestId()66 boolean hasRequestId(); 67 /** 68 * 69 * 70 * <pre> 71 * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). 72 * </pre> 73 * 74 * <code>optional string request_id = 37109963;</code> 75 * 76 * @return The requestId. 77 */ getRequestId()78 java.lang.String getRequestId(); 79 /** 80 * 81 * 82 * <pre> 83 * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). 84 * </pre> 85 * 86 * <code>optional string request_id = 37109963;</code> 87 * 88 * @return The bytes for requestId. 89 */ getRequestIdBytes()90 com.google.protobuf.ByteString getRequestIdBytes(); 91 92 /** 93 * 94 * 95 * <pre> 96 * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. 97 * </pre> 98 * 99 * <code>string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];</code> 100 * 101 * @return The sslPolicy. 102 */ getSslPolicy()103 java.lang.String getSslPolicy(); 104 /** 105 * 106 * 107 * <pre> 108 * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. 109 * </pre> 110 * 111 * <code>string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];</code> 112 * 113 * @return The bytes for sslPolicy. 114 */ getSslPolicyBytes()115 com.google.protobuf.ByteString getSslPolicyBytes(); 116 117 /** 118 * 119 * 120 * <pre> 121 * The body resource for this request 122 * </pre> 123 * 124 * <code> 125 * .google.cloud.compute.v1.SslPolicy ssl_policy_resource = 274891848 [(.google.api.field_behavior) = REQUIRED]; 126 * </code> 127 * 128 * @return Whether the sslPolicyResource field is set. 129 */ hasSslPolicyResource()130 boolean hasSslPolicyResource(); 131 /** 132 * 133 * 134 * <pre> 135 * The body resource for this request 136 * </pre> 137 * 138 * <code> 139 * .google.cloud.compute.v1.SslPolicy ssl_policy_resource = 274891848 [(.google.api.field_behavior) = REQUIRED]; 140 * </code> 141 * 142 * @return The sslPolicyResource. 143 */ getSslPolicyResource()144 com.google.cloud.compute.v1.SslPolicy getSslPolicyResource(); 145 /** 146 * 147 * 148 * <pre> 149 * The body resource for this request 150 * </pre> 151 * 152 * <code> 153 * .google.cloud.compute.v1.SslPolicy ssl_policy_resource = 274891848 [(.google.api.field_behavior) = REQUIRED]; 154 * </code> 155 */ getSslPolicyResourceOrBuilder()156 com.google.cloud.compute.v1.SslPolicyOrBuilder getSslPolicyResourceOrBuilder(); 157 } 158