Class UpdateKmsConfigRequest.Builder (0.62.0)

public static final class UpdateKmsConfigRequest.Builder extends GeneratedMessage.Builder<UpdateKmsConfigRequest.Builder> implements UpdateKmsConfigRequestOrBuilder

UpdateKmsConfigRequest updates a KMS Config.

Protobuf type google.cloud.netapp.v1.UpdateKmsConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateKmsConfigRequest build()
Returns
Type Description
UpdateKmsConfigRequest

buildPartial()

public UpdateKmsConfigRequest buildPartial()
Returns
Type Description
UpdateKmsConfigRequest

clear()

public UpdateKmsConfigRequest.Builder clear()
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

clearKmsConfig()

public UpdateKmsConfigRequest.Builder clearKmsConfig()

Required. The KmsConfig being updated

.google.cloud.netapp.v1.KmsConfig kms_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateKmsConfigRequest.Builder

clearUpdateMask()

public UpdateKmsConfigRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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
Type Description
UpdateKmsConfigRequest.Builder

getDefaultInstanceForType()

public UpdateKmsConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateKmsConfigRequest

getDescriptorForType()

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

getKmsConfig()

public KmsConfig getKmsConfig()

Required. The KmsConfig being updated

.google.cloud.netapp.v1.KmsConfig kms_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KmsConfig

The kmsConfig.

getKmsConfigBuilder()

public KmsConfig.Builder getKmsConfigBuilder()

Required. The KmsConfig being updated

.google.cloud.netapp.v1.KmsConfig kms_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KmsConfig.Builder

getKmsConfigOrBuilder()

public KmsConfigOrBuilder getKmsConfigOrBuilder()

Required. The KmsConfig being updated

.google.cloud.netapp.v1.KmsConfig kms_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KmsConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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
Type Description
FieldMaskOrBuilder

hasKmsConfig()

public boolean hasKmsConfig()

Required. The KmsConfig being updated

.google.cloud.netapp.v1.KmsConfig kms_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the kmsConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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
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(UpdateKmsConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeKmsConfig(KmsConfig value)

public UpdateKmsConfigRequest.Builder mergeKmsConfig(KmsConfig value)

Required. The KmsConfig being updated

.google.cloud.netapp.v1.KmsConfig kms_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value KmsConfig
Returns
Type Description
UpdateKmsConfigRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateKmsConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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
Name Description
value FieldMask
Returns
Type Description
UpdateKmsConfigRequest.Builder

setKmsConfig(KmsConfig value)

public UpdateKmsConfigRequest.Builder setKmsConfig(KmsConfig value)

Required. The KmsConfig being updated

.google.cloud.netapp.v1.KmsConfig kms_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value KmsConfig
Returns
Type Description
UpdateKmsConfigRequest.Builder

setKmsConfig(KmsConfig.Builder builderForValue)

public UpdateKmsConfigRequest.Builder setKmsConfig(KmsConfig.Builder builderForValue)

Required. The KmsConfig being updated

.google.cloud.netapp.v1.KmsConfig kms_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue KmsConfig.Builder
Returns
Type Description
UpdateKmsConfigRequest.Builder

setUpdateMask(FieldMask value)

public UpdateKmsConfigRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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
Name Description
value FieldMask
Returns
Type Description
UpdateKmsConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateKmsConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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
Name Description
builderForValue Builder
Returns
Type Description
UpdateKmsConfigRequest.Builder