public static final class ImportError.Builder extends GeneratedMessage.Builder<ImportError.Builder> implements ImportErrorOrBuilderA resource that reports the errors encountered while processing an import job.
Protobuf type google.cloud.migrationcenter.v1.ImportError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportError.BuilderImplements
ImportErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearErrorDetails()
public ImportError.Builder clearErrorDetails()The error information.
string error_details = 1;
| Returns | |
|---|---|
| Type | Description |
ImportError.Builder |
This builder for chaining. |
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. |
getDefaultInstanceForType()
public ImportError getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportError |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportError.Builder |
|
setErrorDetails(String value)
public ImportError.Builder setErrorDetails(String value)The error information.
string error_details = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for errorDetails to set. |
| Returns | |
|---|---|
| Type | Description |
ImportError.Builder |
This builder for chaining. |
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.SeverityThe 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 |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| Type | Description |
ImportError.Builder |
This builder for chaining. |