Class PatchDeployments.UpdatePatchDeploymentRequest.Builder (2.11.0)

public static final class PatchDeployments.UpdatePatchDeploymentRequest.Builder extends GeneratedMessageV3.Builder<PatchDeployments.UpdatePatchDeploymentRequest.Builder> implements PatchDeployments.UpdatePatchDeploymentRequestOrBuilder

A request message for updating a patch deployment.

Protobuf type google.cloud.osconfig.v1beta.UpdatePatchDeploymentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatchDeployment()

public PatchDeployments.UpdatePatchDeploymentRequest.Builder clearPatchDeployment()

Required. The patch deployment to Update.

.google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.UpdatePatchDeploymentRequest.Builder

clearUpdateMask()

public PatchDeployments.UpdatePatchDeploymentRequest.Builder clearUpdateMask()

Optional. Field mask that controls which fields of the patch deployment should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PatchDeployments.UpdatePatchDeploymentRequest.Builder

clone()

public PatchDeployments.UpdatePatchDeploymentRequest.Builder clone()
Returns
TypeDescription
PatchDeployments.UpdatePatchDeploymentRequest.Builder
Overrides

getDefaultInstanceForType()

public PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType()
Returns
TypeDescription
PatchDeployments.UpdatePatchDeploymentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPatchDeployment()

public PatchDeployments.PatchDeployment getPatchDeployment()

Required. The patch deployment to Update.

.google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.PatchDeployment

The patchDeployment.

getPatchDeploymentBuilder()

public PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder()

Required. The patch deployment to Update.

.google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.PatchDeployment.Builder

getPatchDeploymentOrBuilder()

public PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder()

Required. The patch deployment to Update.

.google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.PatchDeploymentOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask that controls which fields of the patch deployment should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Field mask that controls which fields of the patch deployment should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask that controls which fields of the patch deployment should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMaskOrBuilder

hasPatchDeployment()

public boolean hasPatchDeployment()

Required. The patch deployment to Update.

.google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the patchDeployment field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask that controls which fields of the patch deployment should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription