Class DatabaseEncryption.OperationError.Builder (2.86.0)

public static final class DatabaseEncryption.OperationError.Builder extends GeneratedMessage.Builder<DatabaseEncryption.OperationError.Builder> implements DatabaseEncryption.OperationErrorOrBuilder

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

Protobuf type google.container.v1beta1.DatabaseEncryption.OperationError

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

public DatabaseEncryption.OperationError.Builder clear()
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides

clearErrorMessage()

public DatabaseEncryption.OperationError.Builder clearErrorMessage()

Description of the error seen during the operation.

string error_message = 2;

Returns
Type Description
DatabaseEncryption.OperationError.Builder

This builder for chaining.

clearKeyName()

public DatabaseEncryption.OperationError.Builder clearKeyName()

CloudKMS key resource that had the error.

string key_name = 1;

Returns
Type Description
DatabaseEncryption.OperationError.Builder

This builder for chaining.

clearTimestamp()

public DatabaseEncryption.OperationError.Builder clearTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
DatabaseEncryption.OperationError.Builder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getTimestamp()

public Timestamp getTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
Timestamp

The timestamp.

getTimestampBuilder()

public Timestamp.Builder getTimestampBuilder()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatabaseEncryption.OperationError other)

public DatabaseEncryption.OperationError.Builder mergeFrom(DatabaseEncryption.OperationError other)
Parameter
Name Description
other DatabaseEncryption.OperationError
Returns
Type Description
DatabaseEncryption.OperationError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatabaseEncryption.OperationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DatabaseEncryption.OperationError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides

mergeTimestamp(Timestamp value)

public DatabaseEncryption.OperationError.Builder mergeTimestamp(Timestamp value)

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
DatabaseEncryption.OperationError.Builder

setErrorMessage(String value)

public DatabaseEncryption.OperationError.Builder setErrorMessage(String value)

Description of the error seen during the operation.

string error_message = 2;

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
DatabaseEncryption.OperationError.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public DatabaseEncryption.OperationError.Builder setErrorMessageBytes(ByteString value)

Description of the error seen during the operation.

string error_message = 2;

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
DatabaseEncryption.OperationError.Builder

This builder for chaining.

setKeyName(String value)

public DatabaseEncryption.OperationError.Builder setKeyName(String value)

CloudKMS key resource that had the error.

string key_name = 1;

Parameter
Name Description
value String

The keyName to set.

Returns
Type Description
DatabaseEncryption.OperationError.Builder

This builder for chaining.

setKeyNameBytes(ByteString value)

public DatabaseEncryption.OperationError.Builder setKeyNameBytes(ByteString value)

CloudKMS key resource that had the error.

string key_name = 1;

Parameter
Name Description
value ByteString

The bytes for keyName to set.

Returns
Type Description
DatabaseEncryption.OperationError.Builder

This builder for chaining.

setTimestamp(Timestamp value)

public DatabaseEncryption.OperationError.Builder setTimestamp(Timestamp value)

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
DatabaseEncryption.OperationError.Builder

setTimestamp(Timestamp.Builder builderForValue)

public DatabaseEncryption.OperationError.Builder setTimestamp(Timestamp.Builder builderForValue)

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DatabaseEncryption.OperationError.Builder