Class NetworkUtilization.Builder (2.3.4)

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()

public int getTargetSentBytesPerSecond()

Target bytes sent per second.

int32 target_sent_bytes_per_second = 1;

Returns
TypeDescription
int

The targetSentBytesPerSecond.

getTargetSentPacketsPerSecond()

public int getTargetSentPacketsPerSecond()

Target packets sent per second.

int32 target_sent_packets_per_second = 11;

Returns
TypeDescription
int

The targetSentPacketsPerSecond.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkUtilization other)

public NetworkUtilization.Builder mergeFrom(NetworkUtilization other)
Parameter
NameDescription
otherNetworkUtilization
Returns
TypeDescription
NetworkUtilization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkUtilization.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NetworkUtilization.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworkUtilization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkUtilization.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public NetworkUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The targetReceivedBytesPerSecond to set.

Returns
TypeDescription
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
NameDescription
valueint

The targetReceivedPacketsPerSecond to set.

Returns
TypeDescription
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
NameDescription
valueint

The targetSentBytesPerSecond to set.

Returns
TypeDescription
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
NameDescription
valueint

The targetSentPacketsPerSecond to set.

Returns
TypeDescription
NetworkUtilization.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkUtilization.Builder
Overrides