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 |
---|
Type | Description |
int | |
MIN_INSTANCES_FIELD_NUMBER
public static final int MIN_INSTANCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TARGET_CPU_UTILIZATION_FIELD_NUMBER
public static final int TARGET_CPU_UTILIZATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TARGET_THROUGHPUT_UTILIZATION_FIELD_NUMBER
public static final int TARGET_THROUGHPUT_UTILIZATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static StandardSchedulerSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StandardSchedulerSettings.Builder newBuilder()
newBuilder(StandardSchedulerSettings prototype)
public static StandardSchedulerSettings.Builder newBuilder(StandardSchedulerSettings prototype)
public static StandardSchedulerSettings parseDelimitedFrom(InputStream input)
public static StandardSchedulerSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StandardSchedulerSettings parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StandardSchedulerSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StandardSchedulerSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StandardSchedulerSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StandardSchedulerSettings parseFrom(CodedInputStream input)
public static StandardSchedulerSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StandardSchedulerSettings parseFrom(InputStream input)
public static StandardSchedulerSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StandardSchedulerSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StandardSchedulerSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StandardSchedulerSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public StandardSchedulerSettings getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<StandardSchedulerSettings> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StandardSchedulerSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StandardSchedulerSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public StandardSchedulerSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides