Class EncryptionKeyHistoryEntry (0.29.0)

public final class EncryptionKeyHistoryEntry extends GeneratedMessageV3 implements EncryptionKeyHistoryEntryOrBuilder

The history of the encryption keys used to encrypt the Autonomous Database.

Protobuf type google.cloud.oracledatabase.v1.EncryptionKeyHistoryEntry

Static Fields

ACTIVATION_TIME_FIELD_NUMBER

public static final int ACTIVATION_TIME_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_KEY_FIELD_NUMBER

public static final int ENCRYPTION_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EncryptionKeyHistoryEntry getDefaultInstance()
Returns
Type Description
EncryptionKeyHistoryEntry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EncryptionKeyHistoryEntry.Builder newBuilder()
Returns
Type Description
EncryptionKeyHistoryEntry.Builder

newBuilder(EncryptionKeyHistoryEntry prototype)

public static EncryptionKeyHistoryEntry.Builder newBuilder(EncryptionKeyHistoryEntry prototype)
Parameter
Name Description
prototype EncryptionKeyHistoryEntry
Returns
Type Description
EncryptionKeyHistoryEntry.Builder

parseDelimitedFrom(InputStream input)

public static EncryptionKeyHistoryEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EncryptionKeyHistoryEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EncryptionKeyHistoryEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EncryptionKeyHistoryEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EncryptionKeyHistoryEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EncryptionKeyHistoryEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EncryptionKeyHistoryEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EncryptionKeyHistoryEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EncryptionKeyHistoryEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EncryptionKeyHistoryEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EncryptionKeyHistoryEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EncryptionKeyHistoryEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionKeyHistoryEntry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EncryptionKeyHistoryEntry> parser()
Returns
Type Description
Parser<EncryptionKeyHistoryEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActivationTime()

public Timestamp getActivationTime()

Output only. The date and time when the encryption key was activated on the Autonomous Database..

.google.protobuf.Timestamp activation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The activationTime.

getActivationTimeOrBuilder()

public TimestampOrBuilder getActivationTimeOrBuilder()

Output only. The date and time when the encryption key was activated on the Autonomous Database..

.google.protobuf.Timestamp activation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public EncryptionKeyHistoryEntry getDefaultInstanceForType()
Returns
Type Description
EncryptionKeyHistoryEntry

getEncryptionKey()

public EncryptionKey getEncryptionKey()

Output only. The encryption key used to encrypt the Autonomous Database.

.google.cloud.oracledatabase.v1.EncryptionKey encryption_key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionKey

The encryptionKey.

getEncryptionKeyOrBuilder()

public EncryptionKeyOrBuilder getEncryptionKeyOrBuilder()

Output only. The encryption key used to encrypt the Autonomous Database.

.google.cloud.oracledatabase.v1.EncryptionKey encryption_key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionKeyOrBuilder

getParserForType()

public Parser<EncryptionKeyHistoryEntry> getParserForType()
Returns
Type Description
Parser<EncryptionKeyHistoryEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasActivationTime()

public boolean hasActivationTime()

Output only. The date and time when the encryption key was activated on the Autonomous Database..

.google.protobuf.Timestamp activation_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the activationTime field is set.

hasEncryptionKey()

public boolean hasEncryptionKey()

Output only. The encryption key used to encrypt the Autonomous Database.

.google.cloud.oracledatabase.v1.EncryptionKey encryption_key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the encryptionKey field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EncryptionKeyHistoryEntry.Builder newBuilderForType()
Returns
Type Description
EncryptionKeyHistoryEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EncryptionKeyHistoryEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EncryptionKeyHistoryEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EncryptionKeyHistoryEntry.Builder toBuilder()
Returns
Type Description
EncryptionKeyHistoryEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException