Class UpdateKmsConfigRequest.Builder (0.57.0)

publicstaticfinalclass UpdateKmsConfigRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateKmsConfigRequest.Builder>implementsUpdateKmsConfigRequestOrBuilder

UpdateKmsConfigRequest updates a KMS Config.

Protobuf type google.cloud.netapp.v1.UpdateKmsConfigRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicUpdateKmsConfigRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

build()

publicUpdateKmsConfigRequestbuild()
Returns
Type Description
UpdateKmsConfigRequest

buildPartial()

publicUpdateKmsConfigRequestbuildPartial()
Returns
Type Description
UpdateKmsConfigRequest

clear()

publicUpdateKmsConfigRequest.Builderclear()
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicUpdateKmsConfigRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

clearKmsConfig()

publicUpdateKmsConfigRequest.BuilderclearKmsConfig()

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)

publicUpdateKmsConfigRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

clearUpdateMask()

publicUpdateKmsConfigRequest.BuilderclearUpdateMask()

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()

publicUpdateKmsConfigRequest.Builderclone()
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

getDefaultInstanceForType()

publicUpdateKmsConfigRequestgetDefaultInstanceForType()
Returns
Type Description
UpdateKmsConfigRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKmsConfig()

publicKmsConfiggetKmsConfig()

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()

publicKmsConfig.BuildergetKmsConfigBuilder()

Required. The KmsConfig being updated

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

Returns
Type Description
KmsConfig.Builder

getKmsConfigOrBuilder()

publicKmsConfigOrBuildergetKmsConfigOrBuilder()

Required. The KmsConfig being updated

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

Returns
Type Description
KmsConfigOrBuilder

getUpdateMask()

publicFieldMaskgetUpdateMask()

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()

publicFieldMask.BuildergetUpdateMaskBuilder()

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()

publicFieldMaskOrBuildergetUpdateMaskOrBuilder()

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()

publicbooleanhasKmsConfig()

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()

publicbooleanhasUpdateMask()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateKmsConfigRequest other)

publicUpdateKmsConfigRequest.BuildermergeFrom(UpdateKmsConfigRequestother)
Parameter
Name Description
other UpdateKmsConfigRequest
Returns
Type Description
UpdateKmsConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicUpdateKmsConfigRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicUpdateKmsConfigRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

mergeKmsConfig(KmsConfig value)

publicUpdateKmsConfigRequest.BuildermergeKmsConfig(KmsConfigvalue)

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)

publicfinalUpdateKmsConfigRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

publicUpdateKmsConfigRequest.BuildermergeUpdateMask(FieldMaskvalue)

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)

publicUpdateKmsConfigRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

setKmsConfig(KmsConfig value)

publicUpdateKmsConfigRequest.BuildersetKmsConfig(KmsConfigvalue)

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)

publicUpdateKmsConfigRequest.BuildersetKmsConfig(KmsConfig.BuilderbuilderForValue)

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)

publicUpdateKmsConfigRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateKmsConfigRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateKmsConfigRequest.Builder
Overrides

setUpdateMask(FieldMask value)

publicUpdateKmsConfigRequest.BuildersetUpdateMask(FieldMaskvalue)

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)

publicUpdateKmsConfigRequest.BuildersetUpdateMask(FieldMask.BuilderbuilderForValue)

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

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年10月30日 UTC.