Class PatchDeployments.DeletePatchDeploymentRequest.Builder (2.51.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchDeployments.DeletePatchDeploymentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public PatchDeployments.DeletePatchDeploymentRequest build()

buildPartial()

public PatchDeployments.DeletePatchDeploymentRequest buildPartial()

clear()

public PatchDeployments.DeletePatchDeploymentRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public PatchDeployments.DeletePatchDeploymentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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
Type Description
PatchDeployments.DeletePatchDeploymentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchDeployments.DeletePatchDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public PatchDeployments.DeletePatchDeploymentRequest.Builder clone()
Overrides

getDefaultInstanceForType()

public PatchDeployments.DeletePatchDeploymentRequest getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

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

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PatchDeployments.DeletePatchDeploymentRequest other)

public PatchDeployments.DeletePatchDeploymentRequest.Builder mergeFrom(PatchDeployments.DeletePatchDeploymentRequest other)
Parameter
Name Description
other PatchDeployments.DeletePatchDeploymentRequest

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchDeployments.DeletePatchDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PatchDeployments.DeletePatchDeploymentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchDeployments.DeletePatchDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PatchDeployments.DeletePatchDeploymentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setName(String value)

public PatchDeployments.DeletePatchDeploymentRequest.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PatchDeployments.DeletePatchDeploymentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PatchDeployments.DeletePatchDeploymentRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PatchDeployments.DeletePatchDeploymentRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PatchDeployments.DeletePatchDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchDeployments.DeletePatchDeploymentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides