Class Common.FixedOrPercent.Builder (2.36.0)

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

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

Protobuf type google.cloud.osconfig.v1.FixedOrPercent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Common.FixedOrPercent build()
Returns
Ty