All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.datastore.v1.CommitRequestOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/datastore/v1/datastore.proto

package com.google.datastore.v1;

public interface CommitRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.datastore.v1.CommitRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * The ID of the project against which to make the request.
   * 
* * optional string project_id = 8; */ java.lang.String getProjectId(); /** *
   * The ID of the project against which to make the request.
   * 
* * optional string project_id = 8; */ com.google.protobuf.ByteString getProjectIdBytes(); /** *
   * The type of commit to perform. Defaults to `TRANSACTIONAL`.
   * 
* * optional .google.datastore.v1.CommitRequest.Mode mode = 5; */ int getModeValue(); /** *
   * The type of commit to perform. Defaults to `TRANSACTIONAL`.
   * 
* * optional .google.datastore.v1.CommitRequest.Mode mode = 5; */ com.google.datastore.v1.CommitRequest.Mode getMode(); /** *
   * The identifier of the transaction associated with the commit. A
   * transaction identifier is returned by a call to
   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
   * 
* * optional bytes transaction = 1; */ com.google.protobuf.ByteString getTransaction(); /** *
   * The mutations to perform.
   * When mode is `TRANSACTIONAL`, mutations affecting a single entity are
   * applied in order. The following sequences of mutations affecting a single
   * entity are not permitted in a single `Commit` request:
   * - `insert` followed by `insert`
   * - `update` followed by `insert`
   * - `upsert` followed by `insert`
   * - `delete` followed by `update`
   * When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single
   * entity.
   * 
* * repeated .google.datastore.v1.Mutation mutations = 6; */ java.util.List getMutationsList(); /** *
   * The mutations to perform.
   * When mode is `TRANSACTIONAL`, mutations affecting a single entity are
   * applied in order. The following sequences of mutations affecting a single
   * entity are not permitted in a single `Commit` request:
   * - `insert` followed by `insert`
   * - `update` followed by `insert`
   * - `upsert` followed by `insert`
   * - `delete` followed by `update`
   * When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single
   * entity.
   * 
* * repeated .google.datastore.v1.Mutation mutations = 6; */ com.google.datastore.v1.Mutation getMutations(int index); /** *
   * The mutations to perform.
   * When mode is `TRANSACTIONAL`, mutations affecting a single entity are
   * applied in order. The following sequences of mutations affecting a single
   * entity are not permitted in a single `Commit` request:
   * - `insert` followed by `insert`
   * - `update` followed by `insert`
   * - `upsert` followed by `insert`
   * - `delete` followed by `update`
   * When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single
   * entity.
   * 
* * repeated .google.datastore.v1.Mutation mutations = 6; */ int getMutationsCount(); /** *
   * The mutations to perform.
   * When mode is `TRANSACTIONAL`, mutations affecting a single entity are
   * applied in order. The following sequences of mutations affecting a single
   * entity are not permitted in a single `Commit` request:
   * - `insert` followed by `insert`
   * - `update` followed by `insert`
   * - `upsert` followed by `insert`
   * - `delete` followed by `update`
   * When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single
   * entity.
   * 
* * repeated .google.datastore.v1.Mutation mutations = 6; */ java.util.List getMutationsOrBuilderList(); /** *
   * The mutations to perform.
   * When mode is `TRANSACTIONAL`, mutations affecting a single entity are
   * applied in order. The following sequences of mutations affecting a single
   * entity are not permitted in a single `Commit` request:
   * - `insert` followed by `insert`
   * - `update` followed by `insert`
   * - `upsert` followed by `insert`
   * - `delete` followed by `update`
   * When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single
   * entity.
   * 
* * repeated .google.datastore.v1.Mutation mutations = 6; */ com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder( int index); public com.google.datastore.v1.CommitRequest.TransactionSelectorCase getTransactionSelectorCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy