• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 PatchAutoscalerRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchAutoscalerRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Name of the autoscaler to patch.
31    * </pre>
32    *
33    * <code>optional string autoscaler = 517258967;</code>
34    *
35    * @return Whether the autoscaler field is set.
36    */
hasAutoscaler()37   boolean hasAutoscaler();
38   /**
39    *
40    *
41    * <pre>
42    * Name of the autoscaler to patch.
43    * </pre>
44    *
45    * <code>optional string autoscaler = 517258967;</code>
46    *
47    * @return The autoscaler.
48    */
getAutoscaler()49   java.lang.String getAutoscaler();
50   /**
51    *
52    *
53    * <pre>
54    * Name of the autoscaler to patch.
55    * </pre>
56    *
57    * <code>optional string autoscaler = 517258967;</code>
58    *
59    * @return The bytes for autoscaler.
60    */
getAutoscalerBytes()61   com.google.protobuf.ByteString getAutoscalerBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * The body resource for this request
68    * </pre>
69    *
70    * <code>
71    * .google.cloud.compute.v1.Autoscaler autoscaler_resource = 207616118 [(.google.api.field_behavior) = REQUIRED];
72    * </code>
73    *
74    * @return Whether the autoscalerResource field is set.
75    */
hasAutoscalerResource()76   boolean hasAutoscalerResource();
77   /**
78    *
79    *
80    * <pre>
81    * The body resource for this request
82    * </pre>
83    *
84    * <code>
85    * .google.cloud.compute.v1.Autoscaler autoscaler_resource = 207616118 [(.google.api.field_behavior) = REQUIRED];
86    * </code>
87    *
88    * @return The autoscalerResource.
89    */
getAutoscalerResource()90   com.google.cloud.compute.v1.Autoscaler getAutoscalerResource();
91   /**
92    *
93    *
94    * <pre>
95    * The body resource for this request
96    * </pre>
97    *
98    * <code>
99    * .google.cloud.compute.v1.Autoscaler autoscaler_resource = 207616118 [(.google.api.field_behavior) = REQUIRED];
100    * </code>
101    */
getAutoscalerResourceOrBuilder()102   com.google.cloud.compute.v1.AutoscalerOrBuilder getAutoscalerResourceOrBuilder();
103 
104   /**
105    *
106    *
107    * <pre>
108    * Project ID for this request.
109    * </pre>
110    *
111    * <code>
112    * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
113    * </code>
114    *
115    * @return The project.
116    */
getProject()117   java.lang.String getProject();
118   /**
119    *
120    *
121    * <pre>
122    * Project ID for this request.
123    * </pre>
124    *
125    * <code>
126    * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
127    * </code>
128    *
129    * @return The bytes for project.
130    */
getProjectBytes()131   com.google.protobuf.ByteString getProjectBytes();
132 
133   /**
134    *
135    *
136    * <pre>
137    * 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).
138    * </pre>
139    *
140    * <code>optional string request_id = 37109963;</code>
141    *
142    * @return Whether the requestId field is set.
143    */
hasRequestId()144   boolean hasRequestId();
145   /**
146    *
147    *
148    * <pre>
149    * 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).
150    * </pre>
151    *
152    * <code>optional string request_id = 37109963;</code>
153    *
154    * @return The requestId.
155    */
getRequestId()156   java.lang.String getRequestId();
157   /**
158    *
159    *
160    * <pre>
161    * 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).
162    * </pre>
163    *
164    * <code>optional string request_id = 37109963;</code>
165    *
166    * @return The bytes for requestId.
167    */
getRequestIdBytes()168   com.google.protobuf.ByteString getRequestIdBytes();
169 
170   /**
171    *
172    *
173    * <pre>
174    * Name of the zone for this request.
175    * </pre>
176    *
177    * <code>
178    * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
179    * </code>
180    *
181    * @return The zone.
182    */
getZone()183   java.lang.String getZone();
184   /**
185    *
186    *
187    * <pre>
188    * Name of the zone for this request.
189    * </pre>
190    *
191    * <code>
192    * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
193    * </code>
194    *
195    * @return The bytes for zone.
196    */
getZoneBytes()197   com.google.protobuf.ByteString getZoneBytes();
198 }
199