- 2.53.0 (latest)
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StandardSchedulerSettings.BuilderImplements
StandardSchedulerSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StandardSchedulerSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
build()
public StandardSchedulerSettings build()
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings |
buildPartial()
public StandardSchedulerSettings buildPartial()
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings |
clear()
public StandardSchedulerSettings.Builder clear()
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public StandardSchedulerSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StandardSchedulerSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
clearTargetCpuUtilization()
public StandardSchedulerSettings.Builder clearTargetCpuUtilization()
Target CPU utilization ratio to maintain when scaling.
double target_cpu_utilization = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
This builder for chaining. |
clone()
public StandardSchedulerSettings.Builder clone()
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
getDefaultInstanceForType()
public StandardSchedulerSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(StandardSchedulerSettings other)
public StandardSchedulerSettings.Builder mergeFrom(StandardSchedulerSettings other)
Parameter | |
---|---|
Name | Description |
other |
StandardSchedulerSettings |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StandardSchedulerSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StandardSchedulerSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StandardSchedulerSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StandardSchedulerSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The minInstances to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
double The targetThroughputUtilization to set. |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StandardSchedulerSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StandardSchedulerSettings.Builder |