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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RequestUtilization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RequestUtilization build()
Returns
buildPartial()
public RequestUtilization buildPartial()
Returns
clear()
public RequestUtilization.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RequestUtilization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RequestUtilization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTargetConcurrentRequests()
public RequestUtilization.Builder clearTargetConcurrentRequests()
Target number of concurrent requests.
int32 target_concurrent_requests = 2;
Returns
clearTargetRequestCountPerSecond()
public RequestUtilization.Builder clearTargetRequestCountPerSecond()
Target requests per second.
int32 target_request_count_per_second = 1;
Returns
clone()
public RequestUtilization.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RequestUtilization getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RequestUtilization other)
public RequestUtilization.Builder mergeFrom(RequestUtilization other)
Parameter
Returns
public RequestUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RequestUtilization.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RequestUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RequestUtilization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RequestUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final RequestUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides