Package com.google.cloud.compute.v1
Class HealthStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.HealthStatus
- All Implemented Interfaces:
HealthStatusOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class HealthStatus
extends com.google.protobuf.GeneratedMessage
implements HealthStatusOrBuilder
Protobuf type
google.cloud.compute.v1.HealthStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumHealth state of the IPv4 address of the instance.static enumHealth state of the IPv6 address of the instance.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanMetadata defined as annotations for network endpoint.booleanDeprecated.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.static HealthStatusstatic final com.google.protobuf.Descriptors.DescriptorURL 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.com.google.protobuf.Parser<HealthStatus>intgetPort()The named port of the instance group, not necessarily the port that is health-checked.intoptional 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic HealthStatus.Builderstatic HealthStatus.BuildernewBuilder(HealthStatus prototype) protected HealthStatus.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static HealthStatusparseDelimitedFrom(InputStream input) static HealthStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HealthStatusparseFrom(byte[] data) static HealthStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HealthStatusparseFrom(com.google.protobuf.ByteString data) static HealthStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HealthStatusparseFrom(com.google.protobuf.CodedInputStream input) static HealthStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HealthStatusparseFrom(InputStream input) static HealthStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HealthStatusparseFrom(ByteBuffer data) static HealthStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HealthStatus>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
FORWARDING_RULE_FIELD_NUMBER
public static final int FORWARDING_RULE_FIELD_NUMBER- See Also:
-
FORWARDING_RULE_IP_FIELD_NUMBER
public static final int FORWARDING_RULE_IP_FIELD_NUMBER- See Also:
-
HEALTH_STATE_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER- See Also:
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER- See Also:
-
IPV6_ADDRESS_FIELD_NUMBER
public static final int IPV6_ADDRESS_FIELD_NUMBER- See Also:
-
IPV6_HEALTH_STATE_FIELD_NUMBER
public static final int IPV6_HEALTH_STATE_FIELD_NUMBER- See Also:
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER- See Also:
-
WEIGHT_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER- See Also:
-
WEIGHT_ERROR_FIELD_NUMBER
public static final int WEIGHT_ERROR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:HealthStatusOrBuilderMetadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsCountin interfaceHealthStatusOrBuilder
-
containsAnnotations
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;- Specified by:
containsAnnotationsin interfaceHealthStatusOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceHealthStatusOrBuilder
-
getAnnotationsMap
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsMapin interfaceHealthStatusOrBuilder
-
getAnnotationsOrDefault
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrDefaultin interfaceHealthStatusOrBuilder
-
getAnnotationsOrThrow
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrThrowin interfaceHealthStatusOrBuilder
-
hasForwardingRule
public boolean hasForwardingRule()URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;- Specified by:
hasForwardingRulein interfaceHealthStatusOrBuilder- Returns:
- Whether the forwardingRule field is set.
-
getForwardingRule
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;- Specified by:
getForwardingRulein interfaceHealthStatusOrBuilder- Returns:
- The forwardingRule.
-
getForwardingRuleBytes
public com.google.protobuf.ByteString getForwardingRuleBytes()URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;- Specified by:
getForwardingRuleBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for forwardingRule.
-
hasForwardingRuleIp
public boolean hasForwardingRuleIp()A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;- Specified by:
hasForwardingRuleIpin interfaceHealthStatusOrBuilder- Returns:
- Whether the forwardingRuleIp field is set.
-
getForwardingRuleIp
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;- Specified by:
getForwardingRuleIpin interfaceHealthStatusOrBuilder- Returns:
- The forwardingRuleIp.
-
getForwardingRuleIpBytes
public com.google.protobuf.ByteString getForwardingRuleIpBytes()A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;- Specified by:
getForwardingRuleIpBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for forwardingRuleIp.
-
hasHealthState
public 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;- Specified by:
hasHealthStatein interfaceHealthStatusOrBuilder- Returns:
- Whether the healthState field is set.
-
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;- Specified by:
getHealthStatein interfaceHealthStatusOrBuilder- Returns:
- The healthState.
-
getHealthStateBytes
public 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;- Specified by:
getHealthStateBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for healthState.
-
hasInstance
public boolean hasInstance()URL of the instance resource.
optional string instance = 18257045;- Specified by:
hasInstancein interfaceHealthStatusOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
URL of the instance resource.
optional string instance = 18257045;- Specified by:
getInstancein interfaceHealthStatusOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()URL of the instance resource.
optional string instance = 18257045;- Specified by:
getInstanceBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for instance.
-
hasIpAddress
public 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;- Specified by:
hasIpAddressin interfaceHealthStatusOrBuilder- Returns:
- Whether the ipAddress field is set.
-
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;- Specified by:
getIpAddressin interfaceHealthStatusOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public 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;- Specified by:
getIpAddressBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for ipAddress.
-
hasIpv6Address
public boolean hasIpv6Address()optional string ipv6_address = 341563804;- Specified by:
hasIpv6Addressin interfaceHealthStatusOrBuilder- Returns:
- Whether the ipv6Address field is set.
-
getIpv6Address
optional string ipv6_address = 341563804;- Specified by:
getIpv6Addressin interfaceHealthStatusOrBuilder- Returns:
- The ipv6Address.
-
getIpv6AddressBytes
public com.google.protobuf.ByteString getIpv6AddressBytes()optional string ipv6_address = 341563804;- Specified by:
getIpv6AddressBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for ipv6Address.
-
hasIpv6HealthState
public 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;- Specified by:
hasIpv6HealthStatein interfaceHealthStatusOrBuilder- Returns:
- Whether the ipv6HealthState field is set.
-
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;- Specified by:
getIpv6HealthStatein interfaceHealthStatusOrBuilder- Returns:
- The ipv6HealthState.
-
getIpv6HealthStateBytes
public 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;- Specified by:
getIpv6HealthStateBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for ipv6HealthState.
-
hasPort
public boolean hasPort()The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;- Specified by:
hasPortin interfaceHealthStatusOrBuilder- Returns:
- Whether the port field is set.
-
getPort
public int getPort()The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;- Specified by:
getPortin interfaceHealthStatusOrBuilder- Returns:
- The port.
-
hasWeight
public boolean hasWeight()optional string weight = 282149496;- Specified by:
hasWeightin interfaceHealthStatusOrBuilder- Returns:
- Whether the weight field is set.
-
getWeight
optional string weight = 282149496;- Specified by:
getWeightin interfaceHealthStatusOrBuilder- Returns:
- The weight.
-
getWeightBytes
public com.google.protobuf.ByteString getWeightBytes()optional string weight = 282149496;- Specified by:
getWeightBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for weight.
-
hasWeightError
public boolean hasWeightError()Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;- Specified by:
hasWeightErrorin interfaceHealthStatusOrBuilder- Returns:
- Whether the weightError field is set.
-
getWeightError
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;- Specified by:
getWeightErrorin interfaceHealthStatusOrBuilder- Returns:
- The weightError.
-
getWeightErrorBytes
public com.google.protobuf.ByteString getWeightErrorBytes()Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;- Specified by:
getWeightErrorBytesin interfaceHealthStatusOrBuilder- Returns:
- The bytes for weightError.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HealthStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HealthStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HealthStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HealthStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HealthStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HealthStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-