Class MigrationJobVerificationError.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJobVerificationError.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.GeneratedMessageV3.Builder<MigrationJobVerificationError.Builder>
      • getDefaultInstanceForType

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

        public MigrationJobVerificationError build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MigrationJobVerificationError buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public MigrationJobVerificationError.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<MigrationJobVerificationError.Builder>
        Throws:
        IOException
      • getErrorCodeValue

        public int getErrorCodeValue()
         Output only. An instance of ErrorCode specifying the error that occurred.
         
        .google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorCodeValue in interface MigrationJobVerificationErrorOrBuilder
        Returns:
        The enum numeric value on the wire for errorCode.
      • setErrorCodeValue

        public MigrationJobVerificationError.Builder setErrorCodeValue​(int value)
         Output only. An instance of ErrorCode specifying the error that occurred.
         
        .google.cloud.clouddms.v1.MigrationJobVerificationError.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.
      • setErrorCode

        public MigrationJobVerificationError.Builder setErrorCode​(MigrationJobVerificationError.ErrorCode value)
         Output only. An instance of ErrorCode specifying the error that occurred.
         
        .google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The errorCode to set.
        Returns:
        This builder for chaining.
      • clearErrorCode

        public MigrationJobVerificationError.Builder clearErrorCode()
         Output only. An instance of ErrorCode specifying the error that occurred.
         
        .google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getErrorMessage

        public String getErrorMessage()
         Output only. A formatted message with further details about the error and a
         CTA.
         
        string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorMessage in interface MigrationJobVerificationErrorOrBuilder
        Returns:
        The errorMessage.
      • getErrorMessageBytes

        public com.google.protobuf.ByteString getErrorMessageBytes()
         Output only. A formatted message with further details about the error and a
         CTA.
         
        string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorMessageBytes in interface MigrationJobVerificationErrorOrBuilder
        Returns:
        The bytes for errorMessage.
      • setErrorMessage

        public MigrationJobVerificationError.Builder setErrorMessage​(String value)
         Output only. A formatted message with further details about the error and a
         CTA.
         
        string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The errorMessage to set.
        Returns:
        This builder for chaining.
      • clearErrorMessage

        public MigrationJobVerificationError.Builder clearErrorMessage()
         Output only. A formatted message with further details about the error and a
         CTA.
         
        string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setErrorMessageBytes

        public MigrationJobVerificationError.Builder setErrorMessageBytes​(com.google.protobuf.ByteString value)
         Output only. A formatted message with further details about the error and a
         CTA.
         
        string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for errorMessage to set.
        Returns:
        This builder for chaining.
      • getErrorDetailMessage

        public String getErrorDetailMessage()
         Output only. A specific detailed error message, if supplied by the engine.
         
        string error_detail_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorDetailMessage in interface MigrationJobVerificationErrorOrBuilder
        Returns:
        The errorDetailMessage.
      • getErrorDetailMessageBytes

        public com.google.protobuf.ByteString getErrorDetailMessageBytes()
         Output only. A specific detailed error message, if supplied by the engine.
         
        string error_detail_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorDetailMessageBytes in interface MigrationJobVerificationErrorOrBuilder
        Returns:
        The bytes for errorDetailMessage.
      • setErrorDetailMessage

        public MigrationJobVerificationError.Builder setErrorDetailMessage​(String value)
         Output only. A specific detailed error message, if supplied by the engine.
         
        string error_detail_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The errorDetailMessage to set.
        Returns:
        This builder for chaining.
      • clearErrorDetailMessage

        public MigrationJobVerificationError.Builder clearErrorDetailMessage()
         Output only. A specific detailed error message, if supplied by the engine.
         
        string error_detail_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setErrorDetailMessageBytes

        public MigrationJobVerificationError.Builder setErrorDetailMessageBytes​(com.google.protobuf.ByteString value)
         Output only. A specific detailed error message, if supplied by the engine.
         
        string error_detail_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for errorDetailMessage to set.
        Returns:
        This builder for chaining.