Package com.google.appengine.v1
Class ReadinessCheck.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
- com.google.appengine.v1.ReadinessCheck.Builder
-
- All Implemented Interfaces:
ReadinessCheckOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReadinessCheck
public static final class ReadinessCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder> implements ReadinessCheckOrBuilder
Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
Protobuf typegoogle.appengine.v1.ReadinessCheck
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadinessCheck.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReadinessCheckbuild()ReadinessCheckbuildPartial()ReadinessCheck.Builderclear()ReadinessCheck.BuilderclearAppStartTimeout()A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.ReadinessCheck.BuilderclearCheckInterval()Interval between health checks.ReadinessCheck.BuilderclearFailureThreshold()Number of consecutive failed checks required before removing traffic.ReadinessCheck.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ReadinessCheck.BuilderclearHost()Host header to send when performing a HTTP Readiness check.ReadinessCheck.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ReadinessCheck.BuilderclearPath()The request path.ReadinessCheck.BuilderclearSuccessThreshold()Number of consecutive successful checks required before receiving traffic.ReadinessCheck.BuilderclearTimeout()Time before the check is considered failed.ReadinessCheck.Builderclone()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.Duration.BuildergetAppStartTimeoutBuilder()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.Duration.BuildergetCheckIntervalBuilder()Interval between health checks.com.google.protobuf.DurationOrBuildergetCheckIntervalOrBuilder()Interval between health checks.ReadinessCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.StringgetPath()The request path.com.google.protobuf.ByteStringgetPathBytes()The request path.intgetSuccessThreshold()Number of consecutive successful checks required before receiving traffic.com.google.protobuf.DurationgetTimeout()Time before the check is considered failed.com.google.protobuf.Duration.BuildergetTimeoutBuilder()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.booleanhasTimeout()Time before the check is considered failed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ReadinessCheck.BuildermergeAppStartTimeout(com.google.protobuf.Duration value)A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.ReadinessCheck.BuildermergeCheckInterval(com.google.protobuf.Duration value)Interval between health checks.ReadinessCheck.BuildermergeFrom(ReadinessCheck other)ReadinessCheck.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ReadinessCheck.BuildermergeFrom(com.google.protobuf.Message other)ReadinessCheck.BuildermergeTimeout(com.google.protobuf.Duration value)Time before the check is considered failed.ReadinessCheck.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ReadinessCheck.BuildersetAppStartTimeout(com.google.protobuf.Duration value)A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.ReadinessCheck.BuildersetAppStartTimeout(com.google.protobuf.Duration.Builder builderForValue)A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.ReadinessCheck.BuildersetCheckInterval(com.google.protobuf.Duration value)Interval between health checks.ReadinessCheck.BuildersetCheckInterval(com.google.protobuf.Duration.Builder builderForValue)Interval between health checks.ReadinessCheck.BuildersetFailureThreshold(int value)Number of consecutive failed checks required before removing traffic.ReadinessCheck.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReadinessCheck.BuildersetHost(String value)Host header to send when performing a HTTP Readiness check.ReadinessCheck.BuildersetHostBytes(com.google.protobuf.ByteString value)Host header to send when performing a HTTP Readiness check.ReadinessCheck.BuildersetPath(String value)The request path.ReadinessCheck.BuildersetPathBytes(com.google.protobuf.ByteString value)The request path.ReadinessCheck.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ReadinessCheck.BuildersetSuccessThreshold(int value)Number of consecutive successful checks required before receiving traffic.ReadinessCheck.BuildersetTimeout(com.google.protobuf.Duration value)Time before the check is considered failed.ReadinessCheck.BuildersetTimeout(com.google.protobuf.Duration.Builder builderForValue)Time before the check is considered failed.ReadinessCheck.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<ReadinessCheck.Builder>
-
clear
public ReadinessCheck.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
getDefaultInstanceForType
public ReadinessCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadinessCheck build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadinessCheck buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReadinessCheck.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
setField
public ReadinessCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
clearField
public ReadinessCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
clearOneof
public ReadinessCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
setRepeatedField
public ReadinessCheck.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
addRepeatedField
public ReadinessCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
mergeFrom
public ReadinessCheck.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadinessCheck.Builder>
-
mergeFrom
public ReadinessCheck.Builder mergeFrom(ReadinessCheck other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
mergeFrom
public ReadinessCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadinessCheck.Builder>- Throws:
IOException
-
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.
-
setPath
public ReadinessCheck.Builder setPath(String value)
The request path.
string path = 1;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public ReadinessCheck.Builder clearPath()
The request path.
string path = 1;- Returns:
- This builder for chaining.
-
setPathBytes
public ReadinessCheck.Builder setPathBytes(com.google.protobuf.ByteString value)
The request path.
string path = 1;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
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.
-
setHost
public ReadinessCheck.Builder setHost(String value)
Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
string host = 2;- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
public ReadinessCheck.Builder clearHost()
Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
string host = 2;- Returns:
- This builder for chaining.
-
setHostBytes
public ReadinessCheck.Builder setHostBytes(com.google.protobuf.ByteString value)
Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
string host = 2;- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
getFailureThreshold
public int getFailureThreshold()
Number of consecutive failed checks required before removing traffic.
uint32 failure_threshold = 3;- Specified by:
getFailureThresholdin interfaceReadinessCheckOrBuilder- Returns:
- The failureThreshold.
-
setFailureThreshold
public ReadinessCheck.Builder setFailureThreshold(int value)
Number of consecutive failed checks required before removing traffic.
uint32 failure_threshold = 3;- Parameters:
value- The failureThreshold to set.- Returns:
- This builder for chaining.
-
clearFailureThreshold
public ReadinessCheck.Builder clearFailureThreshold()
Number of consecutive failed checks required before removing traffic.
uint32 failure_threshold = 3;- Returns:
- This builder for chaining.
-
getSuccessThreshold
public int getSuccessThreshold()
Number of consecutive successful checks required before receiving traffic.
uint32 success_threshold = 4;- Specified by:
getSuccessThresholdin interfaceReadinessCheckOrBuilder- Returns:
- The successThreshold.
-
setSuccessThreshold
public ReadinessCheck.Builder setSuccessThreshold(int value)
Number of consecutive successful checks required before receiving traffic.
uint32 success_threshold = 4;- Parameters:
value- The successThreshold to set.- Returns:
- This builder for chaining.
-
clearSuccessThreshold
public ReadinessCheck.Builder clearSuccessThreshold()
Number of consecutive successful checks required before receiving traffic.
uint32 success_threshold = 4;- Returns:
- This builder for chaining.
-
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.
-
setCheckInterval
public ReadinessCheck.Builder setCheckInterval(com.google.protobuf.Duration value)
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
-
setCheckInterval
public ReadinessCheck.Builder setCheckInterval(com.google.protobuf.Duration.Builder builderForValue)
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
-
mergeCheckInterval
public ReadinessCheck.Builder mergeCheckInterval(com.google.protobuf.Duration value)
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
-
clearCheckInterval
public ReadinessCheck.Builder clearCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
-
getCheckIntervalBuilder
public com.google.protobuf.Duration.Builder getCheckIntervalBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 5;
-
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.
-
setTimeout
public ReadinessCheck.Builder setTimeout(com.google.protobuf.Duration value)
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
-
setTimeout
public ReadinessCheck.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
-
mergeTimeout
public ReadinessCheck.Builder mergeTimeout(com.google.protobuf.Duration value)
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
-
clearTimeout
public ReadinessCheck.Builder clearTimeout()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
-
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()
Time before the check is considered failed.
.google.protobuf.Duration timeout = 6;
-
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.
-
setAppStartTimeout
public ReadinessCheck.Builder setAppStartTimeout(com.google.protobuf.Duration value)
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;
-
setAppStartTimeout
public ReadinessCheck.Builder setAppStartTimeout(com.google.protobuf.Duration.Builder builderForValue)
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;
-
mergeAppStartTimeout
public ReadinessCheck.Builder mergeAppStartTimeout(com.google.protobuf.Duration value)
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;
-
clearAppStartTimeout
public ReadinessCheck.Builder clearAppStartTimeout()
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;
-
getAppStartTimeoutBuilder
public com.google.protobuf.Duration.Builder getAppStartTimeoutBuilder()
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;
-
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
-
setUnknownFields
public final ReadinessCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
mergeUnknownFields
public final ReadinessCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadinessCheck.Builder>
-
-