- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class HealthStatus.Builder extends GeneratedMessageV3.Builder<HealthStatus.Builder> implements HealthStatusOrBuilder
Protobuf type google.cloud.compute.v1.HealthStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HealthStatus.BuilderImplements
HealthStatusOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HealthStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HealthStatus.Builder |
build()
public HealthStatus build()
Type | Description |
HealthStatus |
buildPartial()
public HealthStatus buildPartial()
Type | Description |
HealthStatus |
clear()
public HealthStatus.Builder clear()
Type | Description |
HealthStatus.Builder |
clearAnnotations()
public HealthStatus.Builder clearAnnotations()
Type | Description |
HealthStatus.Builder |
clearField(Descriptors.FieldDescriptor field)
public HealthStatus.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
HealthStatus.Builder |
clearForwardingRule()
public HealthStatus.Builder clearForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;
Type | Description |
HealthStatus.Builder | This builder for chaining. |
clearForwardingRuleIp()
public HealthStatus.Builder clearForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;
Type | Description |
HealthStatus.Builder | This builder for chaining. |
clearHealthState()
public HealthStatus.Builder clearHealthState()
Health state of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
Type | Description |
HealthStatus.Builder | This builder for chaining. |
clearInstance()
public HealthStatus.Builder clearInstance()
URL of the instance resource.
optional string instance = 18257045;
Type | Description |
HealthStatus.Builder | This builder for chaining. |
clearIpAddress()
public HealthStatus.Builder clearIpAddress()
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;
Type | Description |
HealthStatus.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HealthStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
HealthStatus.Builder |
clearPort()
public HealthStatus.Builder clearPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;
Type | Description |
HealthStatus.Builder | This builder for chaining. |
clearWeight()
public HealthStatus.Builder clearWeight()
optional string weight = 282149496;
Type | Description |
HealthStatus.Builder | This builder for chaining. |
clearWeightError()
public HealthStatus.Builder clearWeightError()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;
Type | Description |
HealthStatus.Builder | This builder for chaining. |
clone()
public HealthStatus.Builder clone()
Type | Description |
HealthStatus.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
Type | Description |
String |
getDefaultInstanceForType()
public HealthStatus getDefaultInstanceForType()
Type | Description |
HealthStatus |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getForwardingRule()
public String getForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;
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;
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;
Type | Description |
String | The forwardingRuleIp. |
getForwardingRuleIpBytes()
public ByteString getForwardingRuleIpBytes()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;
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;
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;
Type | Description |
ByteString | The bytes for healthState. |
getInstance()
public String getInstance()
URL of the instance resource.
optional string instance = 18257045;
Type | Description |
String | The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()
URL of the instance resource.
optional string instance = 18257045;
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;
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;
Type | Description |
ByteString | The bytes for ipAddress. |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getPort()
public int getPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;
Type | Description |
int | The port. |
getWeight()
public String getWeight()
optional string weight = 282149496;
Type | Description |
String | The weight. |
getWeightBytes()
public ByteString getWeightBytes()
optional string weight = 282149496;
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;
Type | Description |
String | The weightError. |
getWeightErrorBytes()
public ByteString getWeightErrorBytes()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;
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;
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;
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;
Type | Description |
boolean | Whether the healthState field is set. |
hasInstance()
public boolean hasInstance()
URL of the instance resource.
optional string instance = 18257045;
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;
Type | Description |
boolean | Whether the ipAddress field is set. |
hasPort()
public boolean hasPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;
Type | Description |
boolean | Whether the port field is set. |
hasWeight()
public boolean hasWeight()
optional string weight = 282149496;
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;
Type | Description |
boolean | Whether the weightError field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(HealthStatus other)
public HealthStatus.Builder mergeFrom(HealthStatus other)
Name | Description |
other | HealthStatus |
Type | Description |
HealthStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HealthStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
HealthStatus.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public HealthStatus.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
HealthStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HealthStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HealthStatus.Builder |
putAllAnnotations(Map<String,String> values)
public HealthStatus.Builder putAllAnnotations(Map<String,String> values)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Name | Description |
values | Map<String,String> |
Type | Description |
HealthStatus.Builder |
putAnnotations(String key, String value)
public HealthStatus.Builder putAnnotations(String key, String value)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
value | String |
Type | Description |
HealthStatus.Builder |
removeAnnotations(String key)
public HealthStatus.Builder removeAnnotations(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
Type | Description |
HealthStatus.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HealthStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HealthStatus.Builder |
setForwardingRule(String value)
public HealthStatus.Builder setForwardingRule(String value)
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;
Name | Description |
value | String The forwardingRule to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setForwardingRuleBytes(ByteString value)
public HealthStatus.Builder setForwardingRuleBytes(ByteString value)
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;
Name | Description |
value | ByteString The bytes for forwardingRule to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setForwardingRuleIp(String value)
public HealthStatus.Builder setForwardingRuleIp(String value)
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;
Name | Description |
value | String The forwardingRuleIp to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setForwardingRuleIpBytes(ByteString value)
public HealthStatus.Builder setForwardingRuleIpBytes(ByteString value)
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;
Name | Description |
value | ByteString The bytes for forwardingRuleIp to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setHealthState(String value)
public HealthStatus.Builder setHealthState(String value)
Health state of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
Name | Description |
value | String The healthState to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setHealthStateBytes(ByteString value)
public HealthStatus.Builder setHealthStateBytes(ByteString value)
Health state of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
Name | Description |
value | ByteString The bytes for healthState to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setInstance(String value)
public HealthStatus.Builder setInstance(String value)
URL of the instance resource.
optional string instance = 18257045;
Name | Description |
value | String The instance to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setInstanceBytes(ByteString value)
public HealthStatus.Builder setInstanceBytes(ByteString value)
URL of the instance resource.
optional string instance = 18257045;
Name | Description |
value | ByteString The bytes for instance to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setIpAddress(String value)
public HealthStatus.Builder setIpAddress(String value)
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;
Name | Description |
value | String The ipAddress to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setIpAddressBytes(ByteString value)
public HealthStatus.Builder setIpAddressBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for ipAddress to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setPort(int value)
public HealthStatus.Builder setPort(int value)
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;
Name | Description |
value | int The port to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HealthStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
HealthStatus.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final HealthStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HealthStatus.Builder |
setWeight(String value)
public HealthStatus.Builder setWeight(String value)
optional string weight = 282149496;
Name | Description |
value | String The weight to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setWeightBytes(ByteString value)
public HealthStatus.Builder setWeightBytes(ByteString value)
optional string weight = 282149496;
Name | Description |
value | ByteString The bytes for weight to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setWeightError(String value)
public HealthStatus.Builder setWeightError(String value)
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;
Name | Description |
value | String The weightError to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |
setWeightErrorBytes(ByteString value)
public HealthStatus.Builder setWeightErrorBytes(ByteString value)
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;
Name | Description |
value | ByteString The bytes for weightError to set. |
Type | Description |
HealthStatus.Builder | This builder for chaining. |