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/container/v1/cluster_service.proto 18 19 package com.google.container.v1; 20 21 public interface NodeManagementOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.container.v1.NodeManagement) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * A flag that specifies whether node auto-upgrade is enabled for the node 31 * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool 32 * up to date with the latest release version of Kubernetes. 33 * </pre> 34 * 35 * <code>bool auto_upgrade = 1;</code> 36 * 37 * @return The autoUpgrade. 38 */ getAutoUpgrade()39 boolean getAutoUpgrade(); 40 41 /** 42 * 43 * 44 * <pre> 45 * A flag that specifies whether the node auto-repair is enabled for the node 46 * pool. If enabled, the nodes in this node pool will be monitored and, if 47 * they fail health checks too many times, an automatic repair action will be 48 * triggered. 49 * </pre> 50 * 51 * <code>bool auto_repair = 2;</code> 52 * 53 * @return The autoRepair. 54 */ getAutoRepair()55 boolean getAutoRepair(); 56 57 /** 58 * 59 * 60 * <pre> 61 * Specifies the Auto Upgrade knobs for the node pool. 62 * </pre> 63 * 64 * <code>.google.container.v1.AutoUpgradeOptions upgrade_options = 10;</code> 65 * 66 * @return Whether the upgradeOptions field is set. 67 */ hasUpgradeOptions()68 boolean hasUpgradeOptions(); 69 /** 70 * 71 * 72 * <pre> 73 * Specifies the Auto Upgrade knobs for the node pool. 74 * </pre> 75 * 76 * <code>.google.container.v1.AutoUpgradeOptions upgrade_options = 10;</code> 77 * 78 * @return The upgradeOptions. 79 */ getUpgradeOptions()80 com.google.container.v1.AutoUpgradeOptions getUpgradeOptions(); 81 /** 82 * 83 * 84 * <pre> 85 * Specifies the Auto Upgrade knobs for the node pool. 86 * </pre> 87 * 88 * <code>.google.container.v1.AutoUpgradeOptions upgrade_options = 10;</code> 89 */ getUpgradeOptionsOrBuilder()90 com.google.container.v1.AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder(); 91 } 92