Send feedback
Class StandardSchedulerSettings.Builder (2.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.41.0 keyboard_arrow_down
public static final class StandardSchedulerSettings . Builder extends GeneratedMessageV3 . Builder<StandardSchedulerSettings . Builder > implements StandardSchedulerSettingsOrBuilder
Scheduler settings for standard environment.
Protobuf type google.appengine.v1.StandardSchedulerSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StandardSchedulerSettings . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public StandardSchedulerSettings build ()
buildPartial()
public StandardSchedulerSettings buildPartial ()
clear()
public StandardSchedulerSettings . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StandardSchedulerSettings . Builder clearField ( Descriptors . FieldDescriptor field )
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;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public StandardSchedulerSettings . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearTargetCpuUtilization()
public StandardSchedulerSettings . Builder clearTargetCpuUtilization ()
Target CPU utilization ratio to maintain when scaling.
double target_cpu_utilization = 1;
clearTargetThroughputUtilization()
public StandardSchedulerSettings . Builder clearTargetThroughputUtilization ()
Target throughput utilization ratio to maintain when scaling
double target_throughput_utilization = 2;
clone()
public StandardSchedulerSettings . Builder clone ()
Overrides
getDefaultInstanceForType()
public StandardSchedulerSettings getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(StandardSchedulerSettings other)
public StandardSchedulerSettings . Builder mergeFrom ( StandardSchedulerSettings other )
public StandardSchedulerSettings . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public StandardSchedulerSettings . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StandardSchedulerSettings . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StandardSchedulerSettings . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StandardSchedulerSettings . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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.
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final StandardSchedulerSettings . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]