public static final class HealthCheckService.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder> implements HealthCheckServiceOrBuilder
Represents a Health-Check as a Service resource.Protobuf type
google.cloud.compute.v1.HealthCheckService| Modifier and Type | Method and Description |
|---|---|
HealthCheckService.Builder |
addAllHealthChecks(Iterable<String> values)
A list of URLs to the HealthCheck resources.
|
HealthCheckService.Builder |
addAllNetworkEndpointGroups(Iterable<String> values)
A list of URLs to the NetworkEndpointGroup resources.
|
HealthCheckService.Builder |
addAllNotificationEndpoints(Iterable<String> values)
A list of URLs to the NotificationEndpoint resources.
|
HealthCheckService.Builder |
addHealthChecks(String value)
A list of URLs to the HealthCheck resources.
|
HealthCheckService.Builder |
addHealthChecksBytes(com.google.protobuf.ByteString value)
A list of URLs to the HealthCheck resources.
|
HealthCheckService.Builder |
addNetworkEndpointGroups(String value)
A list of URLs to the NetworkEndpointGroup resources.
|
HealthCheckService.Builder |
addNetworkEndpointGroupsBytes(com.google.protobuf.ByteString value)
A list of URLs to the NetworkEndpointGroup resources.
|
HealthCheckService.Builder |
addNotificationEndpoints(String value)
A list of URLs to the NotificationEndpoint resources.
|
HealthCheckService.Builder |
addNotificationEndpointsBytes(com.google.protobuf.ByteString value)
A list of URLs to the NotificationEndpoint resources.
|
HealthCheckService.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheckService |
build() |
HealthCheckService |
buildPartial() |
HealthCheckService.Builder |
clear() |
HealthCheckService.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
HealthCheckService.Builder |
clearDescription()
An optional description of this resource.
|
HealthCheckService.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HealthCheckService.Builder |
clearFingerprint()
Fingerprint of this resource.
|
HealthCheckService.Builder |
clearHealthChecks()
A list of URLs to the HealthCheck resources.
|
HealthCheckService.Builder |
clearHealthStatusAggregationPolicy()
Optional.
|
HealthCheckService.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
HealthCheckService.Builder |
clearKind()
[Output only] Type of the resource.
|
HealthCheckService.Builder |
clearName()
Name of the resource.
|
HealthCheckService.Builder |
clearNetworkEndpointGroups()
A list of URLs to the NetworkEndpointGroup resources.
|
HealthCheckService.Builder |
clearNotificationEndpoints()
A list of URLs to the NotificationEndpoint resources.
|
HealthCheckService.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HealthCheckService.Builder |
clearRegion()
[Output Only] URL of the region where the health check service resides.
|
HealthCheckService.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
HealthCheckService.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
HealthCheckService |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFingerprint()
Fingerprint of this resource.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Fingerprint of this resource.
|
String |
getHealthChecks(int index)
A list of URLs to the HealthCheck resources.
|
com.google.protobuf.ByteString |
getHealthChecksBytes(int index)
A list of URLs to the HealthCheck resources.
|
int |
getHealthChecksCount()
A list of URLs to the HealthCheck resources.
|
com.google.protobuf.ProtocolStringList |
getHealthChecksList()
A list of URLs to the HealthCheck resources.
|
String |
getHealthStatusAggregationPolicy()
Optional.
|
com.google.protobuf.ByteString |
getHealthStatusAggregationPolicyBytes()
Optional.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output only] Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getNetworkEndpointGroups(int index)
A list of URLs to the NetworkEndpointGroup resources.
|
com.google.protobuf.ByteString |
getNetworkEndpointGroupsBytes(int index)
A list of URLs to the NetworkEndpointGroup resources.
|
int |
getNetworkEndpointGroupsCount()
A list of URLs to the NetworkEndpointGroup resources.
|
com.google.protobuf.ProtocolStringList |
getNetworkEndpointGroupsList()
A list of URLs to the NetworkEndpointGroup resources.
|
String |
getNotificationEndpoints(int index)
A list of URLs to the NotificationEndpoint resources.
|
com.google.protobuf.ByteString |
getNotificationEndpointsBytes(int index)
A list of URLs to the NotificationEndpoint resources.
|
int |
getNotificationEndpointsCount()
A list of URLs to the NotificationEndpoint resources.
|
com.google.protobuf.ProtocolStringList |
getNotificationEndpointsList()
A list of URLs to the NotificationEndpoint resources.
|
String |
getRegion()
[Output Only] URL of the region where the health check service resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the health check service resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasFingerprint()
Fingerprint of this resource.
|
boolean |
hasHealthStatusAggregationPolicy()
Optional.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output only] Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasRegion()
[Output Only] URL of the region where the health check service resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HealthCheckService.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HealthCheckService.Builder |
mergeFrom(HealthCheckService other) |
HealthCheckService.Builder |
mergeFrom(com.google.protobuf.Message other) |
HealthCheckService.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HealthCheckService.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
HealthCheckService.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
HealthCheckService.Builder |
setDescription(String value)
An optional description of this resource.
|
HealthCheckService.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
HealthCheckService.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheckService.Builder |
setFingerprint(String value)
Fingerprint of this resource.
|
HealthCheckService.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource.
|
HealthCheckService.Builder |
setHealthChecks(int index,
String value)
A list of URLs to the HealthCheck resources.
|
HealthCheckService.Builder |
setHealthStatusAggregationPolicy(String value)
Optional.
|
HealthCheckService.Builder |
setHealthStatusAggregationPolicyBytes(com.google.protobuf.ByteString value)
Optional.
|
HealthCheckService.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
HealthCheckService.Builder |
setKind(String value)
[Output only] Type of the resource.
|
HealthCheckService.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output only] Type of the resource.
|
HealthCheckService.Builder |
setName(String value)
Name of the resource.
|
HealthCheckService.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
HealthCheckService.Builder |
setNetworkEndpointGroups(int index,
String value)
A list of URLs to the NetworkEndpointGroup resources.
|
HealthCheckService.Builder |
setNotificationEndpoints(int index,
String value)
A list of URLs to the NotificationEndpoint resources.
|
HealthCheckService.Builder |
setRegion(String value)
[Output Only] URL of the region where the health check service resides.
|
HealthCheckService.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the health check service resides.
|
HealthCheckService.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HealthCheckService.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
HealthCheckService.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
HealthCheckService.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HealthCheckService build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HealthCheckService buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HealthCheckService.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheckService.Builder>public HealthCheckService.Builder mergeFrom(HealthCheckService other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public HealthCheckService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheckService.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface HealthCheckServiceOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface HealthCheckServiceOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public HealthCheckService.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public HealthCheckService.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface HealthCheckServiceOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface HealthCheckServiceOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public HealthCheckService.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public HealthCheckService.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;hasFingerprint in interface HealthCheckServiceOrBuilderpublic String getFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;getFingerprint in interface HealthCheckServiceOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;getFingerprintBytes in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setFingerprint(String value)
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;value - The fingerprint to set.public HealthCheckService.Builder clearFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;public HealthCheckService.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;value - The bytes for fingerprint to set.public com.google.protobuf.ProtocolStringList getHealthChecksList()
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;getHealthChecksList in interface HealthCheckServiceOrBuilderpublic int getHealthChecksCount()
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;getHealthChecksCount in interface HealthCheckServiceOrBuilderpublic String getHealthChecks(int index)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;getHealthChecks in interface HealthCheckServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getHealthChecksBytes(int index)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;getHealthChecksBytes in interface HealthCheckServiceOrBuilderindex - The index of the value to return.public HealthCheckService.Builder setHealthChecks(int index, String value)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;index - The index to set the value at.value - The healthChecks to set.public HealthCheckService.Builder addHealthChecks(String value)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;value - The healthChecks to add.public HealthCheckService.Builder addAllHealthChecks(Iterable<String> values)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;values - The healthChecks to add.public HealthCheckService.Builder clearHealthChecks()
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;public HealthCheckService.Builder addHealthChecksBytes(com.google.protobuf.ByteString value)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;value - The bytes of the healthChecks to add.public boolean hasHealthStatusAggregationPolicy()
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;hasHealthStatusAggregationPolicy in interface HealthCheckServiceOrBuilderpublic String getHealthStatusAggregationPolicy()
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;getHealthStatusAggregationPolicy in interface HealthCheckServiceOrBuilderpublic com.google.protobuf.ByteString getHealthStatusAggregationPolicyBytes()
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;getHealthStatusAggregationPolicyBytes in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setHealthStatusAggregationPolicy(String value)
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;value - The healthStatusAggregationPolicy to set.public HealthCheckService.Builder clearHealthStatusAggregationPolicy()
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;public HealthCheckService.Builder setHealthStatusAggregationPolicyBytes(com.google.protobuf.ByteString value)
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;value - The bytes for healthStatusAggregationPolicy to set.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface HealthCheckServiceOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public HealthCheckService.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;hasKind in interface HealthCheckServiceOrBuilderpublic String getKind()
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;getKind in interface HealthCheckServiceOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;getKindBytes in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setKind(String value)
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;value - The kind to set.public HealthCheckService.Builder clearKind()
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;public HealthCheckService.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasName()
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface HealthCheckServiceOrBuilderpublic String getName()
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface HealthCheckServiceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setName(String value)
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public HealthCheckService.Builder clearName()
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public HealthCheckService.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.public com.google.protobuf.ProtocolStringList getNetworkEndpointGroupsList()
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;getNetworkEndpointGroupsList in interface HealthCheckServiceOrBuilderpublic int getNetworkEndpointGroupsCount()
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;getNetworkEndpointGroupsCount in interface HealthCheckServiceOrBuilderpublic String getNetworkEndpointGroups(int index)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;getNetworkEndpointGroups in interface HealthCheckServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNetworkEndpointGroupsBytes(int index)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;getNetworkEndpointGroupsBytes in interface HealthCheckServiceOrBuilderindex - The index of the value to return.public HealthCheckService.Builder setNetworkEndpointGroups(int index, String value)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;index - The index to set the value at.value - The networkEndpointGroups to set.public HealthCheckService.Builder addNetworkEndpointGroups(String value)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;value - The networkEndpointGroups to add.public HealthCheckService.Builder addAllNetworkEndpointGroups(Iterable<String> values)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;values - The networkEndpointGroups to add.public HealthCheckService.Builder clearNetworkEndpointGroups()
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;public HealthCheckService.Builder addNetworkEndpointGroupsBytes(com.google.protobuf.ByteString value)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;value - The bytes of the networkEndpointGroups to add.public com.google.protobuf.ProtocolStringList getNotificationEndpointsList()
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;getNotificationEndpointsList in interface HealthCheckServiceOrBuilderpublic int getNotificationEndpointsCount()
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;getNotificationEndpointsCount in interface HealthCheckServiceOrBuilderpublic String getNotificationEndpoints(int index)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;getNotificationEndpoints in interface HealthCheckServiceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNotificationEndpointsBytes(int index)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;getNotificationEndpointsBytes in interface HealthCheckServiceOrBuilderindex - The index of the value to return.public HealthCheckService.Builder setNotificationEndpoints(int index, String value)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;index - The index to set the value at.value - The notificationEndpoints to set.public HealthCheckService.Builder addNotificationEndpoints(String value)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;value - The notificationEndpoints to add.public HealthCheckService.Builder addAllNotificationEndpoints(Iterable<String> values)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;values - The notificationEndpoints to add.public HealthCheckService.Builder clearNotificationEndpoints()
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;public HealthCheckService.Builder addNotificationEndpointsBytes(com.google.protobuf.ByteString value)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;value - The bytes of the notificationEndpoints to add.public boolean hasRegion()
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;hasRegion in interface HealthCheckServiceOrBuilderpublic String getRegion()
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegion in interface HealthCheckServiceOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegionBytes in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setRegion(String value)
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;value - The region to set.public HealthCheckService.Builder clearRegion()
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;public HealthCheckService.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;value - The bytes for region to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface HealthCheckServiceOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface HealthCheckServiceOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface HealthCheckServiceOrBuilderpublic HealthCheckService.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public HealthCheckService.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public HealthCheckService.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public final HealthCheckService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>public final HealthCheckService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>Copyright © 2023 Google LLC. All rights reserved.