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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatabaseEncryption.OperationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder
Overrides

build()

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

buildPartial()

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

clear()

public DatabaseEncryption.OperationError.Builder clear()
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder
Overrides

clearErrorMessage()

public DatabaseEncryption.OperationError.Builder clearErrorMessage()

Description of the error seen during the operation.

string error_message = 2;

Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DatabaseEncryption.OperationError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder
Overrides

clearKeyName()

public DatabaseEncryption.OperationError.Builder clearKeyName()

CloudKMS key resource that had the error.

string key_name = 1;

Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DatabaseEncryption.OperationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder
Overrides

clearTimestamp()

public DatabaseEncryption.OperationError.Builder clearTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

clone()

public DatabaseEncryption.OperationError.Builder clone()
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getTimestamp()

public Timestamp getTimestamp()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
Timestamp

The timestamp.

getTimestampBuilder()

public Timestamp.Builder getTimestampBuilder()

Time when the CloudKMS error was seen.

.google.protobuf.Timestamp timestamp = 3;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DatabaseEncryption.OperationError other)

public DatabaseEncryption.OperationError.Builder mergeFrom(DatabaseEncryption.OperationError other)
Parameter
NameDescription
otherDatabaseEncryption.OperationError
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatabaseEncryption.OperationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DatabaseEncryption.OperationError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseEncryption.OperationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The errorMessage to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for errorMessage to set.

Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DatabaseEncryption.OperationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The keyName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for keyName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseEncryption.OperationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatabaseEncryption.OperationError.Builder
Overrides