Send feedback
Class ImportError.Builder (0.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.31.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportError . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ImportError build ()
buildPartial()
public ImportError buildPartial ()
clear()
public ImportError . Builder clear ()
Overrides
clearErrorDetails()
public ImportError . Builder clearErrorDetails ()
The error information.
string error_details = 1;
clearField(Descriptors.FieldDescriptor field)
public ImportError . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportError . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSeverity()
public ImportError . Builder clearSeverity ()
The severity of the error.
.google.cloud.migrationcenter.v1.ImportError.Severity severity = 2;
clone()
public ImportError . Builder clone ()
Overrides
getDefaultInstanceForType()
public ImportError getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ImportError other)
public ImportError . Builder mergeFrom ( ImportError other )
public ImportError . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ImportError . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportError . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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.
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.
setField(Descriptors.FieldDescriptor field, Object value)
public ImportError . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportError . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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;
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportError . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]