Class ManualScaling (2.18.0)

public final class ManualScaling extends GeneratedMessageV3 implements ManualScalingOrBuilder

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.

Protobuf type google.appengine.v1.ManualScaling

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ManualScaling getDefaultInstance()
Returns
TypeDescription
ManualScaling

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ManualScaling.Builder newBuilder()
Returns
TypeDescription
ManualScaling.Builder

newBuilder(ManualScaling prototype)

public static ManualScaling.Builder newBuilder(ManualScaling prototype)
Parameter
NameDescription
prototypeManualScaling
Returns
TypeDescription
ManualScaling.Builder

parseDelimitedFrom(InputStream input)

public static ManualScaling parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualScaling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ManualScaling parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ManualScaling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ManualScaling parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ManualScaling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ManualScaling parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualScaling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ManualScaling parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManualScaling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ManualScaling parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ManualScaling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualScaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ManualScaling> parser()
Returns
TypeDescription
Parser<ManualScaling>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ManualScaling getDefaultInstanceForType()
Returns
TypeDescription
ManualScaling

getInstances()

public int getInstances()

Number of instances to assign to the service at the start. This number can later be altered by using the Modules API set_num_instances() function.

int32 instances = 1;

Returns
TypeDescription
int

The instances.

getParserForType()

public Parser<ManualScaling> getParserForType()
Returns
TypeDescription
Parser<ManualScaling>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ManualScaling.Builder newBuilderForType()
Returns
TypeDescription
ManualScaling.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ManualScaling.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ManualScaling.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ManualScaling.Builder toBuilder()
Returns
TypeDescription
ManualScaling.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException