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.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()
Returns
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceGroupHealth.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BackendServiceGroupHealth build()
Returns
buildPartial()
public BackendServiceGroupHealth buildPartial()
Returns
clear()
public BackendServiceGroupHealth.Builder clear()
Returns
Overrides
clearAnnotations()
public BackendServiceGroupHealth.Builder clearAnnotations()
Returns
clearField(Descriptors.FieldDescriptor field)
public BackendServiceGroupHealth.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearKind()
public BackendServiceGroupHealth.Builder clearKind()
[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
optional string kind = 3292052;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BackendServiceGroupHealth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BackendServiceGroupHealth.Builder clone()
Returns
Overrides
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Parameter
Returns
getAnnotations()
public Map<String,String> getAnnotations()
Returns
getAnnotationsCount()
public int getAnnotationsCount()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Returns
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Returns
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;
Parameters
Returns
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Parameter
Returns
getDefaultInstanceForType()
public BackendServiceGroupHealth getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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;
Returns
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
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;
Returns
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
Returns
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
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns
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()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BackendServiceGroupHealth other)
public BackendServiceGroupHealth.Builder mergeFrom(BackendServiceGroupHealth other)
Parameter
Returns
public BackendServiceGroupHealth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BackendServiceGroupHealth.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceGroupHealth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
removeAnnotations(String key)
public BackendServiceGroupHealth.Builder removeAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceGroupHealth.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackendServiceGroupHealth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceGroupHealth.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides