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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportError.BuilderImplements
ImportErrorOrBuilderStatic 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 |
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. |
clearField(Descriptors.FieldDescriptor field)
public ImportError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportError.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImportError.Builder |
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 |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | 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 |
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 |
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 |