Class MigrationWarning (1.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.76.0keyboard_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.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  
      
        databyte [] 
     
  
  
  
  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  
      
        objObject  
     
  
  
  Overrides 
  
  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.
 
     
  
  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;
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 ()  
  
  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  
      
        indexint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.rpc.Help.Link  
     
  
  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  
      
        indexint  
     
  
  
    
      
        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 > 
     
  
  getParserForType() 
  
    
public   Parser<MigrationWarning>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  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.
 
     
  
  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.
 
     
  
  getWarningTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getWarningTimeOrBuilder ()  
   The time the warning occurred.
 .google.protobuf.Timestamp warning_time = 5;
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.
 
     
  
  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 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]