Class OSPolicy.Resource.PackageResource.Builder (2.43.0)

public static final class OSPolicy.Resource.PackageResource.Builder extends GeneratedMessageV3.Builder<OSPolicy.Resource.PackageResource.Builder> implements OSPolicy.Resource.PackageResourceOrBuilder

A resource that manages a system package.

Protobuf type google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OSPolicy.Resource.PackageResource build()