public final class LivenessCheck extends GeneratedMessageV3 implements LivenessCheckOrBuilder
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)
Static Fields
CHECK_INTERVAL_FIELD_NUMBER
public static final int CHECK_INTERVAL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FAILURE_THRESHOLD_FIELD_NUMBER
public static final int FAILURE_THRESHOLD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INITIAL_DELAY_FIELD_NUMBER
public static final int INITIAL_DELAY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUCCESS_THRESHOLD_FIELD_NUMBER
public static final int SUCCESS_THRESHOLD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static LivenessCheck getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LivenessCheck.Builder newBuilder()
newBuilder(LivenessCheck prototype)
public static LivenessCheck.Builder newBuilder(LivenessCheck prototype)
public static LivenessCheck parseDelimitedFrom(InputStream input)
public static LivenessCheck parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LivenessCheck parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LivenessCheck parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LivenessCheck parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LivenessCheck parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LivenessCheck parseFrom(CodedInputStream input)
public static LivenessCheck parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LivenessCheck parseFrom(InputStream input)
public static LivenessCheck parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LivenessCheck parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LivenessCheck parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LivenessCheck> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCheckInterval()
public Duration getCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Returns |
---|
Type | Description |
Duration | The checkInterval.
|
getCheckIntervalOrBuilder()
public DurationOrBuilder getCheckIntervalOrBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
getDefaultInstanceForType()
public LivenessCheck getDefaultInstanceForType()
getFailureThreshold()
public int getFailureThreshold()
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()
public ByteString getHostBytes()
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()
public Duration getInitialDelay()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Returns |
---|
Type | Description |
Duration | The initialDelay.
|
getInitialDelayOrBuilder()
public DurationOrBuilder getInitialDelayOrBuilder()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
getParserForType()
public Parser<LivenessCheck> getParserForType()
Overrides
getPath()
The request path.
string path = 1;
Returns |
---|
Type | Description |
String | The path.
|
getPathBytes()
public ByteString getPathBytes()
The request path.
string path = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for path.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSuccessThreshold()
public int getSuccessThreshold()
Number of consecutive successful checks required before considering
the VM healthy.
uint32 success_threshold = 4;
Returns |
---|
Type | Description |
int | The successThreshold.
|
getTimeout()
public Duration getTimeout()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Returns |
---|
Type | Description |
Duration | The timeout.
|
getTimeoutOrBuilder()
public DurationOrBuilder getTimeoutOrBuilder()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasCheckInterval()
public boolean hasCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Returns |
---|
Type | Description |
boolean | Whether the checkInterval field is set.
|
hasInitialDelay()
public boolean hasInitialDelay()
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()
public boolean hasTimeout()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LivenessCheck.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LivenessCheck.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public LivenessCheck.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides