Class OSPolicy.Resource.FileResource.Builder (2.43.0)

public static final class OSPolicy.Resource.FileResource.Builder extends GeneratedMessageV3.Builder<OSPolicy.Resource.FileResource.Builder> implements OSPolicy.Resource.FileResourceOrBuilder

A resource that manages the state of a file.

Protobuf type google.cloud.osconfig.v1.OSPolicy.Resource.FileResource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OSPolicy.Resource.FileResource build()
Returns
TypeDescription
OSPolicy.Resource.FileResource

buildPartial()