public final class MigrationError extends GeneratedMessageV3 implements MigrationErrorOrBuilder
Represents migration resource error information that can be used with
google.rpc.Status message. MigrationError is used to present the user with
error information in migration operations.
Protobuf type google.cloud.vmmigration.v1.MigrationError
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTION_ITEM_FIELD_NUMBER
public static final int ACTION_ITEM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ERROR_TIME_FIELD_NUMBER
public static final int ERROR_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HELP_LINKS_FIELD_NUMBER
public static final int HELP_LINKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MigrationError getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MigrationError.Builder newBuilder()
newBuilder(MigrationError prototype)
public static MigrationError.Builder newBuilder(MigrationError prototype)
public static MigrationError parseDelimitedFrom(InputStream input)
public static MigrationError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MigrationError parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MigrationError parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationError parseFrom(CodedInputStream input)
public static MigrationError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationError parseFrom(InputStream input)
public static MigrationError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MigrationError parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MigrationError> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getActionItem()
public LocalizedMessage getActionItem()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
com.google.rpc.LocalizedMessage | The actionItem.
|
getActionItemOrBuilder()
public LocalizedMessageOrBuilder getActionItemOrBuilder()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
com.google.rpc.LocalizedMessageOrBuilder | |
getCode()
public MigrationError.ErrorCode getCode()
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCodeValue()
public int getCodeValue()
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for code.
|
getDefaultInstanceForType()
public MigrationError getDefaultInstanceForType()
getErrorMessage()
public LocalizedMessage getErrorMessage()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
com.google.rpc.LocalizedMessage | The errorMessage.
|
getErrorMessageOrBuilder()
public LocalizedMessageOrBuilder getErrorMessageOrBuilder()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
com.google.rpc.LocalizedMessageOrBuilder | |
getErrorTime()
public Timestamp getErrorTime()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The errorTime.
|
getErrorTimeOrBuilder()
public TimestampOrBuilder getErrorTimeOrBuilder()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getHelpLinks(int index)
public Help.Link getHelpLinks(int index)
Output only. URL(s) pointing to additional information on handling the
current error.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.rpc.Help.Link | |
getHelpLinksCount()
public int getHelpLinksCount()
Output only. URL(s) pointing to additional information on handling the
current error.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
getHelpLinksList()
public List<Help.Link> getHelpLinksList()
Output only. URL(s) pointing to additional information on handling the
current error.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<com.google.rpc.Help.Link> | |
getHelpLinksOrBuilder(int index)
public Help.LinkOrBuilder getHelpLinksOrBuilder(int index)
Output only. URL(s) pointing to additional information on handling the
current error.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.rpc.Help.LinkOrBuilder | |
getHelpLinksOrBuilderList()
public List<? extends Help.LinkOrBuilder> getHelpLinksOrBuilderList()
Output only. URL(s) pointing to additional information on handling the
current error.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.rpc.Help.LinkOrBuilder> | |
getParserForType()
public Parser<MigrationError> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasActionItem()
public boolean hasActionItem()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the actionItem field is set.
|
hasErrorMessage()
public boolean hasErrorMessage()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the errorMessage field is set.
|
hasErrorTime()
public boolean hasErrorTime()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the errorTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MigrationError.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MigrationError.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides