publicfinalclass ReadinessCheckextendsGeneratedMessageV3implementsReadinessCheckOrBuilder
Readiness checking configuration for VM instances. Unhealthy instances
are removed from traffic rotation.
Protobuf type google.appengine.v1.ReadinessCheck
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
APP_START_TIMEOUT_FIELD_NUMBER
publicstaticfinalintAPP_START_TIMEOUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
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 |
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()
publicstaticReadinessCheckgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticReadinessCheck.BuildernewBuilder()
newBuilder(ReadinessCheck prototype)
publicstaticReadinessCheck.BuildernewBuilder(ReadinessCheckprototype)
publicstaticReadinessCheckparseDelimitedFrom(InputStreaminput)
publicstaticReadinessCheckparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticReadinessCheckparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticReadinessCheckparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticReadinessCheckparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticReadinessCheckparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticReadinessCheckparseFrom(CodedInputStreaminput)
publicstaticReadinessCheckparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticReadinessCheckparseFrom(InputStreaminput)
publicstaticReadinessCheckparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticReadinessCheckparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticReadinessCheckparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<ReadinessCheck>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAppStartTimeout()
publicDurationgetAppStartTimeout()
A maximum time limit on application initialization, measured from moment
the application successfully replies to a healthcheck until it is ready to
serve traffic.
.google.protobuf.Duration app_start_timeout = 7;
| Returns |
| Type |
Description |
Duration |
The appStartTimeout.
|
getAppStartTimeoutOrBuilder()
publicDurationOrBuildergetAppStartTimeoutOrBuilder()
A maximum time limit on application initialization, measured from moment
the application successfully replies to a healthcheck until it is ready to
serve traffic.
.google.protobuf.Duration app_start_timeout = 7;
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()
publicReadinessCheckgetDefaultInstanceForType()
getFailureThreshold()
publicintgetFailureThreshold()
Number of consecutive failed checks required before removing
traffic.
uint32 failure_threshold = 3;
| Returns |
| Type |
Description |
int |
The failureThreshold.
|
getHost()
Host header to send when performing a HTTP Readiness check.
Example: "myapp.appspot.com"
string host = 2;
| Returns |
| Type |
Description |
String |
The host.
|
getHostBytes()
publicByteStringgetHostBytes()
Host header to send when performing a HTTP Readiness check.
Example: "myapp.appspot.com"
string host = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for host.
|
getParserForType()
publicParser<ReadinessCheck>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 receiving
traffic.
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;
hasAppStartTimeout()
publicbooleanhasAppStartTimeout()
A maximum time limit on application initialization, measured from moment
the application successfully replies to a healthcheck until it is ready to
serve traffic.
.google.protobuf.Duration app_start_timeout = 7;
| Returns |
| Type |
Description |
boolean |
Whether the appStartTimeout field is set.
|
hasCheckInterval()
publicbooleanhasCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
| Returns |
| Type |
Description |
boolean |
Whether the checkInterval 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()
publicReadinessCheck.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedReadinessCheck.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicReadinessCheck.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides