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
@Generated
public interface HealthStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanMetadata defined as annotations for network endpoint.Deprecated.intMetadata defined as annotations for network endpoint.Metadata defined as annotations for network endpoint.getAnnotationsOrDefault(String key, String defaultValue) Metadata defined as annotations for network endpoint.Metadata defined as annotations for network endpoint.URL of the forwarding rule associated with the health status of the instance.com.google.protobuf.ByteStringURL of the forwarding rule associated with the health status of the instance.A forwarding rule IP address assigned to this instance.com.google.protobuf.ByteStringA forwarding rule IP address assigned to this instance.Health state of the IPv4 address of the instance.com.google.protobuf.ByteStringHealth state of the IPv4 address of the instance.URL of the instance resource.com.google.protobuf.ByteStringURL of the instance resource.For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.com.google.protobuf.ByteStringFor target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.optional string ipv6_address = 341563804;com.google.protobuf.ByteStringoptional string ipv6_address = 341563804;Health state of the IPv6 address of the instance.com.google.protobuf.ByteStringHealth state of the IPv6 address of the instance.intgetPort()The named port of the instance group, not necessarily the port that is health-checked.optional string weight = 282149496;com.google.protobuf.ByteStringoptional string weight = 282149496;Check the WeightError enum for the list of possible values.com.google.protobuf.ByteStringCheck the WeightError enum for the list of possible values.booleanURL of the forwarding rule associated with the health status of the instance.booleanA forwarding rule IP address assigned to this instance.booleanHealth state of the IPv4 address of the instance.booleanURL of the instance resource.booleanFor target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.booleanoptional string ipv6_address = 341563804;booleanHealth state of the IPv6 address of the instance.booleanhasPort()The named port of the instance group, not necessarily the port that is health-checked.booleanoptional string weight = 282149496;booleanCheck the WeightError enum for the list of possible values.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAnnotationsCount
int getAnnotationsCount()Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548; -
containsAnnotations
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
getAnnotationsMap
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548; -
getAnnotationsOrDefault
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548; -
getAnnotationsOrThrow
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.
-
hasIpv6Address
boolean hasIpv6Address()optional string ipv6_address = 341563804;- Returns:
- Whether the ipv6Address field is set.
-
getIpv6Address
String getIpv6Address()optional string ipv6_address = 341563804;- Returns:
- The ipv6Address.
-
getIpv6AddressBytes
com.google.protobuf.ByteString getIpv6AddressBytes()optional string ipv6_address = 341563804;- Returns:
- The bytes for ipv6Address.
-
hasIpv6HealthState
boolean hasIpv6HealthState()Health state of the IPv6 address of the instance. Check the Ipv6HealthState enum for the list of possible values.
optional string ipv6_health_state = 190316614;- Returns:
- Whether the ipv6HealthState field is set.
-
getIpv6HealthState
String getIpv6HealthState()Health state of the IPv6 address of the instance. Check the Ipv6HealthState enum for the list of possible values.
optional string ipv6_health_state = 190316614;- Returns:
- The ipv6HealthState.
-
getIpv6HealthStateBytes
com.google.protobuf.ByteString getIpv6HealthStateBytes()Health state of the IPv6 address of the instance. Check the Ipv6HealthState enum for the list of possible values.
optional string ipv6_health_state = 190316614;- Returns:
- The bytes for ipv6HealthState.
-
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.
-