public static final class NetworkUtilization.Builder extends GeneratedMessageV3.Builder<NetworkUtilization.Builder> implements NetworkUtilizationOrBuilder
Target scaling by network usage.
Only applicable in the App Engine flexible environment.
Protobuf type google.appengine.v1.NetworkUtilization
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 NetworkUtilization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NetworkUtilization build()
buildPartial()
public NetworkUtilization buildPartial()
clear()
public NetworkUtilization.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NetworkUtilization.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkUtilization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTargetReceivedBytesPerSecond()
public NetworkUtilization.Builder clearTargetReceivedBytesPerSecond()
Target bytes received per second.
int32 target_received_bytes_per_second = 12;
clearTargetReceivedPacketsPerSecond()
public NetworkUtilization.Builder clearTargetReceivedPacketsPerSecond()
Target packets received per second.
int32 target_received_packets_per_second = 13;
clearTargetSentBytesPerSecond()
public NetworkUtilization.Builder clearTargetSentBytesPerSecond()
Target bytes sent per second.
int32 target_sent_bytes_per_second = 1;
clearTargetSentPacketsPerSecond()
public NetworkUtilization.Builder clearTargetSentPacketsPerSecond()
Target packets sent per second.
int32 target_sent_packets_per_second = 11;
clone()
public NetworkUtilization.Builder clone()
Overrides
getDefaultInstanceForType()
public NetworkUtilization getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTargetReceivedBytesPerSecond()
public int getTargetReceivedBytesPerSecond()
Target bytes received per second.
int32 target_received_bytes_per_second = 12;
Returns |
Type |
Description |
int |
The targetReceivedBytesPerSecond.
|
getTargetReceivedPacketsPerSecond()
public int getTargetReceivedPacketsPerSecond()
Target packets received per second.
int32 target_received_packets_per_second = 13;
Returns |
Type |
Description |
int |
The targetReceivedPacketsPerSecond.
|
getTargetSentBytesPerSecond()
public int getTargetSentBytesPerSecond()
Target bytes sent per second.
int32 target_sent_bytes_per_second = 1;
Returns |
Type |
Description |
int |
The targetSentBytesPerSecond.
|
getTargetSentPacketsPerSecond()
public int getTargetSentPacketsPerSecond()
Target packets sent per second.
int32 target_sent_packets_per_second = 11;
Returns |
Type |
Description |
int |
The targetSentPacketsPerSecond.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NetworkUtilization other)
public NetworkUtilization.Builder mergeFrom(NetworkUtilization other)
public NetworkUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NetworkUtilization.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkUtilization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTargetReceivedBytesPerSecond(int value)
public NetworkUtilization.Builder setTargetReceivedBytesPerSecond(int value)
Target bytes received per second.
int32 target_received_bytes_per_second = 12;
Parameter |
Name |
Description |
value |
int
The targetReceivedBytesPerSecond to set.
|
setTargetReceivedPacketsPerSecond(int value)
public NetworkUtilization.Builder setTargetReceivedPacketsPerSecond(int value)
Target packets received per second.
int32 target_received_packets_per_second = 13;
Parameter |
Name |
Description |
value |
int
The targetReceivedPacketsPerSecond to set.
|
setTargetSentBytesPerSecond(int value)
public NetworkUtilization.Builder setTargetSentBytesPerSecond(int value)
Target bytes sent per second.
int32 target_sent_bytes_per_second = 1;
Parameter |
Name |
Description |
value |
int
The targetSentBytesPerSecond to set.
|
setTargetSentPacketsPerSecond(int value)
public NetworkUtilization.Builder setTargetSentPacketsPerSecond(int value)
Target packets sent per second.
int32 target_sent_packets_per_second = 11;
Parameter |
Name |
Description |
value |
int
The targetSentPacketsPerSecond to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides