• 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 UpdateRouterRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.UpdateRouterRequest)
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    * Name of the region for this request.
60    * </pre>
61    *
62    * <code>
63    * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];
64    * </code>
65    *
66    * @return The region.
67    */
getRegion()68   java.lang.String getRegion();
69   /**
70    *
71    *
72    * <pre>
73    * Name of the region for this request.
74    * </pre>
75    *
76    * <code>
77    * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];
78    * </code>
79    *
80    * @return The bytes for region.
81    */
getRegionBytes()82   com.google.protobuf.ByteString getRegionBytes();
83 
84   /**
85    *
86    *
87    * <pre>
88    * 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).
89    * </pre>
90    *
91    * <code>optional string request_id = 37109963;</code>
92    *
93    * @return Whether the requestId field is set.
94    */
hasRequestId()95   boolean hasRequestId();
96   /**
97    *
98    *
99    * <pre>
100    * 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).
101    * </pre>
102    *
103    * <code>optional string request_id = 37109963;</code>
104    *
105    * @return The requestId.
106    */
getRequestId()107   java.lang.String getRequestId();
108   /**
109    *
110    *
111    * <pre>
112    * 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).
113    * </pre>
114    *
115    * <code>optional string request_id = 37109963;</code>
116    *
117    * @return The bytes for requestId.
118    */
getRequestIdBytes()119   com.google.protobuf.ByteString getRequestIdBytes();
120 
121   /**
122    *
123    *
124    * <pre>
125    * Name of the Router resource to update.
126    * </pre>
127    *
128    * <code>string router = 148608841 [(.google.api.field_behavior) = REQUIRED];</code>
129    *
130    * @return The router.
131    */
getRouter()132   java.lang.String getRouter();
133   /**
134    *
135    *
136    * <pre>
137    * Name of the Router resource to update.
138    * </pre>
139    *
140    * <code>string router = 148608841 [(.google.api.field_behavior) = REQUIRED];</code>
141    *
142    * @return The bytes for router.
143    */
getRouterBytes()144   com.google.protobuf.ByteString getRouterBytes();
145 
146   /**
147    *
148    *
149    * <pre>
150    * The body resource for this request
151    * </pre>
152    *
153    * <code>
154    * .google.cloud.compute.v1.Router router_resource = 155222084 [(.google.api.field_behavior) = REQUIRED];
155    * </code>
156    *
157    * @return Whether the routerResource field is set.
158    */
hasRouterResource()159   boolean hasRouterResource();
160   /**
161    *
162    *
163    * <pre>
164    * The body resource for this request
165    * </pre>
166    *
167    * <code>
168    * .google.cloud.compute.v1.Router router_resource = 155222084 [(.google.api.field_behavior) = REQUIRED];
169    * </code>
170    *
171    * @return The routerResource.
172    */
getRouterResource()173   com.google.cloud.compute.v1.Router getRouterResource();
174   /**
175    *
176    *
177    * <pre>
178    * The body resource for this request
179    * </pre>
180    *
181    * <code>
182    * .google.cloud.compute.v1.Router router_resource = 155222084 [(.google.api.field_behavior) = REQUIRED];
183    * </code>
184    */
getRouterResourceOrBuilder()185   com.google.cloud.compute.v1.RouterOrBuilder getRouterResourceOrBuilder();
186 }
187