com.google.datastore.v1.ValueOrBuilder Maven / Gradle / Ivy
/*
* 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/entity.proto
package com.google.datastore.v1;
public interface ValueOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.datastore.v1.Value)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A null value.
*
*
* .google.protobuf.NullValue null_value = 11;
*
* @return Whether the nullValue field is set.
*/
boolean hasNullValue();
/**
*
*
*
* A null value.
*
*
* .google.protobuf.NullValue null_value = 11;
*
* @return The enum numeric value on the wire for nullValue.
*/
int getNullValueValue();
/**
*
*
*
* A null value.
*
*
* .google.protobuf.NullValue null_value = 11;
*
* @return The nullValue.
*/
com.google.protobuf.NullValue getNullValue();
/**
*
*
*
* A boolean value.
*
*
* bool boolean_value = 1;
*
* @return Whether the booleanValue field is set.
*/
boolean hasBooleanValue();
/**
*
*
*
* A boolean value.
*
*
* bool boolean_value = 1;
*
* @return The booleanValue.
*/
boolean getBooleanValue();
/**
*
*
*
* An integer value.
*
*
* int64 integer_value = 2;
*
* @return Whether the integerValue field is set.
*/
boolean hasIntegerValue();
/**
*
*
*
* An integer value.
*
*
* int64 integer_value = 2;
*
* @return The integerValue.
*/
long getIntegerValue();
/**
*
*
*
* A double value.
*
*
* double double_value = 3;
*
* @return Whether the doubleValue field is set.
*/
boolean hasDoubleValue();
/**
*
*
*
* A double value.
*
*
* double double_value = 3;
*
* @return The doubleValue.
*/
double getDoubleValue();
/**
*
*
*
* A timestamp value.
* When stored in the Datastore, precise only to microseconds;
* any additional precision is rounded down.
*
*
* .google.protobuf.Timestamp timestamp_value = 10;
*
* @return Whether the timestampValue field is set.
*/
boolean hasTimestampValue();
/**
*
*
*
* A timestamp value.
* When stored in the Datastore, precise only to microseconds;
* any additional precision is rounded down.
*
*
* .google.protobuf.Timestamp timestamp_value = 10;
*
* @return The timestampValue.
*/
com.google.protobuf.Timestamp getTimestampValue();
/**
*
*
*
* A timestamp value.
* When stored in the Datastore, precise only to microseconds;
* any additional precision is rounded down.
*
*
* .google.protobuf.Timestamp timestamp_value = 10;
*/
com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
/**
*
*
*
* A key value.
*
*
* .google.datastore.v1.Key key_value = 5;
*
* @return Whether the keyValue field is set.
*/
boolean hasKeyValue();
/**
*
*
*
* A key value.
*
*
* .google.datastore.v1.Key key_value = 5;
*
* @return The keyValue.
*/
com.google.datastore.v1.Key getKeyValue();
/**
*
*
*
* A key value.
*
*
* .google.datastore.v1.Key key_value = 5;
*/
com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder();
/**
*
*
*
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
*
*
* string string_value = 17;
*
* @return Whether the stringValue field is set.
*/
boolean hasStringValue();
/**
*
*
*
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
*
*
* string string_value = 17;
*
* @return The stringValue.
*/
java.lang.String getStringValue();
/**
*
*
*
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
*
*
* string string_value = 17;
*
* @return The bytes for stringValue.
*/
com.google.protobuf.ByteString getStringValueBytes();
/**
*
*
*
* A blob value.
* May have at most 1,000,000 bytes.
* When `exclude_from_indexes` is false, may have at most 1500 bytes.
* In JSON requests, must be base64-encoded.
*
*
* bytes blob_value = 18;
*
* @return Whether the blobValue field is set.
*/
boolean hasBlobValue();
/**
*
*
*
* A blob value.
* May have at most 1,000,000 bytes.
* When `exclude_from_indexes` is false, may have at most 1500 bytes.
* In JSON requests, must be base64-encoded.
*
*
* bytes blob_value = 18;
*
* @return The blobValue.
*/
com.google.protobuf.ByteString getBlobValue();
/**
*
*
*
* A geo point value representing a point on the surface of Earth.
*
*
* .google.type.LatLng geo_point_value = 8;
*
* @return Whether the geoPointValue field is set.
*/
boolean hasGeoPointValue();
/**
*
*
*
* A geo point value representing a point on the surface of Earth.
*
*
* .google.type.LatLng geo_point_value = 8;
*
* @return The geoPointValue.
*/
com.google.type.LatLng getGeoPointValue();
/**
*
*
*
* A geo point value representing a point on the surface of Earth.
*
*
* .google.type.LatLng geo_point_value = 8;
*/
com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder();
/**
*
*
*
* An entity value.
*
* - May have no key.
* - May have a key with an incomplete key path.
* - May have a reserved/read-only key.
*
*
* .google.datastore.v1.Entity entity_value = 6;
*
* @return Whether the entityValue field is set.
*/
boolean hasEntityValue();
/**
*
*
*
* An entity value.
*
* - May have no key.
* - May have a key with an incomplete key path.
* - May have a reserved/read-only key.
*
*
* .google.datastore.v1.Entity entity_value = 6;
*
* @return The entityValue.
*/
com.google.datastore.v1.Entity getEntityValue();
/**
*
*
*
* An entity value.
*
* - May have no key.
* - May have a key with an incomplete key path.
* - May have a reserved/read-only key.
*
*
* .google.datastore.v1.Entity entity_value = 6;
*/
com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder();
/**
*
*
*
* An array value.
* Cannot contain another array value.
* A `Value` instance that sets field `array_value` must not set fields
* `meaning` or `exclude_from_indexes`.
*
*
* .google.datastore.v1.ArrayValue array_value = 9;
*
* @return Whether the arrayValue field is set.
*/
boolean hasArrayValue();
/**
*
*
*
* An array value.
* Cannot contain another array value.
* A `Value` instance that sets field `array_value` must not set fields
* `meaning` or `exclude_from_indexes`.
*
*
* .google.datastore.v1.ArrayValue array_value = 9;
*
* @return The arrayValue.
*/
com.google.datastore.v1.ArrayValue getArrayValue();
/**
*
*
*
* An array value.
* Cannot contain another array value.
* A `Value` instance that sets field `array_value` must not set fields
* `meaning` or `exclude_from_indexes`.
*
*
* .google.datastore.v1.ArrayValue array_value = 9;
*/
com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder();
/**
*
*
*
* The `meaning` field should only be populated for backwards compatibility.
*
*
* int32 meaning = 14;
*
* @return The meaning.
*/
int getMeaning();
/**
*
*
*
* If the value should be excluded from all indexes including those defined
* explicitly.
*
*
* bool exclude_from_indexes = 19;
*
* @return The excludeFromIndexes.
*/
boolean getExcludeFromIndexes();
com.google.datastore.v1.Value.ValueTypeCase getValueTypeCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy