• 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 ProjectOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Project)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
31    * </pre>
32    *
33    * <code>optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;</code>
34    *
35    * @return Whether the commonInstanceMetadata field is set.
36    */
hasCommonInstanceMetadata()37   boolean hasCommonInstanceMetadata();
38   /**
39    *
40    *
41    * <pre>
42    * Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
43    * </pre>
44    *
45    * <code>optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;</code>
46    *
47    * @return The commonInstanceMetadata.
48    */
getCommonInstanceMetadata()49   com.google.cloud.compute.v1.Metadata getCommonInstanceMetadata();
50   /**
51    *
52    *
53    * <pre>
54    * Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
55    * </pre>
56    *
57    * <code>optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;</code>
58    */
getCommonInstanceMetadataOrBuilder()59   com.google.cloud.compute.v1.MetadataOrBuilder getCommonInstanceMetadataOrBuilder();
60 
61   /**
62    *
63    *
64    * <pre>
65    * [Output Only] Creation timestamp in RFC3339 text format.
66    * </pre>
67    *
68    * <code>optional string creation_timestamp = 30525366;</code>
69    *
70    * @return Whether the creationTimestamp field is set.
71    */
hasCreationTimestamp()72   boolean hasCreationTimestamp();
73   /**
74    *
75    *
76    * <pre>
77    * [Output Only] Creation timestamp in RFC3339 text format.
78    * </pre>
79    *
80    * <code>optional string creation_timestamp = 30525366;</code>
81    *
82    * @return The creationTimestamp.
83    */
getCreationTimestamp()84   java.lang.String getCreationTimestamp();
85   /**
86    *
87    *
88    * <pre>
89    * [Output Only] Creation timestamp in RFC3339 text format.
90    * </pre>
91    *
92    * <code>optional string creation_timestamp = 30525366;</code>
93    *
94    * @return The bytes for creationTimestamp.
95    */
getCreationTimestampBytes()96   com.google.protobuf.ByteString getCreationTimestampBytes();
97 
98   /**
99    *
100    *
101    * <pre>
102    * This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.
103    * Check the DefaultNetworkTier enum for the list of possible values.
104    * </pre>
105    *
106    * <code>optional string default_network_tier = 471753361;</code>
107    *
108    * @return Whether the defaultNetworkTier field is set.
109    */
hasDefaultNetworkTier()110   boolean hasDefaultNetworkTier();
111   /**
112    *
113    *
114    * <pre>
115    * This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.
116    * Check the DefaultNetworkTier enum for the list of possible values.
117    * </pre>
118    *
119    * <code>optional string default_network_tier = 471753361;</code>
120    *
121    * @return The defaultNetworkTier.
122    */
getDefaultNetworkTier()123   java.lang.String getDefaultNetworkTier();
124   /**
125    *
126    *
127    * <pre>
128    * This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.
129    * Check the DefaultNetworkTier enum for the list of possible values.
130    * </pre>
131    *
132    * <code>optional string default_network_tier = 471753361;</code>
133    *
134    * @return The bytes for defaultNetworkTier.
135    */
getDefaultNetworkTierBytes()136   com.google.protobuf.ByteString getDefaultNetworkTierBytes();
137 
138   /**
139    *
140    *
141    * <pre>
142    * [Output Only] Default service account used by VMs running in this project.
143    * </pre>
144    *
145    * <code>optional string default_service_account = 298712229;</code>
146    *
147    * @return Whether the defaultServiceAccount field is set.
148    */
hasDefaultServiceAccount()149   boolean hasDefaultServiceAccount();
150   /**
151    *
152    *
153    * <pre>
154    * [Output Only] Default service account used by VMs running in this project.
155    * </pre>
156    *
157    * <code>optional string default_service_account = 298712229;</code>
158    *
159    * @return The defaultServiceAccount.
160    */
getDefaultServiceAccount()161   java.lang.String getDefaultServiceAccount();
162   /**
163    *
164    *
165    * <pre>
166    * [Output Only] Default service account used by VMs running in this project.
167    * </pre>
168    *
169    * <code>optional string default_service_account = 298712229;</code>
170    *
171    * @return The bytes for defaultServiceAccount.
172    */
getDefaultServiceAccountBytes()173   com.google.protobuf.ByteString getDefaultServiceAccountBytes();
174 
175   /**
176    *
177    *
178    * <pre>
179    * An optional textual description of the resource.
180    * </pre>
181    *
182    * <code>optional string description = 422937596;</code>
183    *
184    * @return Whether the description field is set.
185    */
hasDescription()186   boolean hasDescription();
187   /**
188    *
189    *
190    * <pre>
191    * An optional textual description of the resource.
192    * </pre>
193    *
194    * <code>optional string description = 422937596;</code>
195    *
196    * @return The description.
197    */
getDescription()198   java.lang.String getDescription();
199   /**
200    *
201    *
202    * <pre>
203    * An optional textual description of the resource.
204    * </pre>
205    *
206    * <code>optional string description = 422937596;</code>
207    *
208    * @return The bytes for description.
209    */
getDescriptionBytes()210   com.google.protobuf.ByteString getDescriptionBytes();
211 
212   /**
213    *
214    *
215    * <pre>
216    * Restricted features enabled for use on this project.
217    * </pre>
218    *
219    * <code>repeated string enabled_features = 469017467;</code>
220    *
221    * @return A list containing the enabledFeatures.
222    */
getEnabledFeaturesList()223   java.util.List<java.lang.String> getEnabledFeaturesList();
224   /**
225    *
226    *
227    * <pre>
228    * Restricted features enabled for use on this project.
229    * </pre>
230    *
231    * <code>repeated string enabled_features = 469017467;</code>
232    *
233    * @return The count of enabledFeatures.
234    */
getEnabledFeaturesCount()235   int getEnabledFeaturesCount();
236   /**
237    *
238    *
239    * <pre>
240    * Restricted features enabled for use on this project.
241    * </pre>
242    *
243    * <code>repeated string enabled_features = 469017467;</code>
244    *
245    * @param index The index of the element to return.
246    * @return The enabledFeatures at the given index.
247    */
getEnabledFeatures(int index)248   java.lang.String getEnabledFeatures(int index);
249   /**
250    *
251    *
252    * <pre>
253    * Restricted features enabled for use on this project.
254    * </pre>
255    *
256    * <code>repeated string enabled_features = 469017467;</code>
257    *
258    * @param index The index of the value to return.
259    * @return The bytes of the enabledFeatures at the given index.
260    */
getEnabledFeaturesBytes(int index)261   com.google.protobuf.ByteString getEnabledFeaturesBytes(int index);
262 
263   /**
264    *
265    *
266    * <pre>
267    * [Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources.
268    * </pre>
269    *
270    * <code>optional uint64 id = 3355;</code>
271    *
272    * @return Whether the id field is set.
273    */
hasId()274   boolean hasId();
275   /**
276    *
277    *
278    * <pre>
279    * [Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources.
280    * </pre>
281    *
282    * <code>optional uint64 id = 3355;</code>
283    *
284    * @return The id.
285    */
getId()286   long getId();
287 
288   /**
289    *
290    *
291    * <pre>
292    * [Output Only] Type of the resource. Always compute#project for projects.
293    * </pre>
294    *
295    * <code>optional string kind = 3292052;</code>
296    *
297    * @return Whether the kind field is set.
298    */
hasKind()299   boolean hasKind();
300   /**
301    *
302    *
303    * <pre>
304    * [Output Only] Type of the resource. Always compute#project for projects.
305    * </pre>
306    *
307    * <code>optional string kind = 3292052;</code>
308    *
309    * @return The kind.
310    */
getKind()311   java.lang.String getKind();
312   /**
313    *
314    *
315    * <pre>
316    * [Output Only] Type of the resource. Always compute#project for projects.
317    * </pre>
318    *
319    * <code>optional string kind = 3292052;</code>
320    *
321    * @return The bytes for kind.
322    */
getKindBytes()323   com.google.protobuf.ByteString getKindBytes();
324 
325   /**
326    *
327    *
328    * <pre>
329    * The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
330    * </pre>
331    *
332    * <code>optional string name = 3373707;</code>
333    *
334    * @return Whether the name field is set.
335    */
hasName()336   boolean hasName();
337   /**
338    *
339    *
340    * <pre>
341    * The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
342    * </pre>
343    *
344    * <code>optional string name = 3373707;</code>
345    *
346    * @return The name.
347    */
getName()348   java.lang.String getName();
349   /**
350    *
351    *
352    * <pre>
353    * The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
354    * </pre>
355    *
356    * <code>optional string name = 3373707;</code>
357    *
358    * @return The bytes for name.
359    */
getNameBytes()360   com.google.protobuf.ByteString getNameBytes();
361 
362   /**
363    *
364    *
365    * <pre>
366    * [Output Only] Quotas assigned to this project.
367    * </pre>
368    *
369    * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code>
370    */
getQuotasList()371   java.util.List<com.google.cloud.compute.v1.Quota> getQuotasList();
372   /**
373    *
374    *
375    * <pre>
376    * [Output Only] Quotas assigned to this project.
377    * </pre>
378    *
379    * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code>
380    */
getQuotas(int index)381   com.google.cloud.compute.v1.Quota getQuotas(int index);
382   /**
383    *
384    *
385    * <pre>
386    * [Output Only] Quotas assigned to this project.
387    * </pre>
388    *
389    * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code>
390    */
getQuotasCount()391   int getQuotasCount();
392   /**
393    *
394    *
395    * <pre>
396    * [Output Only] Quotas assigned to this project.
397    * </pre>
398    *
399    * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code>
400    */
getQuotasOrBuilderList()401   java.util.List<? extends com.google.cloud.compute.v1.QuotaOrBuilder> getQuotasOrBuilderList();
402   /**
403    *
404    *
405    * <pre>
406    * [Output Only] Quotas assigned to this project.
407    * </pre>
408    *
409    * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code>
410    */
getQuotasOrBuilder(int index)411   com.google.cloud.compute.v1.QuotaOrBuilder getQuotasOrBuilder(int index);
412 
413   /**
414    *
415    *
416    * <pre>
417    * [Output Only] Server-defined URL for the resource.
418    * </pre>
419    *
420    * <code>optional string self_link = 456214797;</code>
421    *
422    * @return Whether the selfLink field is set.
423    */
hasSelfLink()424   boolean hasSelfLink();
425   /**
426    *
427    *
428    * <pre>
429    * [Output Only] Server-defined URL for the resource.
430    * </pre>
431    *
432    * <code>optional string self_link = 456214797;</code>
433    *
434    * @return The selfLink.
435    */
getSelfLink()436   java.lang.String getSelfLink();
437   /**
438    *
439    *
440    * <pre>
441    * [Output Only] Server-defined URL for the resource.
442    * </pre>
443    *
444    * <code>optional string self_link = 456214797;</code>
445    *
446    * @return The bytes for selfLink.
447    */
getSelfLinkBytes()448   com.google.protobuf.ByteString getSelfLinkBytes();
449 
450   /**
451    *
452    *
453    * <pre>
454    * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
455    * </pre>
456    *
457    * <code>optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;
458    * </code>
459    *
460    * @return Whether the usageExportLocation field is set.
461    */
hasUsageExportLocation()462   boolean hasUsageExportLocation();
463   /**
464    *
465    *
466    * <pre>
467    * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
468    * </pre>
469    *
470    * <code>optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;
471    * </code>
472    *
473    * @return The usageExportLocation.
474    */
getUsageExportLocation()475   com.google.cloud.compute.v1.UsageExportLocation getUsageExportLocation();
476   /**
477    *
478    *
479    * <pre>
480    * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
481    * </pre>
482    *
483    * <code>optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;
484    * </code>
485    */
getUsageExportLocationOrBuilder()486   com.google.cloud.compute.v1.UsageExportLocationOrBuilder getUsageExportLocationOrBuilder();
487 
488   /**
489    *
490    *
491    * <pre>
492    * [Output Only] Default internal DNS setting used by VMs running in this project.
493    * Check the VmDnsSetting enum for the list of possible values.
494    * </pre>
495    *
496    * <code>optional string vm_dns_setting = 58856370;</code>
497    *
498    * @return Whether the vmDnsSetting field is set.
499    */
hasVmDnsSetting()500   boolean hasVmDnsSetting();
501   /**
502    *
503    *
504    * <pre>
505    * [Output Only] Default internal DNS setting used by VMs running in this project.
506    * Check the VmDnsSetting enum for the list of possible values.
507    * </pre>
508    *
509    * <code>optional string vm_dns_setting = 58856370;</code>
510    *
511    * @return The vmDnsSetting.
512    */
getVmDnsSetting()513   java.lang.String getVmDnsSetting();
514   /**
515    *
516    *
517    * <pre>
518    * [Output Only] Default internal DNS setting used by VMs running in this project.
519    * Check the VmDnsSetting enum for the list of possible values.
520    * </pre>
521    *
522    * <code>optional string vm_dns_setting = 58856370;</code>
523    *
524    * @return The bytes for vmDnsSetting.
525    */
getVmDnsSettingBytes()526   com.google.protobuf.ByteString getVmDnsSettingBytes();
527 
528   /**
529    *
530    *
531    * <pre>
532    * [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.
533    * Check the XpnProjectStatus enum for the list of possible values.
534    * </pre>
535    *
536    * <code>optional string xpn_project_status = 228419265;</code>
537    *
538    * @return Whether the xpnProjectStatus field is set.
539    */
hasXpnProjectStatus()540   boolean hasXpnProjectStatus();
541   /**
542    *
543    *
544    * <pre>
545    * [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.
546    * Check the XpnProjectStatus enum for the list of possible values.
547    * </pre>
548    *
549    * <code>optional string xpn_project_status = 228419265;</code>
550    *
551    * @return The xpnProjectStatus.
552    */
getXpnProjectStatus()553   java.lang.String getXpnProjectStatus();
554   /**
555    *
556    *
557    * <pre>
558    * [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.
559    * Check the XpnProjectStatus enum for the list of possible values.
560    * </pre>
561    *
562    * <code>optional string xpn_project_status = 228419265;</code>
563    *
564    * @return The bytes for xpnProjectStatus.
565    */
getXpnProjectStatusBytes()566   com.google.protobuf.ByteString getXpnProjectStatusBytes();
567 }
568