Class MigrationJobVerificationError.Builder (2.21.0)

public static final class MigrationJobVerificationError.Builder extends GeneratedMessageV3.Builder<MigrationJobVerificationError.Builder> implements MigrationJobVerificationErrorOrBuilder

Error message of a verification Migration job.

Protobuf type google.cloud.clouddms.v1.MigrationJobVerificationError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MigrationJobVerificationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

build()

public MigrationJobVerificationError build()
Returns
TypeDescription
MigrationJobVerificationError

buildPartial()

public MigrationJobVerificationError buildPartial()
Returns
TypeDescription
MigrationJobVerificationError

clear()

public MigrationJobVerificationError.Builder clear()
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

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
TypeDescription
MigrationJobVerificationError.Builder

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
TypeDescription
MigrationJobVerificationError.Builder

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
TypeDescription
MigrationJobVerificationError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MigrationJobVerificationError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MigrationJobVerificationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

clone()

public MigrationJobVerificationError.Builder clone()
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

getDefaultInstanceForType()

public MigrationJobVerificationError getDefaultInstanceForType()
Returns
TypeDescription
MigrationJobVerificationError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorCode()

public MigrationJobVerificationError.ErrorCode getErrorCode()

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
TypeDescription
MigrationJobVerificationError.ErrorCode

The errorCode.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for errorCode.

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];

Returns
TypeDescription
String

The errorDetailMessage.

getErrorDetailMessageBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for errorDetailMessage.

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];

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MigrationJobVerificationError other)

public MigrationJobVerificationError.Builder mergeFrom(MigrationJobVerificationError other)
Parameter
NameDescription
otherMigrationJobVerificationError
Returns
TypeDescription
MigrationJobVerificationError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MigrationJobVerificationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MigrationJobVerificationError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigrationJobVerificationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

setErrorCode(MigrationJobVerificationError.ErrorCode value)

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];

Parameter
NameDescription
valueMigrationJobVerificationError.ErrorCode

The errorCode to set.

Returns
TypeDescription
MigrationJobVerificationError.Builder

This builder for chaining.

setErrorCodeValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for errorCode to set.

Returns
TypeDescription
MigrationJobVerificationError.Builder

This builder for chaining.

setErrorDetailMessage(String value)

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];

Parameter
NameDescription
valueString

The errorDetailMessage to set.

Returns
TypeDescription
MigrationJobVerificationError.Builder

This builder for chaining.

setErrorDetailMessageBytes(ByteString value)

public MigrationJobVerificationError.Builder setErrorDetailMessageBytes(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];

Parameter
NameDescription
valueByteString

The bytes for errorDetailMessage to set.

Returns
TypeDescription
MigrationJobVerificationError.Builder

This builder for chaining.

setErrorMessage(String value)

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];

Parameter
NameDescription
valueString

The errorMessage to set.

Returns
TypeDescription
MigrationJobVerificationError.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public MigrationJobVerificationError.Builder setErrorMessageBytes(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];

Parameter
NameDescription
valueByteString

The bytes for errorMessage to set.

Returns
TypeDescription
MigrationJobVerificationError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MigrationJobVerificationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MigrationJobVerificationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MigrationJobVerificationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MigrationJobVerificationError.Builder
Overrides