public static final class VRF.QosPolicy.Builder extends GeneratedMessageV3.Builder<VRF.QosPolicy.Builder> implements VRF.QosPolicyOrBuilder
QOS policy parameters.
Protobuf type google.cloud.baremetalsolution.v2.VRF.QosPolicy
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public VRF.QosPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public VRF.QosPolicy build()
Returns
public VRF.QosPolicy buildPartial()
Returns
public VRF.QosPolicy.Builder clear()
Returns
Overrides
public VRF.QosPolicy.Builder clearBandwidthGbps()
The bandwidth permitted by the QOS policy, in gbps.
double bandwidth_gbps = 1;
Returns
public VRF.QosPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public VRF.QosPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public VRF.QosPolicy.Builder clone()
Returns
Overrides
public double getBandwidthGbps()
The bandwidth permitted by the QOS policy, in gbps.
double bandwidth_gbps = 1;
Returns
Type | Description |
double | The bandwidthGbps.
|
public VRF.QosPolicy getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public VRF.QosPolicy.Builder mergeFrom(VRF.QosPolicy other)
Parameter
Returns
public VRF.QosPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public VRF.QosPolicy.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final VRF.QosPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public VRF.QosPolicy.Builder setBandwidthGbps(double value)
The bandwidth permitted by the QOS policy, in gbps.
double bandwidth_gbps = 1;
Parameter
Name | Description |
value | double
The bandwidthGbps to set.
|
Returns
public VRF.QosPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public VRF.QosPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final VRF.QosPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides