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.v1.DatabaseEncryption.OperationError
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatabaseEncryption.OperationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DatabaseEncryption.OperationError build()
buildPartial()
public DatabaseEncryption.OperationError buildPartial()
clear()
public DatabaseEncryption.OperationError.Builder clear()
Overrides
clearErrorMessage()
public DatabaseEncryption.OperationError.Builder clearErrorMessage()
Description of the error seen during the operation.
string error_message = 2;
clearField(Descriptors.FieldDescriptor field)
public DatabaseEncryption.OperationError.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKeyName()
public DatabaseEncryption.OperationError.Builder clearKeyName()
CloudKMS key resource that had the error.
string key_name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DatabaseEncryption.OperationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTimestamp()
public DatabaseEncryption.OperationError.Builder clearTimestamp()
Time when the CloudKMS error was seen.
.google.protobuf.Timestamp timestamp = 3;
clone()
public DatabaseEncryption.OperationError.Builder clone()
Overrides
getDefaultInstanceForType()
public DatabaseEncryption.OperationError getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getTimestampOrBuilder()
public TimestampOrBuilder getTimestampOrBuilder()
Time when the CloudKMS error was seen.
.google.protobuf.Timestamp timestamp = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DatabaseEncryption.OperationError other)
public DatabaseEncryption.OperationError.Builder mergeFrom(DatabaseEncryption.OperationError other)
public DatabaseEncryption.OperationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DatabaseEncryption.OperationError.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTimestamp(Timestamp value)
public DatabaseEncryption.OperationError.Builder mergeTimestamp(Timestamp value)
Time when the CloudKMS error was seen.
.google.protobuf.Timestamp timestamp = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseEncryption.OperationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DatabaseEncryption.OperationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatabaseEncryption.OperationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTimestamp(Timestamp value)
public DatabaseEncryption.OperationError.Builder setTimestamp(Timestamp value)
Time when the CloudKMS error was seen.
.google.protobuf.Timestamp timestamp = 3;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseEncryption.OperationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides