Package com.google.cloud.vmmigration.v1
Interface MigrationErrorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MigrationError
,MigrationError.Builder
public interface MigrationErrorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.rpc.LocalizedMessage
getActionItem()
Output only.com.google.rpc.LocalizedMessageOrBuilder
getActionItemOrBuilder()
Output only.MigrationError.ErrorCode
getCode()
Output only.int
getCodeValue()
Output only.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.boolean
hasActionItem()
Output only.boolean
hasErrorMessage()
Output only.boolean
hasErrorTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCodeValue
int getCodeValue()
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for code.
-
getCode
MigrationError.ErrorCode getCode()
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The code.
-
hasErrorMessage
boolean hasErrorMessage()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
com.google.rpc.LocalizedMessage getErrorMessage()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The errorMessage.
-
getErrorMessageOrBuilder
com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasActionItem
boolean hasActionItem()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the actionItem field is set.
-
getActionItem
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];
- Returns:
- The actionItem.
-
getActionItemOrBuilder
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];
-
getHelpLinksList
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];
-
getHelpLinks
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];
-
getHelpLinksCount
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];
-
getHelpLinksOrBuilderList
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];
-
getHelpLinksOrBuilder
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];
-
hasErrorTime
boolean hasErrorTime()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the errorTime field is set.
-
getErrorTime
com.google.protobuf.Timestamp getErrorTime()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The errorTime.
-
getErrorTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-