Send feedback
  
   
 
  
    
      Class EncryptionConfig.FailureDetails.Builder (1.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  EncryptionConfig . FailureDetails . Builder   extends   GeneratedMessageV3 . Builder<EncryptionConfig . FailureDetails . Builder >  implements   EncryptionConfig . FailureDetailsOrBuilder  
   Details of the failure if anything related to Cmek db fails.
 Protobuf type google.cloud.dataplex.v1.EncryptionConfig.FailureDetails
    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   EncryptionConfig . FailureDetails . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   EncryptionConfig . FailureDetails   build ()  
  
  buildPartial() 
  
    
public   EncryptionConfig . FailureDetails   buildPartial ()  
  
  clear() 
  
    
public   EncryptionConfig . FailureDetails . Builder   clear ()  
  
  Overrides 
  
  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];
 
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];
clearField(Descriptors.FieldDescriptor field) 
  
    
public   EncryptionConfig . FailureDetails . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   EncryptionConfig . FailureDetails . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   EncryptionConfig . FailureDetails . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   EncryptionConfig . FailureDetails   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  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];
 
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   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(EncryptionConfig.FailureDetails other) 
  
    
public   EncryptionConfig . FailureDetails . Builder   mergeFrom ( EncryptionConfig . FailureDetails   other )  
  
  
  
    
public   EncryptionConfig . FailureDetails . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   EncryptionConfig . FailureDetails . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   EncryptionConfig . FailureDetails . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  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];
 
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  
      
        valueint The enum numeric value on the wire for errorCode to set.
 
     
  
  
  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  
      
        valueString The errorMessage to set.
 
     
  
  
  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  
      
        valueByteString The bytes for errorMessage to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   EncryptionConfig . FailureDetails . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   EncryptionConfig . FailureDetails . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   EncryptionConfig . FailureDetails . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]