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.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 UpdateCryptoKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateCryptoKeyRequest build()
Returns
buildPartial()
public UpdateCryptoKeyRequest buildPartial()
Returns
clear()
public UpdateCryptoKeyRequest.Builder clear()
Returns
Overrides
clearCryptoKey()
public UpdateCryptoKeyRequest.Builder clearCryptoKey()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateCryptoKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCryptoKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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];
Returns
clone()
public UpdateCryptoKeyRequest.Builder clone()
Returns
Overrides
getCryptoKey()
public CryptoKey getCryptoKey()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getCryptoKeyBuilder()
public CryptoKey.Builder getCryptoKeyBuilder()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getCryptoKeyOrBuilder()
public CryptoKeyOrBuilder getCryptoKeyOrBuilder()
Required. CryptoKey with updated values.
.google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateCryptoKeyRequest 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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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];
Parameter
Returns
mergeFrom(UpdateCryptoKeyRequest other)
public UpdateCryptoKeyRequest.Builder mergeFrom(UpdateCryptoKeyRequest other)
Parameter
Returns
public UpdateCryptoKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateCryptoKeyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCryptoKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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];
Parameter
Returns
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCryptoKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCryptoKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCryptoKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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
|
Returns