Class RequestUtilization.Builder (2.53.0)

public static final class RequestUtilization.Builder extends GeneratedMessageV3.Builder<RequestUtilization.Builder> implements RequestUtilizationOrBuilder

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

Protobuf type google.appengine.v1.RequestUtilization

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RequestUtilization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RequestUtilization.Builder
Overrides

build()

public RequestUtilization build()
Returns
Type Description
RequestUtilization

buildPartial()

public RequestUtilization buildPartial()
Returns
Type Description
RequestUtilization

clear()

public RequestUtilization.Builder clear()
Returns
Type Description
RequestUtilization.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RequestUtilization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RequestUtilization.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RequestUtilization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RequestUtilization.Builder
Overrides

clearTargetConcurrentRequests()

public RequestUtilization.Builder clearTargetConcurrentRequests()

Target number of concurrent requests.

int32 target_concurrent_requests = 2;

Returns
Type Description
RequestUtilization.Builder

This builder for chaining.

clearTargetRequestCountPerSecond()

public RequestUtilization.Builder clearTargetRequestCountPerSecond()

Target requests per second.

int32 target_request_count_per_second = 1;

Returns
Type Description
RequestUtilization.Builder

This builder for chaining.

clone()

public RequestUtilization.Builder clone()
Returns
Type Description
RequestUtilization.Builder
Overrides

getDefaultInstanceForType()

public RequestUtilization getDefaultInstanceForType()
Returns
Type Description
RequestUtilization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RequestUtilization other)

public RequestUtilization.Builder mergeFrom(RequestUtilization other)
Parameter
Name Description
other RequestUtilization
Returns
Type Description
RequestUtilization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RequestUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestUtilization.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RequestUtilization.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RequestUtilization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RequestUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RequestUtilization.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RequestUtilization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RequestUtilization.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RequestUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RequestUtilization.Builder
Overrides

setTargetConcurrentRequests(int value)

public RequestUtilization.Builder setTargetConcurrentRequests(int value)

Target number of concurrent requests.

int32 target_concurrent_requests = 2;

Parameter
Name Description
value int

The targetConcurrentRequests to set.

Returns
Type Description
RequestUtilization.Builder

This builder for chaining.

setTargetRequestCountPerSecond(int value)

public RequestUtilization.Builder setTargetRequestCountPerSecond(int value)

Target requests per second.

int32 target_request_count_per_second = 1;

Parameter
Name Description
value int

The targetRequestCountPerSecond to set.

Returns
Type Description
RequestUtilization.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RequestUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RequestUtilization.Builder
Overrides