Class RequestUtilization.Builder (2.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RequestUtilization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RequestUtilization.Builder
Overrides

build()

public RequestUtilization build()
Returns
TypeDescription
RequestUtilization

buildPartial()

public RequestUtilization buildPartial()
Returns
TypeDescription
RequestUtilization

clear()

public RequestUtilization.Builder clear()
Returns
TypeDescription
RequestUtilization.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RequestUtilization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RequestUtilization.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RequestUtilization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RequestUtilization.Builder
Overrides

clearTargetConcurrentRequests()

public RequestUtilization.Builder clearTargetConcurrentRequests()

Target number of concurrent requests.

int32 target_concurrent_requests = 2;

Returns
TypeDescription
RequestUtilization.Builder

This builder for chaining.

clearTargetRequestCountPerSecond()

public RequestUtilization.Builder clearTargetRequestCountPerSecond()

Target requests per second.

int32 target_request_count_per_second = 1;

Returns
TypeDescription
RequestUtilization.Builder

This builder for chaining.

clone()

public RequestUtilization.Builder clone()
Returns
TypeDescription
RequestUtilization.Builder
Overrides

getDefaultInstanceForType()

public RequestUtilization getDefaultInstanceForType()
Returns
TypeDescription
RequestUtilization

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RequestUtilization other)

public RequestUtilization.Builder mergeFrom(RequestUtilization other)
Parameter
NameDescription
otherRequestUtilization
Returns
TypeDescription
RequestUtilization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RequestUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestUtilization.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RequestUtilization.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RequestUtilization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RequestUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RequestUtilization.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RequestUtilization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RequestUtilization.Builder
Overrides

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

public RequestUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RequestUtilization.Builder
Overrides

setTargetConcurrentRequests(int value)

public RequestUtilization.Builder setTargetConcurrentRequests(int value)

Target number of concurrent requests.

int32 target_concurrent_requests = 2;

Parameter
NameDescription
valueint

The targetConcurrentRequests to set.

Returns
TypeDescription
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
NameDescription
valueint

The targetRequestCountPerSecond to set.

Returns
TypeDescription
RequestUtilization.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RequestUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RequestUtilization.Builder
Overrides