public final class HealthStatus extends com.google.protobuf.GeneratedMessageV3 implements HealthStatusOrBuilder
Protobuf type
google.cloud.compute.v1.HealthStatus| Modifier and Type | Class and Description |
|---|---|
static class |
HealthStatus.Builder |
static class |
HealthStatus.HealthState
Health state of the instance.
|
static class |
HealthStatus.WeightError |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATIONS_FIELD_NUMBER |
static int |
FORWARDING_RULE_FIELD_NUMBER |
static int |
FORWARDING_RULE_IP_FIELD_NUMBER |
static int |
HEALTH_STATE_FIELD_NUMBER |
static int |
INSTANCE_FIELD_NUMBER |
static int |
IP_ADDRESS_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
WEIGHT_ERROR_FIELD_NUMBER |
static int |
WEIGHT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(String key)
Metadata defined as annotations for network endpoint.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Metadata defined as annotations for network endpoint.
|
Map<String,String> |
getAnnotationsMap()
Metadata defined as annotations for network endpoint.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Metadata defined as annotations for network endpoint.
|
String |
getAnnotationsOrThrow(String key)
Metadata defined as annotations for network endpoint.
|
static HealthStatus |
getDefaultInstance() |
HealthStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
|
com.google.protobuf.ByteString |
getForwardingRuleBytes()
URL of the forwarding rule associated with the health status of the instance.
|
String |
getForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
|
com.google.protobuf.ByteString |
getForwardingRuleIpBytes()
A forwarding rule IP address assigned to this instance.
|
String |
getHealthState()
Health state of the instance.
|
com.google.protobuf.ByteString |
getHealthStateBytes()
Health state of the instance.
|
String |
getInstance()
URL of the instance resource.
|
com.google.protobuf.ByteString |
getInstanceBytes()
URL of the instance resource.
|
String |
getIpAddress()
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.
|
com.google.protobuf.Parser<HealthStatus> |
getParserForType() |
int |
getPort()
The named port of the instance group, not necessarily the port that is health-checked.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getWeight()
optional string weight = 282149496; |
com.google.protobuf.ByteString |
getWeightBytes()
optional string weight = 282149496; |
String |
getWeightError()
Check the WeightError enum for the list of possible values.
|
com.google.protobuf.ByteString |
getWeightErrorBytes()
Check the WeightError enum for the list of possible values.
|
boolean |
hasForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
|
boolean |
hasForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
|
int |
hashCode() |
boolean |
hasHealthState()
Health state of the instance.
|
boolean |
hasInstance()
URL of the instance resource.
|
boolean |
hasIpAddress()
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.
|
boolean |
hasPort()
The named port of the instance group, not necessarily the port that is health-checked.
|
boolean |
hasWeight()
optional string weight = 282149496; |
boolean |
hasWeightError()
Check the WeightError enum for the list of possible values.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static HealthStatus.Builder |
newBuilder() |
static HealthStatus.Builder |
newBuilder(HealthStatus prototype) |
HealthStatus.Builder |
newBuilderForType() |
protected HealthStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HealthStatus |
parseDelimitedFrom(InputStream input) |
static HealthStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthStatus |
parseFrom(byte[] data) |
static HealthStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthStatus |
parseFrom(ByteBuffer data) |
static HealthStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthStatus |
parseFrom(com.google.protobuf.ByteString data) |
static HealthStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HealthStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthStatus |
parseFrom(InputStream input) |
static HealthStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HealthStatus> |
parser() |
HealthStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ANNOTATIONS_FIELD_NUMBER
public static final int FORWARDING_RULE_FIELD_NUMBER
public static final int FORWARDING_RULE_IP_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER
public static final int WEIGHT_ERROR_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getAnnotationsCount()
HealthStatusOrBuilderMetadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;getAnnotationsCount in interface HealthStatusOrBuilderpublic boolean containsAnnotations(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;containsAnnotations in interface HealthStatusOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface HealthStatusOrBuilderpublic Map<String,String> getAnnotationsMap()
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;getAnnotationsMap in interface HealthStatusOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;getAnnotationsOrDefault in interface HealthStatusOrBuilderpublic String getAnnotationsOrThrow(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;getAnnotationsOrThrow in interface HealthStatusOrBuilderpublic boolean hasForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;hasForwardingRule in interface HealthStatusOrBuilderpublic String getForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;getForwardingRule in interface HealthStatusOrBuilderpublic com.google.protobuf.ByteString getForwardingRuleBytes()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;getForwardingRuleBytes in interface HealthStatusOrBuilderpublic boolean hasForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;hasForwardingRuleIp in interface HealthStatusOrBuilderpublic String getForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;getForwardingRuleIp in interface HealthStatusOrBuilderpublic com.google.protobuf.ByteString getForwardingRuleIpBytes()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;getForwardingRuleIpBytes in interface HealthStatusOrBuilderpublic boolean hasHealthState()
Health state of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;hasHealthState in interface HealthStatusOrBuilderpublic String getHealthState()
Health state of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;getHealthState in interface HealthStatusOrBuilderpublic com.google.protobuf.ByteString getHealthStateBytes()
Health state of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;getHealthStateBytes in interface HealthStatusOrBuilderpublic boolean hasInstance()
URL of the instance resource.
optional string instance = 18257045;hasInstance in interface HealthStatusOrBuilderpublic String getInstance()
URL of the instance resource.
optional string instance = 18257045;getInstance in interface HealthStatusOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
URL of the instance resource.
optional string instance = 18257045;getInstanceBytes in interface HealthStatusOrBuilderpublic 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;hasIpAddress in interface HealthStatusOrBuilderpublic 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;getIpAddress in interface HealthStatusOrBuilderpublic 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;getIpAddressBytes in interface HealthStatusOrBuilderpublic boolean hasPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;hasPort in interface HealthStatusOrBuilderpublic int getPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;getPort in interface HealthStatusOrBuilderpublic boolean hasWeight()
optional string weight = 282149496;hasWeight in interface HealthStatusOrBuilderpublic String getWeight()
optional string weight = 282149496;getWeight in interface HealthStatusOrBuilderpublic com.google.protobuf.ByteString getWeightBytes()
optional string weight = 282149496;getWeightBytes in interface HealthStatusOrBuilderpublic boolean hasWeightError()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;hasWeightError in interface HealthStatusOrBuilderpublic String getWeightError()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;getWeightError in interface HealthStatusOrBuilderpublic com.google.protobuf.ByteString getWeightErrorBytes()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;getWeightErrorBytes in interface HealthStatusOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HealthStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static HealthStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HealthStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HealthStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HealthStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HealthStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HealthStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HealthStatus.Builder newBuilder()
public static HealthStatus.Builder newBuilder(HealthStatus prototype)
public HealthStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HealthStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HealthStatus getDefaultInstance()
public static com.google.protobuf.Parser<HealthStatus> parser()
public com.google.protobuf.Parser<HealthStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HealthStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.