Class NetworkUtilization (2.34.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
TypeDescription
int

TARGET_RECEIVED_PACKETS_PER_SECOND_FIELD_NUMBER

public static final int TARGET_RECEIVED_PACKETS_PER_SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_SENT_BYTES_PER_SECOND_FIELD_NUMBER

public static final int TARGET_SENT_BYTES_PER_SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_SENT_PACKETS_PER_SECOND_FIELD_NUMBER

public static final int TARGET_SENT_PACKETS_PER_SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkUtilization getDefaultInstance()
Returns
TypeDescription
NetworkUtilization

getDescriptor()

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

newBuilder()

public static NetworkUtilization.Builder newBuilder()
Returns
TypeDescription
NetworkUtilization.Builder

newBuilder(NetworkUtilization prototype)

public static NetworkUtilization.Builder newBuilder(NetworkUtilization prototype)
Parameter
NameDescription
prototypeNetworkUtilization
Returns
TypeDescription
NetworkUtilization.Builder

parseDelimitedFrom(InputStream input)

public static NetworkUtilization parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NetworkUtilization parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkUtilization parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkUtilization parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NetworkUtilization parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NetworkUtilization parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkUtilization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NetworkUtilization> parser()
Returns
TypeDescription
Parser<NetworkUtilization>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NetworkUtilization getDefaultInstanceForType()
Returns
TypeDescription
NetworkUtilization

getParserForType()

public Parser<NetworkUtilization> getParserForType()
Returns
TypeDescription
Parser<NetworkUtilization>
Overrides

getSerializedSize()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NetworkUtilization.Builder newBuilderForType()
Returns
TypeDescription
NetworkUtilization.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkUtilization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NetworkUtilization.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NetworkUtilization.Builder toBuilder()
Returns
TypeDescription
NetworkUtilization.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException