Class FixedOrPercent.Builder (2.43.0)

public static final class FixedOrPercent.Builder extends GeneratedMessageV3.Builder<FixedOrPercent.Builder> implements FixedOrPercentOrBuilder

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

Protobuf type google.cloud.osconfig.v1alpha.FixedOrPercent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FixedOrPercent build()
Returns
TypeDescription
FixedOrPercent

buildPartial()

public FixedOrPercent buildPartial()
Returns
TypeDescription
FixedOrPercent

clear()

public FixedOrPercent.Builder clear()
R