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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RequestUtilization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RequestUtilization build()
buildPartial()
public RequestUtilization buildPartial()
clear()
public RequestUtilization.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RequestUtilization.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RequestUtilization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTargetConcurrentRequests()
public RequestUtilization.Builder clearTargetConcurrentRequests()
Target number of concurrent requests.
int32 target_concurrent_requests = 2;
clearTargetRequestCountPerSecond()
public RequestUtilization.Builder clearTargetRequestCountPerSecond()
Target requests per second.
int32 target_request_count_per_second = 1;
clone()
public RequestUtilization.Builder clone()
Overrides
getDefaultInstanceForType()
public RequestUtilization getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RequestUtilization other)
public RequestUtilization.Builder mergeFrom(RequestUtilization other)
public RequestUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RequestUtilization.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RequestUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RequestUtilization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RequestUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RequestUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides