Class UpdateEkmConfigRequest.Builder (2.46.0)

public static final class UpdateEkmConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateEkmConfigRequest.Builder> implements UpdateEkmConfigRequestOrBuilder

Request message for EkmService.UpdateEkmConfig.

Protobuf type google.cloud.kms.v1.UpdateEkmConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEkmConfigRequest build()
Returns
Type Description
UpdateEkmConfigRequest

buildPartial()

public UpdateEkmConfigRequest buildPartial()
Returns
Type Description
UpdateEkmConfigRequest

clear()

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

clearEkmConfig()

public UpdateEkmConfigRequest.Builder clearEkmConfig()

Required. EkmConfig with updated values.

.google.cloud.kms.v1.EkmConfig ekm_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEkmConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateEkmConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateEkmConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateEkmConfigRequest.Builder clearUpdateMask()

Required. List of fields to be updated in this request.

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

Returns
Type Description
UpdateEkmConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateEkmConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateEkmConfigRequest

getDescriptorForType()

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

getEkmConfig()

public EkmConfig getEkmConfig()

Required. EkmConfig with updated values.

.google.cloud.kms.v1.EkmConfig ekm_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EkmConfig

The ekmConfig.

getEkmConfigBuilder()

public EkmConfig.Builder getEkmConfigBuilder()

Required. EkmConfig with updated values.

.google.cloud.kms.v1.EkmConfig ekm_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EkmConfig.Builder

getEkmConfigOrBuilder()

public EkmConfigOrBuilder getEkmConfigOrBuilder()

Required. EkmConfig with updated values.

.google.cloud.kms.v1.EkmConfig ekm_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EkmConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. List of fields to be updated in this request.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. List of fields to be updated in this request.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. List of fields to be updated in this request.

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

Returns
Type Description
FieldMaskOrBuilder

hasEkmConfig()

public boolean hasEkmConfig()

Required. EkmConfig with updated values.

.google.cloud.kms.v1.EkmConfig ekm_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the ekmConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. List of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2 [(.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

mergeEkmConfig(EkmConfig value)

public UpdateEkmConfigRequest.Builder mergeEkmConfig(EkmConfig value)

Required. EkmConfig with updated values.

.google.cloud.kms.v1.EkmConfig ekm_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EkmConfig
Returns
Type Description
UpdateEkmConfigRequest.Builder

mergeFrom(UpdateEkmConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateEkmConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. List of fields to be updated in this request.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateEkmConfigRequest.Builder

setEkmConfig(EkmConfig value)

public UpdateEkmConfigRequest.Builder setEkmConfig(EkmConfig value)

Required. EkmConfig with updated values.

.google.cloud.kms.v1.EkmConfig ekm_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EkmConfig
Returns
Type Description
UpdateEkmConfigRequest.Builder

setEkmConfig(EkmConfig.Builder builderForValue)

public UpdateEkmConfigRequest.Builder setEkmConfig(EkmConfig.Builder builderForValue)

Required. EkmConfig with updated values.

.google.cloud.kms.v1.EkmConfig ekm_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EkmConfig.Builder
Returns
Type Description
UpdateEkmConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateEkmConfigRequest.Builder setUpdateMask(FieldMask value)

Required. List of fields to be updated in this request.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateEkmConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateEkmConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. List of fields to be updated in this request.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateEkmConfigRequest.Builder