Interface MigrationErrorOrBuilder (1.31.0)

public interface MigrationErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionItem()

public abstract LocalizedMessage getActionItem()

Output only. Suggested action for solving the error.

.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.LocalizedMessage

The actionItem.

getActionItemOrBuilder()

public abstract LocalizedMessageOrBuilder getActionItemOrBuilder()

Output only. Suggested action for solving the error.

.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.LocalizedMessageOrBuilder

getCode()

public abstract MigrationError.ErrorCode getCode()

Output only. The error code.

.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
MigrationError.ErrorCode

The code.

getCodeValue()

public abstract int getCodeValue()

Output only. The error code.

.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getErrorMessage()

public abstract LocalizedMessage getErrorMessage()

Output only. The localized error message.

.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.LocalizedMessage

The errorMessage.

getErrorMessageOrBuilder()

public abstract LocalizedMessageOrBuilder getErrorMessageOrBuilder()

Output only. The localized error message.

.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.LocalizedMessageOrBuilder

getErrorTime()

public abstract Timestamp getErrorTime()

Output only. The time the error occurred.

.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The errorTime.

getErrorTimeOrBuilder()

public abstract TimestampOrBuilder getErrorTimeOrBuilder()

Output only. The time the error occurred.

.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder
public abstract 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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Help.Link

getHelpLinksCount()

public abstract 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
TypeDescription
int
public abstract 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
TypeDescription
List<com.google.rpc.Help.Link>

getHelpLinksOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Help.LinkOrBuilder

getHelpLinksOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.rpc.Help.LinkOrBuilder>

hasActionItem()

public abstract boolean hasActionItem()

Output only. Suggested action for solving the error.

.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the actionItem field is set.

hasErrorMessage()

public abstract boolean hasErrorMessage()

Output only. The localized error message.

.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the errorMessage field is set.

hasErrorTime()

public abstract boolean hasErrorTime()

Output only. The time the error occurred.

.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the errorTime field is set.