Class HealthCheck.Builder (2.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.78.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 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
publicstaticfinalclass HealthCheck.BuilderextendsGeneratedMessageV3.Builder<HealthCheck.Builder>implementsHealthCheckOrBuilderHealth checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
Protobuf type google.appengine.v1.HealthCheck
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HealthCheck.BuilderImplements
HealthCheckOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicHealthCheck.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicHealthCheckbuild()buildPartial()
publicHealthCheckbuildPartial()clear()
publicHealthCheck.Builderclear()clearCheckInterval()
publicHealthCheck.BuilderclearCheckInterval()Interval between health checks.
.google.protobuf.Duration check_interval = 6;
clearDisableHealthCheck()
publicHealthCheck.BuilderclearDisableHealthCheck()Whether to explicitly disable health checks for this instance.
bool disable_health_check = 1;
HealthCheck.Builder
This builder for chaining.
clearField(Descriptors.FieldDescriptor field)
publicHealthCheck.BuilderclearField(Descriptors.FieldDescriptorfield)clearHealthyThreshold()
publicHealthCheck.BuilderclearHealthyThreshold()Number of consecutive successful health checks required before receiving traffic.
uint32 healthy_threshold = 3;
HealthCheck.Builder
This builder for chaining.
clearHost()
publicHealthCheck.BuilderclearHost()Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;
HealthCheck.Builder
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicHealthCheck.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearRestartThreshold()
publicHealthCheck.BuilderclearRestartThreshold()Number of consecutive failed health checks required before an instance is restarted.
uint32 restart_threshold = 5;
HealthCheck.Builder
This builder for chaining.
clearTimeout()
publicHealthCheck.BuilderclearTimeout()Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
clearUnhealthyThreshold()
publicHealthCheck.BuilderclearUnhealthyThreshold()Number of consecutive failed health checks required before removing traffic.
uint32 unhealthy_threshold = 4;
HealthCheck.Builder
This builder for chaining.
clone()
publicHealthCheck.Builderclone()getCheckInterval()
publicDurationgetCheckInterval()Interval between health checks.
.google.protobuf.Duration check_interval = 6;
Duration
The checkInterval.
getCheckIntervalBuilder()
publicDuration.BuildergetCheckIntervalBuilder()Interval between health checks.
.google.protobuf.Duration check_interval = 6;
getCheckIntervalOrBuilder()
publicDurationOrBuildergetCheckIntervalOrBuilder()Interval between health checks.
.google.protobuf.Duration check_interval = 6;
getDefaultInstanceForType()
publicHealthCheckgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getDisableHealthCheck()
publicbooleangetDisableHealthCheck()Whether to explicitly disable health checks for this instance.
bool disable_health_check = 1;
boolean
The disableHealthCheck.
getHealthyThreshold()
publicintgetHealthyThreshold()Number of consecutive successful health checks required before receiving traffic.
uint32 healthy_threshold = 3;
int
The healthyThreshold.
getHost()
publicStringgetHost()Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;
String
The host.
getHostBytes()
publicByteStringgetHostBytes()Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;
ByteString
The bytes for host.
getRestartThreshold()
publicintgetRestartThreshold()Number of consecutive failed health checks required before an instance is restarted.
uint32 restart_threshold = 5;
int
The restartThreshold.
getTimeout()
publicDurationgetTimeout()Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
Duration
The timeout.
getTimeoutBuilder()
publicDuration.BuildergetTimeoutBuilder()Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
getTimeoutOrBuilder()
publicDurationOrBuildergetTimeoutOrBuilder()Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
getUnhealthyThreshold()
publicintgetUnhealthyThreshold()Number of consecutive failed health checks required before removing traffic.
uint32 unhealthy_threshold = 4;
int
The unhealthyThreshold.
hasCheckInterval()
publicbooleanhasCheckInterval()Interval between health checks.
.google.protobuf.Duration check_interval = 6;
boolean
Whether the checkInterval field is set.
hasTimeout()
publicbooleanhasTimeout()Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
boolean
Whether the timeout field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeCheckInterval(Duration value)
publicHealthCheck.BuildermergeCheckInterval(Durationvalue)Interval between health checks.
.google.protobuf.Duration check_interval = 6;
mergeFrom(HealthCheck other)
publicHealthCheck.BuildermergeFrom(HealthCheckother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicHealthCheck.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicHealthCheck.BuildermergeFrom(Messageother)mergeTimeout(Duration value)
publicHealthCheck.BuildermergeTimeout(Durationvalue)Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalHealthCheck.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setCheckInterval(Duration value)
publicHealthCheck.BuildersetCheckInterval(Durationvalue)Interval between health checks.
.google.protobuf.Duration check_interval = 6;
setCheckInterval(Duration.Builder builderForValue)
publicHealthCheck.BuildersetCheckInterval(Duration.BuilderbuilderForValue)Interval between health checks.
.google.protobuf.Duration check_interval = 6;
setDisableHealthCheck(boolean value)
publicHealthCheck.BuildersetDisableHealthCheck(booleanvalue)Whether to explicitly disable health checks for this instance.
bool disable_health_check = 1;
HealthCheck.Builder
This builder for chaining.
setField(Descriptors.FieldDescriptor field, Object value)
publicHealthCheck.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setHealthyThreshold(int value)
publicHealthCheck.BuildersetHealthyThreshold(intvalue)Number of consecutive successful health checks required before receiving traffic.
uint32 healthy_threshold = 3;
HealthCheck.Builder
This builder for chaining.
setHost(String value)
publicHealthCheck.BuildersetHost(Stringvalue)Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;
HealthCheck.Builder
This builder for chaining.
setHostBytes(ByteString value)
publicHealthCheck.BuildersetHostBytes(ByteStringvalue)Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;
HealthCheck.Builder
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicHealthCheck.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setRestartThreshold(int value)
publicHealthCheck.BuildersetRestartThreshold(intvalue)Number of consecutive failed health checks required before an instance is restarted.
uint32 restart_threshold = 5;
HealthCheck.Builder
This builder for chaining.
setTimeout(Duration value)
publicHealthCheck.BuildersetTimeout(Durationvalue)Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
setTimeout(Duration.Builder builderForValue)
publicHealthCheck.BuildersetTimeout(Duration.BuilderbuilderForValue)Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
setUnhealthyThreshold(int value)
publicHealthCheck.BuildersetUnhealthyThreshold(intvalue)Number of consecutive failed health checks required before removing traffic.
uint32 unhealthy_threshold = 4;
HealthCheck.Builder
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalHealthCheck.BuildersetUnknownFields(UnknownFieldSetunknownFields)