• 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 InstanceTemplateOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceTemplate)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] The creation timestamp for this instance template 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] The creation timestamp for this instance template 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] The creation timestamp for this instance template 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    *
65    *
66    * <pre>
67    * An optional description of this resource. Provide this property when you create the resource.
68    * </pre>
69    *
70    * <code>optional string description = 422937596;</code>
71    *
72    * @return Whether the description field is set.
73    */
hasDescription()74   boolean hasDescription();
75   /**
76    *
77    *
78    * <pre>
79    * An optional description of this resource. Provide this property when you create the resource.
80    * </pre>
81    *
82    * <code>optional string description = 422937596;</code>
83    *
84    * @return The description.
85    */
getDescription()86   java.lang.String getDescription();
87   /**
88    *
89    *
90    * <pre>
91    * An optional description of this resource. Provide this property when you create the resource.
92    * </pre>
93    *
94    * <code>optional string description = 422937596;</code>
95    *
96    * @return The bytes for description.
97    */
getDescriptionBytes()98   com.google.protobuf.ByteString getDescriptionBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * [Output Only] A unique identifier for this instance template. The server defines this identifier.
105    * </pre>
106    *
107    * <code>optional uint64 id = 3355;</code>
108    *
109    * @return Whether the id field is set.
110    */
hasId()111   boolean hasId();
112   /**
113    *
114    *
115    * <pre>
116    * [Output Only] A unique identifier for this instance template. The server defines this identifier.
117    * </pre>
118    *
119    * <code>optional uint64 id = 3355;</code>
120    *
121    * @return The id.
122    */
getId()123   long getId();
124 
125   /**
126    *
127    *
128    * <pre>
129    * [Output Only] The resource type, which is always compute#instanceTemplate for instance templates.
130    * </pre>
131    *
132    * <code>optional string kind = 3292052;</code>
133    *
134    * @return Whether the kind field is set.
135    */
hasKind()136   boolean hasKind();
137   /**
138    *
139    *
140    * <pre>
141    * [Output Only] The resource type, which is always compute#instanceTemplate for instance templates.
142    * </pre>
143    *
144    * <code>optional string kind = 3292052;</code>
145    *
146    * @return The kind.
147    */
getKind()148   java.lang.String getKind();
149   /**
150    *
151    *
152    * <pre>
153    * [Output Only] The resource type, which is always compute#instanceTemplate for instance templates.
154    * </pre>
155    *
156    * <code>optional string kind = 3292052;</code>
157    *
158    * @return The bytes for kind.
159    */
getKindBytes()160   com.google.protobuf.ByteString getKindBytes();
161 
162   /**
163    *
164    *
165    * <pre>
166    * 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.
167    * </pre>
168    *
169    * <code>optional string name = 3373707;</code>
170    *
171    * @return Whether the name field is set.
172    */
hasName()173   boolean hasName();
174   /**
175    *
176    *
177    * <pre>
178    * 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.
179    * </pre>
180    *
181    * <code>optional string name = 3373707;</code>
182    *
183    * @return The name.
184    */
getName()185   java.lang.String getName();
186   /**
187    *
188    *
189    * <pre>
190    * 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.
191    * </pre>
192    *
193    * <code>optional string name = 3373707;</code>
194    *
195    * @return The bytes for name.
196    */
getNameBytes()197   com.google.protobuf.ByteString getNameBytes();
198 
199   /**
200    *
201    *
202    * <pre>
203    * The instance properties for this instance template.
204    * </pre>
205    *
206    * <code>optional .google.cloud.compute.v1.InstanceProperties properties = 147688755;</code>
207    *
208    * @return Whether the properties field is set.
209    */
hasProperties()210   boolean hasProperties();
211   /**
212    *
213    *
214    * <pre>
215    * The instance properties for this instance template.
216    * </pre>
217    *
218    * <code>optional .google.cloud.compute.v1.InstanceProperties properties = 147688755;</code>
219    *
220    * @return The properties.
221    */
getProperties()222   com.google.cloud.compute.v1.InstanceProperties getProperties();
223   /**
224    *
225    *
226    * <pre>
227    * The instance properties for this instance template.
228    * </pre>
229    *
230    * <code>optional .google.cloud.compute.v1.InstanceProperties properties = 147688755;</code>
231    */
getPropertiesOrBuilder()232   com.google.cloud.compute.v1.InstancePropertiesOrBuilder getPropertiesOrBuilder();
233 
234   /**
235    *
236    *
237    * <pre>
238    * [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
239    * </pre>
240    *
241    * <code>optional string region = 138946292;</code>
242    *
243    * @return Whether the region field is set.
244    */
hasRegion()245   boolean hasRegion();
246   /**
247    *
248    *
249    * <pre>
250    * [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
251    * </pre>
252    *
253    * <code>optional string region = 138946292;</code>
254    *
255    * @return The region.
256    */
getRegion()257   java.lang.String getRegion();
258   /**
259    *
260    *
261    * <pre>
262    * [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
263    * </pre>
264    *
265    * <code>optional string region = 138946292;</code>
266    *
267    * @return The bytes for region.
268    */
getRegionBytes()269   com.google.protobuf.ByteString getRegionBytes();
270 
271   /**
272    *
273    *
274    * <pre>
275    * [Output Only] The URL for this instance template. The server defines this URL.
276    * </pre>
277    *
278    * <code>optional string self_link = 456214797;</code>
279    *
280    * @return Whether the selfLink field is set.
281    */
hasSelfLink()282   boolean hasSelfLink();
283   /**
284    *
285    *
286    * <pre>
287    * [Output Only] The URL for this instance template. The server defines this URL.
288    * </pre>
289    *
290    * <code>optional string self_link = 456214797;</code>
291    *
292    * @return The selfLink.
293    */
getSelfLink()294   java.lang.String getSelfLink();
295   /**
296    *
297    *
298    * <pre>
299    * [Output Only] The URL for this instance template. The server defines this URL.
300    * </pre>
301    *
302    * <code>optional string self_link = 456214797;</code>
303    *
304    * @return The bytes for selfLink.
305    */
getSelfLinkBytes()306   com.google.protobuf.ByteString getSelfLinkBytes();
307 
308   /**
309    *
310    *
311    * <pre>
312    * The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance
313    * </pre>
314    *
315    * <code>optional string source_instance = 396315705;</code>
316    *
317    * @return Whether the sourceInstance field is set.
318    */
hasSourceInstance()319   boolean hasSourceInstance();
320   /**
321    *
322    *
323    * <pre>
324    * The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance
325    * </pre>
326    *
327    * <code>optional string source_instance = 396315705;</code>
328    *
329    * @return The sourceInstance.
330    */
getSourceInstance()331   java.lang.String getSourceInstance();
332   /**
333    *
334    *
335    * <pre>
336    * The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance
337    * </pre>
338    *
339    * <code>optional string source_instance = 396315705;</code>
340    *
341    * @return The bytes for sourceInstance.
342    */
getSourceInstanceBytes()343   com.google.protobuf.ByteString getSourceInstanceBytes();
344 
345   /**
346    *
347    *
348    * <pre>
349    * The source instance params to use to create this instance template.
350    * </pre>
351    *
352    * <code>
353    * optional .google.cloud.compute.v1.SourceInstanceParams source_instance_params = 135342156;
354    * </code>
355    *
356    * @return Whether the sourceInstanceParams field is set.
357    */
hasSourceInstanceParams()358   boolean hasSourceInstanceParams();
359   /**
360    *
361    *
362    * <pre>
363    * The source instance params to use to create this instance template.
364    * </pre>
365    *
366    * <code>
367    * optional .google.cloud.compute.v1.SourceInstanceParams source_instance_params = 135342156;
368    * </code>
369    *
370    * @return The sourceInstanceParams.
371    */
getSourceInstanceParams()372   com.google.cloud.compute.v1.SourceInstanceParams getSourceInstanceParams();
373   /**
374    *
375    *
376    * <pre>
377    * The source instance params to use to create this instance template.
378    * </pre>
379    *
380    * <code>
381    * optional .google.cloud.compute.v1.SourceInstanceParams source_instance_params = 135342156;
382    * </code>
383    */
getSourceInstanceParamsOrBuilder()384   com.google.cloud.compute.v1.SourceInstanceParamsOrBuilder getSourceInstanceParamsOrBuilder();
385 }
386