public final class CustomerEncryptionKey extends GeneratedMessageV3 implements CustomerEncryptionKeyOrBuilder
Customer's encryption key.
Protobuf type google.cloud.tpu.v2alpha1.CustomerEncryptionKey
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
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CustomerEncryptionKey getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomerEncryptionKey.Builder newBuilder()
newBuilder(CustomerEncryptionKey prototype)
public static CustomerEncryptionKey.Builder newBuilder(CustomerEncryptionKey prototype)
public static CustomerEncryptionKey parseDelimitedFrom(InputStream input)
public static CustomerEncryptionKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomerEncryptionKey parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryptionKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomerEncryptionKey parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryptionKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryptionKey parseFrom(CodedInputStream input)
public static CustomerEncryptionKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryptionKey parseFrom(InputStream input)
public static CustomerEncryptionKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomerEncryptionKey parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryptionKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomerEncryptionKey> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CustomerEncryptionKey getDefaultInstanceForType()
getKeyCase()
public CustomerEncryptionKey.KeyCase getKeyCase()
getKmsKeyName()
public String getKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS.
For example:
<pre class="lang-html">"kmsKeyName": "projects/
<var class="apiparam">kms_project_id</var>/locations/
<var class="apiparam">region</var>/keyRings/<var class="apiparam">
key_region</var>/cryptoKeys/<var class="apiparam">key</var>
</pre>
The fully-qualifed key name may be returned for resource GET requests.
For example:
<pre class="lang-html">"kmsKeyName": "projects/
<var class="apiparam">kms_project_id</var>/locations/
<var class="apiparam">region</var>/keyRings/<var class="apiparam">
key_region</var>/cryptoKeys/<var class="apiparam">key</var>
/cryptoKeyVersions/1</pre>
string kms_key_name = 7;
Returns |
---|
Type | Description |
String | The kmsKeyName.
|
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
The name of the encryption key that is stored in Google Cloud KMS.
For example:
<pre class="lang-html">"kmsKeyName": "projects/
<var class="apiparam">kms_project_id</var>/locations/
<var class="apiparam">region</var>/keyRings/<var class="apiparam">
key_region</var>/cryptoKeys/<var class="apiparam">key</var>
</pre>
The fully-qualifed key name may be returned for resource GET requests.
For example:
<pre class="lang-html">"kmsKeyName": "projects/
<var class="apiparam">kms_project_id</var>/locations/
<var class="apiparam">region</var>/keyRings/<var class="apiparam">
key_region</var>/cryptoKeys/<var class="apiparam">key</var>
/cryptoKeyVersions/1</pre>
string kms_key_name = 7;
Returns |
---|
Type | Description |
ByteString | The bytes for kmsKeyName.
|
getParserForType()
public Parser<CustomerEncryptionKey> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasKmsKeyName()
public boolean hasKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS.
For example:
<pre class="lang-html">"kmsKeyName": "projects/
<var class="apiparam">kms_project_id</var>/locations/
<var class="apiparam">region</var>/keyRings/<var class="apiparam">
key_region</var>/cryptoKeys/<var class="apiparam">key</var>
</pre>
The fully-qualifed key name may be returned for resource GET requests.
For example:
<pre class="lang-html">"kmsKeyName": "projects/
<var class="apiparam">kms_project_id</var>/locations/
<var class="apiparam">region</var>/keyRings/<var class="apiparam">
key_region</var>/cryptoKeys/<var class="apiparam">key</var>
/cryptoKeyVersions/1</pre>
string kms_key_name = 7;
Returns |
---|
Type | Description |
boolean | Whether the kmsKeyName field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomerEncryptionKey.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomerEncryptionKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CustomerEncryptionKey.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides