publicfinalclass LivenessCheckextendsGeneratedMessageV3implementsLivenessCheckOrBuilder
Health checking configuration for VM instances. Unhealthy instances
are killed and replaced with new instances.
Protobuf type google.appengine.v1.LivenessCheck
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>)
Static Fields
CHECK_INTERVAL_FIELD_NUMBER
publicstaticfinalintCHECK_INTERVAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
FAILURE_THRESHOLD_FIELD_NUMBER
publicstaticfinalintFAILURE_THRESHOLD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
HOST_FIELD_NUMBER
publicstaticfinalintHOST_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
INITIAL_DELAY_FIELD_NUMBER
publicstaticfinalintINITIAL_DELAY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PATH_FIELD_NUMBER
publicstaticfinalintPATH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SUCCESS_THRESHOLD_FIELD_NUMBER
publicstaticfinalintSUCCESS_THRESHOLD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
TIMEOUT_FIELD_NUMBER
publicstaticfinalintTIMEOUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticLivenessCheckgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticLivenessCheck.BuildernewBuilder()
newBuilder(LivenessCheck prototype)
publicstaticLivenessCheck.BuildernewBuilder(LivenessCheckprototype)
publicstaticLivenessCheckparseDelimitedFrom(InputStreaminput)
publicstaticLivenessCheckparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticLivenessCheckparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticLivenessCheckparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticLivenessCheckparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticLivenessCheckparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticLivenessCheckparseFrom(CodedInputStreaminput)
publicstaticLivenessCheckparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticLivenessCheckparseFrom(InputStreaminput)
publicstaticLivenessCheckparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticLivenessCheckparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticLivenessCheckparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<LivenessCheck>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCheckInterval()
publicDurationgetCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
| Returns |
| Type |
Description |
Duration |
The checkInterval.
|
getCheckIntervalOrBuilder()
publicDurationOrBuildergetCheckIntervalOrBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
getDefaultInstanceForType()
publicLivenessCheckgetDefaultInstanceForType()
getFailureThreshold()
publicintgetFailureThreshold()
Number of consecutive failed checks required before considering the
VM unhealthy.
uint32 failure_threshold = 3;
| Returns |
| Type |
Description |
int |
The failureThreshold.
|
getHost()
Host header to send when performing a HTTP Liveness check.
Example: "myapp.appspot.com"
string host = 2;
| Returns |
| Type |
Description |
String |
The host.
|
getHostBytes()
publicByteStringgetHostBytes()
Host header to send when performing a HTTP Liveness check.
Example: "myapp.appspot.com"
string host = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for host.
|
getInitialDelay()
publicDurationgetInitialDelay()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
| Returns |
| Type |
Description |
Duration |
The initialDelay.
|
getInitialDelayOrBuilder()
publicDurationOrBuildergetInitialDelayOrBuilder()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
getParserForType()
publicParser<LivenessCheck>getParserForType()
Overrides
getPath()
The request path.
string path = 1;
| Returns |
| Type |
Description |
String |
The path.
|
getPathBytes()
publicByteStringgetPathBytes()
The request path.
string path = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for path.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getSuccessThreshold()
publicintgetSuccessThreshold()
Number of consecutive successful checks required before considering
the VM healthy.
uint32 success_threshold = 4;
| Returns |
| Type |
Description |
int |
The successThreshold.
|
getTimeout()
publicDurationgetTimeout()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
| Returns |
| Type |
Description |
Duration |
The timeout.
|
getTimeoutOrBuilder()
publicDurationOrBuildergetTimeoutOrBuilder()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
hasCheckInterval()
publicbooleanhasCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
| Returns |
| Type |
Description |
boolean |
Whether the checkInterval field is set.
|
hasInitialDelay()
publicbooleanhasInitialDelay()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
| Returns |
| Type |
Description |
boolean |
Whether the initialDelay field is set.
|
hasTimeout()
publicbooleanhasTimeout()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
| Returns |
| Type |
Description |
boolean |
Whether the timeout field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicLivenessCheck.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedLivenessCheck.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicLivenessCheck.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides