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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder> implements BackendServiceGroupHealthOrBuilder
Protobuf typegoogle.cloud.compute.v1.BackendServiceGroupHealth
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BackendServiceGroupHealth.BuilderaddAllHealthStatus(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.BackendServiceGroupHealth.BuilderaddHealthStatus(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.BackendServiceGroupHealth.BuilderaddHealthStatus(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.BackendServiceGroupHealth.BuilderaddHealthStatus(HealthStatus value)Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.BackendServiceGroupHealth.BuilderaddHealthStatus(HealthStatus.Builder builderForValue)Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.HealthStatus.BuilderaddHealthStatusBuilder()Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.HealthStatus.BuilderaddHealthStatusBuilder(int index)Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.BackendServiceGroupHealth.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackendServiceGroupHealthbuild()BackendServiceGroupHealthbuildPartial()BackendServiceGroupHealth.Builderclear()BackendServiceGroupHealth.BuilderclearAnnotations()BackendServiceGroupHealth.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BackendServiceGroupHealth.BuilderclearHealthStatus()Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.BackendServiceGroupHealth.BuilderclearKind()[Output Only] Type of resource.BackendServiceGroupHealth.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BackendServiceGroupHealth.Builderclone()booleancontainsAnnotations(String key)Metadata defined as annotations on the network endpoint group.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Metadata defined as annotations on the network endpoint group.Map<String,String>getAnnotationsMap()Metadata defined as annotations on the network endpoint group.StringgetAnnotationsOrDefault(String key, String defaultValue)Metadata defined as annotations on the network endpoint group.StringgetAnnotationsOrThrow(String key)Metadata defined as annotations on the network endpoint group.BackendServiceGroupHealthgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HealthStatusgetHealthStatus(int index)Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.HealthStatus.BuildergetHealthStatusBuilder(int index)Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.List<HealthStatus.Builder>getHealthStatusBuilderList()Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.intgetHealthStatusCount()Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.List<HealthStatus>getHealthStatusList()Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.HealthStatusOrBuildergetHealthStatusOrBuilder(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>getHealthStatusOrBuilderList()Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.StringgetKind()[Output Only] Type of resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of resource.Map<String,String>getMutableAnnotations()Deprecated.booleanhasKind()[Output Only] Type of resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()BackendServiceGroupHealth.BuildermergeFrom(BackendServiceGroupHealth other)BackendServiceGroupHealth.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BackendServiceGroupHealth.BuildermergeFrom(com.google.protobuf.Message other)BackendServiceGroupHealth.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BackendServiceGroupHealth.BuilderputAllAnnotations(Map<String,String> values)Metadata defined as annotations on the network endpoint group.BackendServiceGroupHealth.BuilderputAnnotations(String key, String value)Metadata defined as annotations on the network endpoint group.BackendServiceGroupHealth.BuilderremoveAnnotations(String key)Metadata defined as annotations on the network endpoint group.BackendServiceGroupHealth.BuilderremoveHealthStatus(int index)Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.BackendServiceGroupHealth.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackendServiceGroupHealth.BuildersetHealthStatus(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.BackendServiceGroupHealth.BuildersetHealthStatus(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.BackendServiceGroupHealth.BuildersetKind(String value)[Output Only] Type of resource.BackendServiceGroupHealth.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of resource.BackendServiceGroupHealth.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BackendServiceGroupHealth.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
clear
public BackendServiceGroupHealth.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
getDefaultInstanceForType
public BackendServiceGroupHealth getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BackendServiceGroupHealth build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BackendServiceGroupHealth buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BackendServiceGroupHealth.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
setField
public BackendServiceGroupHealth.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
clearField
public BackendServiceGroupHealth.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
clearOneof
public BackendServiceGroupHealth.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
setRepeatedField
public BackendServiceGroupHealth.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
addRepeatedField
public BackendServiceGroupHealth.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
mergeFrom
public BackendServiceGroupHealth.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackendServiceGroupHealth.Builder>
-
mergeFrom
public BackendServiceGroupHealth.Builder mergeFrom(BackendServiceGroupHealth other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
containsAnnotationsin interfaceBackendServiceGroupHealthOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceBackendServiceGroupHealthOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsMapin interfaceBackendServiceGroupHealthOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrDefaultin interfaceBackendServiceGroupHealthOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrThrowin interfaceBackendServiceGroupHealthOrBuilder
-
clearAnnotations
public BackendServiceGroupHealth.Builder clearAnnotations()
-
removeAnnotations
public BackendServiceGroupHealth.Builder removeAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public BackendServiceGroupHealth.Builder putAnnotations(String key, String value)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
-
putAllAnnotations
public BackendServiceGroupHealth.Builder putAllAnnotations(Map<String,String> values)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
-
getHealthStatusList
public List<HealthStatus> 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
public HealthStatus getHealthStatus(int index)
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
public BackendServiceGroupHealth.Builder 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.
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
public BackendServiceGroupHealth.Builder addHealthStatus(HealthStatus value)
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 value)
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(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
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
public BackendServiceGroupHealth.Builder 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
public BackendServiceGroupHealth.Builder removeHealthStatus(int index)
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
public HealthStatus.Builder getHealthStatusBuilder(int index)
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
public HealthStatusOrBuilder getHealthStatusOrBuilder(int index)
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
public List<? extends HealthStatusOrBuilder> 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
public HealthStatus.Builder 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
public HealthStatus.Builder addHealthStatusBuilder(int index)
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
public List<HealthStatus.Builder> 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] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Specified by:
hasKindin interfaceBackendServiceGroupHealthOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of resource. Always compute#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] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceBackendServiceGroupHealthOrBuilder- Returns:
- The bytes for kind.
-
setKind
public BackendServiceGroupHealth.Builder setKind(String value)
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public BackendServiceGroupHealth.Builder clearKind()
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public BackendServiceGroupHealth.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BackendServiceGroupHealth.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
mergeUnknownFields
public final BackendServiceGroupHealth.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder>
-
-