Class VRF.QosPolicy.Builder (0.55.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VRF.QosPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

build()

public VRF.QosPolicy build()
Returns
Type Description
VRF.QosPolicy

buildPartial()

public VRF.QosPolicy buildPartial()
Returns
Type Description
VRF.QosPolicy

clear()

public VRF.QosPolicy.Builder clear()
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

clearBandwidthGbps()

public VRF.QosPolicy.Builder clearBandwidthGbps()

The bandwidth permitted by the QOS policy, in gbps.

double bandwidth_gbps = 1;

Returns
Type Description
VRF.QosPolicy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VRF.QosPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VRF.QosPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

clone()

public VRF.QosPolicy.Builder clone()
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

getBandwidthGbps()

public double getBandwidthGbps()

The bandwidth permitted by the QOS policy, in gbps.

double bandwidth_gbps = 1;

Returns
Type Description
double

The bandwidthGbps.

getDefaultInstanceForType()

public VRF.QosPolicy getDefaultInstanceForType()
Returns
Type Description
VRF.QosPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VRF.QosPolicy other)

public VRF.QosPolicy.Builder mergeFrom(VRF.QosPolicy other)
Parameter
Name Description
other VRF.QosPolicy
Returns
Type Description
VRF.QosPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VRF.QosPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF.QosPolicy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VRF.QosPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VRF.QosPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

setBandwidthGbps(double value)

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
Type Description
VRF.QosPolicy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VRF.QosPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VRF.QosPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VRF.QosPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VRF.QosPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VRF.QosPolicy.Builder
Overrides