Class RequestUtilization (2.45.0)

public final class RequestUtilization extends GeneratedMessageV3 implements RequestUtilizationOrBuilder

Target scaling by request utilization. Only applicable in the App Engine flexible environment.

Protobuf type google.appengine.v1.RequestUtilization

Static Fields

TARGET_CONCURRENT_REQUESTS_FIELD_NUMBER

public static final int TARGET_CONCURRENT_REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

TARGET_REQUEST_COUNT_PER_SECOND_FIELD_NUMBER

public static final int TARGET_REQUEST_COUNT_PER_SECOND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RequestUtilization getDefaultInstance()
Returns
Type Description
RequestUtilization

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RequestUtilization.Builder newBuilder()
Returns
Type Description
RequestUtilization.Builder

newBuilder(RequestUtilization prototype)

public static RequestUtilization.Builder newBuilder(RequestUtilization prototype)
Parameter
Name Description
prototype RequestUtilization
Returns
Type Description
RequestUtilization.Builder

parseDelimitedFrom(InputStream input)

public static RequestUtilization parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RequestUtilization
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestUtilization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestUtilization
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RequestUtilization parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RequestUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RequestUtilization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RequestUtilization parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RequestUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RequestUtilization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RequestUtilization parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RequestUtilization
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestUtilization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestUtilization
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RequestUtilization parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RequestUtilization
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestUtilization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestUtilization
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RequestUtilization parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RequestUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RequestUtilization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RequestUtilization> parser()
Returns
Type Description
Parser<RequestUtilization>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RequestUtilization getDefaultInstanceForType()
Returns
Type Description
RequestUtilization

getParserForType()

public Parser<RequestUtilization> getParserForType()
Returns
Type Description
Parser<RequestUtilization>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetConcurrentRequests()

public int getTargetConcurrentRequests()

Target number of concurrent requests.

int32 target_concurrent_requests = 2;

Returns
Type Description
int

The targetConcurrentRequests.

getTargetRequestCountPerSecond()

public int getTargetRequestCountPerSecond()

Target requests per second.

int32 target_request_count_per_second = 1;

Returns
Type Description
int

The targetRequestCountPerSecond.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RequestUtilization.Builder newBuilderForType()
Returns
Type Description
RequestUtilization.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RequestUtilization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RequestUtilization.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RequestUtilization.Builder toBuilder()
Returns
Type Description
RequestUtilization.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException