Class BatchDeleteAssetsRequest (0.3.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.3.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  BatchDeleteAssetsRequest   extends   GeneratedMessageV3   implements   BatchDeleteAssetsRequestOrBuilder  
   A request to delete a list of  asset.
 Protobuf type google.cloud.migrationcenter.v1.BatchDeleteAssetsRequest
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  ALLOW_MISSING_FIELD_NUMBER 
  
    
public   static   final   int   ALLOW_MISSING_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NAMES_FIELD_NUMBER 
  
    
public   static   final   int   NAMES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PARENT_FIELD_NUMBER 
  
    
public   static   final   int   PARENT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   BatchDeleteAssetsRequest   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   BatchDeleteAssetsRequest . Builder   newBuilder ()  
  
  newBuilder(BatchDeleteAssetsRequest prototype) 
  
    
public   static   BatchDeleteAssetsRequest . Builder   newBuilder ( BatchDeleteAssetsRequest   prototype )  
  
  
  
    
public   static   BatchDeleteAssetsRequest   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   BatchDeleteAssetsRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BatchDeleteAssetsRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<BatchDeleteAssetsRequest>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getAllowMissing() 
  
    
public   boolean   getAllowMissing ()  
   Optional. When this value is set to true the request is a no-op for
 non-existing assets. See https://google.aip.dev/135#delete-if-existing  for
 additional details. Default value is false.
 bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The allowMissing.
 
     
  
  getDefaultInstanceForType() 
  
    
public   BatchDeleteAssetsRequest   getDefaultInstanceForType ()  
  
  getNames(int index) 
  
    
public   String   getNames ( int   index )  
   Required. The IDs of the assets to delete.
 A maximum of 1000 assets can be deleted in a batch.
 Format: projects/{project}/locations/{location}/assets/{name}.
 
 repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The names at the given index.
 
     
  
  getNamesBytes(int index) 
  
    
public   ByteString   getNamesBytes ( int   index )  
   Required. The IDs of the assets to delete.
 A maximum of 1000 assets can be deleted in a batch.
 Format: projects/{project}/locations/{location}/assets/{name}.
 
 repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the names at the given index.
 
     
  
  getNamesCount() 
  
    
public   int   getNamesCount ()  
   Required. The IDs of the assets to delete.
 A maximum of 1000 assets can be deleted in a batch.
 Format: projects/{project}/locations/{location}/assets/{name}.
 
 repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        int The count of names.
 
     
  
  getNamesList() 
  
    
public   ProtocolStringList   getNamesList ()  
   Required. The IDs of the assets to delete.
 A maximum of 1000 assets can be deleted in a batch.
 Format: projects/{project}/locations/{location}/assets/{name}.
 
 repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
getParent() 
  
    
public   String   getParent ()  
   Required. Parent value for batch asset delete.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The parent.
 
     
  
  getParentBytes() 
  
    
public   ByteString   getParentBytes ()  
   Required. Parent value for batch asset delete.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for parent.
 
     
  
  getParserForType() 
  
    
public   Parser<BatchDeleteAssetsRequest>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   BatchDeleteAssetsRequest . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   BatchDeleteAssetsRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   BatchDeleteAssetsRequest . 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-11 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-11 UTC."],[],[]]