- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class MigrationError.Builder extends GeneratedMessageV3.Builder<MigrationError.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationError.BuilderImplements
MigrationErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllHelpLinks(Iterable<? extends Help.Link> values)
public MigrationError.Builder addAllHelpLinks(Iterable<? extends Help.Link> values)
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];
Name | Description |
values | Iterable<? extends com.google.rpc.Help.Link> |
Type | Description |
MigrationError.Builder |
addHelpLinks(Help.Link value)
public MigrationError.Builder addHelpLinks(Help.Link value)
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];
Name | Description |
value | com.google.rpc.Help.Link |
Type | Description |
MigrationError.Builder |
addHelpLinks(Help.Link.Builder builderForValue)
public MigrationError.Builder addHelpLinks(Help.Link.Builder builderForValue)
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];
Name | Description |
builderForValue | com.google.rpc.Help.Link.Builder |
Type | Description |
MigrationError.Builder |
addHelpLinks(int index, Help.Link value)
public MigrationError.Builder addHelpLinks(int index, Help.Link value)
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];
Name | Description |
index | int |
value | com.google.rpc.Help.Link |
Type | Description |
MigrationError.Builder |
addHelpLinks(int index, Help.Link.Builder builderForValue)
public MigrationError.Builder addHelpLinks(int index, Help.Link.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | com.google.rpc.Help.Link.Builder |
Type | Description |
MigrationError.Builder |
addHelpLinksBuilder()
public Help.Link.Builder addHelpLinksBuilder()
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];
Type | Description |
com.google.rpc.Help.Link.Builder |
addHelpLinksBuilder(int index)
public Help.Link.Builder addHelpLinksBuilder(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];
Name | Description |
index | int |
Type | Description |
com.google.rpc.Help.Link.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigrationError.Builder |
build()
public MigrationError build()
Type | Description |
MigrationError |
buildPartial()
public MigrationError buildPartial()
Type | Description |
MigrationError |
clear()
public MigrationError.Builder clear()
Type | Description |
MigrationError.Builder |
clearActionItem()
public MigrationError.Builder clearActionItem()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationError.Builder |
clearCode()
public MigrationError.Builder clearCode()
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationError.Builder | This builder for chaining. |
clearErrorMessage()
public MigrationError.Builder clearErrorMessage()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationError.Builder |
clearErrorTime()
public MigrationError.Builder clearErrorTime()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationError.Builder |
clearField(Descriptors.FieldDescriptor field)
public MigrationError.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MigrationError.Builder |
clearHelpLinks()
public MigrationError.Builder clearHelpLinks()
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];
Type | Description |
MigrationError.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MigrationError.Builder |
clone()
public MigrationError.Builder clone()
Type | Description |
MigrationError.Builder |
getActionItem()
public LocalizedMessage getActionItem()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
com.google.rpc.LocalizedMessage | The actionItem. |
getActionItemBuilder()
public LocalizedMessage.Builder getActionItemBuilder()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
com.google.rpc.LocalizedMessage.Builder |
getActionItemOrBuilder()
public LocalizedMessageOrBuilder getActionItemOrBuilder()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
Type | Description |
MigrationError.ErrorCode | The code. |
getCodeValue()
public int getCodeValue()
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public MigrationError getDefaultInstanceForType()
Type | Description |
MigrationError |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getErrorMessage()
public LocalizedMessage getErrorMessage()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
com.google.rpc.LocalizedMessage | The errorMessage. |
getErrorMessageBuilder()
public LocalizedMessage.Builder getErrorMessageBuilder()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
com.google.rpc.LocalizedMessage.Builder |
getErrorMessageOrBuilder()
public LocalizedMessageOrBuilder getErrorMessageOrBuilder()
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
Type | Description |
Timestamp | The errorTime. |
getErrorTimeBuilder()
public Timestamp.Builder getErrorTimeBuilder()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getErrorTimeOrBuilder()
public TimestampOrBuilder getErrorTimeOrBuilder()
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
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];
Name | Description |
index | int |
Type | Description |
com.google.rpc.Help.Link |
getHelpLinksBuilder(int index)
public Help.Link.Builder getHelpLinksBuilder(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];
Name | Description |
index | int |
Type | Description |
com.google.rpc.Help.Link.Builder |
getHelpLinksBuilderList()
public List<Help.Link.Builder> getHelpLinksBuilderList()
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];
Type | Description |
List<com.google.rpc.Help.Link.Builder> |
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];
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];
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];
Name | Description |
index | int |
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];
Type | Description |
List<? extends com.google.rpc.Help.LinkOrBuilder> |
hasActionItem()
public boolean hasActionItem()
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
Type | Description |
boolean | Whether the errorTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeActionItem(LocalizedMessage value)
public MigrationError.Builder mergeActionItem(LocalizedMessage value)
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | com.google.rpc.LocalizedMessage |
Type | Description |
MigrationError.Builder |
mergeErrorMessage(LocalizedMessage value)
public MigrationError.Builder mergeErrorMessage(LocalizedMessage value)
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | com.google.rpc.LocalizedMessage |
Type | Description |
MigrationError.Builder |
mergeErrorTime(Timestamp value)
public MigrationError.Builder mergeErrorTime(Timestamp value)
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
MigrationError.Builder |
mergeFrom(MigrationError other)
public MigrationError.Builder mergeFrom(MigrationError other)
Name | Description |
other | MigrationError |
Type | Description |
MigrationError.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationError.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MigrationError.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MigrationError.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigrationError.Builder |
removeHelpLinks(int index)
public MigrationError.Builder removeHelpLinks(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];
Name | Description |
index | int |
Type | Description |
MigrationError.Builder |
setActionItem(LocalizedMessage value)
public MigrationError.Builder setActionItem(LocalizedMessage value)
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | com.google.rpc.LocalizedMessage |
Type | Description |
MigrationError.Builder |
setActionItem(LocalizedMessage.Builder builderForValue)
public MigrationError.Builder setActionItem(LocalizedMessage.Builder builderForValue)
Output only. Suggested action for solving the error.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | com.google.rpc.LocalizedMessage.Builder |
Type | Description |
MigrationError.Builder |
setCode(MigrationError.ErrorCode value)
public MigrationError.Builder setCode(MigrationError.ErrorCode value)
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | MigrationError.ErrorCode The code to set. |
Type | Description |
MigrationError.Builder | This builder for chaining. |
setCodeValue(int value)
public MigrationError.Builder setCodeValue(int value)
Output only. The error code.
.google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for code to set. |
Type | Description |
MigrationError.Builder | This builder for chaining. |
setErrorMessage(LocalizedMessage value)
public MigrationError.Builder setErrorMessage(LocalizedMessage value)
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | com.google.rpc.LocalizedMessage |
Type | Description |
MigrationError.Builder |
setErrorMessage(LocalizedMessage.Builder builderForValue)
public MigrationError.Builder setErrorMessage(LocalizedMessage.Builder builderForValue)
Output only. The localized error message.
.google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | com.google.rpc.LocalizedMessage.Builder |
Type | Description |
MigrationError.Builder |
setErrorTime(Timestamp value)
public MigrationError.Builder setErrorTime(Timestamp value)
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
MigrationError.Builder |
setErrorTime(Timestamp.Builder builderForValue)
public MigrationError.Builder setErrorTime(Timestamp.Builder builderForValue)
Output only. The time the error occurred.
.google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
MigrationError.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigrationError.Builder |
setHelpLinks(int index, Help.Link value)
public MigrationError.Builder setHelpLinks(int index, Help.Link value)
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];
Name | Description |
index | int |
value | com.google.rpc.Help.Link |
Type | Description |
MigrationError.Builder |
setHelpLinks(int index, Help.Link.Builder builderForValue)
public MigrationError.Builder setHelpLinks(int index, Help.Link.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | com.google.rpc.Help.Link.Builder |
Type | Description |
MigrationError.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MigrationError.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigrationError.Builder |