Package com.google.cloud.compute.v1
Class CompositeHealthCheckHealth.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder>
com.google.cloud.compute.v1.CompositeHealthCheckHealth.Builder
- All Implemented Interfaces:
CompositeHealthCheckHealthOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CompositeHealthCheckHealth
public static final class CompositeHealthCheckHealth.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder>
implements CompositeHealthCheckHealthOrBuilder
Response message for RegionCompositeHealthChecks.GetHealthProtobuf type
google.cloud.compute.v1.CompositeHealthCheckHealth-
Method Summary
Modifier and TypeMethodDescriptionaddAllHealthSources(Iterable<? extends CompositeHealthChecksGetHealthResponseHealthSourceHealth> values) Health sources and their corresponding health states.addHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth value) Health sources and their corresponding health states.addHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue) Health sources and their corresponding health states.Health sources and their corresponding health states.Health sources and their corresponding health states.Health sources and their corresponding health states.addHealthSourcesBuilder(int index) Health sources and their corresponding health states.build()clear()Health sources and their corresponding health states.Health state of the CompositeHealthCheck.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHealthSources(int index) Health sources and their corresponding health states.getHealthSourcesBuilder(int index) Health sources and their corresponding health states.Health sources and their corresponding health states.intHealth sources and their corresponding health states.Health sources and their corresponding health states.getHealthSourcesOrBuilder(int index) Health sources and their corresponding health states.Health sources and their corresponding health states.Health state of the CompositeHealthCheck.com.google.protobuf.ByteStringHealth state of the CompositeHealthCheck.getKind()Output only.com.google.protobuf.ByteStringOutput only.booleanHealth state of the CompositeHealthCheck.booleanhasKind()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeHealthSources(int index) Health sources and their corresponding health states.setHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth value) Health sources and their corresponding health states.setHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue) Health sources and their corresponding health states.setHealthState(String value) Health state of the CompositeHealthCheck.setHealthStateBytes(com.google.protobuf.ByteString value) Health state of the CompositeHealthCheck.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompositeHealthCheckHealth.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder>
-
mergeFrom
public CompositeHealthCheckHealth.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompositeHealthCheckHealth.Builder>- Throws:
IOException
-
getHealthSourcesList
Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;- Specified by:
getHealthSourcesListin interfaceCompositeHealthCheckHealthOrBuilder
-
getHealthSourcesCount
public int getHealthSourcesCount()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;- Specified by:
getHealthSourcesCountin interfaceCompositeHealthCheckHealthOrBuilder
-
getHealthSources
Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;- Specified by:
getHealthSourcesin interfaceCompositeHealthCheckHealthOrBuilder
-
setHealthSources
public CompositeHealthCheckHealth.Builder setHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth value) Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
setHealthSources
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; -
addHealthSources
public CompositeHealthCheckHealth.Builder addHealthSources(CompositeHealthChecksGetHealthResponseHealthSourceHealth value) Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
addHealthSources
public CompositeHealthCheckHealth.Builder addHealthSources(int index, CompositeHealthChecksGetHealthResponseHealthSourceHealth value) Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
addHealthSources
public CompositeHealthCheckHealth.Builder addHealthSources(CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder builderForValue) Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
addHealthSources
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; -
addAllHealthSources
public CompositeHealthCheckHealth.Builder addAllHealthSources(Iterable<? extends CompositeHealthChecksGetHealthResponseHealthSourceHealth> values) Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
clearHealthSources
Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
removeHealthSources
Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
getHealthSourcesBuilder
public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder getHealthSourcesBuilder(int index) Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
getHealthSourcesOrBuilder
public CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder getHealthSourcesOrBuilder(int index) Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;- Specified by:
getHealthSourcesOrBuilderin interfaceCompositeHealthCheckHealthOrBuilder
-
getHealthSourcesOrBuilderList
public List<? extends CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder> getHealthSourcesOrBuilderList()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;- Specified by:
getHealthSourcesOrBuilderListin interfaceCompositeHealthCheckHealthOrBuilder
-
addHealthSourcesBuilder
Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
addHealthSourcesBuilder
public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder addHealthSourcesBuilder(int index) Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
getHealthSourcesBuilderList
public List<CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder> getHealthSourcesBuilderList()Health sources and their corresponding health states.
repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509; -
hasHealthState
public boolean hasHealthState()Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Specified by:
hasHealthStatein interfaceCompositeHealthCheckHealthOrBuilder- Returns:
- Whether the healthState field is set.
-
getHealthState
Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Specified by:
getHealthStatein interfaceCompositeHealthCheckHealthOrBuilder- Returns:
- The healthState.
-
getHealthStateBytes
public com.google.protobuf.ByteString getHealthStateBytes()Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Specified by:
getHealthStateBytesin interfaceCompositeHealthCheckHealthOrBuilder- Returns:
- The bytes for healthState.
-
setHealthState
Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Parameters:
value- The healthState to set.- Returns:
- This builder for chaining.
-
clearHealthState
Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Returns:
- This builder for chaining.
-
setHealthStateBytes
Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.
optional string health_state = 324007150;- Parameters:
value- The bytes for healthState to set.- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;- Specified by:
hasKindin interfaceCompositeHealthCheckHealthOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;- Specified by:
getKindin interfaceCompositeHealthCheckHealthOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceCompositeHealthCheckHealthOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-