Class Application.FeatureSettings.Builder (2.44.0)

public static final class Application.FeatureSettings.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Application.FeatureSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Application.FeatureSettings.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Application.FeatureSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Application.FeatureSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Application.FeatureSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Application.FeatureSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Application.FeatureSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Application.FeatureSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Application.FeatureSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Application.FeatureSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final Application.FeatureSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Application.FeatureSettings.Builder
Overrides

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.