public static final class TransferTypes.AgentPool.BandwidthLimit.Builder extends GeneratedMessageV3.Builder<TransferTypes.AgentPool.BandwidthLimit.Builder> implements TransferTypes.AgentPool.BandwidthLimitOrBuilder
Specifies a bandwidth limit for an agent pool.
Protobuf type google.storagetransfer.v1.AgentPool.BandwidthLimit
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.AgentPool.BandwidthLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransferTypes.AgentPool.BandwidthLimit build()
buildPartial()
public TransferTypes.AgentPool.BandwidthLimit buildPartial()
clear()
public TransferTypes.AgentPool.BandwidthLimit.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.AgentPool.BandwidthLimit.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLimitMbps()
public TransferTypes.AgentPool.BandwidthLimit.Builder clearLimitMbps()
Bandwidth rate in megabytes per second, distributed across all the agents
in the pool.
int64 limit_mbps = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.AgentPool.BandwidthLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TransferTypes.AgentPool.BandwidthLimit.Builder clone()
Overrides
getDefaultInstanceForType()
public TransferTypes.AgentPool.BandwidthLimit getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLimitMbps()
public long getLimitMbps()
Bandwidth rate in megabytes per second, distributed across all the agents
in the pool.
int64 limit_mbps = 1;
Returns |
Type |
Description |
long |
The limitMbps.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public TransferTypes.AgentPool.BandwidthLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransferTypes.AgentPool.BandwidthLimit.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(TransferTypes.AgentPool.BandwidthLimit other)
public TransferTypes.AgentPool.BandwidthLimit.Builder mergeFrom(TransferTypes.AgentPool.BandwidthLimit other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.AgentPool.BandwidthLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.AgentPool.BandwidthLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLimitMbps(long value)
public TransferTypes.AgentPool.BandwidthLimit.Builder setLimitMbps(long value)
Bandwidth rate in megabytes per second, distributed across all the agents
in the pool.
int64 limit_mbps = 1;
Parameter |
Name |
Description |
value |
long
The limitMbps to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.AgentPool.BandwidthLimit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.AgentPool.BandwidthLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides