Package com.google.cloud.compute.v1
Class BackendServiceGroupHealth.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BackendServiceGroupHealth.Builder>
com.google.cloud.compute.v1.BackendServiceGroupHealth.Builder
- All Implemented Interfaces:
BackendServiceGroupHealthOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BackendServiceGroupHealth
public static final class BackendServiceGroupHealth.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BackendServiceGroupHealth.Builder>
implements BackendServiceGroupHealthOrBuilder
Protobuf type
google.cloud.compute.v1.BackendServiceGroupHealth-
Method Summary
Modifier and TypeMethodDescriptionaddAllHealthStatus(Iterable<? extends HealthStatus> values) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.addHealthStatus(int index, HealthStatus value) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.addHealthStatus(int index, HealthStatus.Builder builderForValue) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.addHealthStatus(HealthStatus value) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.addHealthStatus(HealthStatus.Builder builderForValue) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.addHealthStatusBuilder(int index) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.build()clear()Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.Output only.booleanMetadata defined as annotations on the network endpoint group.Deprecated.intMetadata defined as annotations on the network endpoint group.Metadata defined as annotations on the network endpoint group.getAnnotationsOrDefault(String key, String defaultValue) Metadata defined as annotations on the network endpoint group.Metadata defined as annotations on the network endpoint group.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHealthStatus(int index) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.getHealthStatusBuilder(int index) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.intHealth state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.getHealthStatusOrBuilder(int index) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.List<? extends HealthStatusOrBuilder>Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.getKind()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.booleanhasKind()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllAnnotations(Map<String, String> values) Metadata defined as annotations on the network endpoint group.putAnnotations(String key, String value) Metadata defined as annotations on the network endpoint group.removeAnnotations(String key) Metadata defined as annotations on the network endpoint group.removeHealthStatus(int index) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.setHealthStatus(int index, HealthStatus value) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.setHealthStatus(int index, HealthStatus.Builder builderForValue) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BackendServiceGroupHealth.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BackendServiceGroupHealth.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BackendServiceGroupHealth.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<BackendServiceGroupHealth.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<BackendServiceGroupHealth.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<BackendServiceGroupHealth.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BackendServiceGroupHealth.Builder>
-
mergeFrom
public BackendServiceGroupHealth.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<BackendServiceGroupHealth.Builder>- Throws:
IOException
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:BackendServiceGroupHealthOrBuilderMetadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsCountin interfaceBackendServiceGroupHealthOrBuilder
-
containsAnnotations
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
containsAnnotationsin interfaceBackendServiceGroupHealthOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceBackendServiceGroupHealthOrBuilder
-
getAnnotationsMap
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsMapin interfaceBackendServiceGroupHealthOrBuilder
-
getAnnotationsOrDefault
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrDefaultin interfaceBackendServiceGroupHealthOrBuilder
-
getAnnotationsOrThrow
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrThrowin interfaceBackendServiceGroupHealthOrBuilder
-
clearAnnotations
-
removeAnnotations
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548; -
putAllAnnotations
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548; -
getHealthStatusList
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;- Specified by:
getHealthStatusListin interfaceBackendServiceGroupHealthOrBuilder
-
getHealthStatusCount
public int getHealthStatusCount()Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;- Specified by:
getHealthStatusCountin interfaceBackendServiceGroupHealthOrBuilder
-
getHealthStatus
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;- Specified by:
getHealthStatusin interfaceBackendServiceGroupHealthOrBuilder
-
setHealthStatus
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
setHealthStatus
public BackendServiceGroupHealth.Builder setHealthStatus(int index, HealthStatus.Builder builderForValue) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
addHealthStatus
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
addHealthStatus
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
addHealthStatus
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
addHealthStatus
public BackendServiceGroupHealth.Builder addHealthStatus(int index, HealthStatus.Builder builderForValue) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
addAllHealthStatus
public BackendServiceGroupHealth.Builder addAllHealthStatus(Iterable<? extends HealthStatus> values) Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
clearHealthStatus
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
removeHealthStatus
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
getHealthStatusBuilder
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
getHealthStatusOrBuilder
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;- Specified by:
getHealthStatusOrBuilderin interfaceBackendServiceGroupHealthOrBuilder
-
getHealthStatusOrBuilderList
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;- Specified by:
getHealthStatusOrBuilderListin interfaceBackendServiceGroupHealthOrBuilder
-
addHealthStatusBuilder
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
addHealthStatusBuilder
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
getHealthStatusBuilderList
Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845; -
hasKind
public boolean hasKind()Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Specified by:
hasKindin interfaceBackendServiceGroupHealthOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Specified by:
getKindin interfaceBackendServiceGroupHealthOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceBackendServiceGroupHealthOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-