public static final class HealthStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder> implements HealthStatusOrBuilder
Protobuf type
google.cloud.compute.v1.HealthStatus| Modifier and Type | Method and Description |
|---|---|
HealthStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthStatus |
build() |
HealthStatus |
buildPartial() |
HealthStatus.Builder |
clear() |
HealthStatus.Builder |
clearAnnotations() |
HealthStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HealthStatus.Builder |
clearForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
|
HealthStatus.Builder |
clearForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
|
HealthStatus.Builder |
clearHealthState()
Health state of the instance.
|
HealthStatus.Builder |
clearInstance()
URL of the instance resource.
|
HealthStatus.Builder |
clearIpAddress()
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.
|
HealthStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HealthStatus.Builder |
clearPort()
The named port of the instance group, not necessarily the port that is health-checked.
|
HealthStatus.Builder |
clearWeight()
optional string weight = 282149496; |
HealthStatus.Builder |
clearWeightError()
Check the WeightError enum for the list of possible values.
|
HealthStatus.Builder |
clone() |
boolean |
containsAnnotations(String key)
Metadata defined as annotations for network endpoint.
|
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.
|
HealthStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
int |
getPort()
The named port of the instance group, not necessarily the port that is health-checked.
|
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.
|
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) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
HealthStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HealthStatus.Builder |
mergeFrom(HealthStatus other) |
HealthStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
HealthStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HealthStatus.Builder |
putAllAnnotations(Map<String,String> values)
Metadata defined as annotations for network endpoint.
|
HealthStatus.Builder |
putAnnotations(String key,
String value)
Metadata defined as annotations for network endpoint.
|
HealthStatus.Builder |
removeAnnotations(String key)
Metadata defined as annotations for network endpoint.
|
HealthStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthStatus.Builder |
setForwardingRule(String value)
URL of the forwarding rule associated with the health status of the instance.
|
HealthStatus.Builder |
setForwardingRuleBytes(com.google.protobuf.ByteString value)
URL of the forwarding rule associated with the health status of the instance.
|
HealthStatus.Builder |
setForwardingRuleIp(String value)
A forwarding rule IP address assigned to this instance.
|
HealthStatus.Builder |
setForwardingRuleIpBytes(com.google.protobuf.ByteString value)
A forwarding rule IP address assigned to this instance.
|
HealthStatus.Builder |
setHealthState(String value)
Health state of the instance.
|
HealthStatus.Builder |
setHealthStateBytes(com.google.protobuf.ByteString value)
Health state of the instance.
|
HealthStatus.Builder |
setInstance(String value)
URL of the instance resource.
|
HealthStatus.Builder |
setInstanceBytes(com.google.protobuf.ByteString value)
URL of the instance resource.
|
HealthStatus.Builder |
setIpAddress(String value)
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.
|
HealthStatus.Builder |
setIpAddressBytes(com.google.protobuf.ByteString value)
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance.
|
HealthStatus.Builder |
setPort(int value)
The named port of the instance group, not necessarily the port that is health-checked.
|
HealthStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HealthStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HealthStatus.Builder |
setWeight(String value)
optional string weight = 282149496; |
HealthStatus.Builder |
setWeightBytes(com.google.protobuf.ByteString value)
optional string weight = 282149496; |
HealthStatus.Builder |
setWeightError(String value)
Check the WeightError enum for the list of possible values.
|
HealthStatus.Builder |
setWeightErrorBytes(com.google.protobuf.ByteString value)
Check the WeightError enum for the list of possible values.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HealthStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HealthStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HealthStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthStatus.Builder>public HealthStatus.Builder mergeFrom(HealthStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public HealthStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthStatus.Builder>IOExceptionpublic 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 HealthStatus.Builder clearAnnotations()
public HealthStatus.Builder removeAnnotations(String key)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;@Deprecated public Map<String,String> getMutableAnnotations()
public HealthStatus.Builder putAnnotations(String key, String value)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;public HealthStatus.Builder putAllAnnotations(Map<String,String> values)
Metadata defined as annotations for network endpoint.
map<string, string> annotations = 112032548;public 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 HealthStatus.Builder setForwardingRule(String value)
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;value - The forwardingRule to set.public HealthStatus.Builder clearForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;public HealthStatus.Builder setForwardingRuleBytes(com.google.protobuf.ByteString value)
URL of the forwarding rule associated with the health status of the instance.
optional string forwarding_rule = 269964030;value - The bytes for forwardingRule to set.public 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 HealthStatus.Builder setForwardingRuleIp(String value)
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;value - The forwardingRuleIp to set.public HealthStatus.Builder clearForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;public HealthStatus.Builder setForwardingRuleIpBytes(com.google.protobuf.ByteString value)
A forwarding rule IP address assigned to this instance.
optional string forwarding_rule_ip = 172250632;value - The bytes for forwardingRuleIp to set.public 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 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;value - The healthState to set.public HealthStatus.Builder clearHealthState()
Health state of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;public HealthStatus.Builder setHealthStateBytes(com.google.protobuf.ByteString value)
Health state of the instance. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;value - The bytes for healthState to set.public 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 HealthStatus.Builder setInstance(String value)
URL of the instance resource.
optional string instance = 18257045;value - The instance to set.public HealthStatus.Builder clearInstance()
URL of the instance resource.
optional string instance = 18257045;public HealthStatus.Builder setInstanceBytes(com.google.protobuf.ByteString value)
URL of the instance resource.
optional string instance = 18257045;value - The bytes for instance to set.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;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 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;value - The ipAddress to set.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;public HealthStatus.Builder setIpAddressBytes(com.google.protobuf.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;value - The bytes for ipAddress to set.public 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 HealthStatus.Builder setPort(int value)
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;value - The port to set.public HealthStatus.Builder clearPort()
The named port of the instance group, not necessarily the port that is health-checked.
optional int32 port = 3446913;public 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 HealthStatus.Builder setWeight(String value)
optional string weight = 282149496;value - The weight to set.public HealthStatus.Builder clearWeight()
optional string weight = 282149496;public HealthStatus.Builder setWeightBytes(com.google.protobuf.ByteString value)
optional string weight = 282149496;value - The bytes for weight to set.public 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 HealthStatus.Builder setWeightError(String value)
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;value - The weightError to set.public HealthStatus.Builder clearWeightError()
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;public HealthStatus.Builder setWeightErrorBytes(com.google.protobuf.ByteString value)
Check the WeightError enum for the list of possible values.
optional string weight_error = 522501505;value - The bytes for weightError to set.public final HealthStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>public final HealthStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthStatus.Builder>Copyright © 2023 Google LLC. All rights reserved.