• 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 NodeGroupMaintenanceWindowOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NodeGroupMaintenanceWindow)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
31    * </pre>
32    *
33    * <code>optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;</code>
34    *
35    * @return Whether the maintenanceDuration field is set.
36    */
hasMaintenanceDuration()37   boolean hasMaintenanceDuration();
38   /**
39    *
40    *
41    * <pre>
42    * [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
43    * </pre>
44    *
45    * <code>optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;</code>
46    *
47    * @return The maintenanceDuration.
48    */
getMaintenanceDuration()49   com.google.cloud.compute.v1.Duration getMaintenanceDuration();
50   /**
51    *
52    *
53    * <pre>
54    * [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
55    * </pre>
56    *
57    * <code>optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;</code>
58    */
getMaintenanceDurationOrBuilder()59   com.google.cloud.compute.v1.DurationOrBuilder getMaintenanceDurationOrBuilder();
60 
61   /**
62    *
63    *
64    * <pre>
65    * Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
66    * </pre>
67    *
68    * <code>optional string start_time = 37467274;</code>
69    *
70    * @return Whether the startTime field is set.
71    */
hasStartTime()72   boolean hasStartTime();
73   /**
74    *
75    *
76    * <pre>
77    * Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
78    * </pre>
79    *
80    * <code>optional string start_time = 37467274;</code>
81    *
82    * @return The startTime.
83    */
getStartTime()84   java.lang.String getStartTime();
85   /**
86    *
87    *
88    * <pre>
89    * Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
90    * </pre>
91    *
92    * <code>optional string start_time = 37467274;</code>
93    *
94    * @return The bytes for startTime.
95    */
getStartTimeBytes()96   com.google.protobuf.ByteString getStartTimeBytes();
97 }
98