public static final class CompositeHealthCheckHealth.Builder extends GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder> implements CompositeHealthCheckHealthOrBuilderResponse message for RegionCompositeHealthChecks.GetHealth
Protobuf type google.cloud.compute.v1.CompositeHealthCheckHealth
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CompositeHealthCheckHealth.BuilderImplements
CompositeHealthCheckHealthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllHealthSources(Iterable<? extends CompositeHealthChecksGetHealthResponseHealthSourceHealth> values)
public CompositeHealthCheckHealth.Builder addAllHealthSources(Iterable<? extends CompositeHealthChecksGetHealthResponseHealthSourceHealth> values)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth> |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
addHealthSources(CompositeHealthChecksGetHealthResponseHealthSourceHealth value)
public CompositeHealthCheckHealth.Builder addHealthSources(CompositeHealthChecksGetHealthResponseHealthSourceHealth value)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameter | |
|---|---|
| Name | Description |
value |
CompositeHealthChecksGetHealthResponseHealthSourceHealth |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
addHealthSources(CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue)
public CompositeHealthCheckHealth.Builder addHealthSources(CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
addHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth value)
public CompositeHealthCheckHealth.Builder addHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth value)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CompositeHealthChecksGetHealthResponseHealthSourceHealth |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
addHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue)
public CompositeHealthCheckHealth.Builder addHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
addHealthSourcesBuilder()
public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder addHealthSourcesBuilder()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Returns | |
|---|---|
| Type | Description |
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder |
|
addHealthSourcesBuilder(int index)
public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder addHealthSourcesBuilder(int index)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder |
|
build()
public CompositeHealthCheckHealth build()| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth |
|
buildPartial()
public CompositeHealthCheckHealth buildPartial()| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth |
|
clear()
public CompositeHealthCheckHealth.Builder clear()| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
clearHealthSources()
public CompositeHealthCheckHealth.Builder clearHealthSources()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
clearHealthState()
public CompositeHealthCheckHealth.Builder clearHealthState()Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
This builder for chaining. |
clearKind()
public CompositeHealthCheckHealth.Builder clearKind()Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CompositeHealthCheckHealth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHealthSources(int index)
public CompositeHealthChecksGetHealthResponseHealthSourceHealth getHealthSources(int index)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthChecksGetHealthResponseHealthSourceHealth |
|
getHealthSourcesBuilder(int index)
public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder getHealthSourcesBuilder(int index)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder |
|
getHealthSourcesBuilderList()
public List<CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder> getHealthSourcesBuilderList()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getHealthSourcesCount()
public int getHealthSourcesCount()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Returns | |
|---|---|
| Type | Description |
int |
|
getHealthSourcesList()
public List<CompositeHealthChecksGetHealthResponseHealthSourceHealth> getHealthSourcesList()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Returns | |
|---|---|
| Type | Description |
List<CompositeHealthChecksGetHealthResponseHealthSourceHealth> |
|
getHealthSourcesOrBuilder(int index)
public CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder getHealthSourcesOrBuilder(int index)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder |
|
getHealthSourcesOrBuilderList()
public List<? extends CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder> getHealthSourcesOrBuilderList()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder> |
|
getHealthState()
public String getHealthState()Health state of the CompositeHealthCheck. 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 CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for healthState. |
getKind()
public String getKind()Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes()Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
hasHealthState()
public boolean hasHealthState()Health state of the CompositeHealthCheck. 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. |
hasKind()
public boolean hasKind()Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kind field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CompositeHealthCheckHealth other)
public CompositeHealthCheckHealth.Builder mergeFrom(CompositeHealthCheckHealth other)| Parameter | |
|---|---|
| Name | Description |
other |
CompositeHealthCheckHealth |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CompositeHealthCheckHealth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CompositeHealthCheckHealth.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
removeHealthSources(int index)
public CompositeHealthCheckHealth.Builder removeHealthSources(int index)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
setHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth value)
public CompositeHealthCheckHealth.Builder setHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth value)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CompositeHealthChecksGetHealthResponseHealthSourceHealth |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
setHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue)
public CompositeHealthCheckHealth.Builder setHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue)Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
|
setHealthState(String value)
public CompositeHealthCheckHealth.Builder setHealthState(String value)Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe healthState to set. |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
This builder for chaining. |
setHealthStateBytes(ByteString value)
public CompositeHealthCheckHealth.Builder setHealthStateBytes(ByteString value)Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for healthState to set. |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
This builder for chaining. |
setKind(String value)
public CompositeHealthCheckHealth.Builder setKind(String value)Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public CompositeHealthCheckHealth.Builder setKindBytes(ByteString value)Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
CompositeHealthCheckHealth.Builder |
This builder for chaining. |