Class UpdateCryptoKeyVersionRequest.Builder (2.48.0)

public static final class UpdateCryptoKeyVersionRequest.Builder extends GeneratedMessageV3.Builder<UpdateCryptoKeyVersionRequest.Builder> implements UpdateCryptoKeyVersionRequestOrBuilder

Request message for KeyManagementService.UpdateCryptoKeyVersion.

Protobuf type google.cloud.kms.v1.UpdateCryptoKeyVersionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCryptoKeyVersionRequest build()
Returns
Type Description
UpdateCryptoKeyVersionRequest

buildPartial()

public UpdateCryptoKeyVersionRequest buildPartial()
Returns
Type Description
UpdateCryptoKeyVersionRequest

clear()

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

clearCryptoKeyVersion()

public UpdateCryptoKeyVersionRequest.Builder clearCryptoKeyVersion()

Required. CryptoKeyVersion with updated values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCryptoKeyVersionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateCryptoKeyVersionRequest.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
UpdateCryptoKeyVersionRequest.Builder

clone()

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

getCryptoKeyVersion()

public CryptoKeyVersion getCryptoKeyVersion()

Required. CryptoKeyVersion with updated values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CryptoKeyVersion

The cryptoKeyVersion.

getCryptoKeyVersionBuilder()

public CryptoKeyVersion.Builder getCryptoKeyVersionBuilder()

Required. CryptoKeyVersion with updated values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CryptoKeyVersion.Builder

getCryptoKeyVersionOrBuilder()

public CryptoKeyVersionOrBuilder getCryptoKeyVersionOrBuilder()

Required. CryptoKeyVersion with updated values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CryptoKeyVersionOrBuilder

getDefaultInstanceForType()

public UpdateCryptoKeyVersionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCryptoKeyVersionRequest

getDescriptorForType()

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

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

hasCryptoKeyVersion()

public boolean hasCryptoKeyVersion()

Required. CryptoKeyVersion with updated values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cryptoKeyVersion 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

mergeCryptoKeyVersion(CryptoKeyVersion value)

public UpdateCryptoKeyVersionRequest.Builder mergeCryptoKeyVersion(CryptoKeyVersion value)

Required. CryptoKeyVersion with updated values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CryptoKeyVersion
Returns
Type Description
UpdateCryptoKeyVersionRequest.Builder

mergeFrom(UpdateCryptoKeyVersionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateCryptoKeyVersionRequest.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
UpdateCryptoKeyVersionRequest.Builder

setCryptoKeyVersion(CryptoKeyVersion value)

public UpdateCryptoKeyVersionRequest.Builder setCryptoKeyVersion(CryptoKeyVersion value)

Required. CryptoKeyVersion with updated values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CryptoKeyVersion
Returns
Type Description
UpdateCryptoKeyVersionRequest.Builder

setCryptoKeyVersion(CryptoKeyVersion.Builder builderForValue)

public UpdateCryptoKeyVersionRequest.Builder setCryptoKeyVersion(CryptoKeyVersion.Builder builderForValue)

Required. CryptoKeyVersion with updated values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CryptoKeyVersion.Builder
Returns
Type Description
UpdateCryptoKeyVersionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateCryptoKeyVersionRequest.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
UpdateCryptoKeyVersionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCryptoKeyVersionRequest.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
UpdateCryptoKeyVersionRequest.Builder