Class DatabaseEncryption.OperationError (2.43.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
TypeDescription
int

KEY_NAME_FIELD_NUMBER

public static final int KEY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatabaseEncryption.OperationError getDefaultInstance()
Returns
TypeDescription
DatabaseEncryption.OperationError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DatabaseEncryption.OperationError.Builder newBuilder()
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

newBuilder(DatabaseEncryption.OperationError prototype)

public static DatabaseEncryption.OperationError.Builder newBuilder(DatabaseEncryption.OperationError prototype)
Parameter
NameDescription
prototypeDatabaseEncryption.OperationError
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

parseDelimitedFrom(InputStream input)

public static DatabaseEncryption.OperationError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseEncryption.OperationError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DatabaseEncryption.OperationError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatabaseEncryption.OperationError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatabaseEncryption.OperationError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatabaseEncryption.OperationError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatabaseEncryption.OperationError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseEncryption.OperationError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DatabaseEncryption.OperationError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseEncryption.OperationError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DatabaseEncryption.OperationError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatabaseEncryption.OperationError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseEncryption.OperationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DatabaseEncryption.OperationError getDefaultInstanceForType()
Returns
TypeDescription
DatabaseEncryption.OperationError

getErrorMessage()

public String getErrorMessage()

Description of the error seen during the operation.

string error_message = 2;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Description of the error seen during the operation.

string error_message = 2;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

getKeyName()

public String getKeyName()

CloudKMS key resource that had the error.

string key_name = 1;

Returns
TypeDescription
String

The keyName.

getKeyNameBytes()

public ByteString getKeyNameBytes()

CloudKMS key resource that had the error.

string key_name = 1;

Returns
TypeDescription
ByteString

The bytes for keyName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimestamp()

public Timestamp getTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
Timestamp

The timestamp.

getTimestampOrBuilder()

public TimestampOrBuilder getTimestampOrBuilder()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
TimestampOrBuilder

hasTimestamp()

public boolean hasTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
boolean

Whether the timestamp field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DatabaseEncryption.OperationError.Builder newBuilderForType()
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatabaseEncryption.OperationError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DatabaseEncryption.OperationError.Builder toBuilder()
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException