com.google.bigtable.v2.ValueOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-bigtable-v2 Show documentation
Show all versions of proto-google-cloud-bigtable-v2 Show documentation
PROTO library for proto-google-cloud-bigtable-v2
/*
* Copyright 2024 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/bigtable/v2/data.proto
// Protobuf Java Version: 3.25.4
package com.google.bigtable.v2;
public interface ValueOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.bigtable.v2.Value)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The verified `Type` of this `Value`, if it cannot be inferred.
*
* Read results will never specify the encoding for `type` since the value
* will already have been decoded by the server. Furthermore, the `type` will
* be omitted entirely if it can be inferred from a previous response. The
* exact semantics for inferring `type` will vary, and are therefore
* documented separately for each read method.
*
* When using composite types (Struct, Array, Map) only the outermost `Value`
* will specify the `type`. This top-level `type` will define the types for
* any nested `Struct' fields, `Array` elements, or `Map` key/value pairs.
* If a nested `Value` provides a `type` on write, the request will be
* rejected with INVALID_ARGUMENT.
*
*
* .google.bigtable.v2.Type type = 7;
*
* @return Whether the type field is set.
*/
boolean hasType();
/**
*
*
*
* The verified `Type` of this `Value`, if it cannot be inferred.
*
* Read results will never specify the encoding for `type` since the value
* will already have been decoded by the server. Furthermore, the `type` will
* be omitted entirely if it can be inferred from a previous response. The
* exact semantics for inferring `type` will vary, and are therefore
* documented separately for each read method.
*
* When using composite types (Struct, Array, Map) only the outermost `Value`
* will specify the `type`. This top-level `type` will define the types for
* any nested `Struct' fields, `Array` elements, or `Map` key/value pairs.
* If a nested `Value` provides a `type` on write, the request will be
* rejected with INVALID_ARGUMENT.
*
*
* .google.bigtable.v2.Type type = 7;
*
* @return The type.
*/
com.google.bigtable.v2.Type getType();
/**
*
*
*
* The verified `Type` of this `Value`, if it cannot be inferred.
*
* Read results will never specify the encoding for `type` since the value
* will already have been decoded by the server. Furthermore, the `type` will
* be omitted entirely if it can be inferred from a previous response. The
* exact semantics for inferring `type` will vary, and are therefore
* documented separately for each read method.
*
* When using composite types (Struct, Array, Map) only the outermost `Value`
* will specify the `type`. This top-level `type` will define the types for
* any nested `Struct' fields, `Array` elements, or `Map` key/value pairs.
* If a nested `Value` provides a `type` on write, the request will be
* rejected with INVALID_ARGUMENT.
*
*
* .google.bigtable.v2.Type type = 7;
*/
com.google.bigtable.v2.TypeOrBuilder getTypeOrBuilder();
/**
*
*
*
* Represents a raw byte sequence with no type information.
* The `type` field must be omitted.
*
*
* bytes raw_value = 8;
*
* @return Whether the rawValue field is set.
*/
boolean hasRawValue();
/**
*
*
*
* Represents a raw byte sequence with no type information.
* The `type` field must be omitted.
*
*
* bytes raw_value = 8;
*
* @return The rawValue.
*/
com.google.protobuf.ByteString getRawValue();
/**
*
*
*
* Represents a raw cell timestamp with no type information.
* The `type` field must be omitted.
*
*
* int64 raw_timestamp_micros = 9;
*
* @return Whether the rawTimestampMicros field is set.
*/
boolean hasRawTimestampMicros();
/**
*
*
*
* Represents a raw cell timestamp with no type information.
* The `type` field must be omitted.
*
*
* int64 raw_timestamp_micros = 9;
*
* @return The rawTimestampMicros.
*/
long getRawTimestampMicros();
/**
*
*
*
* Represents a typed value transported as a byte sequence.
*
*
* bytes bytes_value = 2;
*
* @return Whether the bytesValue field is set.
*/
boolean hasBytesValue();
/**
*
*
*
* Represents a typed value transported as a byte sequence.
*
*
* bytes bytes_value = 2;
*
* @return The bytesValue.
*/
com.google.protobuf.ByteString getBytesValue();
/**
*
*
*
* Represents a typed value transported as a string.
*
*
* string string_value = 3;
*
* @return Whether the stringValue field is set.
*/
boolean hasStringValue();
/**
*
*
*
* Represents a typed value transported as a string.
*
*
* string string_value = 3;
*
* @return The stringValue.
*/
java.lang.String getStringValue();
/**
*
*
*
* Represents a typed value transported as a string.
*
*
* string string_value = 3;
*
* @return The bytes for stringValue.
*/
com.google.protobuf.ByteString getStringValueBytes();
/**
*
*
*
* Represents a typed value transported as an integer.
*
*
* int64 int_value = 6;
*
* @return Whether the intValue field is set.
*/
boolean hasIntValue();
/**
*
*
*
* Represents a typed value transported as an integer.
*
*
* int64 int_value = 6;
*
* @return The intValue.
*/
long getIntValue();
/**
*
*
*
* Represents a typed value transported as a boolean.
*
*
* bool bool_value = 10;
*
* @return Whether the boolValue field is set.
*/
boolean hasBoolValue();
/**
*
*
*
* Represents a typed value transported as a boolean.
*
*
* bool bool_value = 10;
*
* @return The boolValue.
*/
boolean getBoolValue();
/**
*
*
*
* Represents a typed value transported as a floating point number.
*
*
* double float_value = 11;
*
* @return Whether the floatValue field is set.
*/
boolean hasFloatValue();
/**
*
*
*
* Represents a typed value transported as a floating point number.
*
*
* double float_value = 11;
*
* @return The floatValue.
*/
double getFloatValue();
/**
*
*
*
* Represents a typed value transported as a timestamp.
*
*
* .google.protobuf.Timestamp timestamp_value = 12;
*
* @return Whether the timestampValue field is set.
*/
boolean hasTimestampValue();
/**
*
*
*
* Represents a typed value transported as a timestamp.
*
*
* .google.protobuf.Timestamp timestamp_value = 12;
*
* @return The timestampValue.
*/
com.google.protobuf.Timestamp getTimestampValue();
/**
*
*
*
* Represents a typed value transported as a timestamp.
*
*
* .google.protobuf.Timestamp timestamp_value = 12;
*/
com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
/**
*
*
*
* Represents a typed value transported as a date.
*
*
* .google.type.Date date_value = 13;
*
* @return Whether the dateValue field is set.
*/
boolean hasDateValue();
/**
*
*
*
* Represents a typed value transported as a date.
*
*
* .google.type.Date date_value = 13;
*
* @return The dateValue.
*/
com.google.type.Date getDateValue();
/**
*
*
*
* Represents a typed value transported as a date.
*
*
* .google.type.Date date_value = 13;
*/
com.google.type.DateOrBuilder getDateValueOrBuilder();
/**
*
*
*
* Represents a typed value transported as a sequence of values.
* To differentiate between `Struct`, `Array`, and `Map`, the outermost
* `Value` must provide an explicit `type` on write. This `type` will
* apply recursively to the nested `Struct` fields, `Array` elements,
* or `Map` key/value pairs, which *must not* supply their own `type`.
*
*
* .google.bigtable.v2.ArrayValue array_value = 4;
*
* @return Whether the arrayValue field is set.
*/
boolean hasArrayValue();
/**
*
*
*
* Represents a typed value transported as a sequence of values.
* To differentiate between `Struct`, `Array`, and `Map`, the outermost
* `Value` must provide an explicit `type` on write. This `type` will
* apply recursively to the nested `Struct` fields, `Array` elements,
* or `Map` key/value pairs, which *must not* supply their own `type`.
*
*
* .google.bigtable.v2.ArrayValue array_value = 4;
*
* @return The arrayValue.
*/
com.google.bigtable.v2.ArrayValue getArrayValue();
/**
*
*
*
* Represents a typed value transported as a sequence of values.
* To differentiate between `Struct`, `Array`, and `Map`, the outermost
* `Value` must provide an explicit `type` on write. This `type` will
* apply recursively to the nested `Struct` fields, `Array` elements,
* or `Map` key/value pairs, which *must not* supply their own `type`.
*
*
* .google.bigtable.v2.ArrayValue array_value = 4;
*/
com.google.bigtable.v2.ArrayValueOrBuilder getArrayValueOrBuilder();
com.google.bigtable.v2.Value.KindCase getKindCase();
}