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

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

There is a newer version: 2.0.32
Show newest version
/*
 * Copyright 2023 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 MutationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.datastore.v1.Mutation)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The entity to insert. The entity must not already exist.
   * The entity key's final path element may be incomplete.
   * 
* * .google.datastore.v1.Entity insert = 4; * * @return Whether the insert field is set. */ boolean hasInsert(); /** * * *
   * The entity to insert. The entity must not already exist.
   * The entity key's final path element may be incomplete.
   * 
* * .google.datastore.v1.Entity insert = 4; * * @return The insert. */ com.google.datastore.v1.Entity getInsert(); /** * * *
   * The entity to insert. The entity must not already exist.
   * The entity key's final path element may be incomplete.
   * 
* * .google.datastore.v1.Entity insert = 4; */ com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder(); /** * * *
   * The entity to update. The entity must already exist.
   * Must have a complete key path.
   * 
* * .google.datastore.v1.Entity update = 5; * * @return Whether the update field is set. */ boolean hasUpdate(); /** * * *
   * The entity to update. The entity must already exist.
   * Must have a complete key path.
   * 
* * .google.datastore.v1.Entity update = 5; * * @return The update. */ com.google.datastore.v1.Entity getUpdate(); /** * * *
   * The entity to update. The entity must already exist.
   * Must have a complete key path.
   * 
* * .google.datastore.v1.Entity update = 5; */ com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder(); /** * * *
   * The entity to upsert. The entity may or may not already exist.
   * The entity key's final path element may be incomplete.
   * 
* * .google.datastore.v1.Entity upsert = 6; * * @return Whether the upsert field is set. */ boolean hasUpsert(); /** * * *
   * The entity to upsert. The entity may or may not already exist.
   * The entity key's final path element may be incomplete.
   * 
* * .google.datastore.v1.Entity upsert = 6; * * @return The upsert. */ com.google.datastore.v1.Entity getUpsert(); /** * * *
   * The entity to upsert. The entity may or may not already exist.
   * The entity key's final path element may be incomplete.
   * 
* * .google.datastore.v1.Entity upsert = 6; */ com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder(); /** * * *
   * The key of the entity to delete. The entity may or may not already exist.
   * Must have a complete key path and must not be reserved/read-only.
   * 
* * .google.datastore.v1.Key delete = 7; * * @return Whether the delete field is set. */ boolean hasDelete(); /** * * *
   * The key of the entity to delete. The entity may or may not already exist.
   * Must have a complete key path and must not be reserved/read-only.
   * 
* * .google.datastore.v1.Key delete = 7; * * @return The delete. */ com.google.datastore.v1.Key getDelete(); /** * * *
   * The key of the entity to delete. The entity may or may not already exist.
   * Must have a complete key path and must not be reserved/read-only.
   * 
* * .google.datastore.v1.Key delete = 7; */ com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder(); /** * * *
   * The version of the entity that this mutation is being applied
   * to. If this does not match the current version on the server, the
   * mutation conflicts.
   * 
* * int64 base_version = 8; * * @return Whether the baseVersion field is set. */ boolean hasBaseVersion(); /** * * *
   * The version of the entity that this mutation is being applied
   * to. If this does not match the current version on the server, the
   * mutation conflicts.
   * 
* * int64 base_version = 8; * * @return The baseVersion. */ long getBaseVersion(); /** * * *
   * The update time of the entity that this mutation is being applied
   * to. If this does not match the current update time on the server, the
   * mutation conflicts.
   * 
* * .google.protobuf.Timestamp update_time = 11; * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * The update time of the entity that this mutation is being applied
   * to. If this does not match the current update time on the server, the
   * mutation conflicts.
   * 
* * .google.protobuf.Timestamp update_time = 11; * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** * * *
   * The update time of the entity that this mutation is being applied
   * to. If this does not match the current update time on the server, the
   * mutation conflicts.
   * 
* * .google.protobuf.Timestamp update_time = 11; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); com.google.datastore.v1.Mutation.OperationCase getOperationCase(); com.google.datastore.v1.Mutation.ConflictDetectionStrategyCase getConflictDetectionStrategyCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy