Class ImportError.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportError build()
Returns
TypeDescription
ImportError

buildPartial()

public ImportError buildPartial()
Returns
TypeDescription
ImportError

clear()

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

clearErrorDetails()

public ImportError.Builder clearErrorDetails()

The error information.

string error_details = 1;

Returns
TypeDescription
ImportError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeverity()

public ImportError.Builder clearSeverity()

The severity of the error.

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

Returns
TypeDescription
ImportError.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ImportError getDefaultInstanceForType()
Returns
TypeDescription
ImportError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorDetails()

public String getErrorDetails()

The error information.

string error_details = 1;

Returns
TypeDescription
String

The errorDetails.

getErrorDetailsBytes()

public ByteString getErrorDetailsBytes()

The error information.

string error_details = 1;

Returns
TypeDescription
ByteString

The bytes for errorDetails.

getSeverity()

public ImportError.Severity getSeverity()

The severity of the error.

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

Returns
TypeDescription
ImportError.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The severity of the error.

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

Returns
TypeDescription
int

The enum numeric value on the wire for severity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportError other)

public ImportError.Builder mergeFrom(ImportError other)
Parameter
NameDescription
otherImportError
Returns
TypeDescription
ImportError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorDetails(String value)

public ImportError.Builder setErrorDetails(String value)

The error information.

string error_details = 1;

Parameter
NameDescription
valueString

The errorDetails to set.

Returns
TypeDescription
ImportError.Builder

This builder for chaining.

setErrorDetailsBytes(ByteString value)

public ImportError.Builder setErrorDetailsBytes(ByteString value)

The error information.

string error_details = 1;

Parameter
NameDescription
valueByteString

The bytes for errorDetails to set.

Returns
TypeDescription
ImportError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ImportError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueImportError.Severity

The severity to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ImportError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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