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.events.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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
com.google.rpc.Help.Link.Builder |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
addHelpLinksBuilder()
public Help.Link.Builder addHelpLinksBuilder()
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Returns | |
---|---|
Type | Description |
com.google.rpc.Help.Link.Builder |
addHelpLinksBuilder(int index)
public Help.Link.Builder addHelpLinksBuilder(int index)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
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()
Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3;
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
clearCode()
public MigrationWarning.Builder clearCode()
The warning code.
.google.events.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()
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
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()
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
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()
Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessage |
The actionItem. |
getActionItemBuilder()
public LocalizedMessage.Builder getActionItemBuilder()
Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessage.Builder |
getActionItemOrBuilder()
public LocalizedMessageOrBuilder getActionItemOrBuilder()
Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessageOrBuilder |
getCode()
public MigrationWarning.WarningCode getCode()
The warning code.
.google.events.cloud.vmmigration.v1.MigrationWarning.WarningCode code = 1;
Returns | |
---|---|
Type | Description |
MigrationWarning.WarningCode |
The code. |
getCodeValue()
public int getCodeValue()
The warning code.
.google.events.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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Help.Link |
getHelpLinksBuilder(int index)
public Help.Link.Builder getHelpLinksBuilder(int index)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Help.Link.Builder |
getHelpLinksBuilderList()
public List<Help.Link.Builder> getHelpLinksBuilderList()
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Returns | |
---|---|
Type | Description |
List<com.google.rpc.Help.Link.Builder> |
getHelpLinksCount()
public int getHelpLinksCount()
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Returns | |
---|---|
Type | Description |
int |
getHelpLinksList()
public List<Help.Link> getHelpLinksList()
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Returns | |
---|---|
Type | Description |
List<com.google.rpc.Help.Link> |
getHelpLinksOrBuilder(int index)
public Help.LinkOrBuilder getHelpLinksOrBuilder(int index)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Help.LinkOrBuilder |
getHelpLinksOrBuilderList()
public List<? extends Help.LinkOrBuilder> getHelpLinksOrBuilderList()
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.rpc.Help.LinkOrBuilder> |
getWarningMessage()
public LocalizedMessage getWarningMessage()
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessage |
The warningMessage. |
getWarningMessageBuilder()
public LocalizedMessage.Builder getWarningMessageBuilder()
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
Returns | |
---|---|
Type | Description |
com.google.rpc.LocalizedMessage.Builder |
getWarningMessageOrBuilder()
public LocalizedMessageOrBuilder getWarningMessageOrBuilder()
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
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()
Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the actionItem field is set. |
hasWarningMessage()
public boolean hasWarningMessage()
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
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)
Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3;
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)
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setActionItem(LocalizedMessage value)
public MigrationWarning.Builder setActionItem(LocalizedMessage value)
Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setActionItem(LocalizedMessage.Builder builderForValue)
public MigrationWarning.Builder setActionItem(LocalizedMessage.Builder builderForValue)
Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3;
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.events.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.events.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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
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)
URL(s) pointing to additional information on handling the current warning.
repeated .google.rpc.Help.Link help_links = 4;
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)
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.LocalizedMessage |
Returns | |
---|---|
Type | Description |
MigrationWarning.Builder |
setWarningMessage(LocalizedMessage.Builder builderForValue)
public MigrationWarning.Builder setWarningMessage(LocalizedMessage.Builder builderForValue)
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
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 |