Class NetworkUtilization.Builder (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkUtilization build()
Returns
TypeDescription
NetworkUtilization

buildPartial()

public NetworkUtilization buildPartial()
Returns
TypeDescription
NetworkUtilization

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetReceivedBytesPerSecond()

public NetworkUtilization.Builder clearTargetReceivedBytesPerSecond()

Target bytes received per second.

int32 target_received_bytes_per_second = 12;

Returns
TypeDescription
NetworkUtilization.Builder

This builder for chaining.

clearTargetReceivedPacketsPerSecond()

public NetworkUtilization.Builder clearTargetReceivedPacketsPerSecond()

Target packets received per second.

int32 target_received_packets_per_second = 13;

Returns
TypeDescription
NetworkUtilization.Builder

This builder for chaining.

clearTargetSentBytesPerSecond()

public NetworkUtilization.Builder clearTargetSentBytesPerSecond()

Target bytes sent per second.

int32 target_sent_bytes_per_second = 1;

Returns
TypeDescription
NetworkUtilization.Builder

This builder for chaining.

clearTargetSentPacketsPerSecond()

public NetworkUtilization.Builder clearTargetSentPacketsPerSecond()

Target packets sent per second.

int32 target_sent_packets_per_second = 11;

Returns
TypeDescription
NetworkUtilization.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NetworkUtilization getDefaultInstanceForType()
Returns
TypeDescription
NetworkUtilization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTargetReceivedBytesPerSecond()

public int getTargetReceivedBytesPerSecond()

Target bytes received per second.

int32 target_received_bytes_per_second = 12;

Returns
TypeDescription
int

The targetReceivedBytesPerSecond.

getTargetReceivedPacketsPerSecond()

public int getTargetReceivedPacketsPerSecond()

Target packets received per second.

int32 target_received_packets_per_second = 13;

Returns
TypeDescription
int

The targetReceivedPacketsPerSecond.

getTargetSentBytesPerSecond()