nl.topicus.jdbc.shaded.com.google.spanner.v1.MutationOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/spanner/v1/mutation.proto
package nl.topicus.jdbc.shaded.com.google.spanner.v1;
public interface MutationOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation)
nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* Insert new rows in a table. If any of the rows already exist,
* the write or transaction fails with error `ALREADY_EXISTS`.
*
*
* .google.spanner.v1.Mutation.Write insert = 1;
*/
boolean hasInsert();
/**
*
* Insert new rows in a table. If any of the rows already exist,
* the write or transaction fails with error `ALREADY_EXISTS`.
*
*
* .google.spanner.v1.Mutation.Write insert = 1;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.Write getInsert();
/**
*
* Insert new rows in a table. If any of the rows already exist,
* the write or transaction fails with error `ALREADY_EXISTS`.
*
*
* .google.spanner.v1.Mutation.Write insert = 1;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder();
/**
*
* Update existing rows in a table. If any of the rows does not
* already exist, the transaction fails with error `NOT_FOUND`.
*
*
* .google.spanner.v1.Mutation.Write update = 2;
*/
boolean hasUpdate();
/**
*
* Update existing rows in a table. If any of the rows does not
* already exist, the transaction fails with error `NOT_FOUND`.
*
*
* .google.spanner.v1.Mutation.Write update = 2;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.Write getUpdate();
/**
*
* Update existing rows in a table. If any of the rows does not
* already exist, the transaction fails with error `NOT_FOUND`.
*
*
* .google.spanner.v1.Mutation.Write update = 2;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder();
/**
*
* Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
* its column values are overwritten with the ones provided. Any
* column values not explicitly written are preserved.
*
*
* .google.spanner.v1.Mutation.Write insert_or_update = 3;
*/
boolean hasInsertOrUpdate();
/**
*
* Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
* its column values are overwritten with the ones provided. Any
* column values not explicitly written are preserved.
*
*
* .google.spanner.v1.Mutation.Write insert_or_update = 3;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.Write getInsertOrUpdate();
/**
*
* Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
* its column values are overwritten with the ones provided. Any
* column values not explicitly written are preserved.
*
*
* .google.spanner.v1.Mutation.Write insert_or_update = 3;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder();
/**
*
* Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
* deleted, and the column values provided are inserted
* instead. Unlike [insert_or_update][google.spanner.v1.Mutation.insert_or_update], this means any values not
* explicitly written become `NULL`.
*
*
* .google.spanner.v1.Mutation.Write replace = 4;
*/
boolean hasReplace();
/**
*
* Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
* deleted, and the column values provided are inserted
* instead. Unlike [insert_or_update][google.spanner.v1.Mutation.insert_or_update], this means any values not
* explicitly written become `NULL`.
*
*
* .google.spanner.v1.Mutation.Write replace = 4;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.Write getReplace();
/**
*
* Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
* deleted, and the column values provided are inserted
* instead. Unlike [insert_or_update][google.spanner.v1.Mutation.insert_or_update], this means any values not
* explicitly written become `NULL`.
*
*
* .google.spanner.v1.Mutation.Write replace = 4;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder();
/**
*
* Delete rows from a table. Succeeds whether or not the named
* rows were present.
*
*
* .google.spanner.v1.Mutation.Delete delete = 5;
*/
boolean hasDelete();
/**
*
* Delete rows from a table. Succeeds whether or not the named
* rows were present.
*
*
* .google.spanner.v1.Mutation.Delete delete = 5;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.Delete getDelete();
/**
*
* Delete rows from a table. Succeeds whether or not the named
* rows were present.
*
*
* .google.spanner.v1.Mutation.Delete delete = 5;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder();
public nl.topicus.jdbc.shaded.com.google.spanner.v1.Mutation.OperationCase getOperationCase();
}