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