• 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 LicenseOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.License)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
31    * </pre>
32    *
33    * <code>optional bool charges_use_fee = 372412622;</code>
34    *
35    * @return Whether the chargesUseFee field is set.
36    */
hasChargesUseFee()37   boolean hasChargesUseFee();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
43    * </pre>
44    *
45    * <code>optional bool charges_use_fee = 372412622;</code>
46    *
47    * @return The chargesUseFee.
48    */
getChargesUseFee()49   boolean getChargesUseFee();
50 
51   /**
52    *
53    *
54    * <pre>
55    * [Output Only] Creation timestamp in RFC3339 text format.
56    * </pre>
57    *
58    * <code>optional string creation_timestamp = 30525366;</code>
59    *
60    * @return Whether the creationTimestamp field is set.
61    */
hasCreationTimestamp()62   boolean hasCreationTimestamp();
63   /**
64    *
65    *
66    * <pre>
67    * [Output Only] Creation timestamp in RFC3339 text format.
68    * </pre>
69    *
70    * <code>optional string creation_timestamp = 30525366;</code>
71    *
72    * @return The creationTimestamp.
73    */
getCreationTimestamp()74   java.lang.String getCreationTimestamp();
75   /**
76    *
77    *
78    * <pre>
79    * [Output Only] Creation timestamp in RFC3339 text format.
80    * </pre>
81    *
82    * <code>optional string creation_timestamp = 30525366;</code>
83    *
84    * @return The bytes for creationTimestamp.
85    */
getCreationTimestampBytes()86   com.google.protobuf.ByteString getCreationTimestampBytes();
87 
88   /**
89    *
90    *
91    * <pre>
92    * An optional textual description of the resource; provided by the client when the resource is created.
93    * </pre>
94    *
95    * <code>optional string description = 422937596;</code>
96    *
97    * @return Whether the description field is set.
98    */
hasDescription()99   boolean hasDescription();
100   /**
101    *
102    *
103    * <pre>
104    * An optional textual description of the resource; provided by the client when the resource is created.
105    * </pre>
106    *
107    * <code>optional string description = 422937596;</code>
108    *
109    * @return The description.
110    */
getDescription()111   java.lang.String getDescription();
112   /**
113    *
114    *
115    * <pre>
116    * An optional textual description of the resource; provided by the client when the resource is created.
117    * </pre>
118    *
119    * <code>optional string description = 422937596;</code>
120    *
121    * @return The bytes for description.
122    */
getDescriptionBytes()123   com.google.protobuf.ByteString getDescriptionBytes();
124 
125   /**
126    *
127    *
128    * <pre>
129    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
130    * </pre>
131    *
132    * <code>optional uint64 id = 3355;</code>
133    *
134    * @return Whether the id field is set.
135    */
hasId()136   boolean hasId();
137   /**
138    *
139    *
140    * <pre>
141    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
142    * </pre>
143    *
144    * <code>optional uint64 id = 3355;</code>
145    *
146    * @return The id.
147    */
getId()148   long getId();
149 
150   /**
151    *
152    *
153    * <pre>
154    * [Output Only] Type of resource. Always compute#license for licenses.
155    * </pre>
156    *
157    * <code>optional string kind = 3292052;</code>
158    *
159    * @return Whether the kind field is set.
160    */
hasKind()161   boolean hasKind();
162   /**
163    *
164    *
165    * <pre>
166    * [Output Only] Type of resource. Always compute#license for licenses.
167    * </pre>
168    *
169    * <code>optional string kind = 3292052;</code>
170    *
171    * @return The kind.
172    */
getKind()173   java.lang.String getKind();
174   /**
175    *
176    *
177    * <pre>
178    * [Output Only] Type of resource. Always compute#license for licenses.
179    * </pre>
180    *
181    * <code>optional string kind = 3292052;</code>
182    *
183    * @return The bytes for kind.
184    */
getKindBytes()185   com.google.protobuf.ByteString getKindBytes();
186 
187   /**
188    *
189    *
190    * <pre>
191    * [Output Only] The unique code used to attach this license to images, snapshots, and disks.
192    * </pre>
193    *
194    * <code>optional uint64 license_code = 1467179;</code>
195    *
196    * @return Whether the licenseCode field is set.
197    */
hasLicenseCode()198   boolean hasLicenseCode();
199   /**
200    *
201    *
202    * <pre>
203    * [Output Only] The unique code used to attach this license to images, snapshots, and disks.
204    * </pre>
205    *
206    * <code>optional uint64 license_code = 1467179;</code>
207    *
208    * @return The licenseCode.
209    */
getLicenseCode()210   long getLicenseCode();
211 
212   /**
213    *
214    *
215    * <pre>
216    * Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
217    * </pre>
218    *
219    * <code>optional string name = 3373707;</code>
220    *
221    * @return Whether the name field is set.
222    */
hasName()223   boolean hasName();
224   /**
225    *
226    *
227    * <pre>
228    * Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
229    * </pre>
230    *
231    * <code>optional string name = 3373707;</code>
232    *
233    * @return The name.
234    */
getName()235   java.lang.String getName();
236   /**
237    *
238    *
239    * <pre>
240    * Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
241    * </pre>
242    *
243    * <code>optional string name = 3373707;</code>
244    *
245    * @return The bytes for name.
246    */
getNameBytes()247   com.google.protobuf.ByteString getNameBytes();
248 
249   /**
250    * <code>
251    * optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
252    * </code>
253    *
254    * @return Whether the resourceRequirements field is set.
255    */
hasResourceRequirements()256   boolean hasResourceRequirements();
257   /**
258    * <code>
259    * optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
260    * </code>
261    *
262    * @return The resourceRequirements.
263    */
getResourceRequirements()264   com.google.cloud.compute.v1.LicenseResourceRequirements getResourceRequirements();
265   /**
266    * <code>
267    * optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
268    * </code>
269    */
270   com.google.cloud.compute.v1.LicenseResourceRequirementsOrBuilder
getResourceRequirementsOrBuilder()271       getResourceRequirementsOrBuilder();
272 
273   /**
274    *
275    *
276    * <pre>
277    * [Output Only] Server-defined URL for the resource.
278    * </pre>
279    *
280    * <code>optional string self_link = 456214797;</code>
281    *
282    * @return Whether the selfLink field is set.
283    */
hasSelfLink()284   boolean hasSelfLink();
285   /**
286    *
287    *
288    * <pre>
289    * [Output Only] Server-defined URL for the resource.
290    * </pre>
291    *
292    * <code>optional string self_link = 456214797;</code>
293    *
294    * @return The selfLink.
295    */
getSelfLink()296   java.lang.String getSelfLink();
297   /**
298    *
299    *
300    * <pre>
301    * [Output Only] Server-defined URL for the resource.
302    * </pre>
303    *
304    * <code>optional string self_link = 456214797;</code>
305    *
306    * @return The bytes for selfLink.
307    */
getSelfLinkBytes()308   com.google.protobuf.ByteString getSelfLinkBytes();
309 
310   /**
311    *
312    *
313    * <pre>
314    * If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
315    * </pre>
316    *
317    * <code>optional bool transferable = 4349893;</code>
318    *
319    * @return Whether the transferable field is set.
320    */
hasTransferable()321   boolean hasTransferable();
322   /**
323    *
324    *
325    * <pre>
326    * If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
327    * </pre>
328    *
329    * <code>optional bool transferable = 4349893;</code>
330    *
331    * @return The transferable.
332    */
getTransferable()333   boolean getTransferable();
334 }
335