Class EncryptionConfig.FailureDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EncryptionConfig.FailureDetails.Builder>
com.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.Builder
All Implemented Interfaces:
EncryptionConfig.FailureDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EncryptionConfig.FailureDetails

public static final class EncryptionConfig.FailureDetails.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EncryptionConfig.FailureDetails.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<EncryptionConfig.FailureDetails.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EncryptionConfig.FailureDetails.Builder>
    • getDefaultInstanceForType

      public EncryptionConfig.FailureDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public EncryptionConfig.FailureDetails buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public EncryptionConfig.FailureDetails.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EncryptionConfig.FailureDetails.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EncryptionConfig.FailureDetails.Builder>
    • mergeFrom

      public EncryptionConfig.FailureDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EncryptionConfig.FailureDetails.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getErrorCodeValue in interface EncryptionConfig.FailureDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for errorCode.
    • setErrorCodeValue

      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];
      Parameters:
      value - The enum numeric value on the wire for errorCode to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getErrorCode in interface EncryptionConfig.FailureDetailsOrBuilder
      Returns:
      The errorCode.
    • setErrorCode

       Output only. The error code for the failure.
       
      .google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The errorCode to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getErrorMessage in interface EncryptionConfig.FailureDetailsOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.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];
      Specified by:
      getErrorMessageBytes in interface EncryptionConfig.FailureDetailsOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      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];
      Parameters:
      value - The errorMessage to set.
      Returns:
      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:
      This builder for chaining.
    • setErrorMessageBytes

      public EncryptionConfig.FailureDetails.Builder setErrorMessageBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.