Class ImportError.Builder (0.36.0)

public static final class ImportError.Builder extends GeneratedMessageV3.Builder<ImportError.Builder> implements ImportErrorOrBuilder

A resource that reports the errors encountered while processing an import job.

Protobuf type google.cloud.migrationcenter.v1.ImportError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportError build()
Returns
Type Description
ImportError

buildPartial()

public ImportError buildPartial()
Returns
Type Description
ImportError

clear()

public ImportError.Builder clear()
Returns
Type Description
ImportError.Builder
Overrides

clearErrorDetails()

public ImportError.Builder clearErrorDetails()

The error information.

string error_details = 1;

Returns
Type Description
ImportError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeverity()

public ImportError.Builder clearSeverity()

The severity of the error.

.google.cloud.migrationcenter.v1.ImportError.Severity severity = 2;

Returns
Type Description
ImportError.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ImportError getDefaultInstanceForType()
Returns
Type Description
ImportError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorDetails()

public String getErrorDetails()

The error information.

string error_details = 1;

Returns
Type Description
String

The errorDetails.

getErrorDetailsBytes()

public ByteString getErrorDetailsBytes()

The error information.

string error_details = 1;

Returns
Type Description
ByteString

The bytes for errorDetails.

getSeverity()

public ImportError.Severity getSeverity()

The severity of the error.

.google.cloud.migrationcenter.v1.ImportError.Severity severity = 2;

Returns
Type Description
ImportError.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The severity of the error.

.google.cloud.migrationcenter.v1.ImportError.Severity severity = 2;

Returns
Type Description
int

The enum numeric value on the wire for severity.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportError other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportError.Builder
Overrides

setErrorDetails(String value)

public ImportError.Builder setErrorDetails(String value)

The error information.

string error_details = 1;

Parameter
Name Description
value String

The errorDetails to set.

Returns
Type Description
ImportError.Builder

This builder for chaining.

setErrorDetailsBytes(ByteString value)

public ImportError.Builder setErrorDetailsBytes(ByteString value)

The error information.

string error_details = 1;

Parameter
Name Description
value ByteString

The bytes for errorDetails to set.

Returns
Type Description
ImportError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSeverity(ImportError.Severity value)

public ImportError.Builder setSeverity(ImportError.Severity value)

The severity of the error.

.google.cloud.migrationcenter.v1.ImportError.Severity severity = 2;

Parameter
Name Description
value ImportError.Severity

The severity to set.

Returns
Type Description
ImportError.Builder

This builder for chaining.

setSeverityValue(int value)

public ImportError.Builder setSeverityValue(int value)

The severity of the error.

.google.cloud.migrationcenter.v1.ImportError.Severity severity = 2;

Parameter
Name Description
value int

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

Returns
Type Description
ImportError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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