Class VRF.QosPolicy.Builder (0.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VRF.QosPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides

build()

public VRF.QosPolicy build()
Returns
TypeDescription
VRF.QosPolicy

buildPartial()

public VRF.QosPolicy buildPartial()
Returns
TypeDescription
VRF.QosPolicy

clear()

public VRF.QosPolicy.Builder clear()
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides

clearBandwidthGbps()

public VRF.QosPolicy.Builder clearBandwidthGbps()

The bandwidth permitted by the QOS policy, in gbps.

double bandwidth_gbps = 1;

Returns
TypeDescription
VRF.QosPolicy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VRF.QosPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VRF.QosPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides

clone()

public VRF.QosPolicy.Builder clone()
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides

getBandwidthGbps()

public double getBandwidthGbps()

The bandwidth permitted by the QOS policy, in gbps.

double bandwidth_gbps = 1;

Returns
TypeDescription
double

The bandwidthGbps.

getDefaultInstanceForType()

public VRF.QosPolicy getDefaultInstanceForType()
Returns
TypeDescription
VRF.QosPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VRF.QosPolicy other)

public VRF.QosPolicy.Builder mergeFrom(VRF.QosPolicy other)
Parameter
NameDescription
otherVRF.QosPolicy
Returns
TypeDescription
VRF.QosPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VRF.QosPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VRF.QosPolicy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VRF.QosPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuedouble

The bandwidthGbps to set.

Returns
TypeDescription
VRF.QosPolicy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VRF.QosPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VRF.QosPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VRF.QosPolicy.Builder
Overrides