Class PatchDeployments.UpdatePatchDeploymentRequest.Builder (2.87.0)

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

A request message for updating a patch deployment.

Protobuf type google.cloud.osconfig.v1.UpdatePatchDeploymentRequest

Static Methods

getDescriptor()

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

Methods

build()

public PatchDeployments.UpdatePatchDeploymentRequest build()
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest

buildPartial()

public PatchDeployments.UpdatePatchDeploymentRequest buildPartial()
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest

clear()

public PatchDeployments.UpdatePatchDeploymentRequest.Builder clear()
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder
Overrides

clearPatchDeployment()

public PatchDeployments.UpdatePatchDeploymentRequest.Builder clearPatchDeployment()

Required. The patch deployment to Update.

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

Returns
Type Description
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
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder

getDefaultInstanceForType()

public PatchDeployments.UpdatePatchDeploymentRequest getDefaultInstanceForType()
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest

getDescriptorForType()

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

getPatchDeployment()

public PatchDeployments.PatchDeployment getPatchDeployment()

Required. The patch deployment to Update.

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

Returns
Type Description
PatchDeployments.PatchDeployment

The patchDeployment.

getPatchDeploymentBuilder()

public PatchDeployments.PatchDeployment.Builder getPatchDeploymentBuilder()

Required. The patch deployment to Update.

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

Returns
Type Description
PatchDeployments.PatchDeployment.Builder

getPatchDeploymentOrBuilder()

public PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentOrBuilder()

Required. The patch deployment to Update.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

hasPatchDeployment()

public boolean hasPatchDeployment()

Required. The patch deployment to Update.

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

Returns
Type Description
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
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PatchDeployments.UpdatePatchDeploymentRequest other)

public PatchDeployments.UpdatePatchDeploymentRequest.Builder mergeFrom(PatchDeployments.UpdatePatchDeploymentRequest other)
Parameter
Name Description
other PatchDeployments.UpdatePatchDeploymentRequest
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PatchDeployments.UpdatePatchDeploymentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder
Overrides

mergePatchDeployment(PatchDeployments.PatchDeployment value)

public PatchDeployments.UpdatePatchDeploymentRequest.Builder mergePatchDeployment(PatchDeployments.PatchDeployment value)

Required. The patch deployment to Update.

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

Parameter
Name Description
value PatchDeployments.PatchDeployment
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder

mergeUpdateMask(FieldMask value)

public PatchDeployments.UpdatePatchDeploymentRequest.Builder mergeUpdateMask(FieldMask value)

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];

Parameter
Name Description
value FieldMask
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder

setPatchDeployment(PatchDeployments.PatchDeployment value)

public PatchDeployments.UpdatePatchDeploymentRequest.Builder setPatchDeployment(PatchDeployments.PatchDeployment value)

Required. The patch deployment to Update.

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

Parameter
Name Description
value PatchDeployments.PatchDeployment
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder

setPatchDeployment(PatchDeployments.PatchDeployment.Builder builderForValue)

public PatchDeployments.UpdatePatchDeploymentRequest.Builder setPatchDeployment(PatchDeployments.PatchDeployment.Builder builderForValue)

Required. The patch deployment to Update.

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

Parameter
Name Description
builderForValue PatchDeployments.PatchDeployment.Builder
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder

setUpdateMask(FieldMask value)

public PatchDeployments.UpdatePatchDeploymentRequest.Builder setUpdateMask(FieldMask value)

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];

Parameter
Name Description
value FieldMask
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public PatchDeployments.UpdatePatchDeploymentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PatchDeployments.UpdatePatchDeploymentRequest.Builder