• 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 CommitmentOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Commitment)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
31    * </pre>
32    *
33    * <code>optional bool auto_renew = 495520765;</code>
34    *
35    * @return Whether the autoRenew field is set.
36    */
hasAutoRenew()37   boolean hasAutoRenew();
38   /**
39    *
40    *
41    * <pre>
42    * Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
43    * </pre>
44    *
45    * <code>optional bool auto_renew = 495520765;</code>
46    *
47    * @return The autoRenew.
48    */
getAutoRenew()49   boolean getAutoRenew();
50 
51   /**
52    *
53    *
54    * <pre>
55    * The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
56    * Check the Category enum for the list of possible values.
57    * </pre>
58    *
59    * <code>optional string category = 50511102;</code>
60    *
61    * @return Whether the category field is set.
62    */
hasCategory()63   boolean hasCategory();
64   /**
65    *
66    *
67    * <pre>
68    * The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
69    * Check the Category enum for the list of possible values.
70    * </pre>
71    *
72    * <code>optional string category = 50511102;</code>
73    *
74    * @return The category.
75    */
getCategory()76   java.lang.String getCategory();
77   /**
78    *
79    *
80    * <pre>
81    * The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
82    * Check the Category enum for the list of possible values.
83    * </pre>
84    *
85    * <code>optional string category = 50511102;</code>
86    *
87    * @return The bytes for category.
88    */
getCategoryBytes()89   com.google.protobuf.ByteString getCategoryBytes();
90 
91   /**
92    *
93    *
94    * <pre>
95    * [Output Only] Creation timestamp in RFC3339 text format.
96    * </pre>
97    *
98    * <code>optional string creation_timestamp = 30525366;</code>
99    *
100    * @return Whether the creationTimestamp field is set.
101    */
hasCreationTimestamp()102   boolean hasCreationTimestamp();
103   /**
104    *
105    *
106    * <pre>
107    * [Output Only] Creation timestamp in RFC3339 text format.
108    * </pre>
109    *
110    * <code>optional string creation_timestamp = 30525366;</code>
111    *
112    * @return The creationTimestamp.
113    */
getCreationTimestamp()114   java.lang.String getCreationTimestamp();
115   /**
116    *
117    *
118    * <pre>
119    * [Output Only] Creation timestamp in RFC3339 text format.
120    * </pre>
121    *
122    * <code>optional string creation_timestamp = 30525366;</code>
123    *
124    * @return The bytes for creationTimestamp.
125    */
getCreationTimestampBytes()126   com.google.protobuf.ByteString getCreationTimestampBytes();
127 
128   /**
129    *
130    *
131    * <pre>
132    * An optional description of this resource. Provide this property when you create the resource.
133    * </pre>
134    *
135    * <code>optional string description = 422937596;</code>
136    *
137    * @return Whether the description field is set.
138    */
hasDescription()139   boolean hasDescription();
140   /**
141    *
142    *
143    * <pre>
144    * An optional description of this resource. Provide this property when you create the resource.
145    * </pre>
146    *
147    * <code>optional string description = 422937596;</code>
148    *
149    * @return The description.
150    */
getDescription()151   java.lang.String getDescription();
152   /**
153    *
154    *
155    * <pre>
156    * An optional description of this resource. Provide this property when you create the resource.
157    * </pre>
158    *
159    * <code>optional string description = 422937596;</code>
160    *
161    * @return The bytes for description.
162    */
getDescriptionBytes()163   com.google.protobuf.ByteString getDescriptionBytes();
164 
165   /**
166    *
167    *
168    * <pre>
169    * [Output Only] Commitment end time in RFC3339 text format.
170    * </pre>
171    *
172    * <code>optional string end_timestamp = 468096690;</code>
173    *
174    * @return Whether the endTimestamp field is set.
175    */
hasEndTimestamp()176   boolean hasEndTimestamp();
177   /**
178    *
179    *
180    * <pre>
181    * [Output Only] Commitment end time in RFC3339 text format.
182    * </pre>
183    *
184    * <code>optional string end_timestamp = 468096690;</code>
185    *
186    * @return The endTimestamp.
187    */
getEndTimestamp()188   java.lang.String getEndTimestamp();
189   /**
190    *
191    *
192    * <pre>
193    * [Output Only] Commitment end time in RFC3339 text format.
194    * </pre>
195    *
196    * <code>optional string end_timestamp = 468096690;</code>
197    *
198    * @return The bytes for endTimestamp.
199    */
getEndTimestampBytes()200   com.google.protobuf.ByteString getEndTimestampBytes();
201 
202   /**
203    *
204    *
205    * <pre>
206    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
207    * </pre>
208    *
209    * <code>optional uint64 id = 3355;</code>
210    *
211    * @return Whether the id field is set.
212    */
hasId()213   boolean hasId();
214   /**
215    *
216    *
217    * <pre>
218    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
219    * </pre>
220    *
221    * <code>optional uint64 id = 3355;</code>
222    *
223    * @return The id.
224    */
getId()225   long getId();
226 
227   /**
228    *
229    *
230    * <pre>
231    * [Output Only] Type of the resource. Always compute#commitment for commitments.
232    * </pre>
233    *
234    * <code>optional string kind = 3292052;</code>
235    *
236    * @return Whether the kind field is set.
237    */
hasKind()238   boolean hasKind();
239   /**
240    *
241    *
242    * <pre>
243    * [Output Only] Type of the resource. Always compute#commitment for commitments.
244    * </pre>
245    *
246    * <code>optional string kind = 3292052;</code>
247    *
248    * @return The kind.
249    */
getKind()250   java.lang.String getKind();
251   /**
252    *
253    *
254    * <pre>
255    * [Output Only] Type of the resource. Always compute#commitment for commitments.
256    * </pre>
257    *
258    * <code>optional string kind = 3292052;</code>
259    *
260    * @return The bytes for kind.
261    */
getKindBytes()262   com.google.protobuf.ByteString getKindBytes();
263 
264   /**
265    *
266    *
267    * <pre>
268    * The license specification required as part of a license commitment.
269    * </pre>
270    *
271    * <code>optional .google.cloud.compute.v1.LicenseResourceCommitment license_resource = 437955148;
272    * </code>
273    *
274    * @return Whether the licenseResource field is set.
275    */
hasLicenseResource()276   boolean hasLicenseResource();
277   /**
278    *
279    *
280    * <pre>
281    * The license specification required as part of a license commitment.
282    * </pre>
283    *
284    * <code>optional .google.cloud.compute.v1.LicenseResourceCommitment license_resource = 437955148;
285    * </code>
286    *
287    * @return The licenseResource.
288    */
getLicenseResource()289   com.google.cloud.compute.v1.LicenseResourceCommitment getLicenseResource();
290   /**
291    *
292    *
293    * <pre>
294    * The license specification required as part of a license commitment.
295    * </pre>
296    *
297    * <code>optional .google.cloud.compute.v1.LicenseResourceCommitment license_resource = 437955148;
298    * </code>
299    */
getLicenseResourceOrBuilder()300   com.google.cloud.compute.v1.LicenseResourceCommitmentOrBuilder getLicenseResourceOrBuilder();
301 
302   /**
303    *
304    *
305    * <pre>
306    * List of source commitments to be merged into a new commitment.
307    * </pre>
308    *
309    * <code>repeated string merge_source_commitments = 188093761;</code>
310    *
311    * @return A list containing the mergeSourceCommitments.
312    */
getMergeSourceCommitmentsList()313   java.util.List<java.lang.String> getMergeSourceCommitmentsList();
314   /**
315    *
316    *
317    * <pre>
318    * List of source commitments to be merged into a new commitment.
319    * </pre>
320    *
321    * <code>repeated string merge_source_commitments = 188093761;</code>
322    *
323    * @return The count of mergeSourceCommitments.
324    */
getMergeSourceCommitmentsCount()325   int getMergeSourceCommitmentsCount();
326   /**
327    *
328    *
329    * <pre>
330    * List of source commitments to be merged into a new commitment.
331    * </pre>
332    *
333    * <code>repeated string merge_source_commitments = 188093761;</code>
334    *
335    * @param index The index of the element to return.
336    * @return The mergeSourceCommitments at the given index.
337    */
getMergeSourceCommitments(int index)338   java.lang.String getMergeSourceCommitments(int index);
339   /**
340    *
341    *
342    * <pre>
343    * List of source commitments to be merged into a new commitment.
344    * </pre>
345    *
346    * <code>repeated string merge_source_commitments = 188093761;</code>
347    *
348    * @param index The index of the value to return.
349    * @return The bytes of the mergeSourceCommitments at the given index.
350    */
getMergeSourceCommitmentsBytes(int index)351   com.google.protobuf.ByteString getMergeSourceCommitmentsBytes(int index);
352 
353   /**
354    *
355    *
356    * <pre>
357    * Name of the resource. Provided by the client when the resource is created. The 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.
358    * </pre>
359    *
360    * <code>optional string name = 3373707;</code>
361    *
362    * @return Whether the name field is set.
363    */
hasName()364   boolean hasName();
365   /**
366    *
367    *
368    * <pre>
369    * Name of the resource. Provided by the client when the resource is created. The 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.
370    * </pre>
371    *
372    * <code>optional string name = 3373707;</code>
373    *
374    * @return The name.
375    */
getName()376   java.lang.String getName();
377   /**
378    *
379    *
380    * <pre>
381    * Name of the resource. Provided by the client when the resource is created. The 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.
382    * </pre>
383    *
384    * <code>optional string name = 3373707;</code>
385    *
386    * @return The bytes for name.
387    */
getNameBytes()388   com.google.protobuf.ByteString getNameBytes();
389 
390   /**
391    *
392    *
393    * <pre>
394    * The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
395    * Check the Plan enum for the list of possible values.
396    * </pre>
397    *
398    * <code>optional string plan = 3443497;</code>
399    *
400    * @return Whether the plan field is set.
401    */
hasPlan()402   boolean hasPlan();
403   /**
404    *
405    *
406    * <pre>
407    * The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
408    * Check the Plan enum for the list of possible values.
409    * </pre>
410    *
411    * <code>optional string plan = 3443497;</code>
412    *
413    * @return The plan.
414    */
getPlan()415   java.lang.String getPlan();
416   /**
417    *
418    *
419    * <pre>
420    * The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
421    * Check the Plan enum for the list of possible values.
422    * </pre>
423    *
424    * <code>optional string plan = 3443497;</code>
425    *
426    * @return The bytes for plan.
427    */
getPlanBytes()428   com.google.protobuf.ByteString getPlanBytes();
429 
430   /**
431    *
432    *
433    * <pre>
434    * [Output Only] URL of the region where this commitment may be used.
435    * </pre>
436    *
437    * <code>optional string region = 138946292;</code>
438    *
439    * @return Whether the region field is set.
440    */
hasRegion()441   boolean hasRegion();
442   /**
443    *
444    *
445    * <pre>
446    * [Output Only] URL of the region where this commitment may be used.
447    * </pre>
448    *
449    * <code>optional string region = 138946292;</code>
450    *
451    * @return The region.
452    */
getRegion()453   java.lang.String getRegion();
454   /**
455    *
456    *
457    * <pre>
458    * [Output Only] URL of the region where this commitment may be used.
459    * </pre>
460    *
461    * <code>optional string region = 138946292;</code>
462    *
463    * @return The bytes for region.
464    */
getRegionBytes()465   com.google.protobuf.ByteString getRegionBytes();
466 
467   /**
468    *
469    *
470    * <pre>
471    * List of reservations in this commitment.
472    * </pre>
473    *
474    * <code>repeated .google.cloud.compute.v1.Reservation reservations = 399717927;</code>
475    */
getReservationsList()476   java.util.List<com.google.cloud.compute.v1.Reservation> getReservationsList();
477   /**
478    *
479    *
480    * <pre>
481    * List of reservations in this commitment.
482    * </pre>
483    *
484    * <code>repeated .google.cloud.compute.v1.Reservation reservations = 399717927;</code>
485    */
getReservations(int index)486   com.google.cloud.compute.v1.Reservation getReservations(int index);
487   /**
488    *
489    *
490    * <pre>
491    * List of reservations in this commitment.
492    * </pre>
493    *
494    * <code>repeated .google.cloud.compute.v1.Reservation reservations = 399717927;</code>
495    */
getReservationsCount()496   int getReservationsCount();
497   /**
498    *
499    *
500    * <pre>
501    * List of reservations in this commitment.
502    * </pre>
503    *
504    * <code>repeated .google.cloud.compute.v1.Reservation reservations = 399717927;</code>
505    */
506   java.util.List<? extends com.google.cloud.compute.v1.ReservationOrBuilder>
getReservationsOrBuilderList()507       getReservationsOrBuilderList();
508   /**
509    *
510    *
511    * <pre>
512    * List of reservations in this commitment.
513    * </pre>
514    *
515    * <code>repeated .google.cloud.compute.v1.Reservation reservations = 399717927;</code>
516    */
getReservationsOrBuilder(int index)517   com.google.cloud.compute.v1.ReservationOrBuilder getReservationsOrBuilder(int index);
518 
519   /**
520    *
521    *
522    * <pre>
523    * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
524    * </pre>
525    *
526    * <code>repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;</code>
527    */
getResourcesList()528   java.util.List<com.google.cloud.compute.v1.ResourceCommitment> getResourcesList();
529   /**
530    *
531    *
532    * <pre>
533    * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
534    * </pre>
535    *
536    * <code>repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;</code>
537    */
getResources(int index)538   com.google.cloud.compute.v1.ResourceCommitment getResources(int index);
539   /**
540    *
541    *
542    * <pre>
543    * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
544    * </pre>
545    *
546    * <code>repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;</code>
547    */
getResourcesCount()548   int getResourcesCount();
549   /**
550    *
551    *
552    * <pre>
553    * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
554    * </pre>
555    *
556    * <code>repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;</code>
557    */
558   java.util.List<? extends com.google.cloud.compute.v1.ResourceCommitmentOrBuilder>
getResourcesOrBuilderList()559       getResourcesOrBuilderList();
560   /**
561    *
562    *
563    * <pre>
564    * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
565    * </pre>
566    *
567    * <code>repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;</code>
568    */
getResourcesOrBuilder(int index)569   com.google.cloud.compute.v1.ResourceCommitmentOrBuilder getResourcesOrBuilder(int index);
570 
571   /**
572    *
573    *
574    * <pre>
575    * [Output Only] Server-defined URL for the resource.
576    * </pre>
577    *
578    * <code>optional string self_link = 456214797;</code>
579    *
580    * @return Whether the selfLink field is set.
581    */
hasSelfLink()582   boolean hasSelfLink();
583   /**
584    *
585    *
586    * <pre>
587    * [Output Only] Server-defined URL for the resource.
588    * </pre>
589    *
590    * <code>optional string self_link = 456214797;</code>
591    *
592    * @return The selfLink.
593    */
getSelfLink()594   java.lang.String getSelfLink();
595   /**
596    *
597    *
598    * <pre>
599    * [Output Only] Server-defined URL for the resource.
600    * </pre>
601    *
602    * <code>optional string self_link = 456214797;</code>
603    *
604    * @return The bytes for selfLink.
605    */
getSelfLinkBytes()606   com.google.protobuf.ByteString getSelfLinkBytes();
607 
608   /**
609    *
610    *
611    * <pre>
612    * Source commitment to be splitted into a new commitment.
613    * </pre>
614    *
615    * <code>optional string split_source_commitment = 402611156;</code>
616    *
617    * @return Whether the splitSourceCommitment field is set.
618    */
hasSplitSourceCommitment()619   boolean hasSplitSourceCommitment();
620   /**
621    *
622    *
623    * <pre>
624    * Source commitment to be splitted into a new commitment.
625    * </pre>
626    *
627    * <code>optional string split_source_commitment = 402611156;</code>
628    *
629    * @return The splitSourceCommitment.
630    */
getSplitSourceCommitment()631   java.lang.String getSplitSourceCommitment();
632   /**
633    *
634    *
635    * <pre>
636    * Source commitment to be splitted into a new commitment.
637    * </pre>
638    *
639    * <code>optional string split_source_commitment = 402611156;</code>
640    *
641    * @return The bytes for splitSourceCommitment.
642    */
getSplitSourceCommitmentBytes()643   com.google.protobuf.ByteString getSplitSourceCommitmentBytes();
644 
645   /**
646    *
647    *
648    * <pre>
649    * [Output Only] Commitment start time in RFC3339 text format.
650    * </pre>
651    *
652    * <code>optional string start_timestamp = 83645817;</code>
653    *
654    * @return Whether the startTimestamp field is set.
655    */
hasStartTimestamp()656   boolean hasStartTimestamp();
657   /**
658    *
659    *
660    * <pre>
661    * [Output Only] Commitment start time in RFC3339 text format.
662    * </pre>
663    *
664    * <code>optional string start_timestamp = 83645817;</code>
665    *
666    * @return The startTimestamp.
667    */
getStartTimestamp()668   java.lang.String getStartTimestamp();
669   /**
670    *
671    *
672    * <pre>
673    * [Output Only] Commitment start time in RFC3339 text format.
674    * </pre>
675    *
676    * <code>optional string start_timestamp = 83645817;</code>
677    *
678    * @return The bytes for startTimestamp.
679    */
getStartTimestampBytes()680   com.google.protobuf.ByteString getStartTimestampBytes();
681 
682   /**
683    *
684    *
685    * <pre>
686    * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
687    * Check the Status enum for the list of possible values.
688    * </pre>
689    *
690    * <code>optional string status = 181260274;</code>
691    *
692    * @return Whether the status field is set.
693    */
hasStatus()694   boolean hasStatus();
695   /**
696    *
697    *
698    * <pre>
699    * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
700    * Check the Status enum for the list of possible values.
701    * </pre>
702    *
703    * <code>optional string status = 181260274;</code>
704    *
705    * @return The status.
706    */
getStatus()707   java.lang.String getStatus();
708   /**
709    *
710    *
711    * <pre>
712    * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
713    * Check the Status enum for the list of possible values.
714    * </pre>
715    *
716    * <code>optional string status = 181260274;</code>
717    *
718    * @return The bytes for status.
719    */
getStatusBytes()720   com.google.protobuf.ByteString getStatusBytes();
721 
722   /**
723    *
724    *
725    * <pre>
726    * [Output Only] An optional, human-readable explanation of the status.
727    * </pre>
728    *
729    * <code>optional string status_message = 297428154;</code>
730    *
731    * @return Whether the statusMessage field is set.
732    */
hasStatusMessage()733   boolean hasStatusMessage();
734   /**
735    *
736    *
737    * <pre>
738    * [Output Only] An optional, human-readable explanation of the status.
739    * </pre>
740    *
741    * <code>optional string status_message = 297428154;</code>
742    *
743    * @return The statusMessage.
744    */
getStatusMessage()745   java.lang.String getStatusMessage();
746   /**
747    *
748    *
749    * <pre>
750    * [Output Only] An optional, human-readable explanation of the status.
751    * </pre>
752    *
753    * <code>optional string status_message = 297428154;</code>
754    *
755    * @return The bytes for statusMessage.
756    */
getStatusMessageBytes()757   com.google.protobuf.ByteString getStatusMessageBytes();
758 
759   /**
760    *
761    *
762    * <pre>
763    * The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
764    * Check the Type enum for the list of possible values.
765    * </pre>
766    *
767    * <code>optional string type = 3575610;</code>
768    *
769    * @return Whether the type field is set.
770    */
hasType()771   boolean hasType();
772   /**
773    *
774    *
775    * <pre>
776    * The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
777    * Check the Type enum for the list of possible values.
778    * </pre>
779    *
780    * <code>optional string type = 3575610;</code>
781    *
782    * @return The type.
783    */
getType()784   java.lang.String getType();
785   /**
786    *
787    *
788    * <pre>
789    * The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
790    * Check the Type enum for the list of possible values.
791    * </pre>
792    *
793    * <code>optional string type = 3575610;</code>
794    *
795    * @return The bytes for type.
796    */
getTypeBytes()797   com.google.protobuf.ByteString getTypeBytes();
798 }
799