• 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 ResourcePolicyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ResourcePolicy)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] Creation timestamp in RFC3339 text format.
31    * </pre>
32    *
33    * <code>optional string creation_timestamp = 30525366;</code>
34    *
35    * @return Whether the creationTimestamp field is set.
36    */
hasCreationTimestamp()37   boolean hasCreationTimestamp();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] Creation timestamp in RFC3339 text format.
43    * </pre>
44    *
45    * <code>optional string creation_timestamp = 30525366;</code>
46    *
47    * @return The creationTimestamp.
48    */
getCreationTimestamp()49   java.lang.String getCreationTimestamp();
50   /**
51    *
52    *
53    * <pre>
54    * [Output Only] Creation timestamp in RFC3339 text format.
55    * </pre>
56    *
57    * <code>optional string creation_timestamp = 30525366;</code>
58    *
59    * @return The bytes for creationTimestamp.
60    */
getCreationTimestampBytes()61   com.google.protobuf.ByteString getCreationTimestampBytes();
62 
63   /**
64    * <code>optional string description = 422937596;</code>
65    *
66    * @return Whether the description field is set.
67    */
hasDescription()68   boolean hasDescription();
69   /**
70    * <code>optional string description = 422937596;</code>
71    *
72    * @return The description.
73    */
getDescription()74   java.lang.String getDescription();
75   /**
76    * <code>optional string description = 422937596;</code>
77    *
78    * @return The bytes for description.
79    */
getDescriptionBytes()80   com.google.protobuf.ByteString getDescriptionBytes();
81 
82   /**
83    *
84    *
85    * <pre>
86    * Resource policy for instances for placement configuration.
87    * </pre>
88    *
89    * <code>
90    * optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
91    * </code>
92    *
93    * @return Whether the groupPlacementPolicy field is set.
94    */
hasGroupPlacementPolicy()95   boolean hasGroupPlacementPolicy();
96   /**
97    *
98    *
99    * <pre>
100    * Resource policy for instances for placement configuration.
101    * </pre>
102    *
103    * <code>
104    * optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
105    * </code>
106    *
107    * @return The groupPlacementPolicy.
108    */
getGroupPlacementPolicy()109   com.google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy getGroupPlacementPolicy();
110   /**
111    *
112    *
113    * <pre>
114    * Resource policy for instances for placement configuration.
115    * </pre>
116    *
117    * <code>
118    * optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
119    * </code>
120    */
121   com.google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicyOrBuilder
getGroupPlacementPolicyOrBuilder()122       getGroupPlacementPolicyOrBuilder();
123 
124   /**
125    *
126    *
127    * <pre>
128    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
129    * </pre>
130    *
131    * <code>optional uint64 id = 3355;</code>
132    *
133    * @return Whether the id field is set.
134    */
hasId()135   boolean hasId();
136   /**
137    *
138    *
139    * <pre>
140    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
141    * </pre>
142    *
143    * <code>optional uint64 id = 3355;</code>
144    *
145    * @return The id.
146    */
getId()147   long getId();
148 
149   /**
150    *
151    *
152    * <pre>
153    * Resource policy for scheduling instance operations.
154    * </pre>
155    *
156    * <code>
157    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
158    * </code>
159    *
160    * @return Whether the instanceSchedulePolicy field is set.
161    */
hasInstanceSchedulePolicy()162   boolean hasInstanceSchedulePolicy();
163   /**
164    *
165    *
166    * <pre>
167    * Resource policy for scheduling instance operations.
168    * </pre>
169    *
170    * <code>
171    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
172    * </code>
173    *
174    * @return The instanceSchedulePolicy.
175    */
getInstanceSchedulePolicy()176   com.google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy getInstanceSchedulePolicy();
177   /**
178    *
179    *
180    * <pre>
181    * Resource policy for scheduling instance operations.
182    * </pre>
183    *
184    * <code>
185    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
186    * </code>
187    */
188   com.google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicyOrBuilder
getInstanceSchedulePolicyOrBuilder()189       getInstanceSchedulePolicyOrBuilder();
190 
191   /**
192    *
193    *
194    * <pre>
195    * [Output Only] Type of the resource. Always compute#resource_policies for resource policies.
196    * </pre>
197    *
198    * <code>optional string kind = 3292052;</code>
199    *
200    * @return Whether the kind field is set.
201    */
hasKind()202   boolean hasKind();
203   /**
204    *
205    *
206    * <pre>
207    * [Output Only] Type of the resource. Always compute#resource_policies for resource policies.
208    * </pre>
209    *
210    * <code>optional string kind = 3292052;</code>
211    *
212    * @return The kind.
213    */
getKind()214   java.lang.String getKind();
215   /**
216    *
217    *
218    * <pre>
219    * [Output Only] Type of the resource. Always compute#resource_policies for resource policies.
220    * </pre>
221    *
222    * <code>optional string kind = 3292052;</code>
223    *
224    * @return The bytes for kind.
225    */
getKindBytes()226   com.google.protobuf.ByteString getKindBytes();
227 
228   /**
229    *
230    *
231    * <pre>
232    * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
233    * </pre>
234    *
235    * <code>optional string name = 3373707;</code>
236    *
237    * @return Whether the name field is set.
238    */
hasName()239   boolean hasName();
240   /**
241    *
242    *
243    * <pre>
244    * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
245    * </pre>
246    *
247    * <code>optional string name = 3373707;</code>
248    *
249    * @return The name.
250    */
getName()251   java.lang.String getName();
252   /**
253    *
254    *
255    * <pre>
256    * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
257    * </pre>
258    *
259    * <code>optional string name = 3373707;</code>
260    *
261    * @return The bytes for name.
262    */
getNameBytes()263   com.google.protobuf.ByteString getNameBytes();
264 
265   /**
266    * <code>optional string region = 138946292;</code>
267    *
268    * @return Whether the region field is set.
269    */
hasRegion()270   boolean hasRegion();
271   /**
272    * <code>optional string region = 138946292;</code>
273    *
274    * @return The region.
275    */
getRegion()276   java.lang.String getRegion();
277   /**
278    * <code>optional string region = 138946292;</code>
279    *
280    * @return The bytes for region.
281    */
getRegionBytes()282   com.google.protobuf.ByteString getRegionBytes();
283 
284   /**
285    *
286    *
287    * <pre>
288    * [Output Only] The system status of the resource policy.
289    * </pre>
290    *
291    * <code>
292    * optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
293    * </code>
294    *
295    * @return Whether the resourceStatus field is set.
296    */
hasResourceStatus()297   boolean hasResourceStatus();
298   /**
299    *
300    *
301    * <pre>
302    * [Output Only] The system status of the resource policy.
303    * </pre>
304    *
305    * <code>
306    * optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
307    * </code>
308    *
309    * @return The resourceStatus.
310    */
getResourceStatus()311   com.google.cloud.compute.v1.ResourcePolicyResourceStatus getResourceStatus();
312   /**
313    *
314    *
315    * <pre>
316    * [Output Only] The system status of the resource policy.
317    * </pre>
318    *
319    * <code>
320    * optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
321    * </code>
322    */
getResourceStatusOrBuilder()323   com.google.cloud.compute.v1.ResourcePolicyResourceStatusOrBuilder getResourceStatusOrBuilder();
324 
325   /**
326    *
327    *
328    * <pre>
329    * [Output Only] Server-defined fully-qualified URL for this resource.
330    * </pre>
331    *
332    * <code>optional string self_link = 456214797;</code>
333    *
334    * @return Whether the selfLink field is set.
335    */
hasSelfLink()336   boolean hasSelfLink();
337   /**
338    *
339    *
340    * <pre>
341    * [Output Only] Server-defined fully-qualified URL for this resource.
342    * </pre>
343    *
344    * <code>optional string self_link = 456214797;</code>
345    *
346    * @return The selfLink.
347    */
getSelfLink()348   java.lang.String getSelfLink();
349   /**
350    *
351    *
352    * <pre>
353    * [Output Only] Server-defined fully-qualified URL for this resource.
354    * </pre>
355    *
356    * <code>optional string self_link = 456214797;</code>
357    *
358    * @return The bytes for selfLink.
359    */
getSelfLinkBytes()360   com.google.protobuf.ByteString getSelfLinkBytes();
361 
362   /**
363    *
364    *
365    * <pre>
366    * Resource policy for persistent disks for creating snapshots.
367    * </pre>
368    *
369    * <code>
370    * optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
371    * </code>
372    *
373    * @return Whether the snapshotSchedulePolicy field is set.
374    */
hasSnapshotSchedulePolicy()375   boolean hasSnapshotSchedulePolicy();
376   /**
377    *
378    *
379    * <pre>
380    * Resource policy for persistent disks for creating snapshots.
381    * </pre>
382    *
383    * <code>
384    * optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
385    * </code>
386    *
387    * @return The snapshotSchedulePolicy.
388    */
getSnapshotSchedulePolicy()389   com.google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy getSnapshotSchedulePolicy();
390   /**
391    *
392    *
393    * <pre>
394    * Resource policy for persistent disks for creating snapshots.
395    * </pre>
396    *
397    * <code>
398    * optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
399    * </code>
400    */
401   com.google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyOrBuilder
getSnapshotSchedulePolicyOrBuilder()402       getSnapshotSchedulePolicyOrBuilder();
403 
404   /**
405    *
406    *
407    * <pre>
408    * [Output Only] The status of resource policy creation.
409    * Check the Status enum for the list of possible values.
410    * </pre>
411    *
412    * <code>optional string status = 181260274;</code>
413    *
414    * @return Whether the status field is set.
415    */
hasStatus()416   boolean hasStatus();
417   /**
418    *
419    *
420    * <pre>
421    * [Output Only] The status of resource policy creation.
422    * Check the Status enum for the list of possible values.
423    * </pre>
424    *
425    * <code>optional string status = 181260274;</code>
426    *
427    * @return The status.
428    */
getStatus()429   java.lang.String getStatus();
430   /**
431    *
432    *
433    * <pre>
434    * [Output Only] The status of resource policy creation.
435    * Check the Status enum for the list of possible values.
436    * </pre>
437    *
438    * <code>optional string status = 181260274;</code>
439    *
440    * @return The bytes for status.
441    */
getStatusBytes()442   com.google.protobuf.ByteString getStatusBytes();
443 }
444