public static final class TargetPoolInstanceHealth.Builder extends GeneratedMessageV3.Builder<TargetPoolInstanceHealth.Builder> implements TargetPoolInstanceHealthOrBuilder
Protobuf type google.cloud.compute.v1.TargetPoolInstanceHealth
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllHealthStatus(Iterable<? extends HealthStatus> values)
public TargetPoolInstanceHealth.Builder addAllHealthStatus(Iterable<? extends HealthStatus> values)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.HealthStatus>
|
addHealthStatus(HealthStatus value)
public TargetPoolInstanceHealth.Builder addHealthStatus(HealthStatus value)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
addHealthStatus(HealthStatus.Builder builderForValue)
public TargetPoolInstanceHealth.Builder addHealthStatus(HealthStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
addHealthStatus(int index, HealthStatus value)
public TargetPoolInstanceHealth.Builder addHealthStatus(int index, HealthStatus value)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
addHealthStatus(int index, HealthStatus.Builder builderForValue)
public TargetPoolInstanceHealth.Builder addHealthStatus(int index, HealthStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
addHealthStatusBuilder()
public HealthStatus.Builder addHealthStatusBuilder()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
addHealthStatusBuilder(int index)
public HealthStatus.Builder addHealthStatusBuilder(int index)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolInstanceHealth.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TargetPoolInstanceHealth build()
buildPartial()
public TargetPoolInstanceHealth buildPartial()
clear()
public TargetPoolInstanceHealth.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TargetPoolInstanceHealth.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHealthStatus()
public TargetPoolInstanceHealth.Builder clearHealthStatus()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
clearKind()
public TargetPoolInstanceHealth.Builder clearKind()
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetPoolInstanceHealth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TargetPoolInstanceHealth.Builder clone()
Overrides
getDefaultInstanceForType()
public TargetPoolInstanceHealth getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHealthStatus(int index)
public HealthStatus getHealthStatus(int index)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter |
---|
Name | Description |
index | int
|
getHealthStatusBuilder(int index)
public HealthStatus.Builder getHealthStatusBuilder(int index)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter |
---|
Name | Description |
index | int
|
getHealthStatusBuilderList()
public List<HealthStatus.Builder> getHealthStatusBuilderList()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
getHealthStatusCount()
public int getHealthStatusCount()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Returns |
---|
Type | Description |
int | |
getHealthStatusList()
public List<HealthStatus> getHealthStatusList()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
getHealthStatusOrBuilder(int index)
public HealthStatusOrBuilder getHealthStatusOrBuilder(int index)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter |
---|
Name | Description |
index | int
|
getHealthStatusOrBuilderList()
public List<? extends HealthStatusOrBuilder> getHealthStatusOrBuilderList()
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.HealthStatusOrBuilder> | |
getKind()
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Returns |
---|
Type | Description |
String | The kind.
|
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Returns |
---|
Type | Description |
ByteString | The bytes for kind.
|
hasKind()
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Returns |
---|
Type | Description |
boolean | Whether the kind field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TargetPoolInstanceHealth other)
public TargetPoolInstanceHealth.Builder mergeFrom(TargetPoolInstanceHealth other)
public TargetPoolInstanceHealth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TargetPoolInstanceHealth.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolInstanceHealth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeHealthStatus(int index)
public TargetPoolInstanceHealth.Builder removeHealthStatus(int index)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolInstanceHealth.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHealthStatus(int index, HealthStatus value)
public TargetPoolInstanceHealth.Builder setHealthStatus(int index, HealthStatus value)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
setHealthStatus(int index, HealthStatus.Builder builderForValue)
public TargetPoolInstanceHealth.Builder setHealthStatus(int index, HealthStatus.Builder builderForValue)
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
setKind(String value)
public TargetPoolInstanceHealth.Builder setKind(String value)
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Parameter |
---|
Name | Description |
value | String
The kind to set.
|
setKindBytes(ByteString value)
public TargetPoolInstanceHealth.Builder setKindBytes(ByteString value)
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
optional string kind = 3292052;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for kind to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetPoolInstanceHealth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolInstanceHealth.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides