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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.AgentPool.BandwidthLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferTypes.AgentPool.BandwidthLimit build()
Returns
buildPartial()
public TransferTypes.AgentPool.BandwidthLimit buildPartial()
Returns
clear()
public TransferTypes.AgentPool.BandwidthLimit.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.AgentPool.BandwidthLimit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.AgentPool.BandwidthLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TransferTypes.AgentPool.BandwidthLimit.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransferTypes.AgentPool.BandwidthLimit getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public TransferTypes.AgentPool.BandwidthLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferTypes.AgentPool.BandwidthLimit.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(TransferTypes.AgentPool.BandwidthLimit other)
public TransferTypes.AgentPool.BandwidthLimit.Builder mergeFrom(TransferTypes.AgentPool.BandwidthLimit other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.AgentPool.BandwidthLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.AgentPool.BandwidthLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.AgentPool.BandwidthLimit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.AgentPool.BandwidthLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides