Class GcpWrappedKeyInfo (0.1.0)

publicfinalclass GcpWrappedKeyInfoextendsGeneratedMessageV3implementsGcpWrappedKeyInfoOrBuilder

Information about the Google Cloud Platform wrapped key.

Protobuf type google.ads.datamanager.v1.GcpWrappedKeyInfo

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ENCRYPTED_DEK_FIELD_NUMBER

publicstaticfinalintENCRYPTED_DEK_FIELD_NUMBER
Field Value
Type Description
int

KEK_URI_FIELD_NUMBER

publicstaticfinalintKEK_URI_FIELD_NUMBER
Field Value
Type Description
int

KEY_TYPE_FIELD_NUMBER

publicstaticfinalintKEY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

WIP_PROVIDER_FIELD_NUMBER

publicstaticfinalintWIP_PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticGcpWrappedKeyInfogetDefaultInstance()
Returns
Type Description
GcpWrappedKeyInfo

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticGcpWrappedKeyInfo.BuildernewBuilder()
Returns
Type Description
GcpWrappedKeyInfo.Builder

newBuilder(GcpWrappedKeyInfo prototype)

publicstaticGcpWrappedKeyInfo.BuildernewBuilder(GcpWrappedKeyInfoprototype)
Parameter
Name Description
prototype GcpWrappedKeyInfo
Returns
Type Description
GcpWrappedKeyInfo.Builder

parseDelimitedFrom(InputStream input)

publicstaticGcpWrappedKeyInfoparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGcpWrappedKeyInfoparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticGcpWrappedKeyInfoparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticGcpWrappedKeyInfoparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticGcpWrappedKeyInfoparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticGcpWrappedKeyInfoparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticGcpWrappedKeyInfoparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGcpWrappedKeyInfoparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticGcpWrappedKeyInfoparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGcpWrappedKeyInfoparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticGcpWrappedKeyInfoparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticGcpWrappedKeyInfoparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpWrappedKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<GcpWrappedKeyInfo>parser()
Returns
Type Description
Parser<GcpWrappedKeyInfo>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicGcpWrappedKeyInfogetDefaultInstanceForType()
Returns
Type Description
GcpWrappedKeyInfo

getEncryptedDek()

publicStringgetEncryptedDek()

Required. The base64 encoded encrypted data encryption key.

string encrypted_dek = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The encryptedDek.

getEncryptedDekBytes()

publicByteStringgetEncryptedDekBytes()

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()

publicStringgetKekUri()

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()

publicByteStringgetKekUriBytes()

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()

publicGcpWrappedKeyInfo.KeyTypegetKeyType()

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()

publicintgetKeyTypeValue()

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.

getParserForType()

publicParser<GcpWrappedKeyInfo>getParserForType()
Returns
Type Description
Parser<GcpWrappedKeyInfo>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getWipProvider()

publicStringgetWipProvider()

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()

publicByteStringgetWipProviderBytes()

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicGcpWrappedKeyInfo.BuildernewBuilderForType()
Returns
Type Description
GcpWrappedKeyInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedGcpWrappedKeyInfo.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GcpWrappedKeyInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicGcpWrappedKeyInfo.BuildertoBuilder()
Returns
Type Description
GcpWrappedKeyInfo.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.