Class Application.FeatureSettings (2.21.0)

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

SPLIT_HEALTH_CHECKS_FIELD_NUMBER

public static final int SPLIT_HEALTH_CHECKS_FIELD_NUMBER
Field Value
TypeDescription
int

USE_CONTAINER_OPTIMIZED_OS_FIELD_NUMBER

public static final int USE_CONTAINER_OPTIMIZED_OS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Application.FeatureSettings getDefaultInstance()
Returns
TypeDescription
Application.FeatureSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Application.FeatureSettings.Builder newBuilder()
Returns
TypeDescription
Application.FeatureSettings.Builder

newBuilder(Application.FeatureSettings prototype)

public static Application.FeatureSettings.Builder newBuilder(Application.FeatureSettings prototype)
Parameter
NameDescription
prototypeApplication.FeatureSettings
Returns
TypeDescription
Application.FeatureSettings.Builder

parseDelimitedFrom(InputStream input)

public static Application.FeatureSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Application.FeatureSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Application.FeatureSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Application.FeatureSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Application.FeatureSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Application.FeatureSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Application.FeatureSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Application.FeatureSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Application.FeatureSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Application.FeatureSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Application.FeatureSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Application.FeatureSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.FeatureSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Application.FeatureSettings> parser()
Returns
TypeDescription
Parser<FeatureSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<Application.FeatureSettings> getParserForType()
Returns
TypeDescription
Parser<FeatureSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Application.FeatureSettings.Builder newBuilderForType()
Returns
TypeDescription
Application.FeatureSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Application.FeatureSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Application.FeatureSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Application.FeatureSettings.Builder toBuilder()
Returns
TypeDescription
Application.FeatureSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException