public final class HealthStatus extends GeneratedMessageV3 implements HealthStatusOrBuilder
Protobuf type google.cloud.compute.v1.HealthStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FORWARDING_RULE_FIELD_NUMBER
public static final int FORWARDING_RULE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FORWARDING_RULE_IP_FIELD_NUMBER
public static final int FORWARDING_RULE_IP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HEALTH_STATE_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WEIGHT_ERROR_FIELD_NUMBER
public static final int WEIGHT_ERROR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WEIGHT_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static HealthStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HealthStatus.Builder newBuilder()
newBuilder(HealthStatus prototype)
public static HealthStatus.Builder newBuilder(HealthStatus prototype)
public static HealthStatus parseDelimitedFrom(InputStream input)
public static HealthStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HealthStatus parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HealthStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HealthStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HealthStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HealthStatus parseFrom(CodedInputStream input)
public static HealthStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HealthStatus parseFrom(InputStream input)
public static HealthStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HealthStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HealthStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HealthStatus> parser()
Methods
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAnnotations()
public Map<String,String> getAnnotations()
getAnnotationsCount()
public int getAnnotationsCount()
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Returns |
---|
Type | Description |
int | |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Parameter |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public HealthStatus getDefaultInstanceForType()
getForwardingRule()
public String getForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;
Returns |
---|
Type | Description |
String | The forwardingRule.
|
getForwardingRuleBytes()
public ByteString getForwardingRuleBytes()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;
Returns |
---|
Type | Description |
ByteString | The bytes for forwardingRule.
|
getForwardingRuleIp()
public String getForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;
Returns |
---|
Type | Description |
String | The forwardingRuleIp.
|
getForwardingRuleIpBytes()
public ByteString getForwardingRuleIpBytes()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;
Returns |
---|
Type | Description |
ByteString | The bytes for forwardingRuleIp.
|
getHealthState()
public String getHealthState()
Health state of the instance.
Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
Returns |
---|
Type | Description |
String | The healthState.
|
getHealthStateBytes()
public ByteString getHealthStateBytes()
Health state of the instance.
Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
Returns |
---|
Type | Description |
ByteString | The bytes for healthState.
|
getInstance()
public String getInstance()
URL of the instance resource.
optional string instance = 18257045;
Returns |
---|
Type | Description |
String | The instance.
|
getInstanceBytes()
public ByteString getInstanceBytes()
URL of the instance resource.
optional string instance = 18257045;
Returns |
---|
Type | Description |
ByteString | The bytes for instance.
|
getIpAddress()
public 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 |
---|
Type | Description |
String | The ipAddress.
|
getIpAddressBytes()
public 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 |
---|
Type | Description |
ByteString | The bytes for ipAddress.
|
getParserForType()
public Parser<HealthStatus> getParserForType()
Overrides
getPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;
Returns |
---|
Type | Description |
int | The port.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getWeight()
public String getWeight()
optional string weight = 282149496;
Returns |
---|
Type | Description |
String | The weight.
|
getWeightBytes()
public ByteString getWeightBytes()
optional string weight = 282149496;
Returns |
---|
Type | Description |
ByteString | The bytes for weight.
|
getWeightError()
public String getWeightError()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;
Returns |
---|
Type | Description |
String | The weightError.
|
getWeightErrorBytes()
public ByteString getWeightErrorBytes()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;
Returns |
---|
Type | Description |
ByteString | The bytes for weightError.
|
hasForwardingRule()
public boolean hasForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;
Returns |
---|
Type | Description |
boolean | Whether the forwardingRule field is set.
|
hasForwardingRuleIp()
public boolean hasForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;
Returns |
---|
Type | Description |
boolean | Whether the forwardingRuleIp field is set.
|
hasHealthState()
public boolean hasHealthState()
Health state of the instance.
Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
Returns |
---|
Type | Description |
boolean | Whether the healthState field is set.
|
hasInstance()
public boolean hasInstance()
URL of the instance resource.
optional string instance = 18257045;
Returns |
---|
Type | Description |
boolean | Whether the instance field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the ipAddress field is set.
|
hasPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;
Returns |
---|
Type | Description |
boolean | Whether the port field is set.
|
hasWeight()
public boolean hasWeight()
optional string weight = 282149496;
Returns |
---|
Type | Description |
boolean | Whether the weight field is set.
|
hasWeightError()
public boolean hasWeightError()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;
Returns |
---|
Type | Description |
boolean | Whether the weightError field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HealthStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HealthStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public HealthStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides