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 classMigrationError.BuilderRepresents migration resource error information that can be used with google.rpc.Status message.static classMigrationError.ErrorCodeRepresents 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 intACTION_ITEM_FIELD_NUMBERstatic intCODE_FIELD_NUMBERstatic intERROR_MESSAGE_FIELD_NUMBERstatic intERROR_TIME_FIELD_NUMBERstatic intHELP_LINKS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.rpc.LocalizedMessagegetActionItem()Output only.com.google.rpc.LocalizedMessageOrBuildergetActionItemOrBuilder()Output only.MigrationError.ErrorCodegetCode()Output only.intgetCodeValue()Output only.static MigrationErrorgetDefaultInstance()MigrationErrorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.rpc.LocalizedMessagegetErrorMessage()Output only.com.google.rpc.LocalizedMessageOrBuildergetErrorMessageOrBuilder()Output only.com.google.protobuf.TimestampgetErrorTime()Output only.com.google.protobuf.TimestampOrBuildergetErrorTimeOrBuilder()Output only.com.google.rpc.Help.LinkgetHelpLinks(int index)Output only.intgetHelpLinksCount()Output only.List<com.google.rpc.Help.Link>getHelpLinksList()Output only.com.google.rpc.Help.LinkOrBuildergetHelpLinksOrBuilder(int index)Output only.List<? extends com.google.rpc.Help.LinkOrBuilder>getHelpLinksOrBuilderList()Output only.com.google.protobuf.Parser<MigrationError>getParserForType()intgetSerializedSize()booleanhasActionItem()Output only.booleanhasErrorMessage()Output only.booleanhasErrorTime()Output only.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MigrationError.BuildernewBuilder()static MigrationError.BuildernewBuilder(MigrationError prototype)MigrationError.BuildernewBuilderForType()protected MigrationError.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MigrationErrorparseDelimitedFrom(InputStream input)static MigrationErrorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationErrorparseFrom(byte[] data)static MigrationErrorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationErrorparseFrom(com.google.protobuf.ByteString data)static MigrationErrorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationErrorparseFrom(com.google.protobuf.CodedInputStream input)static MigrationErrorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationErrorparseFrom(InputStream input)static MigrationErrorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationErrorparseFrom(ByteBuffer data)static MigrationErrorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MigrationError>parser()MigrationError.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
getCodeValuein 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:
getCodein 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:
hasErrorMessagein 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:
getErrorMessagein 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:
getErrorMessageOrBuilderin 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:
hasActionItemin 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:
getActionItemin 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:
getActionItemOrBuilderin 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:
getHelpLinksListin 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:
getHelpLinksOrBuilderListin 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:
getHelpLinksCountin 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:
getHelpLinksin 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:
getHelpLinksOrBuilderin 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:
hasErrorTimein 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:
getErrorTimein 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:
getErrorTimeOrBuilderin interfaceMigrationErrorOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MigrationError.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MigrationError getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-