Class StandardSchedulerSettings (2.44.0)

public final class StandardSchedulerSettings extends GeneratedMessageV3 implements StandardSchedulerSettingsOrBuilder

Scheduler settings for standard environment.

Protobuf type google.appengine.v1.StandardSchedulerSettings

Static Fields

MAX_INSTANCES_FIELD_NUMBER

public static final int MAX_INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

MIN_INSTANCES_FIELD_NUMBER

public static final int MIN_INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

TARGET_CPU_UTILIZATION_FIELD_NUMBER

public static final int TARGET_CPU_UTILIZATION_FIELD_NUMBER
Field Value
Type Description
int

TARGET_THROUGHPUT_UTILIZATION_FIELD_NUMBER

public static final int TARGET_THROUGHPUT_UTILIZATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StandardSchedulerSettings getDefaultInstance()
Returns
Type Description
StandardSchedulerSettings

getDescriptor()

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

newBuilder()

public static StandardSchedulerSettings.Builder newBuilder()
Returns
Type Description
StandardSchedulerSettings.Builder

newBuilder(StandardSchedulerSettings prototype)

public static StandardSchedulerSettings.Builder newBuilder(StandardSchedulerSettings prototype)
Parameter
Name Description
prototype StandardSchedulerSettings
Returns
Type Description
StandardSchedulerSettings.Builder

parseDelimitedFrom(InputStream input)

public static StandardSchedulerSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StandardSchedulerSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StandardSchedulerSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StandardSchedulerSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StandardSchedulerSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StandardSchedulerSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StandardSchedulerSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StandardSchedulerSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StandardSchedulerSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StandardSchedulerSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StandardSchedulerSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StandardSchedulerSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardSchedulerSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StandardSchedulerSettings> parser()
Returns
Type Description
Parser<StandardSchedulerSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StandardSchedulerSettings getDefaultInstanceForType()
Returns
Type Description
StandardSchedulerSettings

getMaxInstances()

public int getMaxInstances()

Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.

int32 max_instances = 4;

Returns
Type Description
int

The maxInstances.

getMinInstances()

public int getMinInstances()

Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.

int32 min_instances = 3;

Returns
Type Description
int

The minInstances.

getParserForType()

public Parser<StandardSchedulerSettings> getParserForType()
Returns
Type Description
Parser<StandardSchedulerSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetCpuUtilization()

public double getTargetCpuUtilization()

Target CPU utilization ratio to maintain when scaling.

double target_cpu_utilization = 1;

Returns
Type Description
double

The targetCpuUtilization.

getTargetThroughputUtilization()

public double getTargetThroughputUtilization()

Target throughput utilization ratio to maintain when scaling

double target_throughput_utilization = 2;

Returns
Type Description
double

The targetThroughputUtilization.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StandardSchedulerSettings.Builder newBuilderForType()
Returns
Type Description
StandardSchedulerSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StandardSchedulerSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StandardSchedulerSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StandardSchedulerSettings.Builder toBuilder()
Returns
Type Description
StandardSchedulerSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException