Class UpdateEkmConfigRequest.Builder (2.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEkmConfigRequest build()
Returns
TypeDescription
UpdateEkmConfigRequest

buildPartial()

public UpdateEkmConfigRequest buildPartial()
Returns
TypeDescription
UpdateEkmConfigRequest

clear()

public UpdateEkmConfigRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateEkmConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateEkmConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateEkmConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateEkmConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEkmConfigRequest

getDescriptorForType()

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

hasEkmConfig()

public boolean hasEkmConfig()

Required. EkmConfig with updated values.

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

Returns
TypeDescription
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
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

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
NameDescription
valueEkmConfig
Returns
TypeDescription
UpdateEkmConfigRequest.Builder

mergeFrom(UpdateEkmConfigRequest other)

public UpdateEkmConfigRequest.Builder mergeFrom(UpdateEkmConfigRequest other)
Parameter
NameDescription
otherUpdateEkmConfigRequest
Returns
TypeDescription
UpdateEkmConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateEkmConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateEkmConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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