Send feedback
  
   
 
  
    
      Class MutationAction.Mod (6.62.0)
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
   
  
    
  
  
    
    
    
    
  Version 6.62.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  MutationAction . Mod   extends   GeneratedMessageV3   implements   MutationAction . ModOrBuilder  
   Mod represents the write action that will be perform to a table. Each mod
 will specify exactly one action, from insert, update, insert_or_update,
 replace and delete.
 Protobuf type google.spanner.executor.v1.MutationAction.Mod
    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
   
  DELETE_KEYS_FIELD_NUMBER 
  
    
public   static   final   int   DELETE_KEYS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  INSERT_FIELD_NUMBER 
  
    
public   static   final   int   INSERT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  INSERT_OR_UPDATE_FIELD_NUMBER 
  
    
public   static   final   int   INSERT_OR_UPDATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  REPLACE_FIELD_NUMBER 
  
    
public   static   final   int   REPLACE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TABLE_FIELD_NUMBER 
  
    
public   static   final   int   TABLE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  UPDATE_FIELD_NUMBER 
  
    
public   static   final   int   UPDATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   MutationAction . Mod   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   MutationAction . Mod . Builder   newBuilder ()  
  
  newBuilder(MutationAction.Mod prototype) 
  
    
public   static   MutationAction . Mod . Builder   newBuilder ( MutationAction . Mod   prototype )  
  
  
  
    
public   static   MutationAction . Mod   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   MutationAction . Mod   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   MutationAction . Mod   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MutationAction . Mod   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   MutationAction . Mod   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MutationAction . Mod   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   MutationAction . Mod   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   MutationAction . Mod   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   MutationAction . Mod   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   MutationAction . Mod   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   MutationAction . Mod   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MutationAction . Mod   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<MutationAction . Mod >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   MutationAction . Mod   getDefaultInstanceForType ()  
  
  getDeleteKeys() 
  
    
public   KeySet   getDeleteKeys ()  
   Delete rows from "table".
 .google.spanner.executor.v1.KeySet delete_keys = 6;
    
      
        Returns  
      
        Type Description  
      
        KeySet The deleteKeys.
 
     
  
  getDeleteKeysOrBuilder() 
  
    
public   KeySetOrBuilder   getDeleteKeysOrBuilder ()  
   Delete rows from "table".
 .google.spanner.executor.v1.KeySet delete_keys = 6;
getInsert() 
  
    
public   MutationAction . InsertArgs   getInsert ()  
   Exactly one of the remaining elements may be present.
 Insert new rows into "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2;
getInsertOrBuilder() 
  
    
public   MutationAction . InsertArgsOrBuilder   getInsertOrBuilder ()  
   Exactly one of the remaining elements may be present.
 Insert new rows into "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2;
getInsertOrUpdate() 
  
    
public   MutationAction . InsertArgs   getInsertOrUpdate ()  
   Insert or update existing rows of "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4;
getInsertOrUpdateOrBuilder() 
  
    
public   MutationAction . InsertArgsOrBuilder   getInsertOrUpdateOrBuilder ()  
   Insert or update existing rows of "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4;
getParserForType() 
  
    
public   Parser<MutationAction . Mod >  getParserForType ()  
  
  Overrides 
  
  getReplace() 
  
    
public   MutationAction . InsertArgs   getReplace ()  
   Replace existing rows of "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5;
getReplaceOrBuilder() 
  
    
public   MutationAction . InsertArgsOrBuilder   getReplaceOrBuilder ()  
   Replace existing rows of "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5;
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getTable() 
  
   The table to write.
 string table = 1;
    
      
        Returns  
      
        Type Description  
      
        String The table.
 
     
  
  getTableBytes() 
  
    
public   ByteString   getTableBytes ()  
   The table to write.
 string table = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for table.
 
     
  
  getUpdate() 
  
    
public   MutationAction . UpdateArgs   getUpdate ()  
   Update columns stored in existing rows of "table".
 .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3;
getUpdateOrBuilder() 
  
    
public   MutationAction . UpdateArgsOrBuilder   getUpdateOrBuilder ()  
   Update columns stored in existing rows of "table".
 .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3;
hasDeleteKeys() 
  
    
public   boolean   hasDeleteKeys ()  
   Delete rows from "table".
 .google.spanner.executor.v1.KeySet delete_keys = 6;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the deleteKeys field is set.
 
     
  
  hasInsert() 
  
    
public   boolean   hasInsert ()  
   Exactly one of the remaining elements may be present.
 Insert new rows into "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the insert field is set.
 
     
  
  hasInsertOrUpdate() 
  
    
public   boolean   hasInsertOrUpdate ()  
   Insert or update existing rows of "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the insertOrUpdate field is set.
 
     
  
  hasReplace() 
  
    
public   boolean   hasReplace ()  
   Replace existing rows of "table".
 .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the replace field is set.
 
     
  
  hasUpdate() 
  
    
public   boolean   hasUpdate ()  
   Update columns stored in existing rows of "table".
 .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the update field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   MutationAction . Mod . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   MutationAction . Mod . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   MutationAction . Mod . 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-29 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-29 UTC."],[],[]]