public static final class UpdateCryptoKeyRequest.Builder extends GeneratedMessageV3.Builder<UpdateCryptoKeyRequest.Builder> implements UpdateCryptoKeyRequestOrBuilder
Request message for
KeyManagementService.UpdateCryptoKey.
Protobuf type google.cloud.kms.v1.UpdateCryptoKeyRequest
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 UpdateCryptoKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCryptoKeyRequest build()
buildPartial()
public UpdateCryptoKeyRequest buildPartial()
clear()
public UpdateCryptoKeyRequest.Builder clear()
Overrides
clearCryptoKey()
public UpdateCryptoKeyRequest.Builder clearCryptoKey()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateCryptoKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCryptoKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateCryptoKeyRequest.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 UpdateCryptoKeyRequest.Builder clone()
Overrides
getCryptoKey()
public CryptoKey getCryptoKey()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
CryptoKey |
The cryptoKey.
|
getCryptoKeyBuilder()
public CryptoKey.Builder getCryptoKeyBuilder()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
getCryptoKeyOrBuilder()
public CryptoKeyOrBuilder getCryptoKeyOrBuilder()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateCryptoKeyRequest 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];
hasCryptoKey()
public boolean hasCryptoKey()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the cryptoKey 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
mergeCryptoKey(CryptoKey value)
public UpdateCryptoKeyRequest.Builder mergeCryptoKey(CryptoKey value)
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateCryptoKeyRequest other)
public UpdateCryptoKeyRequest.Builder mergeFrom(UpdateCryptoKeyRequest other)
public UpdateCryptoKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCryptoKeyRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCryptoKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCryptoKeyRequest.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];
setCryptoKey(CryptoKey value)
public UpdateCryptoKeyRequest.Builder setCryptoKey(CryptoKey value)
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
setCryptoKey(CryptoKey.Builder builderForValue)
public UpdateCryptoKeyRequest.Builder setCryptoKey(CryptoKey.Builder builderForValue)
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCryptoKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCryptoKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCryptoKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateCryptoKeyRequest.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 UpdateCryptoKeyRequest.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
|