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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkUtilization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NetworkUtilization build()
Returns
buildPartial()
public NetworkUtilization buildPartial()
Returns
clear()
public NetworkUtilization.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NetworkUtilization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkUtilization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTargetReceivedBytesPerSecond()
public NetworkUtilization.Builder clearTargetReceivedBytesPerSecond()
Target bytes received per second.
int32 target_received_bytes_per_second = 12;
Returns
clearTargetReceivedPacketsPerSecond()
public NetworkUtilization.Builder clearTargetReceivedPacketsPerSecond()
Target packets received per second.
int32 target_received_packets_per_second = 13;
Returns
clearTargetSentBytesPerSecond()
public NetworkUtilization.Builder clearTargetSentBytesPerSecond()
Target bytes sent per second.
int32 target_sent_bytes_per_second = 1;
Returns
clearTargetSentPacketsPerSecond()
public NetworkUtilization.Builder clearTargetSentPacketsPerSecond()
Target packets sent per second.
int32 target_sent_packets_per_second = 11;
Returns
clone()
public NetworkUtilization.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NetworkUtilization getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NetworkUtilization other)
public NetworkUtilization.Builder mergeFrom(NetworkUtilization other)
Parameter
Returns
public NetworkUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NetworkUtilization.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkUtilization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides