Package com.google.cloud.vmmigration.v1
Class MigrationError
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vmmigration.v1.MigrationError
-
- All Implemented Interfaces:
MigrationErrorOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class MigrationError extends com.google.protobuf.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 typegoogle.cloud.vmmigration.v1.MigrationError
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MigrationError.Builder
Represents migration resource error information that can be used with google.rpc.Status message.static class
MigrationError.ErrorCode
Represents resource error codes.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_ITEM_FIELD_NUMBER
static int
CODE_FIELD_NUMBER
static int
ERROR_MESSAGE_FIELD_NUMBER
static int
ERROR_TIME_FIELD_NUMBER
static int
HELP_LINKS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.rpc.LocalizedMessage
getActionItem()
Output only.com.google.rpc.LocalizedMessageOrBuilder
getActionItemOrBuilder()
Output only.MigrationError.ErrorCode
getCode()
Output only.int
getCodeValue()
Output only.static MigrationError
getDefaultInstance()
MigrationError
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.rpc.LocalizedMessage
getErrorMessage()
Output only.com.google.rpc.LocalizedMessageOrBuilder
getErrorMessageOrBuilder()
Output only.com.google.protobuf.Timestamp
getErrorTime()
Output only.com.google.protobuf.TimestampOrBuilder
getErrorTimeOrBuilder()
Output only.com.google.rpc.Help.Link
getHelpLinks(int index)
Output only.int
getHelpLinksCount()
Output only.List<com.google.rpc.Help.Link>
getHelpLinksList()
Output only.com.google.rpc.Help.LinkOrBuilder
getHelpLinksOrBuilder(int index)
Output only.List<? extends com.google.rpc.Help.LinkOrBuilder>
getHelpLinksOrBuilderList()
Output only.com.google.protobuf.Parser<MigrationError>
getParserForType()
int
getSerializedSize()
boolean
hasActionItem()
Output only.boolean
hasErrorMessage()
Output only.boolean
hasErrorTime()
Output only.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static MigrationError.Builder
newBuilder()
static MigrationError.Builder
newBuilder(MigrationError prototype)
MigrationError.Builder
newBuilderForType()
protected MigrationError.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MigrationError
parseDelimitedFrom(InputStream input)
static MigrationError
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationError
parseFrom(byte[] data)
static MigrationError
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationError
parseFrom(com.google.protobuf.ByteString data)
static MigrationError
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationError
parseFrom(com.google.protobuf.CodedInputStream input)
static MigrationError
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationError
parseFrom(InputStream input)
static MigrationError
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationError
parseFrom(ByteBuffer data)
static MigrationError
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MigrationError>
parser()
MigrationError.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTION_ITEM_FIELD_NUMBER
public static final int ACTION_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HELP_LINKS_FIELD_NUMBER
public static final int HELP_LINKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_TIME_FIELD_NUMBER
public static final int ERROR_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getCodeValue
public int getCodeValue()
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCodeValue
in interfaceMigrationErrorOrBuilder
- Returns:
- The enum numeric value on the wire for code.
-
getCode
public MigrationError.ErrorCode getCode()
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCode
in interfaceMigrationErrorOrBuilder
- Returns:
- The code.
-
hasErrorMessage
public boolean hasErrorMessage()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasErrorMessage
in interfaceMigrationErrorOrBuilder
- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
public com.google.rpc.LocalizedMessage getErrorMessage()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorMessage
in interfaceMigrationErrorOrBuilder
- Returns:
- The errorMessage.
-
getErrorMessageOrBuilder
public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorMessageOrBuilder
in interfaceMigrationErrorOrBuilder
-
hasActionItem
public boolean hasActionItem()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasActionItem
in interfaceMigrationErrorOrBuilder
- Returns:
- Whether the actionItem field is set.
-
getActionItem
public com.google.rpc.LocalizedMessage getActionItem()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getActionItem
in interfaceMigrationErrorOrBuilder
- Returns:
- The actionItem.
-
getActionItemOrBuilder
public com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getActionItemOrBuilder
in interfaceMigrationErrorOrBuilder
-
getHelpLinksList
public List<com.google.rpc.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];
- Specified by:
getHelpLinksList
in interfaceMigrationErrorOrBuilder
-
getHelpLinksOrBuilderList
public List<? extends com.google.rpc.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];
- Specified by:
getHelpLinksOrBuilderList
in interfaceMigrationErrorOrBuilder
-
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];
- Specified by:
getHelpLinksCount
in interfaceMigrationErrorOrBuilder
-
getHelpLinks
public com.google.rpc.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];
- Specified by:
getHelpLinks
in interfaceMigrationErrorOrBuilder
-
getHelpLinksOrBuilder
public com.google.rpc.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];
- Specified by:
getHelpLinksOrBuilder
in interfaceMigrationErrorOrBuilder
-
hasErrorTime
public boolean hasErrorTime()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasErrorTime
in interfaceMigrationErrorOrBuilder
- Returns:
- Whether the errorTime field is set.
-
getErrorTime
public com.google.protobuf.Timestamp getErrorTime()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorTime
in interfaceMigrationErrorOrBuilder
- Returns:
- The errorTime.
-
getErrorTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorTimeOrBuilder
in interfaceMigrationErrorOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MigrationError parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationError parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationError parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationError parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationError parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MigrationError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MigrationError parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MigrationError parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MigrationError parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MigrationError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MigrationError.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MigrationError.Builder newBuilder()
-
newBuilder
public static MigrationError.Builder newBuilder(MigrationError prototype)
-
toBuilder
public MigrationError.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MigrationError.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MigrationError getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MigrationError> parser()
-
getParserForType
public com.google.protobuf.Parser<MigrationError> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MigrationError getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-