Class UpdatePostureDeploymentRequest.Builder (0.6.0)

public static final class UpdatePostureDeploymentRequest.Builder extends GeneratedMessageV3.Builder<UpdatePostureDeploymentRequest.Builder> implements UpdatePostureDeploymentRequestOrBuilder

Message for updating a PostureDeployment.

Protobuf type google.cloud.securityposture.v1.UpdatePostureDeploymentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdatePostureDeploymentRequest build()
Returns
TypeDescription
UpdatePostureDeploymentRequest

buildPartial()

public UpdatePostureDeploymentRequest buildPartial()
Returns
TypeDescription
UpdatePostureDeploymentRequest

clear()

public UpdatePostureDeploymentRequest.Builder clear()
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPostureDeployment()

public UpdatePostureDeploymentRequest.Builder clearPostureDeployment()

Required. The resource being updated.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder

clearUpdateMask()

public UpdatePostureDeploymentRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the PostureDeployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder

clone()

public UpdatePostureDeploymentRequest.Builder clone()
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdatePostureDeploymentRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdatePostureDeploymentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPostureDeployment()

public PostureDeployment getPostureDeployment()

Required. The resource being updated.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PostureDeployment

The postureDeployment.

getPostureDeploymentBuilder()

public PostureDeployment.Builder getPostureDeploymentBuilder()

Required. The resource being updated.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PostureDeployment.Builder

getPostureDeploymentOrBuilder()

public PostureDeploymentOrBuilder getPostureDeploymentOrBuilder()

Required. The resource being updated.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PostureDeploymentOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the PostureDeployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the PostureDeployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the PostureDeployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasPostureDeployment()

public boolean hasPostureDeployment()

Required. The resource being updated.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the postureDeployment field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the PostureDeployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdatePostureDeploymentRequest other)

public UpdatePostureDeploymentRequest.Builder mergeFrom(UpdatePostureDeploymentRequest other)
Parameter
NameDescription
otherUpdatePostureDeploymentRequest
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdatePostureDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdatePostureDeploymentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder
Overrides

mergePostureDeployment(PostureDeployment value)

public UpdatePostureDeploymentRequest.Builder mergePostureDeployment(PostureDeployment value)

Required. The resource being updated.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePostureDeployment
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePostureDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdatePostureDeploymentRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the PostureDeployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdatePostureDeploymentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder
Overrides

setPostureDeployment(PostureDeployment value)

public UpdatePostureDeploymentRequest.Builder setPostureDeployment(PostureDeployment value)

Required. The resource being updated.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePostureDeployment
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder

setPostureDeployment(PostureDeployment.Builder builderForValue)

public UpdatePostureDeploymentRequest.Builder setPostureDeployment(PostureDeployment.Builder builderForValue)

Required. The resource being updated.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValuePostureDeployment.Builder
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder

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

public UpdatePostureDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePostureDeploymentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdatePostureDeploymentRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the PostureDeployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePostureDeploymentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the PostureDeployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdatePostureDeploymentRequest.Builder