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 ManagedInstanceInstanceHealthOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ManagedInstanceInstanceHealth) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] The current detailed instance health state. 31 * Check the DetailedHealthState enum for the list of possible values. 32 * </pre> 33 * 34 * <code>optional string detailed_health_state = 510470173;</code> 35 * 36 * @return Whether the detailedHealthState field is set. 37 */ hasDetailedHealthState()38 boolean hasDetailedHealthState(); 39 /** 40 * 41 * 42 * <pre> 43 * [Output Only] The current detailed instance health state. 44 * Check the DetailedHealthState enum for the list of possible values. 45 * </pre> 46 * 47 * <code>optional string detailed_health_state = 510470173;</code> 48 * 49 * @return The detailedHealthState. 50 */ getDetailedHealthState()51 java.lang.String getDetailedHealthState(); 52 /** 53 * 54 * 55 * <pre> 56 * [Output Only] The current detailed instance health state. 57 * Check the DetailedHealthState enum for the list of possible values. 58 * </pre> 59 * 60 * <code>optional string detailed_health_state = 510470173;</code> 61 * 62 * @return The bytes for detailedHealthState. 63 */ getDetailedHealthStateBytes()64 com.google.protobuf.ByteString getDetailedHealthStateBytes(); 65 66 /** 67 * 68 * 69 * <pre> 70 * [Output Only] The URL for the health check that verifies whether the instance is healthy. 71 * </pre> 72 * 73 * <code>optional string health_check = 308876645;</code> 74 * 75 * @return Whether the healthCheck field is set. 76 */ hasHealthCheck()77 boolean hasHealthCheck(); 78 /** 79 * 80 * 81 * <pre> 82 * [Output Only] The URL for the health check that verifies whether the instance is healthy. 83 * </pre> 84 * 85 * <code>optional string health_check = 308876645;</code> 86 * 87 * @return The healthCheck. 88 */ getHealthCheck()89 java.lang.String getHealthCheck(); 90 /** 91 * 92 * 93 * <pre> 94 * [Output Only] The URL for the health check that verifies whether the instance is healthy. 95 * </pre> 96 * 97 * <code>optional string health_check = 308876645;</code> 98 * 99 * @return The bytes for healthCheck. 100 */ getHealthCheckBytes()101 com.google.protobuf.ByteString getHealthCheckBytes(); 102 } 103