Package com.google.cloud.compute.v1
Interface HealthStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HealthStatus,HealthStatus.Builder
public interface HealthStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Metadata defined as annotations for network endpoint.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Metadata defined as annotations for network endpoint.Map<String,String>getAnnotationsMap()Metadata defined as annotations for network endpoint.StringgetAnnotationsOrDefault(String key, String defaultValue)Metadata defined as annotations for network endpoint.StringgetAnnotationsOrThrow(String key)Metadata defined as annotations for network endpoint.StringgetForwardingRule()URL of the forwarding rule associated with the health status of the instance.com.google.protobuf.ByteStringgetForwardingRuleBytes()URL of the forwarding rule associated with the health status of the instance.StringgetForwardingRuleIp()A forwarding rule IP address assigned to this instance.com.google.protobuf.ByteStringgetForwardingRuleIpBytes()A forwarding rule IP address assigned to this instance.StringgetHealthState()Health state of the IPv4 address of the instance.com.google.protobuf.ByteStringgetHealthStateBytes()Health state of the IPv4 address of the instance.StringgetInstance()URL of the instance resource.com.google.protobuf.ByteStringgetInstanceBytes()URL of the instance resource.StringgetIpAddress()For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.com.google.protobuf.ByteStringgetIpAddressBytes()For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.intgetPort()The named port of the instance group, not necessarily the port that is health-checked.StringgetWeight()optional string weight = 282149496;com.google.protobuf.ByteStringgetWeightBytes()optional string weight = 282149496;StringgetWeightError()Check the WeightError enum for the list of possible values.com.google.protobuf.ByteStringgetWeightErrorBytes()Check the WeightError enum for the list of possible values.booleanhasForwardingRule()URL of the forwarding rule associated with the health status of the instance.booleanhasForwardingRuleIp()A forwarding rule IP address assigned to this instance.booleanhasHealthState()Health state of the IPv4 address of the instance.booleanhasInstance()URL of the instance resource.booleanhasIpAddress()For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.booleanhasPort()The named port of the instance group, not necessarily the port that is health-checked.booleanhasWeight()optional string weight = 282149496;booleanhasWeightError()Check the WeightError enum for the list of possible values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAnnotationsCount
int getAnnotationsCount()
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
-
containsAnnotations
boolean containsAnnotations(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
-
getAnnotations
@Deprecated Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.
-
getAnnotationsMap
Map<String,String> getAnnotationsMap()
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
-
getAnnotationsOrDefault
String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
-
getAnnotationsOrThrow
String getAnnotationsOrThrow(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
-
hasForwardingRule
boolean hasForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;- Returns:
- Whether the forwardingRule field is set.
-
getForwardingRule
String getForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;- Returns:
- The forwardingRule.
-
getForwardingRuleBytes
com.google.protobuf.ByteString getForwardingRuleBytes()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;- Returns:
- The bytes for forwardingRule.
-
hasForwardingRuleIp
boolean hasForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;- Returns:
- Whether the forwardingRuleIp field is set.
-
getForwardingRuleIp
String getForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;- Returns:
- The forwardingRuleIp.
-
getForwardingRuleIpBytes
com.google.protobuf.ByteString getForwardingRuleIpBytes()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;- Returns:
- The bytes for forwardingRuleIp.
-
hasHealthState
boolean hasHealthState()
Health state of the IPv4 address of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Returns:
- Whether the healthState field is set.
-
getHealthState
String getHealthState()
Health state of the IPv4 address of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Returns:
- The healthState.
-
getHealthStateBytes
com.google.protobuf.ByteString getHealthStateBytes()
Health state of the IPv4 address of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Returns:
- The bytes for healthState.
-
hasInstance
boolean hasInstance()
URL of the instance resource.
optional string instance = 18257045;- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()
URL of the instance resource.
optional string instance = 18257045;- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
URL of the instance resource.
optional string instance = 18257045;- Returns:
- The bytes for instance.
-
hasIpAddress
boolean hasIpAddress()
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.
optional string ip_address = 406272220;- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
String getIpAddress()
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.
optional string ip_address = 406272220;- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.
optional string ip_address = 406272220;- Returns:
- The bytes for ipAddress.
-
hasPort
boolean hasPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;- Returns:
- Whether the port field is set.
-
getPort
int getPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;- Returns:
- The port.
-
hasWeight
boolean hasWeight()
optional string weight = 282149496;- Returns:
- Whether the weight field is set.
-
getWeight
String getWeight()
optional string weight = 282149496;- Returns:
- The weight.
-
getWeightBytes
com.google.protobuf.ByteString getWeightBytes()
optional string weight = 282149496;- Returns:
- The bytes for weight.
-
hasWeightError
boolean hasWeightError()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;- Returns:
- Whether the weightError field is set.
-
getWeightError
String getWeightError()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;- Returns:
- The weightError.
-
getWeightErrorBytes
com.google.protobuf.ByteString getWeightErrorBytes()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;- Returns:
- The bytes for weightError.
-
-