public static final class BackendServiceGroupHealth.Builder extends GeneratedMessageV3.Builder<BackendServiceGroupHealth.Builder> implements BackendServiceGroupHealthOrBuilder
Protobuf type google.cloud.compute.v1.BackendServiceGroupHealth
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 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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.HealthStatus>
|
addHealthStatus(HealthStatus value)
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(HealthStatus.Builder builderForValue)
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(int index, HealthStatus value)
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(int index, HealthStatus.Builder builderForValue)
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;
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(int index)
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;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceGroupHealth.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BackendServiceGroupHealth build()
buildPartial()
public BackendServiceGroupHealth buildPartial()
clear()
public BackendServiceGroupHealth.Builder clear()
Overrides
clearAnnotations()
public BackendServiceGroupHealth.Builder clearAnnotations()
clearField(Descriptors.FieldDescriptor field)
public BackendServiceGroupHealth.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearKind()
public BackendServiceGroupHealth.Builder clearKind()
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;
clearOneof(Descriptors.OneofDescriptor oneof)
public BackendServiceGroupHealth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BackendServiceGroupHealth.Builder clone()
Overrides
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Parameter |
Name |
Description |
key |
String
|
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()
getAnnotationsCount()
public int getAnnotationsCount()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Returns |
Type |
Description |
int |
|
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Returns |
Type |
Description |
String |
|
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getDefaultInstanceForType()
public BackendServiceGroupHealth getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHealthStatus(int index)
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;
Parameter |
Name |
Description |
index |
int
|
getHealthStatusBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
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;
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;
Returns |
Type |
Description |
int |
|
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;
getHealthStatusOrBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
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;
Returns |
Type |
Description |
List<? extends com.google.cloud.compute.v1.HealthStatusOrBuilder> |
|
getKind()
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;
Returns |
Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;
Returns |
Type |
Description |
ByteString |
The bytes for kind.
|
getMutableAnnotations() (deprecated)
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
hasKind()
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;
Returns |
Type |
Description |
boolean |
Whether the kind field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BackendServiceGroupHealth other)
public BackendServiceGroupHealth.Builder mergeFrom(BackendServiceGroupHealth other)
public BackendServiceGroupHealth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BackendServiceGroupHealth.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceGroupHealth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllAnnotations(Map<String,String> values)
public BackendServiceGroupHealth.Builder putAllAnnotations(Map<String,String> values)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
putAnnotations(String key, String value)
public BackendServiceGroupHealth.Builder putAnnotations(String key, String value)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
removeAnnotations(String key)
public BackendServiceGroupHealth.Builder removeAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Parameter |
Name |
Description |
key |
String
|
removeHealthStatus(int index)
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;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceGroupHealth.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHealthStatus(int index, HealthStatus value)
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(int index, HealthStatus.Builder builderForValue)
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;
setKind(String value)
public BackendServiceGroupHealth.Builder setKind(String value)
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;
Parameter |
Name |
Description |
value |
String
The kind to set.
|
setKindBytes(ByteString value)
public BackendServiceGroupHealth.Builder setKindBytes(ByteString value)
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;
Parameter |
Name |
Description |
value |
ByteString
The bytes for kind to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackendServiceGroupHealth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceGroupHealth.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides