Package com.google.appengine.v1
Class ReadinessCheck
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.appengine.v1.ReadinessCheck
-
- All Implemented Interfaces:
ReadinessCheckOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ReadinessCheck extends com.google.protobuf.GeneratedMessageV3 implements ReadinessCheckOrBuilder
Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
Protobuf typegoogle.appengine.v1.ReadinessCheck- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReadinessCheck.BuilderReadiness checking configuration for VM instances.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPP_START_TIMEOUT_FIELD_NUMBERstatic intCHECK_INTERVAL_FIELD_NUMBERstatic intFAILURE_THRESHOLD_FIELD_NUMBERstatic intHOST_FIELD_NUMBERstatic intPATH_FIELD_NUMBERstatic intSUCCESS_THRESHOLD_FIELD_NUMBERstatic intTIMEOUT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.DurationgetAppStartTimeout()A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.com.google.protobuf.DurationOrBuildergetAppStartTimeoutOrBuilder()A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.com.google.protobuf.DurationgetCheckInterval()Interval between health checks.com.google.protobuf.DurationOrBuildergetCheckIntervalOrBuilder()Interval between health checks.static ReadinessCheckgetDefaultInstance()ReadinessCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetFailureThreshold()Number of consecutive failed checks required before removing traffic.StringgetHost()Host header to send when performing a HTTP Readiness check.com.google.protobuf.ByteStringgetHostBytes()Host header to send when performing a HTTP Readiness check.com.google.protobuf.Parser<ReadinessCheck>getParserForType()StringgetPath()The request path.com.google.protobuf.ByteStringgetPathBytes()The request path.intgetSerializedSize()intgetSuccessThreshold()Number of consecutive successful checks required before receiving traffic.com.google.protobuf.DurationgetTimeout()Time before the check is considered failed.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()Time before the check is considered failed.booleanhasAppStartTimeout()A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.booleanhasCheckInterval()Interval between health checks.inthashCode()booleanhasTimeout()Time before the check is considered failed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ReadinessCheck.BuildernewBuilder()static ReadinessCheck.BuildernewBuilder(ReadinessCheck prototype)ReadinessCheck.BuildernewBuilderForType()protected ReadinessCheck.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ReadinessCheckparseDelimitedFrom(InputStream input)static ReadinessCheckparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadinessCheckparseFrom(byte[] data)static ReadinessCheckparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadinessCheckparseFrom(com.google.protobuf.ByteString data)static ReadinessCheckparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadinessCheckparseFrom(com.google.protobuf.CodedInputStream input)static ReadinessCheckparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadinessCheckparseFrom(InputStream input)static ReadinessCheckparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadinessCheckparseFrom(ByteBuffer data)static ReadinessCheckparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ReadinessCheck>parser()ReadinessCheck.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_THRESHOLD_FIELD_NUMBER
public static final int FAILURE_THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUCCESS_THRESHOLD_FIELD_NUMBER
public static final int SUCCESS_THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECK_INTERVAL_FIELD_NUMBER
public static final int CHECK_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_START_TIMEOUT_FIELD_NUMBER
public static final int APP_START_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPath
public String getPath()
The request path.
string path = 1;- Specified by:
getPathin interfaceReadinessCheckOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
The request path.
string path = 1;- Specified by:
getPathBytesin interfaceReadinessCheckOrBuilder- Returns:
- The bytes for path.
-
getHost
public String getHost()
Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
string host = 2;- Specified by:
getHostin interfaceReadinessCheckOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
string host = 2;- Specified by:
getHostBytesin interfaceReadinessCheckOrBuilder- Returns:
- The bytes for host.
-
getFailureThreshold
public int getFailureThreshold()
Number of consecutive failed checks required before removing traffic.
uint32 failure_threshold = 3;- Specified by:
getFailureThresholdin interfaceReadinessCheckOrBuilder- Returns:
- The failureThreshold.
-
getSuccessThreshold
public int getSuccessThreshold()
Number of consecutive successful checks required before receiving traffic.
uint32 success_threshold = 4;- Specified by:
getSuccessThresholdin interfaceReadinessCheckOrBuilder- Returns:
- The successThreshold.
-
hasCheckInterval
public boolean hasCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;- Specified by:
hasCheckIntervalin interfaceReadinessCheckOrBuilder- Returns:
- Whether the checkInterval field is set.
-
getCheckInterval
public com.google.protobuf.Duration getCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;- Specified by:
getCheckIntervalin interfaceReadinessCheckOrBuilder- Returns:
- The checkInterval.
-
getCheckIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getCheckIntervalOrBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;- Specified by:
getCheckIntervalOrBuilderin interfaceReadinessCheckOrBuilder
-
hasTimeout
public boolean hasTimeout()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;- Specified by:
hasTimeoutin interfaceReadinessCheckOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;- Specified by:
getTimeoutin interfaceReadinessCheckOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;- Specified by:
getTimeoutOrBuilderin interfaceReadinessCheckOrBuilder
-
hasAppStartTimeout
public boolean hasAppStartTimeout()
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;- Specified by:
hasAppStartTimeoutin interfaceReadinessCheckOrBuilder- Returns:
- Whether the appStartTimeout field is set.
-
getAppStartTimeout
public com.google.protobuf.Duration getAppStartTimeout()
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;- Specified by:
getAppStartTimeoutin interfaceReadinessCheckOrBuilder- Returns:
- The appStartTimeout.
-
getAppStartTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getAppStartTimeoutOrBuilder()
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;- Specified by:
getAppStartTimeoutOrBuilderin interfaceReadinessCheckOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReadinessCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadinessCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadinessCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadinessCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadinessCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadinessCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadinessCheck parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadinessCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReadinessCheck parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReadinessCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadinessCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadinessCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReadinessCheck.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReadinessCheck.Builder newBuilder()
-
newBuilder
public static ReadinessCheck.Builder newBuilder(ReadinessCheck prototype)
-
toBuilder
public ReadinessCheck.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReadinessCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReadinessCheck getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReadinessCheck> parser()
-
getParserForType
public com.google.protobuf.Parser<ReadinessCheck> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReadinessCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-