Class NetworkPerformanceConfig (1.26.0)

public final class NetworkPerformanceConfig extends GeneratedMessageV3 implements NetworkPerformanceConfigOrBuilder

Protobuf type google.cloud.compute.v1.NetworkPerformanceConfig

Static Fields

TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER

public static final int TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkPerformanceConfig getDefaultInstance()
Returns
TypeDescription
NetworkPerformanceConfig

getDescriptor()

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

newBuilder()

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

newBuilder(NetworkPerformanceConfig prototype)

public static NetworkPerformanceConfig.Builder newBuilder(NetworkPerformanceConfig prototype)
Parameter
NameDescription
prototypeNetworkPerformanceConfig
Returns
TypeDescription
NetworkPerformanceConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NetworkPerformanceConfig getDefaultInstanceForType()
Returns
TypeDescription
NetworkPerformanceConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalEgressBandwidthTier()

public String getTotalEgressBandwidthTier()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
TypeDescription
String

The totalEgressBandwidthTier.

getTotalEgressBandwidthTierBytes()

public ByteString getTotalEgressBandwidthTierBytes()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
TypeDescription
ByteString

The bytes for totalEgressBandwidthTier.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasTotalEgressBandwidthTier()

public boolean hasTotalEgressBandwidthTier()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
TypeDescription
boolean

Whether the totalEgressBandwidthTier field is set.

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 NetworkPerformanceConfig.Builder newBuilderForType()
Returns
TypeDescription
NetworkPerformanceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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