Send feedback
Class MigrationWarning (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
public final class MigrationWarning extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTION_ITEM_FIELD_NUMBER
public static final int ACTION_ITEM_FIELD_NUMBER
Field Value
Type
Description
int
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
Field Value
Type
Description
int
HELP_LINKS_FIELD_NUMBER
public static final int HELP_LINKS_FIELD_NUMBER
Field Value
Type
Description
int
WARNING_MESSAGE_FIELD_NUMBER
public static final int WARNING_MESSAGE_FIELD_NUMBER
Field Value
Type
Description
int
WARNING_TIME_FIELD_NUMBER
public static final int WARNING_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static MigrationWarning getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static MigrationWarning . Builder newBuilder ()
newBuilder(MigrationWarning prototype)
public static MigrationWarning . Builder newBuilder ( MigrationWarning prototype )
public static MigrationWarning parseDelimitedFrom ( InputStream input )
public static MigrationWarning parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static MigrationWarning parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationWarning parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static MigrationWarning parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationWarning parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static MigrationWarning parseFrom ( CodedInputStream input )
public static MigrationWarning parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static MigrationWarning parseFrom ( InputStream input )
public static MigrationWarning parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static MigrationWarning parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationWarning parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<MigrationWarning> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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.
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;
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 ()
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
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 >
getParserForType()
public Parser<MigrationWarning> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
getWarningMessage()
public LocalizedMessage getWarningMessage ()
The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2;
Returns
Type
Description
com.google.rpc.LocalizedMessage
The warningMessage.
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.
getWarningTimeOrBuilder()
public TimestampOrBuilder getWarningTimeOrBuilder ()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public MigrationWarning . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationWarning . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public MigrationWarning . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]