- 1.74.0 (latest)
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 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 MigrationWarning.Builder extends GeneratedMessageV3.Builder<MigrationWarning.Builder> implements MigrationWarningOrBuilder
Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.
Protobuf type google.cloud.vmmigration.v1.MigrationWarning
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationWarning.BuilderImplements
MigrationWarningOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllHelpLinks(Iterable<? extends Help.Link> values)
public MigrationWarning.Builder addAllHelpLinks(Iterable<? extends Help.Link> values)
Output only. URL(s) pointing to additional information on handling the current warning.
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 |
MigrationWarning.Builder |
addHelpLinks(Help.Link value)
public MigrationWarning.Builder addHelpLinks(Help.Link value)
Output only. URL(s) pointing to additional information on handling the current warning.
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 |
MigrationWarning.Builder |
addHelpLinks(Help.Link.Builder builderForValue)
public MigrationWarning.Builder addHelpLinks(Help.Link.Builder builderForValue)
Output only. URL(s) pointing to additional information on handling the current warning.
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 |
MigrationWarning.Builder |
addHelpLinks(int index, Help.Link value)
public MigrationWarning.Builder addHelpLinks(int index, Help.Link value)
Output only. URL(s) pointing to additional information on handling the current warning.
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 |
MigrationWarning.Builder |
addHelpLinks(int index, Help.Link.Builder builderForValue)
public MigrationWarning.Builder addHelpLinks(int index, Help.Link.Builder builderForValue)
Output only. URL(s) pointing to additional information on handling the current warning.
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 |
MigrationWarning.Builder |
addHelpLinksBuilder()
public Help.Link.Builder addHelpLinksBuilder()
Output only. URL(s) pointing to additional information on handling the current warning.
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 warning.
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 MigrationWarning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
build()
public MigrationWarning build()
Returns | |
---|---|
Type | Description |
MigrationWarning |
buildPartial()
public MigrationWarning buildPartial()
Returns | |
---|---|
Type | Description |
MigrationWarning |
clear()
public MigrationWarning.Builder clear()
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
clearActionItem()
public MigrationWarning.Builder clearActionItem()
Output only. Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
clearCode()
public MigrationWarning.Builder clearCode()
The warning code.
.google.cloud.vmmigration.v1.MigrationWarning.WarningCode code = 1;
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MigrationWarning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
clearHelpLinks()
public MigrationWarning.Builder clearHelpLinks()
Output only. URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationWarning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
clearWarningMessage()
public MigrationWarning.Builder clearWarningMessage()
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
clearWarningTime()
public MigrationWarning.Builder clearWarningTime()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
clone()
public MigrationWarning.Builder clone()
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
getActionItem()
public LocalizedMessage getActionItem()
Output only. Suggested action for solving the warning.
.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 warning.
.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 warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessageOrBuilder |
getCode()
public MigrationWarning.WarningCode getCode()
The warning code.
.google.cloud.vmmigration.v1.MigrationWarning.WarningCode code = 1;
Returns | |
---|---|
Type | Description |
MigrationWarning.WarningCode |
The code. |
getCodeValue()
public int getCodeValue()
The warning code.
.google.cloud.vmmigration.v1.MigrationWarning.WarningCode code = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public MigrationWarning getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MigrationWarning |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHelpLinks(int index)
public Help.Link getHelpLinks(int index)
Output only. URL(s) pointing to additional information on handling the current warning.
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 warning.
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 warning.
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 warning.
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 warning.
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 warning.
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 warning.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.rpc.Help.LinkOrBuilder> |
getWarningMessage()
public LocalizedMessage getWarningMessage()
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessage |
The warningMessage. |
getWarningMessageBuilder()
public LocalizedMessage.Builder getWarningMessageBuilder()
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessage.Builder |
getWarningMessageOrBuilder()
public LocalizedMessageOrBuilder getWarningMessageOrBuilder()
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessageOrBuilder |
getWarningTime()
public Timestamp getWarningTime()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The warningTime. |
getWarningTimeBuilder()
public Timestamp.Builder getWarningTimeBuilder()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getWarningTimeOrBuilder()
public TimestampOrBuilder getWarningTimeOrBuilder()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasActionItem()
public boolean hasActionItem()
Output only. Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the actionItem field is set. |
hasWarningMessage()
public boolean hasWarningMessage()
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the warningMessage field is set. |
hasWarningTime()
public boolean hasWarningTime()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the warningTime 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 MigrationWarning.Builder mergeActionItem(LocalizedMessage value)
Output only. Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
mergeFrom(MigrationWarning other)
public MigrationWarning.Builder mergeFrom(MigrationWarning other)
Parameter | |
---|---|
Name | Description |
other |
MigrationWarning |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationWarning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MigrationWarning.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationWarning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
mergeWarningMessage(LocalizedMessage value)
public MigrationWarning.Builder mergeWarningMessage(LocalizedMessage value)
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
mergeWarningTime(Timestamp value)
public MigrationWarning.Builder mergeWarningTime(Timestamp value)
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
removeHelpLinks(int index)
public MigrationWarning.Builder removeHelpLinks(int index)
Output only. URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setActionItem(LocalizedMessage value)
public MigrationWarning.Builder setActionItem(LocalizedMessage value)
Output only. Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setActionItem(LocalizedMessage.Builder builderForValue)
public MigrationWarning.Builder setActionItem(LocalizedMessage.Builder builderForValue)
Output only. Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.LocalizedMessage.Builder |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setCode(MigrationWarning.WarningCode value)
public MigrationWarning.Builder setCode(MigrationWarning.WarningCode value)
The warning code.
.google.cloud.vmmigration.v1.MigrationWarning.WarningCode code = 1;
Parameter | |
---|---|
Name | Description |
value |
MigrationWarning.WarningCode The code to set. |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
This builder for chaining. |
setCodeValue(int value)
public MigrationWarning.Builder setCodeValue(int value)
The warning code.
.google.cloud.vmmigration.v1.MigrationWarning.WarningCode code = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for code to set. |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationWarning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setHelpLinks(int index, Help.Link value)
public MigrationWarning.Builder setHelpLinks(int index, Help.Link value)
Output only. URL(s) pointing to additional information on handling the current warning.
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 |
MigrationWarning.Builder |
setHelpLinks(int index, Help.Link.Builder builderForValue)
public MigrationWarning.Builder setHelpLinks(int index, Help.Link.Builder builderForValue)
Output only. URL(s) pointing to additional information on handling the current warning.
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 |
MigrationWarning.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationWarning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationWarning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setWarningMessage(LocalizedMessage value)
public MigrationWarning.Builder setWarningMessage(LocalizedMessage value)
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setWarningMessage(LocalizedMessage.Builder builderForValue)
public MigrationWarning.Builder setWarningMessage(LocalizedMessage.Builder builderForValue)
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.LocalizedMessage.Builder |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setWarningTime(Timestamp value)
public MigrationWarning.Builder setWarningTime(Timestamp value)
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setWarningTime(Timestamp.Builder builderForValue)
public MigrationWarning.Builder setWarningTime(Timestamp.Builder builderForValue)
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |