Class UpdateKmsConfigRequest.Builder (0.27.0)

public static final class UpdateKmsConfigRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateKmsConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public UpdateKmsConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateKmsConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateKmsConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateKmsConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

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

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

public UpdateKmsConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateKmsConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

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