Class Application.FeatureSettings.Builder (2.1.10)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Application.FeatureSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Application.FeatureSettings.Builder
Overrides

build()

public Application.FeatureSettings build()
Returns
TypeDescription
Application.FeatureSettings

buildPartial()

public Application.FeatureSettings buildPartial()
Returns
TypeDescription
Application.FeatureSettings

clear()

public Application.FeatureSettings.Builder clear()
Returns
TypeDescription
Application.FeatureSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Application.FeatureSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Application.FeatureSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Application.FeatureSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Application.FeatureSettings.Builder

This builder for chaining.

clone()

public Application.FeatureSettings.Builder clone()
Returns
TypeDescription
Application.FeatureSettings.Builder
Overrides

getDefaultInstanceForType()

public Application.FeatureSettings getDefaultInstanceForType()
Returns
TypeDescription
Application.FeatureSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The useContainerOptimizedOs.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Application.FeatureSettings other)

public Application.FeatureSettings.Builder mergeFrom(Application.FeatureSettings other)
Parameter
NameDescription
otherApplication.FeatureSettings
Returns
TypeDescription
Application.FeatureSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Application.FeatureSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.FeatureSettings.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Application.FeatureSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Application.FeatureSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Application.FeatureSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Application.FeatureSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Application.FeatureSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The splitHealthChecks to set.

Returns
TypeDescription
Application.FeatureSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Application.FeatureSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The useContainerOptimizedOs to set.

Returns
TypeDescription
Application.FeatureSettings.Builder

This builder for chaining.