- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
public static final class LivenessCheck.Builder extends GeneratedMessageV3.Builder<LivenessCheck.Builder> implements LivenessCheckOrBuilder
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Protobuf type google.appengine.v1.LivenessCheck
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LivenessCheck.BuilderImplements
LivenessCheckOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LivenessCheck.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LivenessCheck.Builder |
build()
public LivenessCheck build()
Type | Description |
LivenessCheck |
buildPartial()
public LivenessCheck buildPartial()
Type | Description |
LivenessCheck |
clear()
public LivenessCheck.Builder clear()
Type | Description |
LivenessCheck.Builder |
clearCheckInterval()
public LivenessCheck.Builder clearCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Type | Description |
LivenessCheck.Builder |
clearFailureThreshold()
public LivenessCheck.Builder clearFailureThreshold()
Number of consecutive failed checks required before considering the VM unhealthy.
uint32 failure_threshold = 3;
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LivenessCheck.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LivenessCheck.Builder |
clearHost()
public LivenessCheck.Builder clearHost()
Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
string host = 2;
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
clearInitialDelay()
public LivenessCheck.Builder clearInitialDelay()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Type | Description |
LivenessCheck.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LivenessCheck.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LivenessCheck.Builder |
clearPath()
public LivenessCheck.Builder clearPath()
The request path.
string path = 1;
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
clearSuccessThreshold()
public LivenessCheck.Builder clearSuccessThreshold()
Number of consecutive successful checks required before considering the VM healthy.
uint32 success_threshold = 4;
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
clearTimeout()
public LivenessCheck.Builder clearTimeout()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Type | Description |
LivenessCheck.Builder |
clone()
public LivenessCheck.Builder clone()
Type | Description |
LivenessCheck.Builder |
getCheckInterval()
public Duration getCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Type | Description |
Duration | The checkInterval. |
getCheckIntervalBuilder()
public Duration.Builder getCheckIntervalBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Type | Description |
Builder |
getCheckIntervalOrBuilder()
public DurationOrBuilder getCheckIntervalOrBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Type | Description |
DurationOrBuilder |
getDefaultInstanceForType()
public LivenessCheck getDefaultInstanceForType()
Type | Description |
LivenessCheck |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFailureThreshold()
public int getFailureThreshold()
Number of consecutive failed checks required before considering the VM unhealthy.
uint32 failure_threshold = 3;
Type | Description |
int | The failureThreshold. |
getHost()
public String getHost()
Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
string host = 2;
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;
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;
Type | Description |
Duration | The initialDelay. |
getInitialDelayBuilder()
public Duration.Builder getInitialDelayBuilder()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Type | Description |
Builder |
getInitialDelayOrBuilder()
public DurationOrBuilder getInitialDelayOrBuilder()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Type | Description |
DurationOrBuilder |
getPath()
public String getPath()
The request path.
string path = 1;
Type | Description |
String | The path. |
getPathBytes()
public ByteString getPathBytes()
The request path.
string path = 1;
Type | Description |
ByteString | The bytes for path. |
getSuccessThreshold()
public int getSuccessThreshold()
Number of consecutive successful checks required before considering the VM healthy.
uint32 success_threshold = 4;
Type | Description |
int | The successThreshold. |
getTimeout()
public Duration getTimeout()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Type | Description |
Duration | The timeout. |
getTimeoutBuilder()
public Duration.Builder getTimeoutBuilder()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Type | Description |
Builder |
getTimeoutOrBuilder()
public DurationOrBuilder getTimeoutOrBuilder()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Type | Description |
DurationOrBuilder |
hasCheckInterval()
public boolean hasCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
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;
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;
Type | Description |
boolean | Whether the timeout field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCheckInterval(Duration value)
public LivenessCheck.Builder mergeCheckInterval(Duration value)
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Name | Description |
value | Duration |
Type | Description |
LivenessCheck.Builder |
mergeFrom(LivenessCheck other)
public LivenessCheck.Builder mergeFrom(LivenessCheck other)
Name | Description |
other | LivenessCheck |
Type | Description |
LivenessCheck.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LivenessCheck.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LivenessCheck.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LivenessCheck.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LivenessCheck.Builder |
mergeInitialDelay(Duration value)
public LivenessCheck.Builder mergeInitialDelay(Duration value)
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Name | Description |
value | Duration |
Type | Description |
LivenessCheck.Builder |
mergeTimeout(Duration value)
public LivenessCheck.Builder mergeTimeout(Duration value)
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Name | Description |
value | Duration |
Type | Description |
LivenessCheck.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LivenessCheck.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LivenessCheck.Builder |
setCheckInterval(Duration value)
public LivenessCheck.Builder setCheckInterval(Duration value)
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Name | Description |
value | Duration |
Type | Description |
LivenessCheck.Builder |
setCheckInterval(Duration.Builder builderForValue)
public LivenessCheck.Builder setCheckInterval(Duration.Builder builderForValue)
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
LivenessCheck.Builder |
setFailureThreshold(int value)
public LivenessCheck.Builder setFailureThreshold(int value)
Number of consecutive failed checks required before considering the VM unhealthy.
uint32 failure_threshold = 3;
Name | Description |
value | int The failureThreshold to set. |
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LivenessCheck.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LivenessCheck.Builder |
setHost(String value)
public LivenessCheck.Builder setHost(String value)
Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
string host = 2;
Name | Description |
value | String The host to set. |
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
setHostBytes(ByteString value)
public LivenessCheck.Builder setHostBytes(ByteString value)
Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
string host = 2;
Name | Description |
value | ByteString The bytes for host to set. |
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
setInitialDelay(Duration value)
public LivenessCheck.Builder setInitialDelay(Duration value)
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Name | Description |
value | Duration |
Type | Description |
LivenessCheck.Builder |
setInitialDelay(Duration.Builder builderForValue)
public LivenessCheck.Builder setInitialDelay(Duration.Builder builderForValue)
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Name | Description |
builderForValue | Builder |
Type | Description |
LivenessCheck.Builder |
setPath(String value)
public LivenessCheck.Builder setPath(String value)
The request path.
string path = 1;
Name | Description |
value | String The path to set. |
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
setPathBytes(ByteString value)
public LivenessCheck.Builder setPathBytes(ByteString value)
The request path.
string path = 1;
Name | Description |
value | ByteString The bytes for path to set. |
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LivenessCheck.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LivenessCheck.Builder |
setSuccessThreshold(int value)
public LivenessCheck.Builder setSuccessThreshold(int value)
Number of consecutive successful checks required before considering the VM healthy.
uint32 success_threshold = 4;
Name | Description |
value | int The successThreshold to set. |
Type | Description |
LivenessCheck.Builder | This builder for chaining. |
setTimeout(Duration value)
public LivenessCheck.Builder setTimeout(Duration value)
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Name | Description |
value | Duration |
Type | Description |
LivenessCheck.Builder |
setTimeout(Duration.Builder builderForValue)
public LivenessCheck.Builder setTimeout(Duration.Builder builderForValue)
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Name | Description |
builderForValue | Builder |
Type | Description |
LivenessCheck.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LivenessCheck.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LivenessCheck.Builder |