• 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/vmmigration/v1/vmmigration.proto
18 
19 package com.google.cloud.vmmigration.v1;
20 
21 public interface ComputeEngineTargetDefaultsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The name of the VM to create.
31    * </pre>
32    *
33    * <code>string vm_name = 1;</code>
34    *
35    * @return The vmName.
36    */
getVmName()37   java.lang.String getVmName();
38   /**
39    *
40    *
41    * <pre>
42    * The name of the VM to create.
43    * </pre>
44    *
45    * <code>string vm_name = 1;</code>
46    *
47    * @return The bytes for vmName.
48    */
getVmNameBytes()49   com.google.protobuf.ByteString getVmNameBytes();
50 
51   /**
52    *
53    *
54    * <pre>
55    * The full path of the resource of type TargetProject which represents the
56    * Compute Engine project in which to create this VM.
57    * </pre>
58    *
59    * <code>string target_project = 2 [(.google.api.resource_reference) = { ... }</code>
60    *
61    * @return The targetProject.
62    */
getTargetProject()63   java.lang.String getTargetProject();
64   /**
65    *
66    *
67    * <pre>
68    * The full path of the resource of type TargetProject which represents the
69    * Compute Engine project in which to create this VM.
70    * </pre>
71    *
72    * <code>string target_project = 2 [(.google.api.resource_reference) = { ... }</code>
73    *
74    * @return The bytes for targetProject.
75    */
getTargetProjectBytes()76   com.google.protobuf.ByteString getTargetProjectBytes();
77 
78   /**
79    *
80    *
81    * <pre>
82    * The zone in which to create the VM.
83    * </pre>
84    *
85    * <code>string zone = 3;</code>
86    *
87    * @return The zone.
88    */
getZone()89   java.lang.String getZone();
90   /**
91    *
92    *
93    * <pre>
94    * The zone in which to create the VM.
95    * </pre>
96    *
97    * <code>string zone = 3;</code>
98    *
99    * @return The bytes for zone.
100    */
getZoneBytes()101   com.google.protobuf.ByteString getZoneBytes();
102 
103   /**
104    *
105    *
106    * <pre>
107    * The machine type series to create the VM with.
108    * </pre>
109    *
110    * <code>string machine_type_series = 4;</code>
111    *
112    * @return The machineTypeSeries.
113    */
getMachineTypeSeries()114   java.lang.String getMachineTypeSeries();
115   /**
116    *
117    *
118    * <pre>
119    * The machine type series to create the VM with.
120    * </pre>
121    *
122    * <code>string machine_type_series = 4;</code>
123    *
124    * @return The bytes for machineTypeSeries.
125    */
getMachineTypeSeriesBytes()126   com.google.protobuf.ByteString getMachineTypeSeriesBytes();
127 
128   /**
129    *
130    *
131    * <pre>
132    * The machine type to create the VM with.
133    * </pre>
134    *
135    * <code>string machine_type = 5;</code>
136    *
137    * @return The machineType.
138    */
getMachineType()139   java.lang.String getMachineType();
140   /**
141    *
142    *
143    * <pre>
144    * The machine type to create the VM with.
145    * </pre>
146    *
147    * <code>string machine_type = 5;</code>
148    *
149    * @return The bytes for machineType.
150    */
getMachineTypeBytes()151   com.google.protobuf.ByteString getMachineTypeBytes();
152 
153   /**
154    *
155    *
156    * <pre>
157    * A map of network tags to associate with the VM.
158    * </pre>
159    *
160    * <code>repeated string network_tags = 6;</code>
161    *
162    * @return A list containing the networkTags.
163    */
getNetworkTagsList()164   java.util.List<java.lang.String> getNetworkTagsList();
165   /**
166    *
167    *
168    * <pre>
169    * A map of network tags to associate with the VM.
170    * </pre>
171    *
172    * <code>repeated string network_tags = 6;</code>
173    *
174    * @return The count of networkTags.
175    */
getNetworkTagsCount()176   int getNetworkTagsCount();
177   /**
178    *
179    *
180    * <pre>
181    * A map of network tags to associate with the VM.
182    * </pre>
183    *
184    * <code>repeated string network_tags = 6;</code>
185    *
186    * @param index The index of the element to return.
187    * @return The networkTags at the given index.
188    */
getNetworkTags(int index)189   java.lang.String getNetworkTags(int index);
190   /**
191    *
192    *
193    * <pre>
194    * A map of network tags to associate with the VM.
195    * </pre>
196    *
197    * <code>repeated string network_tags = 6;</code>
198    *
199    * @param index The index of the value to return.
200    * @return The bytes of the networkTags at the given index.
201    */
getNetworkTagsBytes(int index)202   com.google.protobuf.ByteString getNetworkTagsBytes(int index);
203 
204   /**
205    *
206    *
207    * <pre>
208    * List of NICs connected to this VM.
209    * </pre>
210    *
211    * <code>repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;</code>
212    */
getNetworkInterfacesList()213   java.util.List<com.google.cloud.vmmigration.v1.NetworkInterface> getNetworkInterfacesList();
214   /**
215    *
216    *
217    * <pre>
218    * List of NICs connected to this VM.
219    * </pre>
220    *
221    * <code>repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;</code>
222    */
getNetworkInterfaces(int index)223   com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int index);
224   /**
225    *
226    *
227    * <pre>
228    * List of NICs connected to this VM.
229    * </pre>
230    *
231    * <code>repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;</code>
232    */
getNetworkInterfacesCount()233   int getNetworkInterfacesCount();
234   /**
235    *
236    *
237    * <pre>
238    * List of NICs connected to this VM.
239    * </pre>
240    *
241    * <code>repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;</code>
242    */
243   java.util.List<? extends com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>
getNetworkInterfacesOrBuilderList()244       getNetworkInterfacesOrBuilderList();
245   /**
246    *
247    *
248    * <pre>
249    * List of NICs connected to this VM.
250    * </pre>
251    *
252    * <code>repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;</code>
253    */
getNetworkInterfacesOrBuilder( int index)254   com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(
255       int index);
256 
257   /**
258    *
259    *
260    * <pre>
261    * The service account to associate the VM with.
262    * </pre>
263    *
264    * <code>string service_account = 8;</code>
265    *
266    * @return The serviceAccount.
267    */
getServiceAccount()268   java.lang.String getServiceAccount();
269   /**
270    *
271    *
272    * <pre>
273    * The service account to associate the VM with.
274    * </pre>
275    *
276    * <code>string service_account = 8;</code>
277    *
278    * @return The bytes for serviceAccount.
279    */
getServiceAccountBytes()280   com.google.protobuf.ByteString getServiceAccountBytes();
281 
282   /**
283    *
284    *
285    * <pre>
286    * The disk type to use in the VM.
287    * </pre>
288    *
289    * <code>.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;</code>
290    *
291    * @return The enum numeric value on the wire for diskType.
292    */
getDiskTypeValue()293   int getDiskTypeValue();
294   /**
295    *
296    *
297    * <pre>
298    * The disk type to use in the VM.
299    * </pre>
300    *
301    * <code>.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;</code>
302    *
303    * @return The diskType.
304    */
getDiskType()305   com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType();
306 
307   /**
308    *
309    *
310    * <pre>
311    * A map of labels to associate with the VM.
312    * </pre>
313    *
314    * <code>map&lt;string, string&gt; labels = 10;</code>
315    */
getLabelsCount()316   int getLabelsCount();
317   /**
318    *
319    *
320    * <pre>
321    * A map of labels to associate with the VM.
322    * </pre>
323    *
324    * <code>map&lt;string, string&gt; labels = 10;</code>
325    */
containsLabels(java.lang.String key)326   boolean containsLabels(java.lang.String key);
327   /** Use {@link #getLabelsMap()} instead. */
328   @java.lang.Deprecated
getLabels()329   java.util.Map<java.lang.String, java.lang.String> getLabels();
330   /**
331    *
332    *
333    * <pre>
334    * A map of labels to associate with the VM.
335    * </pre>
336    *
337    * <code>map&lt;string, string&gt; labels = 10;</code>
338    */
getLabelsMap()339   java.util.Map<java.lang.String, java.lang.String> getLabelsMap();
340   /**
341    *
342    *
343    * <pre>
344    * A map of labels to associate with the VM.
345    * </pre>
346    *
347    * <code>map&lt;string, string&gt; labels = 10;</code>
348    */
349   /* nullable */
getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)350   java.lang.String getLabelsOrDefault(
351       java.lang.String key,
352       /* nullable */
353       java.lang.String defaultValue);
354   /**
355    *
356    *
357    * <pre>
358    * A map of labels to associate with the VM.
359    * </pre>
360    *
361    * <code>map&lt;string, string&gt; labels = 10;</code>
362    */
getLabelsOrThrow(java.lang.String key)363   java.lang.String getLabelsOrThrow(java.lang.String key);
364 
365   /**
366    *
367    *
368    * <pre>
369    * The license type to use in OS adaptation.
370    * </pre>
371    *
372    * <code>.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;</code>
373    *
374    * @return The enum numeric value on the wire for licenseType.
375    */
getLicenseTypeValue()376   int getLicenseTypeValue();
377   /**
378    *
379    *
380    * <pre>
381    * The license type to use in OS adaptation.
382    * </pre>
383    *
384    * <code>.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;</code>
385    *
386    * @return The licenseType.
387    */
getLicenseType()388   com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType();
389 
390   /**
391    *
392    *
393    * <pre>
394    * Output only. The OS license returned from the adaptation module report.
395    * </pre>
396    *
397    * <code>
398    * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
399    * </code>
400    *
401    * @return Whether the appliedLicense field is set.
402    */
hasAppliedLicense()403   boolean hasAppliedLicense();
404   /**
405    *
406    *
407    * <pre>
408    * Output only. The OS license returned from the adaptation module report.
409    * </pre>
410    *
411    * <code>
412    * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
413    * </code>
414    *
415    * @return The appliedLicense.
416    */
getAppliedLicense()417   com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense();
418   /**
419    *
420    *
421    * <pre>
422    * Output only. The OS license returned from the adaptation module report.
423    * </pre>
424    *
425    * <code>
426    * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
427    * </code>
428    */
getAppliedLicenseOrBuilder()429   com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder();
430 
431   /**
432    *
433    *
434    * <pre>
435    * Compute instance scheduling information (if empty default is used).
436    * </pre>
437    *
438    * <code>.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;</code>
439    *
440    * @return Whether the computeScheduling field is set.
441    */
hasComputeScheduling()442   boolean hasComputeScheduling();
443   /**
444    *
445    *
446    * <pre>
447    * Compute instance scheduling information (if empty default is used).
448    * </pre>
449    *
450    * <code>.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;</code>
451    *
452    * @return The computeScheduling.
453    */
getComputeScheduling()454   com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling();
455   /**
456    *
457    *
458    * <pre>
459    * Compute instance scheduling information (if empty default is used).
460    * </pre>
461    *
462    * <code>.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;</code>
463    */
getComputeSchedulingOrBuilder()464   com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder();
465 
466   /**
467    *
468    *
469    * <pre>
470    * Defines whether the instance has Secure Boot enabled.
471    * This can be set to true only if the vm boot option is EFI.
472    * </pre>
473    *
474    * <code>bool secure_boot = 14;</code>
475    *
476    * @return The secureBoot.
477    */
getSecureBoot()478   boolean getSecureBoot();
479 
480   /**
481    *
482    *
483    * <pre>
484    * Output only. The VM Boot Option, as set in the source vm.
485    * </pre>
486    *
487    * <code>
488    * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
489    * </code>
490    *
491    * @return The enum numeric value on the wire for bootOption.
492    */
getBootOptionValue()493   int getBootOptionValue();
494   /**
495    *
496    *
497    * <pre>
498    * Output only. The VM Boot Option, as set in the source vm.
499    * </pre>
500    *
501    * <code>
502    * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
503    * </code>
504    *
505    * @return The bootOption.
506    */
getBootOption()507   com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption();
508 
509   /**
510    *
511    *
512    * <pre>
513    * The metadata key/value pairs to assign to the VM.
514    * </pre>
515    *
516    * <code>map&lt;string, string&gt; metadata = 16;</code>
517    */
getMetadataCount()518   int getMetadataCount();
519   /**
520    *
521    *
522    * <pre>
523    * The metadata key/value pairs to assign to the VM.
524    * </pre>
525    *
526    * <code>map&lt;string, string&gt; metadata = 16;</code>
527    */
containsMetadata(java.lang.String key)528   boolean containsMetadata(java.lang.String key);
529   /** Use {@link #getMetadataMap()} instead. */
530   @java.lang.Deprecated
getMetadata()531   java.util.Map<java.lang.String, java.lang.String> getMetadata();
532   /**
533    *
534    *
535    * <pre>
536    * The metadata key/value pairs to assign to the VM.
537    * </pre>
538    *
539    * <code>map&lt;string, string&gt; metadata = 16;</code>
540    */
getMetadataMap()541   java.util.Map<java.lang.String, java.lang.String> getMetadataMap();
542   /**
543    *
544    *
545    * <pre>
546    * The metadata key/value pairs to assign to the VM.
547    * </pre>
548    *
549    * <code>map&lt;string, string&gt; metadata = 16;</code>
550    */
551   /* nullable */
getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue)552   java.lang.String getMetadataOrDefault(
553       java.lang.String key,
554       /* nullable */
555       java.lang.String defaultValue);
556   /**
557    *
558    *
559    * <pre>
560    * The metadata key/value pairs to assign to the VM.
561    * </pre>
562    *
563    * <code>map&lt;string, string&gt; metadata = 16;</code>
564    */
getMetadataOrThrow(java.lang.String key)565   java.lang.String getMetadataOrThrow(java.lang.String key);
566 
567   /**
568    *
569    *
570    * <pre>
571    * Additional licenses to assign to the VM.
572    * </pre>
573    *
574    * <code>repeated string additional_licenses = 17;</code>
575    *
576    * @return A list containing the additionalLicenses.
577    */
getAdditionalLicensesList()578   java.util.List<java.lang.String> getAdditionalLicensesList();
579   /**
580    *
581    *
582    * <pre>
583    * Additional licenses to assign to the VM.
584    * </pre>
585    *
586    * <code>repeated string additional_licenses = 17;</code>
587    *
588    * @return The count of additionalLicenses.
589    */
getAdditionalLicensesCount()590   int getAdditionalLicensesCount();
591   /**
592    *
593    *
594    * <pre>
595    * Additional licenses to assign to the VM.
596    * </pre>
597    *
598    * <code>repeated string additional_licenses = 17;</code>
599    *
600    * @param index The index of the element to return.
601    * @return The additionalLicenses at the given index.
602    */
getAdditionalLicenses(int index)603   java.lang.String getAdditionalLicenses(int index);
604   /**
605    *
606    *
607    * <pre>
608    * Additional licenses to assign to the VM.
609    * </pre>
610    *
611    * <code>repeated string additional_licenses = 17;</code>
612    *
613    * @param index The index of the value to return.
614    * @return The bytes of the additionalLicenses at the given index.
615    */
getAdditionalLicensesBytes(int index)616   com.google.protobuf.ByteString getAdditionalLicensesBytes(int index);
617 
618   /**
619    *
620    *
621    * <pre>
622    * The hostname to assign to the VM.
623    * </pre>
624    *
625    * <code>string hostname = 18;</code>
626    *
627    * @return The hostname.
628    */
getHostname()629   java.lang.String getHostname();
630   /**
631    *
632    *
633    * <pre>
634    * The hostname to assign to the VM.
635    * </pre>
636    *
637    * <code>string hostname = 18;</code>
638    *
639    * @return The bytes for hostname.
640    */
getHostnameBytes()641   com.google.protobuf.ByteString getHostnameBytes();
642 }
643