Class Application.FeatureSettings.Builder (2.83.0)

public static final class Application.FeatureSettings.Builder extends GeneratedMessage.Builder<Application.FeatureSettings.Builder> implements Application.FeatureSettingsOrBuilder

The feature specific settings to be used in the application. These define behaviors that are user configurable.

Protobuf type google.appengine.v1.Application.FeatureSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Application.FeatureSettings build()
Returns
Type Description
Application.FeatureSettings

buildPartial()

public Application.FeatureSettings buildPartial()
Returns
Type Description
Application.FeatureSettings

clear()

public Application.FeatureSettings.Builder clear()
Returns
Type Description
Application.FeatureSettings.Builder
Overrides

clearSplitHealthChecks()

public Application.FeatureSettings.Builder clearSplitHealthChecks()

Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed.

bool split_health_checks = 1;

Returns
Type Description
Application.FeatureSettings.Builder

This builder for chaining.

clearUseContainerOptimizedOs()

public Application.FeatureSettings.Builder clearUseContainerOptimizedOs()

If true, use Container-Optimized OS base image for VMs, rather than a base Debian image.

bool use_container_optimized_os = 2;

Returns
Type Description
Application.FeatureSettings.Builder

This builder for chaining.

getDefaultInstanceForType()

public Application.FeatureSettings getDefaultInstanceForType()
Returns
Type Description
Application.FeatureSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSplitHealthChecks()

public boolean getSplitHealthChecks()

Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed.

bool split_health_checks = 1;

Returns
Type Description
boolean

The splitHealthChecks.

getUseContainerOptimizedOs()

public boolean getUseContainerOptimizedOs()

If true, use Container-Optimized OS base image for VMs, rather than a base Debian image.

bool use_container_optimized_os = 2;

Returns
Type Description
boolean

The useContainerOptimizedOs.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Application.FeatureSettings other)

public Application.FeatureSettings.Builder mergeFrom(Application.FeatureSettings other)
Parameter
Name Description
other Application.FeatureSettings
Returns
Type Description
Application.FeatureSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Application.FeatureSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application.FeatureSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Application.FeatureSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Application.FeatureSettings.Builder
Overrides

setSplitHealthChecks(boolean value)

public Application.FeatureSettings.Builder setSplitHealthChecks(boolean value)

Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed.

bool split_health_checks = 1;

Parameter
Name Description
value boolean

The splitHealthChecks to set.

Returns
Type Description
Application.FeatureSettings.Builder

This builder for chaining.

setUseContainerOptimizedOs(boolean value)

public Application.FeatureSettings.Builder setUseContainerOptimizedOs(boolean value)

If true, use Container-Optimized OS base image for VMs, rather than a base Debian image.

bool use_container_optimized_os = 2;

Parameter
Name Description
value boolean

The useContainerOptimizedOs to set.

Returns
Type Description
Application.FeatureSettings.Builder

This builder for chaining.