public static final class GcpWrappedKeyInfo.Builder extends GeneratedMessageV3.Builder<GcpWrappedKeyInfo.Builder> implements GcpWrappedKeyInfoOrBuilderInformation about the Google Cloud Platform wrapped key.
Protobuf type google.ads.datamanager.v1.GcpWrappedKeyInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GcpWrappedKeyInfo.BuilderImplements
GcpWrappedKeyInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcpWrappedKeyInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
build()
public GcpWrappedKeyInfo build()| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo |
|
buildPartial()
public GcpWrappedKeyInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo |
|
clear()
public GcpWrappedKeyInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
clearEncryptedDek()
public GcpWrappedKeyInfo.Builder clearEncryptedDek()Required. The base64 encoded encrypted data encryption key.
string encrypted_dek = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GcpWrappedKeyInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
clearKekUri()
public GcpWrappedKeyInfo.Builder clearKekUri()Required. Google Cloud Platform Cloud Key Management Service resource ID. Should be in the format of "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}".
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
clearKeyType()
public GcpWrappedKeyInfo.Builder clearKeyType()Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.GcpWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GcpWrappedKeyInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
clearWipProvider()
public GcpWrappedKeyInfo.Builder clearWipProvider()Required. The Workload Identity pool provider required to use KEK.
string wip_provider = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
clone()
public GcpWrappedKeyInfo.Builder clone()| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
getDefaultInstanceForType()
public GcpWrappedKeyInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo |
|
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. Google Cloud Platform Cloud Key Management Service resource ID. Should be in the format of "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}".
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The kekUri. |
getKekUriBytes()
public ByteString getKekUriBytes()Required. Google Cloud Platform Cloud Key Management Service resource ID. Should be in the format of "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}".
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kekUri. |
getKeyType()
public GcpWrappedKeyInfo.KeyType getKeyType()Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.GcpWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.KeyType |
The keyType. |
getKeyTypeValue()
public int getKeyTypeValue()Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.GcpWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for keyType. |
getWipProvider()
public String getWipProvider()Required. The Workload Identity pool provider required to use KEK.
string wip_provider = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The wipProvider. |
getWipProviderBytes()
public ByteString getWipProviderBytes()Required. The Workload Identity pool provider required to use KEK.
string wip_provider = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for wipProvider. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GcpWrappedKeyInfo other)
public GcpWrappedKeyInfo.Builder mergeFrom(GcpWrappedKeyInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
GcpWrappedKeyInfo |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcpWrappedKeyInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GcpWrappedKeyInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcpWrappedKeyInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
setEncryptedDek(String value)
public GcpWrappedKeyInfo.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 |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
setEncryptedDekBytes(ByteString value)
public GcpWrappedKeyInfo.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 |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GcpWrappedKeyInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
setKekUri(String value)
public GcpWrappedKeyInfo.Builder setKekUri(String value)Required. Google Cloud Platform Cloud Key Management Service resource ID. Should be in the format of "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}".
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kekUri to set. |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
setKekUriBytes(ByteString value)
public GcpWrappedKeyInfo.Builder setKekUriBytes(ByteString value)Required. Google Cloud Platform Cloud Key Management Service resource ID. Should be in the format of "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}".
string kek_uri = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kekUri to set. |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
setKeyType(GcpWrappedKeyInfo.KeyType value)
public GcpWrappedKeyInfo.Builder setKeyType(GcpWrappedKeyInfo.KeyType value)Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.GcpWrappedKeyInfo.KeyType key_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GcpWrappedKeyInfo.KeyTypeThe keyType to set. |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
setKeyTypeValue(int value)
public GcpWrappedKeyInfo.Builder setKeyTypeValue(int value)Required. The type of algorithm used to encrypt the data.
.google.ads.datamanager.v1.GcpWrappedKeyInfo.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 |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcpWrappedKeyInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GcpWrappedKeyInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
|
setWipProvider(String value)
public GcpWrappedKeyInfo.Builder setWipProvider(String value)Required. The Workload Identity pool provider required to use KEK.
string wip_provider = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe wipProvider to set. |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |
setWipProviderBytes(ByteString value)
public GcpWrappedKeyInfo.Builder setWipProviderBytes(ByteString value)Required. The Workload Identity pool provider required to use KEK.
string wip_provider = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for wipProvider to set. |
| Returns | |
|---|---|
| Type | Description |
GcpWrappedKeyInfo.Builder |
This builder for chaining. |