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

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

Go to download

API for Google App Engine standard environment with some of the dependencies shaded (repackaged)

There is a newer version: 2.0.27
Show newest version
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// 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 {

  /**
   *
   *
   * 
   * Required. The ID of the project against which to make the request.
   * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; * * @return The projectId. */ java.lang.String getProjectId(); /** * * *
   * Required. The ID of the project against which to make the request.
   * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for projectId. */ com.google.protobuf.ByteString getProjectIdBytes(); /** * * *
   * The type of commit to perform. Defaults to `TRANSACTIONAL`.
   * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** * * *
   * The type of commit to perform. Defaults to `TRANSACTIONAL`.
   * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; * * @return The mode. */ 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].
   * 
* * bytes transaction = 1; * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** * * *
   * 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].
   * 
* * bytes transaction = 1; * * @return The transaction. */ 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 - 2024 Weber Informatics LLC | Privacy Policy