Class TransferTypes.AgentPool.BandwidthLimit (1.41.0)

public static final class TransferTypes.AgentPool.BandwidthLimit extends GeneratedMessageV3 implements TransferTypes.AgentPool.BandwidthLimitOrBuilder

Specifies a bandwidth limit for an agent pool.

Protobuf type google.storagetransfer.v1.AgentPool.BandwidthLimit

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransferTypes.AgentPool.BandwidthLimit

Static Fields

LIMIT_MBPS_FIELD_NUMBER

public static final int LIMIT_MBPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferTypes.AgentPool.BandwidthLimit getDefaultInstance()
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit

getDescriptor()

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

newBuilder()

public static TransferTypes.AgentPool.BandwidthLimit.Builder newBuilder()
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit.Builder

newBuilder(TransferTypes.AgentPool.BandwidthLimit prototype)

public static TransferTypes.AgentPool.BandwidthLimit.Builder newBuilder(TransferTypes.AgentPool.BandwidthLimit prototype)
Parameter
NameDescription
prototypeTransferTypes.AgentPool.BandwidthLimit
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit.Builder

parseDelimitedFrom(InputStream input)

public static TransferTypes.AgentPool.BandwidthLimit parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AgentPool.BandwidthLimit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AgentPool.BandwidthLimit parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TransferTypes.AgentPool.BandwidthLimit> parser()
Returns
TypeDescription
Parser<BandwidthLimit>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TransferTypes.AgentPool.BandwidthLimit getDefaultInstanceForType()
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit

getLimitMbps()

public long getLimitMbps()

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

int64 limit_mbps = 1;

Returns
TypeDescription
long

The limitMbps.

getParserForType()

public Parser<TransferTypes.AgentPool.BandwidthLimit> getParserForType()
Returns
TypeDescription
Parser<BandwidthLimit>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 TransferTypes.AgentPool.BandwidthLimit.Builder newBuilderForType()
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferTypes.AgentPool.BandwidthLimit.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TransferTypes.AgentPool.BandwidthLimit.Builder toBuilder()
Returns
TypeDescription
TransferTypes.AgentPool.BandwidthLimit.Builder

writeTo(CodedOutputStream output)

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