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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCryptoKeyVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateCryptoKeyVersionRequest build()
Returns
buildPartial()
public UpdateCryptoKeyVersionRequest buildPartial()
Returns
clear()
public UpdateCryptoKeyVersionRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public UpdateCryptoKeyVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCryptoKeyVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateCryptoKeyVersionRequest.Builder clone()
Returns
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
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
getCryptoKeyVersionOrBuilder()
public CryptoKeyVersionOrBuilder getCryptoKeyVersionOrBuilder()
Required. CryptoKeyVersion with
updated values.
.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateCryptoKeyVersionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateCryptoKeyVersionRequest other)
public UpdateCryptoKeyVersionRequest.Builder mergeFrom(UpdateCryptoKeyVersionRequest other)
Parameter
Returns
public UpdateCryptoKeyVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateCryptoKeyVersionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCryptoKeyVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCryptoKeyVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCryptoKeyVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCryptoKeyVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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