Class DatabaseEncryption.OperationError.Builder (2.47.0)

public static final class DatabaseEncryption.OperationError.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatabaseEncryption.OperationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public DatabaseEncryption.OperationError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DatabaseEncryption.OperationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides

clearTimestamp()

public DatabaseEncryption.OperationError.Builder clearTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
Type Description
DatabaseEncryption.OperationError.Builder

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseEncryption.OperationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

public DatabaseEncryption.OperationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DatabaseEncryption.OperationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseEncryption.OperationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatabaseEncryption.OperationError.Builder
Overrides