Class PatchDeployments.DeletePatchDeploymentRequest.Builder (2.20.0)

public static final class PatchDeployments.DeletePatchDeploymentRequest.Builder extends GeneratedMessageV3.Builder<PatchDeployments.DeletePatchDeploymentRequest.Builder> implements PatchDeployments.DeletePatchDeploymentRequestOrBuilder

A request message for deleting a patch deployment.

Protobuf type google.cloud.osconfig.v1beta.DeletePatchDeploymentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PatchDeployments.DeletePatchDeploymentRequest build()
Returns
TypeDescription
PatchDeployments.DeletePatchDeploymentRequest

buildPartial()

public PatchDeployments.DeletePatchDeploymentRequest buildPartial()
Returns
TypeDescription
PatchDeployments.DeletePatchDeploymentRequest

clear()

public PatchDeployments.DeletePatchDeploymentRequest.Builder clear()
Returns
TypeDescription
PatchDeployments.DeletePatchDeploymentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PatchDeployments.DeletePatchDeploymentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PatchDeployments.DeletePatchDeploymentRequest.Builder
Overrides

clearName()

public PatchDeployments.DeletePatchDeploymentRequest.Builder clearName()

Required. The resource name of the patch deployment in the form projects/*/patchDeployments/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.DeletePatchDeploymentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchDeployments.DeletePatchDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PatchDeployments.DeletePatchDeploymentRequest.Builder
Overrides

clone()

public PatchDeployments.DeletePatchDeploymentRequest.Builder clone()
Returns
TypeDescription