Class UpdateKmsConfigRequest.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateKmsConfigRequest build()
Returns
TypeDescription
UpdateKmsConfigRequest

buildPartial()

public UpdateKmsConfigRequest buildPartial()
Returns
TypeDescription
UpdateKmsConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateKmsConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateKmsConfigRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateKmsConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateKmsConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateKmsConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateKmsConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasKmsConfig()

public boolean hasKmsConfig()

Required. The KmsConfig being updated

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

Returns
TypeDescription
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
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(UpdateKmsConfigRequest other)

public UpdateKmsConfigRequest.Builder mergeFrom(UpdateKmsConfigRequest other)
Parameter
NameDescription
otherUpdateKmsConfigRequest
Returns
TypeDescription
UpdateKmsConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateKmsConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueKmsConfig
Returns
TypeDescription
UpdateKmsConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateKmsConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateKmsConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateKmsConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueKmsConfig
Returns
TypeDescription
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
NameDescription
builderForValueKmsConfig.Builder
Returns
TypeDescription
UpdateKmsConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateKmsConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateKmsConfigRequest.Builder