• 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 ResourcePolicyInstanceSchedulePolicyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The expiration time of the schedule. The timestamp is an RFC3339 string.
31    * </pre>
32    *
33    * <code>optional string expiration_time = 230299229;</code>
34    *
35    * @return Whether the expirationTime field is set.
36    */
hasExpirationTime()37   boolean hasExpirationTime();
38   /**
39    *
40    *
41    * <pre>
42    * The expiration time of the schedule. The timestamp is an RFC3339 string.
43    * </pre>
44    *
45    * <code>optional string expiration_time = 230299229;</code>
46    *
47    * @return The expirationTime.
48    */
getExpirationTime()49   java.lang.String getExpirationTime();
50   /**
51    *
52    *
53    * <pre>
54    * The expiration time of the schedule. The timestamp is an RFC3339 string.
55    * </pre>
56    *
57    * <code>optional string expiration_time = 230299229;</code>
58    *
59    * @return The bytes for expirationTime.
60    */
getExpirationTimeBytes()61   com.google.protobuf.ByteString getExpirationTimeBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * The start time of the schedule. The timestamp is an RFC3339 string.
68    * </pre>
69    *
70    * <code>optional string start_time = 37467274;</code>
71    *
72    * @return Whether the startTime field is set.
73    */
hasStartTime()74   boolean hasStartTime();
75   /**
76    *
77    *
78    * <pre>
79    * The start time of the schedule. The timestamp is an RFC3339 string.
80    * </pre>
81    *
82    * <code>optional string start_time = 37467274;</code>
83    *
84    * @return The startTime.
85    */
getStartTime()86   java.lang.String getStartTime();
87   /**
88    *
89    *
90    * <pre>
91    * The start time of the schedule. The timestamp is an RFC3339 string.
92    * </pre>
93    *
94    * <code>optional string start_time = 37467274;</code>
95    *
96    * @return The bytes for startTime.
97    */
getStartTimeBytes()98   com.google.protobuf.ByteString getStartTimeBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
105    * </pre>
106    *
107    * <code>optional string time_zone = 36848094;</code>
108    *
109    * @return Whether the timeZone field is set.
110    */
hasTimeZone()111   boolean hasTimeZone();
112   /**
113    *
114    *
115    * <pre>
116    * Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
117    * </pre>
118    *
119    * <code>optional string time_zone = 36848094;</code>
120    *
121    * @return The timeZone.
122    */
getTimeZone()123   java.lang.String getTimeZone();
124   /**
125    *
126    *
127    * <pre>
128    * Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
129    * </pre>
130    *
131    * <code>optional string time_zone = 36848094;</code>
132    *
133    * @return The bytes for timeZone.
134    */
getTimeZoneBytes()135   com.google.protobuf.ByteString getTimeZoneBytes();
136 
137   /**
138    *
139    *
140    * <pre>
141    * Specifies the schedule for starting instances.
142    * </pre>
143    *
144    * <code>
145    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
146    * </code>
147    *
148    * @return Whether the vmStartSchedule field is set.
149    */
hasVmStartSchedule()150   boolean hasVmStartSchedule();
151   /**
152    *
153    *
154    * <pre>
155    * Specifies the schedule for starting instances.
156    * </pre>
157    *
158    * <code>
159    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
160    * </code>
161    *
162    * @return The vmStartSchedule.
163    */
getVmStartSchedule()164   com.google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule getVmStartSchedule();
165   /**
166    *
167    *
168    * <pre>
169    * Specifies the schedule for starting instances.
170    * </pre>
171    *
172    * <code>
173    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
174    * </code>
175    */
176   com.google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder
getVmStartScheduleOrBuilder()177       getVmStartScheduleOrBuilder();
178 
179   /**
180    *
181    *
182    * <pre>
183    * Specifies the schedule for stopping instances.
184    * </pre>
185    *
186    * <code>
187    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
188    * </code>
189    *
190    * @return Whether the vmStopSchedule field is set.
191    */
hasVmStopSchedule()192   boolean hasVmStopSchedule();
193   /**
194    *
195    *
196    * <pre>
197    * Specifies the schedule for stopping instances.
198    * </pre>
199    *
200    * <code>
201    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
202    * </code>
203    *
204    * @return The vmStopSchedule.
205    */
getVmStopSchedule()206   com.google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule getVmStopSchedule();
207   /**
208    *
209    *
210    * <pre>
211    * Specifies the schedule for stopping instances.
212    * </pre>
213    *
214    * <code>
215    * optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
216    * </code>
217    */
218   com.google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder
getVmStopScheduleOrBuilder()219       getVmStopScheduleOrBuilder();
220 }
221