public static final class EncryptionConfig.FailureDetails.Builder extends GeneratedMessage.Builder<EncryptionConfig.FailureDetails.Builder> implements EncryptionConfig.FailureDetailsOrBuilderDetails of the failure if anything related to Cmek db fails.
Protobuf type google.cloud.dataplex.v1.EncryptionConfig.FailureDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EncryptionConfig.FailureDetails.BuilderImplements
EncryptionConfig.FailureDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EncryptionConfig.FailureDetails build()| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails |
|
buildPartial()
public EncryptionConfig.FailureDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails |
|
clear()
public EncryptionConfig.FailureDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
|
clearErrorCode()
public EncryptionConfig.FailureDetails.Builder clearErrorCode()Output only. The error code for the failure.
.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
This builder for chaining. |
clearErrorMessage()
public EncryptionConfig.FailureDetails.Builder clearErrorMessage()Output only. The error message will be shown to the user. Set only if the error code is REQUIRE_USER_ACTION.
string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EncryptionConfig.FailureDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorCode()
public EncryptionConfig.FailureDetails.ErrorCode getErrorCode()Output only. The error code for the failure.
.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.ErrorCode |
The errorCode. |
getErrorCodeValue()
public int getErrorCodeValue()Output only. The error code for the failure.
.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for errorCode. |
getErrorMessage()
public String getErrorMessage()Output only. The error message will be shown to the user. Set only if the error code is REQUIRE_USER_ACTION.
string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The errorMessage. |
getErrorMessageBytes()
public ByteString getErrorMessageBytes()Output only. The error message will be shown to the user. Set only if the error code is REQUIRE_USER_ACTION.
string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for errorMessage. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EncryptionConfig.FailureDetails other)
public EncryptionConfig.FailureDetails.Builder mergeFrom(EncryptionConfig.FailureDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
EncryptionConfig.FailureDetails |
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EncryptionConfig.FailureDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EncryptionConfig.FailureDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
|
setErrorCode(EncryptionConfig.FailureDetails.ErrorCode value)
public EncryptionConfig.FailureDetails.Builder setErrorCode(EncryptionConfig.FailureDetails.ErrorCode value)Output only. The error code for the failure.
.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EncryptionConfig.FailureDetails.ErrorCodeThe errorCode to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
This builder for chaining. |
setErrorCodeValue(int value)
public EncryptionConfig.FailureDetails.Builder setErrorCodeValue(int value)Output only. The error code for the failure.
.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for errorCode to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
This builder for chaining. |
setErrorMessage(String value)
public EncryptionConfig.FailureDetails.Builder setErrorMessage(String value)Output only. The error message will be shown to the user. Set only if the error code is REQUIRE_USER_ACTION.
string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe errorMessage to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
This builder for chaining. |
setErrorMessageBytes(ByteString value)
public EncryptionConfig.FailureDetails.Builder setErrorMessageBytes(ByteString value)Output only. The error message will be shown to the user. Set only if the error code is REQUIRE_USER_ACTION.
string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for errorMessage to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.FailureDetails.Builder |
This builder for chaining. |