Send feedback
  
   
 
  
    
      Class AnalyzeMoveRequest (3.82.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  AnalyzeMoveRequest   extends   GeneratedMessageV3   implements   AnalyzeMoveRequestOrBuilder  
   The request message for performing resource move analysis.
 Protobuf type google.cloud.asset.v1.AnalyzeMoveRequest
    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
   
  DESTINATION_PARENT_FIELD_NUMBER 
  
    
public   static   final   int   DESTINATION_PARENT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  RESOURCE_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  VIEW_FIELD_NUMBER 
  
    
public   static   final   int   VIEW_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   AnalyzeMoveRequest   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   AnalyzeMoveRequest . Builder   newBuilder ()  
  
  newBuilder(AnalyzeMoveRequest prototype) 
  
    
public   static   AnalyzeMoveRequest . Builder   newBuilder ( AnalyzeMoveRequest   prototype )  
  
  
  
    
public   static   AnalyzeMoveRequest   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   AnalyzeMoveRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   AnalyzeMoveRequest   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AnalyzeMoveRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   AnalyzeMoveRequest   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AnalyzeMoveRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   AnalyzeMoveRequest   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   AnalyzeMoveRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   AnalyzeMoveRequest   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   AnalyzeMoveRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   AnalyzeMoveRequest   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AnalyzeMoveRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<AnalyzeMoveRequest>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   AnalyzeMoveRequest   getDefaultInstanceForType ()  
  
  getDestinationParent() 
  
    
public   String   getDestinationParent ()  
   Required. Name of the Google Cloud folder or organization to reparent the
 target resource. The analysis will be performed against hypothetically
 moving the resource to this specified destination parent. This can only be
 a folder number (such as "folders/123") or an organization number (such as
 "organizations/123").
 
 string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The destinationParent.
 
     
  
  getDestinationParentBytes() 
  
    
public   ByteString   getDestinationParentBytes ()  
   Required. Name of the Google Cloud folder or organization to reparent the
 target resource. The analysis will be performed against hypothetically
 moving the resource to this specified destination parent. This can only be
 a folder number (such as "folders/123") or an organization number (such as
 "organizations/123").
 
 string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for destinationParent.
 
     
  
  getParserForType() 
  
    
public   Parser<AnalyzeMoveRequest>   getParserForType ()  
  
  Overrides 
  
  getResource() 
  
    
public   String   getResource ()  
   Required. Name of the resource to perform the analysis against.
 Only Google Cloud projects are supported as of today. Hence, this can only
 be a project ID (such as "projects/my-project-id") or a project number
 (such as "projects/12345").
 
 string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The resource.
 
     
  
  getResourceBytes() 
  
    
public   ByteString   getResourceBytes ()  
   Required. Name of the resource to perform the analysis against.
 Only Google Cloud projects are supported as of today. Hence, this can only
 be a project ID (such as "projects/my-project-id") or a project number
 (such as "projects/12345").
 
 string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for resource.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getView() 
  
    
public   AnalyzeMoveRequest . AnalysisView   getView ()  
   Analysis view indicating what information should be included in the
 analysis response. If unspecified, the default view is FULL.
 .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
getViewValue() 
  
    
public   int   getViewValue ()  
   Analysis view indicating what information should be included in the
 analysis response. If unspecified, the default view is FULL.
 .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for view.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   AnalyzeMoveRequest . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   AnalyzeMoveRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   AnalyzeMoveRequest . 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-10-28 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-10-28 UTC."],[],[]]