Class StandardSchedulerSettings (2.27.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
TypeDescription
int

MIN_INSTANCES_FIELD_NUMBER

public static final int MIN_INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_CPU_UTILIZATION_FIELD_NUMBER

public static final int TARGET_CPU_UTILIZATION_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_THROUGHPUT_UTILIZATION_FIELD_NUMBER

public static final int TARGET_THROUGHPUT_UTILIZATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StandardSchedulerSettings getDefaultInstance()
Returns
TypeDescription
StandardSchedulerSettings

getDescriptor()

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

newBuilder()

public static StandardSchedulerSettings.Builder newBuilder()
Returns
TypeDescription
StandardSchedulerSettings.Builder

newBuilder(StandardSchedulerSettings prototype)

public static StandardSchedulerSettings.Builder newBuilder(StandardSchedulerSettings prototype)
Parameter
NameDescription
prototypeStandardSchedulerSettings
Returns
TypeDescription
StandardSchedulerSettings.Builder

parseDelimitedFrom(InputStream input)

public static StandardSchedulerSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StandardSchedulerSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StandardSchedulerSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StandardSchedulerSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static StandardSchedulerSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StandardSchedulerSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static StandardSchedulerSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StandardSchedulerSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StandardSchedulerSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StandardSchedulerSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<StandardSchedulerSettings> parser()
Returns
TypeDescription
Parser<StandardSchedulerSettings>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StandardSchedulerSettings getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The minInstances.

getParserForType()

public Parser<StandardSchedulerSettings> getParserForType()
Returns
TypeDescription
Parser<StandardSchedulerSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetCpuUtilization()

public double getTargetCpuUtilization()

Target CPU utilization ratio to maintain when scaling.

double target_cpu_utilization = 1;

Returns
TypeDescription
double

The targetCpuUtilization.

getTargetThroughputUtilization()

public double getTargetThroughputUtilization()

Target throughput utilization ratio to maintain when scaling

double target_throughput_utilization = 2;

Returns
TypeDescription
double

The targetThroughputUtilization.

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 StandardSchedulerSettings.Builder newBuilderForType()
Returns
TypeDescription
StandardSchedulerSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public StandardSchedulerSettings.Builder toBuilder()
Returns
TypeDescription
StandardSchedulerSettings.Builder

writeTo(CodedOutputStream output)

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