public static final class HealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder> implements HealthCheckOrBuilder
Represents a Health Check resource. Google Compute Engine has two Health Check resources: * [Global](/compute/docs/reference/rest/v1/healthChecks) * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) Internal HTTP(S) load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Traffic Director must use global health checks (`compute.v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or global health checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (`compute.v1.HealthChecks`). Backend service-based network load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Target pool-based network load balancers must use legacy HTTP health checks (`compute.v1.httpHealthChecks`). For more information, see Health checks overview.Protobuf type
google.cloud.compute.v1.HealthCheck| Modifier and Type | Method and Description |
|---|---|
HealthCheck.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheck |
build() |
HealthCheck |
buildPartial() |
HealthCheck.Builder |
clear() |
HealthCheck.Builder |
clearCheckIntervalSec()
How often (in seconds) to send a health check.
|
HealthCheck.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in 3339 text format.
|
HealthCheck.Builder |
clearDescription()
An optional description of this resource.
|
HealthCheck.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HealthCheck.Builder |
clearGrpcHealthCheck()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; |
HealthCheck.Builder |
clearHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
HealthCheck.Builder |
clearHttp2HealthCheck()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
|
HealthCheck.Builder |
clearHttpHealthCheck()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; |
HealthCheck.Builder |
clearHttpsHealthCheck()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
|
HealthCheck.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
HealthCheck.Builder |
clearKind()
Type of the resource.
|
HealthCheck.Builder |
clearLogConfig()
Configure logging on this health check.
|
HealthCheck.Builder |
clearName()
Name of the resource.
|
HealthCheck.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HealthCheck.Builder |
clearRegion()
[Output Only] Region where the health check resides.
|
HealthCheck.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
HealthCheck.Builder |
clearSslHealthCheck()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; |
HealthCheck.Builder |
clearTcpHealthCheck()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; |
HealthCheck.Builder |
clearTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
HealthCheck.Builder |
clearType()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC.
|
HealthCheck.Builder |
clearUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
HealthCheck.Builder |
clone() |
int |
getCheckIntervalSec()
How often (in seconds) to send a health check.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in 3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in 3339 text format.
|
HealthCheck |
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() |
GRPCHealthCheck |
getGrpcHealthCheck()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; |
GRPCHealthCheck.Builder |
getGrpcHealthCheckBuilder()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; |
GRPCHealthCheckOrBuilder |
getGrpcHealthCheckOrBuilder()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; |
int |
getHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
HTTP2HealthCheck |
getHttp2HealthCheck()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
|
HTTP2HealthCheck.Builder |
getHttp2HealthCheckBuilder()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
|
HTTP2HealthCheckOrBuilder |
getHttp2HealthCheckOrBuilder()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
|
HTTPHealthCheck |
getHttpHealthCheck()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; |
HTTPHealthCheck.Builder |
getHttpHealthCheckBuilder()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; |
HTTPHealthCheckOrBuilder |
getHttpHealthCheckOrBuilder()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; |
HTTPSHealthCheck |
getHttpsHealthCheck()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
|
HTTPSHealthCheck.Builder |
getHttpsHealthCheckBuilder()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
|
HTTPSHealthCheckOrBuilder |
getHttpsHealthCheckOrBuilder()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
Type of the resource.
|
HealthCheckLogConfig |
getLogConfig()
Configure logging on this health check.
|
HealthCheckLogConfig.Builder |
getLogConfigBuilder()
Configure logging on this health check.
|
HealthCheckLogConfigOrBuilder |
getLogConfigOrBuilder()
Configure logging on this health check.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getRegion()
[Output Only] Region where the health check resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] Region where the health check resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
SSLHealthCheck |
getSslHealthCheck()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; |
SSLHealthCheck.Builder |
getSslHealthCheckBuilder()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; |
SSLHealthCheckOrBuilder |
getSslHealthCheckOrBuilder()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; |
TCPHealthCheck |
getTcpHealthCheck()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; |
TCPHealthCheck.Builder |
getTcpHealthCheckBuilder()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; |
TCPHealthCheckOrBuilder |
getTcpHealthCheckOrBuilder()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; |
int |
getTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
String |
getType()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC.
|
com.google.protobuf.ByteString |
getTypeBytes()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC.
|
int |
getUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
boolean |
hasCheckIntervalSec()
How often (in seconds) to send a health check.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in 3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasGrpcHealthCheck()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; |
boolean |
hasHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
boolean |
hasHttp2HealthCheck()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
|
boolean |
hasHttpHealthCheck()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; |
boolean |
hasHttpsHealthCheck()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
Type of the resource.
|
boolean |
hasLogConfig()
Configure logging on this health check.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasRegion()
[Output Only] Region where the health check resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasSslHealthCheck()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; |
boolean |
hasTcpHealthCheck()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; |
boolean |
hasTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
boolean |
hasType()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC.
|
boolean |
hasUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HealthCheck.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HealthCheck.Builder |
mergeFrom(HealthCheck other) |
HealthCheck.Builder |
mergeFrom(com.google.protobuf.Message other) |
HealthCheck.Builder |
mergeGrpcHealthCheck(GRPCHealthCheck value)
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; |
HealthCheck.Builder |
mergeHttp2HealthCheck(HTTP2HealthCheck value)
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
|
HealthCheck.Builder |
mergeHttpHealthCheck(HTTPHealthCheck value)
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; |
HealthCheck.Builder |
mergeHttpsHealthCheck(HTTPSHealthCheck value)
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
|
HealthCheck.Builder |
mergeLogConfig(HealthCheckLogConfig value)
Configure logging on this health check.
|
HealthCheck.Builder |
mergeSslHealthCheck(SSLHealthCheck value)
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; |
HealthCheck.Builder |
mergeTcpHealthCheck(TCPHealthCheck value)
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; |
HealthCheck.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HealthCheck.Builder |
setCheckIntervalSec(int value)
How often (in seconds) to send a health check.
|
HealthCheck.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in 3339 text format.
|
HealthCheck.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in 3339 text format.
|
HealthCheck.Builder |
setDescription(String value)
An optional description of this resource.
|
HealthCheck.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
HealthCheck.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheck.Builder |
setGrpcHealthCheck(GRPCHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; |
HealthCheck.Builder |
setGrpcHealthCheck(GRPCHealthCheck value)
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; |
HealthCheck.Builder |
setHealthyThreshold(int value)
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
HealthCheck.Builder |
setHttp2HealthCheck(HTTP2HealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
|
HealthCheck.Builder |
setHttp2HealthCheck(HTTP2HealthCheck value)
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
|
HealthCheck.Builder |
setHttpHealthCheck(HTTPHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; |
HealthCheck.Builder |
setHttpHealthCheck(HTTPHealthCheck value)
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; |
HealthCheck.Builder |
setHttpsHealthCheck(HTTPSHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
|
HealthCheck.Builder |
setHttpsHealthCheck(HTTPSHealthCheck value)
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
|
HealthCheck.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
HealthCheck.Builder |
setKind(String value)
Type of the resource.
|
HealthCheck.Builder |
setKindBytes(com.google.protobuf.ByteString value)
Type of the resource.
|
HealthCheck.Builder |
setLogConfig(HealthCheckLogConfig.Builder builderForValue)
Configure logging on this health check.
|
HealthCheck.Builder |
setLogConfig(HealthCheckLogConfig value)
Configure logging on this health check.
|
HealthCheck.Builder |
setName(String value)
Name of the resource.
|
HealthCheck.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
HealthCheck.Builder |
setRegion(String value)
[Output Only] Region where the health check resides.
|
HealthCheck.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] Region where the health check resides.
|
HealthCheck.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HealthCheck.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
HealthCheck.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
HealthCheck.Builder |
setSslHealthCheck(SSLHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; |
HealthCheck.Builder |
setSslHealthCheck(SSLHealthCheck value)
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; |
HealthCheck.Builder |
setTcpHealthCheck(TCPHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; |
HealthCheck.Builder |
setTcpHealthCheck(TCPHealthCheck value)
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; |
HealthCheck.Builder |
setTimeoutSec(int value)
How long (in seconds) to wait before claiming failure.
|
HealthCheck.Builder |
setType(String value)
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC.
|
HealthCheck.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC.
|
HealthCheck.Builder |
setUnhealthyThreshold(int value)
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
HealthCheck.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<HealthCheck.Builder>public HealthCheck.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.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<HealthCheck.Builder>public HealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HealthCheck build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HealthCheck buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HealthCheck.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.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<HealthCheck.Builder>public HealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.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<HealthCheck.Builder>public HealthCheck.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<HealthCheck.Builder>public HealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.Builder>public HealthCheck.Builder mergeFrom(HealthCheck other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.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<HealthCheck.Builder>IOExceptionpublic boolean hasCheckIntervalSec()
How often (in seconds) to send a health check. The default value is 5 seconds.
optional int32 check_interval_sec = 345561006;hasCheckIntervalSec in interface HealthCheckOrBuilderpublic int getCheckIntervalSec()
How often (in seconds) to send a health check. The default value is 5 seconds.
optional int32 check_interval_sec = 345561006;getCheckIntervalSec in interface HealthCheckOrBuilderpublic HealthCheck.Builder setCheckIntervalSec(int value)
How often (in seconds) to send a health check. The default value is 5 seconds.
optional int32 check_interval_sec = 345561006;value - The checkIntervalSec to set.public HealthCheck.Builder clearCheckIntervalSec()
How often (in seconds) to send a health check. The default value is 5 seconds.
optional int32 check_interval_sec = 345561006;public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in 3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface HealthCheckOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in 3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface HealthCheckOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in 3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface HealthCheckOrBuilderpublic HealthCheck.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in 3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public HealthCheck.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in 3339 text format.
optional string creation_timestamp = 30525366;public HealthCheck.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in 3339 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 HealthCheckOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface HealthCheckOrBuilderpublic 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 HealthCheckOrBuilderpublic HealthCheck.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 HealthCheck.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public HealthCheck.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 hasGrpcHealthCheck()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574;hasGrpcHealthCheck in interface HealthCheckOrBuilderpublic GRPCHealthCheck getGrpcHealthCheck()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574;getGrpcHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.Builder setGrpcHealthCheck(GRPCHealthCheck value)
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574;public HealthCheck.Builder setGrpcHealthCheck(GRPCHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574;public HealthCheck.Builder mergeGrpcHealthCheck(GRPCHealthCheck value)
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574;public HealthCheck.Builder clearGrpcHealthCheck()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574;public GRPCHealthCheck.Builder getGrpcHealthCheckBuilder()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574;public GRPCHealthCheckOrBuilder getGrpcHealthCheckOrBuilder()
optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574;getGrpcHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
optional int32 healthy_threshold = 403212361;hasHealthyThreshold in interface HealthCheckOrBuilderpublic int getHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
optional int32 healthy_threshold = 403212361;getHealthyThreshold in interface HealthCheckOrBuilderpublic HealthCheck.Builder setHealthyThreshold(int value)
A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
optional int32 healthy_threshold = 403212361;value - The healthyThreshold to set.public HealthCheck.Builder clearHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
optional int32 healthy_threshold = 403212361;public boolean hasHttp2HealthCheck()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
hasHttp2HealthCheck in interface HealthCheckOrBuilderpublic HTTP2HealthCheck getHttp2HealthCheck()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
getHttp2HealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.Builder setHttp2HealthCheck(HTTP2HealthCheck value)
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
public HealthCheck.Builder setHttp2HealthCheck(HTTP2HealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
public HealthCheck.Builder mergeHttp2HealthCheck(HTTP2HealthCheck value)
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
public HealthCheck.Builder clearHttp2HealthCheck()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
public HTTP2HealthCheck.Builder getHttp2HealthCheckBuilder()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
public HTTP2HealthCheckOrBuilder getHttp2HealthCheckOrBuilder()
optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986;
getHttp2HealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasHttpHealthCheck()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940;hasHttpHealthCheck in interface HealthCheckOrBuilderpublic HTTPHealthCheck getHttpHealthCheck()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940;getHttpHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.Builder setHttpHealthCheck(HTTPHealthCheck value)
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940;public HealthCheck.Builder setHttpHealthCheck(HTTPHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940;public HealthCheck.Builder mergeHttpHealthCheck(HTTPHealthCheck value)
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940;public HealthCheck.Builder clearHttpHealthCheck()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940;public HTTPHealthCheck.Builder getHttpHealthCheckBuilder()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940;public HTTPHealthCheckOrBuilder getHttpHealthCheckOrBuilder()
optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940;getHttpHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasHttpsHealthCheck()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
hasHttpsHealthCheck in interface HealthCheckOrBuilderpublic HTTPSHealthCheck getHttpsHealthCheck()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
getHttpsHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.Builder setHttpsHealthCheck(HTTPSHealthCheck value)
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
public HealthCheck.Builder setHttpsHealthCheck(HTTPSHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
public HealthCheck.Builder mergeHttpsHealthCheck(HTTPSHealthCheck value)
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
public HealthCheck.Builder clearHttpsHealthCheck()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
public HTTPSHealthCheck.Builder getHttpsHealthCheckBuilder()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
public HTTPSHealthCheckOrBuilder getHttpsHealthCheckOrBuilder()
optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905;
getHttpsHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface HealthCheckOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface HealthCheckOrBuilderpublic HealthCheck.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 HealthCheck.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
Type of the resource.
optional string kind = 3292052;hasKind in interface HealthCheckOrBuilderpublic String getKind()
Type of the resource.
optional string kind = 3292052;getKind in interface HealthCheckOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
Type of the resource.
optional string kind = 3292052;getKindBytes in interface HealthCheckOrBuilderpublic HealthCheck.Builder setKind(String value)
Type of the resource.
optional string kind = 3292052;value - The kind to set.public HealthCheck.Builder clearKind()
Type of the resource.
optional string kind = 3292052;public HealthCheck.Builder setKindBytes(com.google.protobuf.ByteString value)
Type of the resource.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasLogConfig()
Configure logging on this health check.
optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741;hasLogConfig in interface HealthCheckOrBuilderpublic HealthCheckLogConfig getLogConfig()
Configure logging on this health check.
optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741;getLogConfig in interface HealthCheckOrBuilderpublic HealthCheck.Builder setLogConfig(HealthCheckLogConfig value)
Configure logging on this health check.
optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741;public HealthCheck.Builder setLogConfig(HealthCheckLogConfig.Builder builderForValue)
Configure logging on this health check.
optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741;public HealthCheck.Builder mergeLogConfig(HealthCheckLogConfig value)
Configure logging on this health check.
optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741;public HealthCheck.Builder clearLogConfig()
Configure logging on this health check.
optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741;public HealthCheckLogConfig.Builder getLogConfigBuilder()
Configure logging on this health check.
optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741;public HealthCheckLogConfigOrBuilder getLogConfigOrBuilder()
Configure logging on this health check.
optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741;getLogConfigOrBuilder in interface HealthCheckOrBuilderpublic boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
optional string name = 3373707;hasName in interface HealthCheckOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
optional string name = 3373707;getName in interface HealthCheckOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
optional string name = 3373707;getNameBytes in interface HealthCheckOrBuilderpublic HealthCheck.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
optional string name = 3373707;value - The name to set.public HealthCheck.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
optional string name = 3373707;public HealthCheck.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
optional string name = 3373707;value - The bytes for name to set.public boolean hasRegion()
[Output Only] Region where the health check resides. Not applicable to global health checks.
optional string region = 138946292;hasRegion in interface HealthCheckOrBuilderpublic String getRegion()
[Output Only] Region where the health check resides. Not applicable to global health checks.
optional string region = 138946292;getRegion in interface HealthCheckOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] Region where the health check resides. Not applicable to global health checks.
optional string region = 138946292;getRegionBytes in interface HealthCheckOrBuilderpublic HealthCheck.Builder setRegion(String value)
[Output Only] Region where the health check resides. Not applicable to global health checks.
optional string region = 138946292;value - The region to set.public HealthCheck.Builder clearRegion()
[Output Only] Region where the health check resides. Not applicable to global health checks.
optional string region = 138946292;public HealthCheck.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] Region where the health check resides. Not applicable to global health checks.
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 HealthCheckOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface HealthCheckOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface HealthCheckOrBuilderpublic HealthCheck.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public HealthCheck.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public HealthCheck.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 boolean hasSslHealthCheck()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440;hasSslHealthCheck in interface HealthCheckOrBuilderpublic SSLHealthCheck getSslHealthCheck()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440;getSslHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.Builder setSslHealthCheck(SSLHealthCheck value)
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440;public HealthCheck.Builder setSslHealthCheck(SSLHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440;public HealthCheck.Builder mergeSslHealthCheck(SSLHealthCheck value)
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440;public HealthCheck.Builder clearSslHealthCheck()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440;public SSLHealthCheck.Builder getSslHealthCheckBuilder()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440;public SSLHealthCheckOrBuilder getSslHealthCheckOrBuilder()
optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440;getSslHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasTcpHealthCheck()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419;hasTcpHealthCheck in interface HealthCheckOrBuilderpublic TCPHealthCheck getTcpHealthCheck()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419;getTcpHealthCheck in interface HealthCheckOrBuilderpublic HealthCheck.Builder setTcpHealthCheck(TCPHealthCheck value)
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419;public HealthCheck.Builder setTcpHealthCheck(TCPHealthCheck.Builder builderForValue)
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419;public HealthCheck.Builder mergeTcpHealthCheck(TCPHealthCheck value)
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419;public HealthCheck.Builder clearTcpHealthCheck()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419;public TCPHealthCheck.Builder getTcpHealthCheckBuilder()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419;public TCPHealthCheckOrBuilder getTcpHealthCheckOrBuilder()
optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419;getTcpHealthCheckOrBuilder in interface HealthCheckOrBuilderpublic boolean hasTimeoutSec()
How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
optional int32 timeout_sec = 79994995;hasTimeoutSec in interface HealthCheckOrBuilderpublic int getTimeoutSec()
How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
optional int32 timeout_sec = 79994995;getTimeoutSec in interface HealthCheckOrBuilderpublic HealthCheck.Builder setTimeoutSec(int value)
How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
optional int32 timeout_sec = 79994995;value - The timeoutSec to set.public HealthCheck.Builder clearTimeoutSec()
How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
optional int32 timeout_sec = 79994995;public boolean hasType()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. Check the Type enum for the list of possible values.
optional string type = 3575610;hasType in interface HealthCheckOrBuilderpublic String getType()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. Check the Type enum for the list of possible values.
optional string type = 3575610;getType in interface HealthCheckOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. Check the Type enum for the list of possible values.
optional string type = 3575610;getTypeBytes in interface HealthCheckOrBuilderpublic HealthCheck.Builder setType(String value)
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. Check the Type enum for the list of possible values.
optional string type = 3575610;value - The type to set.public HealthCheck.Builder clearType()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. Check the Type enum for the list of possible values.
optional string type = 3575610;public HealthCheck.Builder setTypeBytes(com.google.protobuf.ByteString value)
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. Check the Type enum for the list of possible values.
optional string type = 3575610;value - The bytes for type to set.public boolean hasUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
optional int32 unhealthy_threshold = 227958480;hasUnhealthyThreshold in interface HealthCheckOrBuilderpublic int getUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
optional int32 unhealthy_threshold = 227958480;getUnhealthyThreshold in interface HealthCheckOrBuilderpublic HealthCheck.Builder setUnhealthyThreshold(int value)
A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
optional int32 unhealthy_threshold = 227958480;value - The unhealthyThreshold to set.public HealthCheck.Builder clearUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
optional int32 unhealthy_threshold = 227958480;public final HealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public final HealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>Copyright © 2023 Google LLC. All rights reserved.