public static final class BasicScaling.Builder extends GeneratedMessageV3.Builder<BasicScaling.Builder> implements BasicScalingOrBuilder
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.Protobuf type
google.appengine.v1.BasicScaling
Modifier and Type | Method and Description |
---|---|
BasicScaling.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
BasicScaling |
build() |
BasicScaling |
buildPartial() |
BasicScaling.Builder |
clear() |
BasicScaling.Builder |
clearField(Descriptors.FieldDescriptor field) |
BasicScaling.Builder |
clearIdleTimeout()
Duration of time after the last request that an instance must wait before
the instance is shut down.
|
BasicScaling.Builder |
clearMaxInstances()
Maximum number of instances to create for this version.
|
BasicScaling.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
BasicScaling.Builder |
clone() |
BasicScaling |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Duration |
getIdleTimeout()
Duration of time after the last request that an instance must wait before
the instance is shut down.
|
Duration.Builder |
getIdleTimeoutBuilder()
Duration of time after the last request that an instance must wait before
the instance is shut down.
|
DurationOrBuilder |
getIdleTimeoutOrBuilder()
Duration of time after the last request that an instance must wait before
the instance is shut down.
|
int |
getMaxInstances()
Maximum number of instances to create for this version.
|
boolean |
hasIdleTimeout()
Duration of time after the last request that an instance must wait before
the instance is shut down.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BasicScaling.Builder |
mergeFrom(BasicScaling other) |
BasicScaling.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
BasicScaling.Builder |
mergeFrom(Message other) |
BasicScaling.Builder |
mergeIdleTimeout(Duration value)
Duration of time after the last request that an instance must wait before
the instance is shut down.
|
BasicScaling.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
BasicScaling.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
BasicScaling.Builder |
setIdleTimeout(Duration.Builder builderForValue)
Duration of time after the last request that an instance must wait before
the instance is shut down.
|
BasicScaling.Builder |
setIdleTimeout(Duration value)
Duration of time after the last request that an instance must wait before
the instance is shut down.
|
BasicScaling.Builder |
setMaxInstances(int value)
Maximum number of instances to create for this version.
|
BasicScaling.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
BasicScaling.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BasicScaling build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BasicScaling buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BasicScaling.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BasicScaling.Builder>
public BasicScaling.Builder mergeFrom(BasicScaling other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public BasicScaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BasicScaling.Builder>
java.io.IOException
public boolean hasIdleTimeout()
Duration of time after the last request that an instance must wait before the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
hasIdleTimeout
in interface BasicScalingOrBuilder
public Duration getIdleTimeout()
Duration of time after the last request that an instance must wait before the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
getIdleTimeout
in interface BasicScalingOrBuilder
public BasicScaling.Builder setIdleTimeout(Duration value)
Duration of time after the last request that an instance must wait before the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
public BasicScaling.Builder setIdleTimeout(Duration.Builder builderForValue)
Duration of time after the last request that an instance must wait before the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
public BasicScaling.Builder mergeIdleTimeout(Duration value)
Duration of time after the last request that an instance must wait before the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
public BasicScaling.Builder clearIdleTimeout()
Duration of time after the last request that an instance must wait before the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
public Duration.Builder getIdleTimeoutBuilder()
Duration of time after the last request that an instance must wait before the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
public DurationOrBuilder getIdleTimeoutOrBuilder()
Duration of time after the last request that an instance must wait before the instance is shut down.
.google.protobuf.Duration idle_timeout = 1;
getIdleTimeoutOrBuilder
in interface BasicScalingOrBuilder
public int getMaxInstances()
Maximum number of instances to create for this version.
int32 max_instances = 2;
getMaxInstances
in interface BasicScalingOrBuilder
public BasicScaling.Builder setMaxInstances(int value)
Maximum number of instances to create for this version.
int32 max_instances = 2;
public BasicScaling.Builder clearMaxInstances()
Maximum number of instances to create for this version.
int32 max_instances = 2;
public final BasicScaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BasicScaling.Builder>
public final BasicScaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BasicScaling.Builder>