• 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/dataproc/v1/clusters.proto
18 
19 package com.google.cloud.dataproc.v1;
20 
21 public interface LifecycleConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.LifecycleConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Optional. The duration to keep the cluster alive while idling (when no jobs
31    * are running). Passing this threshold will cause the cluster to be
32    * deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
33    * representation of
34    * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
35    * </pre>
36    *
37    * <code>.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
38    * </code>
39    *
40    * @return Whether the idleDeleteTtl field is set.
41    */
hasIdleDeleteTtl()42   boolean hasIdleDeleteTtl();
43   /**
44    *
45    *
46    * <pre>
47    * Optional. The duration to keep the cluster alive while idling (when no jobs
48    * are running). Passing this threshold will cause the cluster to be
49    * deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
50    * representation of
51    * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
52    * </pre>
53    *
54    * <code>.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
55    * </code>
56    *
57    * @return The idleDeleteTtl.
58    */
getIdleDeleteTtl()59   com.google.protobuf.Duration getIdleDeleteTtl();
60   /**
61    *
62    *
63    * <pre>
64    * Optional. The duration to keep the cluster alive while idling (when no jobs
65    * are running). Passing this threshold will cause the cluster to be
66    * deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
67    * representation of
68    * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
69    * </pre>
70    *
71    * <code>.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
72    * </code>
73    */
getIdleDeleteTtlOrBuilder()74   com.google.protobuf.DurationOrBuilder getIdleDeleteTtlOrBuilder();
75 
76   /**
77    *
78    *
79    * <pre>
80    * Optional. The time when cluster will be auto-deleted (see JSON
81    * representation of
82    * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
83    * </pre>
84    *
85    * <code>
86    * .google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
87    * </code>
88    *
89    * @return Whether the autoDeleteTime field is set.
90    */
hasAutoDeleteTime()91   boolean hasAutoDeleteTime();
92   /**
93    *
94    *
95    * <pre>
96    * Optional. The time when cluster will be auto-deleted (see JSON
97    * representation of
98    * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
99    * </pre>
100    *
101    * <code>
102    * .google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
103    * </code>
104    *
105    * @return The autoDeleteTime.
106    */
getAutoDeleteTime()107   com.google.protobuf.Timestamp getAutoDeleteTime();
108   /**
109    *
110    *
111    * <pre>
112    * Optional. The time when cluster will be auto-deleted (see JSON
113    * representation of
114    * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
115    * </pre>
116    *
117    * <code>
118    * .google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];
119    * </code>
120    */
getAutoDeleteTimeOrBuilder()121   com.google.protobuf.TimestampOrBuilder getAutoDeleteTimeOrBuilder();
122 
123   /**
124    *
125    *
126    * <pre>
127    * Optional. The lifetime duration of cluster. The cluster will be
128    * auto-deleted at the end of this period. Minimum value is 10 minutes;
129    * maximum value is 14 days (see JSON representation of
130    * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
131    * </pre>
132    *
133    * <code>.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
134    * </code>
135    *
136    * @return Whether the autoDeleteTtl field is set.
137    */
hasAutoDeleteTtl()138   boolean hasAutoDeleteTtl();
139   /**
140    *
141    *
142    * <pre>
143    * Optional. The lifetime duration of cluster. The cluster will be
144    * auto-deleted at the end of this period. Minimum value is 10 minutes;
145    * maximum value is 14 days (see JSON representation of
146    * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
147    * </pre>
148    *
149    * <code>.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
150    * </code>
151    *
152    * @return The autoDeleteTtl.
153    */
getAutoDeleteTtl()154   com.google.protobuf.Duration getAutoDeleteTtl();
155   /**
156    *
157    *
158    * <pre>
159    * Optional. The lifetime duration of cluster. The cluster will be
160    * auto-deleted at the end of this period. Minimum value is 10 minutes;
161    * maximum value is 14 days (see JSON representation of
162    * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
163    * </pre>
164    *
165    * <code>.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
166    * </code>
167    */
getAutoDeleteTtlOrBuilder()168   com.google.protobuf.DurationOrBuilder getAutoDeleteTtlOrBuilder();
169 
170   /**
171    *
172    *
173    * <pre>
174    * Output only. The time when cluster became idle (most recent job finished)
175    * and became eligible for deletion due to idleness (see JSON representation
176    * of
177    * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
178    * </pre>
179    *
180    * <code>
181    * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
182    * </code>
183    *
184    * @return Whether the idleStartTime field is set.
185    */
hasIdleStartTime()186   boolean hasIdleStartTime();
187   /**
188    *
189    *
190    * <pre>
191    * Output only. The time when cluster became idle (most recent job finished)
192    * and became eligible for deletion due to idleness (see JSON representation
193    * of
194    * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
195    * </pre>
196    *
197    * <code>
198    * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
199    * </code>
200    *
201    * @return The idleStartTime.
202    */
getIdleStartTime()203   com.google.protobuf.Timestamp getIdleStartTime();
204   /**
205    *
206    *
207    * <pre>
208    * Output only. The time when cluster became idle (most recent job finished)
209    * and became eligible for deletion due to idleness (see JSON representation
210    * of
211    * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
212    * </pre>
213    *
214    * <code>
215    * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
216    * </code>
217    */
getIdleStartTimeOrBuilder()218   com.google.protobuf.TimestampOrBuilder getIdleStartTimeOrBuilder();
219 
getTtlCase()220   public com.google.cloud.dataproc.v1.LifecycleConfig.TtlCase getTtlCase();
221 }
222