Class StandardSchedulerSettings.Builder (2.39.0)

public static final class StandardSchedulerSettings.Builder extends GeneratedMessageV3.Builder<StandardSchedulerSettings.Builder> implements StandardSchedulerSettingsOrBuilder

Scheduler settings for standard environment.

Protobuf type google.appengine.v1.StandardSchedulerSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StandardSchedulerSettings build()
Returns
TypeDescription
StandardSchedulerSettings

buildPartial()

public StandardSchedulerSettings buildPartial()
Returns
TypeDescription
StandardSchedulerSettings

clear()

public StandardSchedulerSettings.Builder clear()
Returns
TypeDescription
StandardSchedulerSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMaxInstances()

public StandardSchedulerSettings.Builder clearMaxInstances()

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

int32 max_instances = 4;

Returns
TypeDescription
StandardSchedulerSettings.Builder

This builder for chaining.

clearMinInstances()

public StandardSchedulerSettings.Builder clearMinInstances()

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

int32 min_instances = 3;

Returns
TypeDescription
StandardSchedulerSettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StandardSchedulerSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StandardSchedulerSettings.Builder
Overrides

clearTargetCpuUtilization()

public StandardSchedulerSettings.Builder clearTargetCpuUtilization()

Target CPU utilization ratio to maintain when scaling.

double target_cpu_utilization = 1;

Returns
TypeDescription
StandardSchedulerSettings.Builder

This builder for chaining.

clearTargetThroughputUtilization()

public StandardSchedulerSettings.Builder clearTargetThroughputUtilization()

Target throughput utilization ratio to maintain when scaling

double target_throughput_utilization = 2;

Returns
TypeDescription
StandardSchedulerSettings.Builder

This builder for chaining.

clone()

public StandardSchedulerSettings.Builder clone()
Returns
TypeDescription
StandardSchedulerSettings.Builder
Overrides

getDefaultInstanceForType()

public StandardSchedulerSettings getDefaultInstanceForType()
Returns
TypeDescription
StandardSchedulerSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StandardSchedulerSettings other)

public StandardSchedulerSettings.Builder mergeFrom(StandardSchedulerSettings other)
Parameter
NameDescription
otherStandardSchedulerSettings
Returns
TypeDescription
StandardSchedulerSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public StandardSchedulerSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StandardSchedulerSettings.Builder
Overrides

setMaxInstances(int value)

public StandardSchedulerSettings.Builder setMaxInstances(int value)

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

int32 max_instances = 4;

Parameter
NameDescription
valueint

The maxInstances to set.

Returns
TypeDescription
StandardSchedulerSettings.Builder

This builder for chaining.

setMinInstances(int value)

public StandardSchedulerSettings.Builder setMinInstances(int value)

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

int32 min_instances = 3;

Parameter
NameDescription
valueint

The minInstances to set.

Returns
TypeDescription
StandardSchedulerSettings.Builder

This builder for chaining.

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

public StandardSchedulerSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StandardSchedulerSettings.Builder
Overrides

setTargetCpuUtilization(double value)

public StandardSchedulerSettings.Builder setTargetCpuUtilization(double value)

Target CPU utilization ratio to maintain when scaling.

double target_cpu_utilization = 1;

Parameter
NameDescription
valuedouble

The targetCpuUtilization to set.

Returns
TypeDescription
StandardSchedulerSettings.Builder

This builder for chaining.

setTargetThroughputUtilization(double value)

public StandardSchedulerSettings.Builder setTargetThroughputUtilization(double value)

Target throughput utilization ratio to maintain when scaling

double target_throughput_utilization = 2;

Parameter
NameDescription
valuedouble

The targetThroughputUtilization to set.

Returns
TypeDescription
StandardSchedulerSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final StandardSchedulerSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StandardSchedulerSettings.Builder
Overrides