- 1.52.0 (latest)
- 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()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.rpc.Help.Link> |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Help.Link |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Help.Link.Builder |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
com.google.rpc.Help.Link |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
com.google.rpc.Help.Link.Builder |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Help.Link.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
build()
public MigrationError build()
Returns | |
---|---|
Type | Description |
MigrationError |
buildPartial()
public MigrationError buildPartial()
Returns | |
---|---|
Type | Description |
MigrationError |
clear()
public MigrationError.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
clearField(Descriptors.FieldDescriptor field)
public MigrationError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
clone()
public MigrationError.Builder clone()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public MigrationError getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MigrationError |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the errorTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
mergeFrom(MigrationError other)
public MigrationError.Builder mergeFrom(MigrationError other)
Parameter | |
---|---|
Name | Description |
other |
MigrationError |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MigrationError.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.LocalizedMessage.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
MigrationError.ErrorCode The code to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for code to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.LocalizedMessage.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
com.google.rpc.Help.Link |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
com.google.rpc.Help.Link.Builder |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MigrationError.Builder |