com.google.datastore.v1.EntityOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datastore-v1-protos Show documentation
Show all versions of datastore-v1-protos Show documentation
Protocol buffers for accessing the Google Cloud Datastore API.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/datastore/v1/entity.proto
package com.google.datastore.v1;
public interface EntityOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.datastore.v1.Entity)
com.google.protobuf.MessageOrBuilder {
/**
*
* The entity's key.
* An entity must have a key, unless otherwise documented (for example,
* an entity in `Value.entity_value` may have no key).
* An entity's kind is its key path's last element's kind,
* or null if it has no key.
*
*
* optional .google.datastore.v1.Key key = 1;
*/
boolean hasKey();
/**
*
* The entity's key.
* An entity must have a key, unless otherwise documented (for example,
* an entity in `Value.entity_value` may have no key).
* An entity's kind is its key path's last element's kind,
* or null if it has no key.
*
*
* optional .google.datastore.v1.Key key = 1;
*/
com.google.datastore.v1.Key getKey();
/**
*
* The entity's key.
* An entity must have a key, unless otherwise documented (for example,
* an entity in `Value.entity_value` may have no key).
* An entity's kind is its key path's last element's kind,
* or null if it has no key.
*
*
* optional .google.datastore.v1.Key key = 1;
*/
com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder();
/**
*
* The entity's properties.
* The map's keys are property names.
* A property name matching regex `__.*__` is reserved.
* A reserved property name is forbidden in certain documented contexts.
* The name must not contain more than 500 characters.
* The name cannot be `""`.
*
*
* map<string, .google.datastore.v1.Value> properties = 3;
*/
int getPropertiesCount();
/**
*
* The entity's properties.
* The map's keys are property names.
* A property name matching regex `__.*__` is reserved.
* A reserved property name is forbidden in certain documented contexts.
* The name must not contain more than 500 characters.
* The name cannot be `""`.
*
*
* map<string, .google.datastore.v1.Value> properties = 3;
*/
boolean containsProperties(
java.lang.String key);
/**
* Use {@link #getPropertiesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getProperties();
/**
*
* The entity's properties.
* The map's keys are property names.
* A property name matching regex `__.*__` is reserved.
* A reserved property name is forbidden in certain documented contexts.
* The name must not contain more than 500 characters.
* The name cannot be `""`.
*
*
* map<string, .google.datastore.v1.Value> properties = 3;
*/
java.util.Map
getPropertiesMap();
/**
*
* The entity's properties.
* The map's keys are property names.
* A property name matching regex `__.*__` is reserved.
* A reserved property name is forbidden in certain documented contexts.
* The name must not contain more than 500 characters.
* The name cannot be `""`.
*
*
* map<string, .google.datastore.v1.Value> properties = 3;
*/
com.google.datastore.v1.Value getPropertiesOrDefault(
java.lang.String key,
com.google.datastore.v1.Value defaultValue);
/**
*
* The entity's properties.
* The map's keys are property names.
* A property name matching regex `__.*__` is reserved.
* A reserved property name is forbidden in certain documented contexts.
* The name must not contain more than 500 characters.
* The name cannot be `""`.
*
*
* map<string, .google.datastore.v1.Value> properties = 3;
*/
com.google.datastore.v1.Value getPropertiesOrThrow(
java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy