publicfinalclass HealthCheckextendsGeneratedMessageV3implementsHealthCheckOrBuilder
Health checking configuration for VM instances. Unhealthy instances
are killed and replaced with new instances. Only applicable for
instances in App Engine flexible environment.
Protobuf type google.appengine.v1.HealthCheck
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CHECK_INTERVAL_FIELD_NUMBER
publicstaticfinalintCHECK_INTERVAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DISABLE_HEALTH_CHECK_FIELD_NUMBER
publicstaticfinalintDISABLE_HEALTH_CHECK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
HEALTHY_THRESHOLD_FIELD_NUMBER
publicstaticfinalintHEALTHY_THRESHOLD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
HOST_FIELD_NUMBER
publicstaticfinalintHOST_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESTART_THRESHOLD_FIELD_NUMBER
publicstaticfinalintRESTART_THRESHOLD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
TIMEOUT_FIELD_NUMBER
publicstaticfinalintTIMEOUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
UNHEALTHY_THRESHOLD_FIELD_NUMBER
publicstaticfinalintUNHEALTHY_THRESHOLD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticHealthCheckgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticHealthCheck.BuildernewBuilder()
newBuilder(HealthCheck prototype)
publicstaticHealthCheck.BuildernewBuilder(HealthCheckprototype)
publicstaticHealthCheckparseDelimitedFrom(InputStreaminput)
publicstaticHealthCheckparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticHealthCheckparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticHealthCheckparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticHealthCheckparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticHealthCheckparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticHealthCheckparseFrom(CodedInputStreaminput)
publicstaticHealthCheckparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticHealthCheckparseFrom(InputStreaminput)
publicstaticHealthCheckparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticHealthCheckparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticHealthCheckparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<HealthCheck>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCheckInterval()
publicDurationgetCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;
| Returns |
| Type |
Description |
Duration |
The checkInterval.
|
getCheckIntervalOrBuilder()
publicDurationOrBuildergetCheckIntervalOrBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;
getDefaultInstanceForType()
publicHealthCheckgetDefaultInstanceForType()
getDisableHealthCheck()
publicbooleangetDisableHealthCheck()
Whether to explicitly disable health checks for this instance.
bool disable_health_check = 1;
| Returns |
| Type |
Description |
boolean |
The disableHealthCheck.
|
getHealthyThreshold()
publicintgetHealthyThreshold()
Number of consecutive successful health checks required before receiving
traffic.
uint32 healthy_threshold = 3;
| Returns |
| Type |
Description |
int |
The healthyThreshold.
|
getHost()
Host header to send when performing an HTTP health check.
Example: "myapp.appspot.com"
string host = 2;
| Returns |
| Type |
Description |
String |
The host.
|
getHostBytes()
publicByteStringgetHostBytes()
Host header to send when performing an HTTP health check.
Example: "myapp.appspot.com"
string host = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for host.
|
getParserForType()
publicParser<HealthCheck>getParserForType()
Overrides
getRestartThreshold()
publicintgetRestartThreshold()
Number of consecutive failed health checks required before an instance is
restarted.
uint32 restart_threshold = 5;
| Returns |
| Type |
Description |
int |
The restartThreshold.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getTimeout()
publicDurationgetTimeout()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
| Returns |
| Type |
Description |
Duration |
The timeout.
|
getTimeoutOrBuilder()
publicDurationOrBuildergetTimeoutOrBuilder()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
getUnhealthyThreshold()
publicintgetUnhealthyThreshold()
Number of consecutive failed health checks required before removing
traffic.
uint32 unhealthy_threshold = 4;
| Returns |
| Type |
Description |
int |
The unhealthyThreshold.
|
hasCheckInterval()
publicbooleanhasCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;
| Returns |
| Type |
Description |
boolean |
Whether the checkInterval field is set.
|
hasTimeout()
publicbooleanhasTimeout()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
| Returns |
| Type |
Description |
boolean |
Whether the timeout field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicHealthCheck.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedHealthCheck.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicHealthCheck.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides