Class DatabaseEncryption.OperationError (2.50.0)

public static final class DatabaseEncryption.OperationError extends GeneratedMessageV3 implements DatabaseEncryption.OperationErrorOrBuilder

OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.

Protobuf type google.container.v1beta1.DatabaseEncryption.OperationError

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DatabaseEncryption.OperationError

Static Fields

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

KEY_NAME_FIELD_NUMBER

public static final int KEY_NAME_FIELD_NUMBER
Field Value
Type Description
int

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatabaseEncryption.OperationError getDefaultInstance()
Returns
Type Description
DatabaseEncryption.OperationError

getDescriptor()

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

newBuilder()

public static DatabaseEncryption.OperationError.Builder newBuilder()
Returns
Type Description
DatabaseEncryption.OperationError.Builder

newBuilder(DatabaseEncryption.OperationError prototype)

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

parseDelimitedFrom(InputStream input)

public static DatabaseEncryption.OperationError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatabaseEncryption.OperationError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DatabaseEncryption.OperationError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatabaseEncryption.OperationError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DatabaseEncryption.OperationError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatabaseEncryption.OperationError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DatabaseEncryption.OperationError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatabaseEncryption.OperationError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DatabaseEncryption.OperationError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatabaseEncryption.OperationError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DatabaseEncryption.OperationError> parser()
Returns
Type Description
Parser<OperationError>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DatabaseEncryption.OperationError getDefaultInstanceForType()
Returns
Type Description
DatabaseEncryption.OperationError

getErrorMessage()

public String getErrorMessage()

Description of the error seen during the operation.

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Description of the error seen during the operation.

string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

getKeyName()

public String getKeyName()

CloudKMS key resource that had the error.

string key_name = 1;

Returns
Type Description
String

The keyName.

getKeyNameBytes()

public ByteString getKeyNameBytes()

CloudKMS key resource that had the error.

string key_name = 1;

Returns
Type Description
ByteString

The bytes for keyName.

getParserForType()

public Parser<DatabaseEncryption.OperationError> getParserForType()
Returns
Type Description
Parser<OperationError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimestamp()

public Timestamp getTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
Timestamp

The timestamp.

getTimestampOrBuilder()

public TimestampOrBuilder getTimestampOrBuilder()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
TimestampOrBuilder

hasTimestamp()

public boolean hasTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
boolean

Whether the timestamp 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 DatabaseEncryption.OperationError.Builder newBuilderForType()
Returns
Type Description
DatabaseEncryption.OperationError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DatabaseEncryption.OperationError.Builder toBuilder()
Returns
Type Description
DatabaseEncryption.OperationError.Builder

writeTo(CodedOutputStream output)

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