Class RequestUtilization (2.9.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
TypeDescription
int

TARGET_REQUEST_COUNT_PER_SECOND_FIELD_NUMBER

public static final int TARGET_REQUEST_COUNT_PER_SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RequestUtilization getDefaultInstance()
Returns
TypeDescription
RequestUtilization

getDescriptor()

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

newBuilder()

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

newBuilder(RequestUtilization prototype)

public static RequestUtilization.Builder newBuilder(RequestUtilization prototype)
Parameter
NameDescription
prototypeRequestUtilization
Returns
TypeDescription
RequestUtilization.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RequestUtilization getDefaultInstanceForType()
Returns
TypeDescription
RequestUtilization

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetConcurrentRequests()

public int getTargetConcurrentRequests()

Target number of concurrent requests.

int32 target_concurrent_requests = 2;

Returns
TypeDescription
int

The targetConcurrentRequests.

getTargetRequestCountPerSecond()

public int getTargetRequestCountPerSecond()

Target requests per second.

int32 target_request_count_per_second = 1;

Returns
TypeDescription
int

The targetRequestCountPerSecond.

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 RequestUtilization.Builder newBuilderForType()
Returns
TypeDescription
RequestUtilization.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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