Class NetworkUtilization.Builder (0.2.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkUtilization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkUtilization.Builder
Overrides

build()

public NetworkUtilization build()
Returns
Type Description
NetworkUtilization

buildPartial()

public NetworkUtilization buildPartial()
Returns
Type Description
NetworkUtilization

clear()

public NetworkUtilization.Builder clear()
Returns
Type Description
NetworkUtilization.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworkUtilization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworkUtilization.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkUtilization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworkUtilization.Builder
Overrides

clearTargetReceivedBytesPerSecond()

public NetworkUtilization.Builder clearTargetReceivedBytesPerSecond()

Target bytes received per second.

int32 target_received_bytes_per_second = 12;

Returns
Type Description
NetworkUtilization.Builder

This builder for chaining.

clearTargetReceivedPacketsPerSecond()

public NetworkUtilization.Builder clearTargetReceivedPacketsPerSecond()

Target packets received per second.

int32 target_received_packets_per_second = 13;

Returns
Type Description
NetworkUtilization.Builder

This builder for chaining.

clearTargetSentBytesPerSecond()

public NetworkUtilization.Builder clearTargetSentBytesPerSecond()

Target bytes sent per second.

int32 target_sent_bytes_per_second = 1;

Returns
Type Description
NetworkUtilization.Builder

This builder for chaining.

clearTargetSentPacketsPerSecond()

public NetworkUtilization.Builder clearTargetSentPacketsPerSecond()

Target packets sent per second.

int32 target_sent_packets_per_second = 11;

Returns
Type Description
NetworkUtilization.Builder

This builder for chaining.

clone()

public NetworkUtilization.Builder clone()
Returns
Type Description
NetworkUtilization.Builder
Overrides

getDefaultInstanceForType()

public NetworkUtilization getDefaultInstanceForType()
Returns
Type Description
NetworkUtilization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkUtilization other)

public NetworkUtilization.Builder mergeFrom(NetworkUtilization other)
Parameter
Name Description
other NetworkUtilization
Returns
Type Description
NetworkUtilization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkUtilization.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NetworkUtilization.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworkUtilization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkUtilization.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkUtilization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworkUtilization.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NetworkUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NetworkUtilization.Builder
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
Type Description
NetworkUtilization.Builder

This builder for chaining.

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
Type Description
NetworkUtilization.Builder

This builder for chaining.

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
Type Description
NetworkUtilization.Builder

This builder for chaining.

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
Type Description
NetworkUtilization.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkUtilization.Builder
Overrides