Send feedback
Class PatchDeployments.UpdatePatchDeploymentRequest.Builder (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.8.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public PatchDeployments . UpdatePatchDeploymentRequest build ()
Returns
buildPartial()
public PatchDeployments . UpdatePatchDeploymentRequest buildPartial ()
Returns
clear()
public PatchDeployments . UpdatePatchDeploymentRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
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
clone()
public PatchDeployments . UpdatePatchDeploymentRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public PatchDeployments . UpdatePatchDeploymentRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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
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
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
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
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
hasPatchDeployment()
public boolean hasPatchDeployment ()
Required. The patch deployment to Update.
.google.cloud.osconfig.v1beta.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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(PatchDeployments.UpdatePatchDeploymentRequest other)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder mergeFrom ( PatchDeployments . UpdatePatchDeploymentRequest other )
Parameter
Returns
public PatchDeployments . UpdatePatchDeploymentRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergePatchDeployment(PatchDeployments.PatchDeployment value)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder mergePatchDeployment ( PatchDeployments . PatchDeployment value )
Required. The patch deployment to Update.
.google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchDeployments . UpdatePatchDeploymentRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setPatchDeployment(PatchDeployments.PatchDeployment value)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder setPatchDeployment ( PatchDeployments . PatchDeployment value )
Required. The patch deployment to Update.
.google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setPatchDeployment(PatchDeployments.PatchDeployment.Builder builderForValue)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder setPatchDeployment ( PatchDeployments . PatchDeployment . Builder builderForValue )
Required. The patch deployment to Update.
.google.cloud.osconfig.v1beta.PatchDeployment patch_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchDeployments . UpdatePatchDeploymentRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchDeployments . UpdatePatchDeploymentRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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
Returns
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]