Class NetworkUtilization (2.42.0)

public final class NetworkUtilization extends GeneratedMessageV3 implements NetworkUtilizationOrBuilder

Target scaling by network usage. Only applicable in the App Engine flexible environment.

Protobuf type google.appengine.v1.NetworkUtilization

Static Fields

TARGET_RECEIVED_BYTES_PER_SECOND_FIELD_NUMBER

public static final int TARGET_RECEIVED_BYTES_PER_SECOND_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RECEIVED_PACKETS_PER_SECOND_FIELD_NUMBER

public static final int TARGET_RECEIVED_PACKETS_PER_SECOND_FIELD_NUMBER
Field Value
Type Description
int

TARGET_SENT_BYTES_PER_SECOND_FIELD_NUMBER

public static final int TARGET_SENT_BYTES_PER_SECOND_FIELD_NUMBER
Field Value
Type Description
int

TARGET_SENT_PACKETS_PER_SECOND_FIELD_NUMBER

public static final int TARGET_SENT_PACKETS_PER_SECOND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkUtilization getDefaultInstance()
Returns
Type Description
NetworkUtilization

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NetworkUtilization.Builder newBuilder()
Returns
Type Description
NetworkUtilization.Builder

newBuilder(NetworkUtilization prototype)

public static NetworkUtilization.Builder newBuilder(NetworkUtilization prototype)
Parameter
Name Description
prototype NetworkUtilization
Returns
Type Description
NetworkUtilization.Builder

parseDelimitedFrom(InputStream input)

public static NetworkUtilization parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NetworkUtilization parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkUtilization parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkUtilization parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NetworkUtilization parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NetworkUtilization parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkUtilization
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NetworkUtilization> parser()
Returns
Type Description
Parser<NetworkUtilization>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NetworkUtilization getDefaultInstanceForType()
Returns
Type Description
NetworkUtilization

getParserForType()

public Parser<NetworkUtilization> getParserForType()
Returns
Type Description
Parser<NetworkUtilization>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NetworkUtilization.Builder newBuilderForType()
Returns
Type Description
NetworkUtilization.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkUtilization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkUtilization.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NetworkUtilization.Builder toBuilder()
Returns
Type Description
NetworkUtilization.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException