Class MigrationJobVerificationError.Builder (2.41.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MigrationJobVerificationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides

build()

public MigrationJobVerificationError build()
Returns
Type Description
MigrationJobVerificationError

buildPartial()

public MigrationJobVerificationError buildPartial()
Returns
Type Description
MigrationJobVerificationError

clear()

public MigrationJobVerificationError.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
MigrationJobVerificationError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MigrationJobVerificationError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MigrationJobVerificationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides

clone()

public MigrationJobVerificationError.Builder clone()
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides

getDefaultInstanceForType()

public MigrationJobVerificationError getDefaultInstanceForType()
Returns
Type Description
MigrationJobVerificationError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigrationJobVerificationError other)

public MigrationJobVerificationError.Builder mergeFrom(MigrationJobVerificationError other)
Parameter
Name Description
other MigrationJobVerificationError
Returns
Type Description
MigrationJobVerificationError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MigrationJobVerificationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MigrationJobVerificationError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigrationJobVerificationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value MigrationJobVerificationError.ErrorCode

The errorCode to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value String

The errorDetailMessage to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for errorDetailMessage to set.

Returns
Type Description
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
Name Description
value String

The errorMessage to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
MigrationJobVerificationError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MigrationJobVerificationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides

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

public MigrationJobVerificationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MigrationJobVerificationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigrationJobVerificationError.Builder
Overrides