public static final class AwsWrappedKeyInfo.Builder extends GeneratedMessageV3.Builder<AwsWrappedKeyInfo.Builder> implements AwsWrappedKeyInfoOrBuilderA data encryption key wrapped by an AWS KMS key.
Protobuf type google.ads.datamanager.v1.AwsWrappedKeyInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AwsWrappedKeyInfo.BuilderImplements
AwsWrappedKeyInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsWrappedKeyInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
build()
public AwsWrappedKeyInfo build()| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo |
|
buildPartial()
public AwsWrappedKeyInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo |
|
clear()
public AwsWrappedKeyInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
clearEncryptedDek()
public AwsWrappedKeyInfo.Builder clearEncryptedDek()Required. The base64 encoded encrypted data encryption key.
string encrypted_dek = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AwsWrappedKeyInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
clearKekUri()
public AwsWrappedKeyInfo.Builder clearKekUri()Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of "arn:{partition}:kms:{region}:{account_id}:key/{key_id}"
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
clearKeyType()
public AwsWrappedKeyInfo.Builder clearKeyType()Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.AwsWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsWrappedKeyInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
clearRoleArn()
public AwsWrappedKeyInfo.Builder clearRoleArn()Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of "arn:{partition}:iam::{account_id}:role/{role_name}"
string role_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
clone()
public AwsWrappedKeyInfo.Builder clone()| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
getDefaultInstanceForType()
public AwsWrappedKeyInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncryptedDek()
public String getEncryptedDek()Required. The base64 encoded encrypted data encryption key.
string encrypted_dek = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The encryptedDek. |
getEncryptedDekBytes()
public ByteString getEncryptedDekBytes()Required. The base64 encoded encrypted data encryption key.
string encrypted_dek = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for encryptedDek. |
getKekUri()
public String getKekUri()Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of "arn:{partition}:kms:{region}:{account_id}:key/{key_id}"
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The kekUri. |
getKekUriBytes()
public ByteString getKekUriBytes()Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of "arn:{partition}:kms:{region}:{account_id}:key/{key_id}"
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kekUri. |
getKeyType()
public AwsWrappedKeyInfo.KeyType getKeyType()Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.AwsWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.KeyType |
The keyType. |
getKeyTypeValue()
public int getKeyTypeValue()Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.AwsWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for keyType. |
getRoleArn()
public String getRoleArn()Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of "arn:{partition}:iam::{account_id}:role/{role_name}"
string role_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The roleArn. |
getRoleArnBytes()
public ByteString getRoleArnBytes()Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of "arn:{partition}:iam::{account_id}:role/{role_name}"
string role_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for roleArn. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AwsWrappedKeyInfo other)
public AwsWrappedKeyInfo.Builder mergeFrom(AwsWrappedKeyInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
AwsWrappedKeyInfo |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AwsWrappedKeyInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AwsWrappedKeyInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsWrappedKeyInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
setEncryptedDek(String value)
public AwsWrappedKeyInfo.Builder setEncryptedDek(String value)Required. The base64 encoded encrypted data encryption key.
string encrypted_dek = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe encryptedDek to set. |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
setEncryptedDekBytes(ByteString value)
public AwsWrappedKeyInfo.Builder setEncryptedDekBytes(ByteString value)Required. The base64 encoded encrypted data encryption key.
string encrypted_dek = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for encryptedDek to set. |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AwsWrappedKeyInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
setKekUri(String value)
public AwsWrappedKeyInfo.Builder setKekUri(String value)Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of "arn:{partition}:kms:{region}:{account_id}:key/{key_id}"
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kekUri to set. |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
setKekUriBytes(ByteString value)
public AwsWrappedKeyInfo.Builder setKekUriBytes(ByteString value)Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of "arn:{partition}:kms:{region}:{account_id}:key/{key_id}"
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kekUri to set. |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
setKeyType(AwsWrappedKeyInfo.KeyType value)
public AwsWrappedKeyInfo.Builder setKeyType(AwsWrappedKeyInfo.KeyType value)Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.AwsWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AwsWrappedKeyInfo.KeyTypeThe keyType to set. |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
setKeyTypeValue(int value)
public AwsWrappedKeyInfo.Builder setKeyTypeValue(int value)Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.AwsWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for keyType to set. |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsWrappedKeyInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|
setRoleArn(String value)
public AwsWrappedKeyInfo.Builder setRoleArn(String value)Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of "arn:{partition}:iam::{account_id}:role/{role_name}"
string role_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe roleArn to set. |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
setRoleArnBytes(ByteString value)
public AwsWrappedKeyInfo.Builder setRoleArnBytes(ByteString value)Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of "arn:{partition}:iam::{account_id}:role/{role_name}"
string role_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for roleArn to set. |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsWrappedKeyInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AwsWrappedKeyInfo.Builder |
|