- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LivenessCheck.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
build()
public LivenessCheck build()
Returns | |
---|---|
Type | Description |
LivenessCheck |
buildPartial()
public LivenessCheck buildPartial()
Returns | |
---|---|
Type | Description |
LivenessCheck |
clear()
public LivenessCheck.Builder clear()
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
clearCheckInterval()
public LivenessCheck.Builder clearCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
clearFailureThreshold()
public LivenessCheck.Builder clearFailureThreshold()
Number of consecutive failed checks required before considering the VM unhealthy.
uint32 failure_threshold = 3;
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LivenessCheck.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LivenessCheck.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
clearPath()
public LivenessCheck.Builder clearPath()
The request path.
string path = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
clone()
public LivenessCheck.Builder clone()
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
getCheckInterval()
public Duration getCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Returns | |
---|---|
Type | Description |
Duration |
The checkInterval. |
getCheckIntervalBuilder()
public Duration.Builder getCheckIntervalBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Returns | |
---|---|
Type | Description |
Builder |
getCheckIntervalOrBuilder()
public DurationOrBuilder getCheckIntervalOrBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getDefaultInstanceForType()
public LivenessCheck getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LivenessCheck |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
public String 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. |
getInitialDelayBuilder()
public Duration.Builder getInitialDelayBuilder()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Returns | |
---|---|
Type | Description |
Builder |
getInitialDelayOrBuilder()
public DurationOrBuilder getInitialDelayOrBuilder()
The initial delay before starting to execute the checks.
.google.protobuf.Duration initial_delay = 7;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getPath()
public String 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. |
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. |
getTimeoutBuilder()
public Duration.Builder getTimeoutBuilder()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Returns | |
---|---|
Type | Description |
Builder |
getTimeoutOrBuilder()
public DurationOrBuilder getTimeoutOrBuilder()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCheckInterval(Duration value)
public LivenessCheck.Builder mergeCheckInterval(Duration value)
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
mergeFrom(LivenessCheck other)
public LivenessCheck.Builder mergeFrom(LivenessCheck other)
Parameter | |
---|---|
Name | Description |
other |
LivenessCheck |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LivenessCheck.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LivenessCheck.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LivenessCheck.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
setCheckInterval(Duration value)
public LivenessCheck.Builder setCheckInterval(Duration value)
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The failureThreshold to set. |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LivenessCheck.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The host to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for host to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
setPath(String value)
public LivenessCheck.Builder setPath(String value)
The request path.
string path = 1;
Parameter | |
---|---|
Name | Description |
value |
String The path to set. |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public LivenessCheck.Builder setPathBytes(ByteString value)
The request path.
string path = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for path to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The successThreshold to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LivenessCheck.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LivenessCheck.Builder |