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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StandardSchedulerSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StandardSchedulerSettings build()
Returns
buildPartial()
public StandardSchedulerSettings buildPartial()
Returns
clear()
public StandardSchedulerSettings.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public StandardSchedulerSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public StandardSchedulerSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTargetCpuUtilization()
public StandardSchedulerSettings.Builder clearTargetCpuUtilization()
Target CPU utilization ratio to maintain when scaling.
double target_cpu_utilization = 1;
Returns
clearTargetThroughputUtilization()
public StandardSchedulerSettings.Builder clearTargetThroughputUtilization()
Target throughput utilization ratio to maintain when scaling
double target_throughput_utilization = 2;
Returns
clone()
public StandardSchedulerSettings.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StandardSchedulerSettings getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StandardSchedulerSettings other)
public StandardSchedulerSettings.Builder mergeFrom(StandardSchedulerSettings other)
Parameter
Returns
public StandardSchedulerSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StandardSchedulerSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StandardSchedulerSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StandardSchedulerSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | int
The maxInstances to set.
|
Returns
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
Name | Description |
value | int
The minInstances to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StandardSchedulerSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTargetCpuUtilization(double value)
public StandardSchedulerSettings.Builder setTargetCpuUtilization(double value)
Target CPU utilization ratio to maintain when scaling.
double target_cpu_utilization = 1;
Parameter
Name | Description |
value | double
The targetCpuUtilization to set.
|
Returns
setTargetThroughputUtilization(double value)
public StandardSchedulerSettings.Builder setTargetThroughputUtilization(double value)
Target throughput utilization ratio to maintain when scaling
double target_throughput_utilization = 2;
Parameter
Name | Description |
value | double
The targetThroughputUtilization to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final StandardSchedulerSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides