Class Value (2.16.1)

public abstract class Value implements Serializable

Inheritance

java.lang.Object > Value

Implements

Serializable

Static Fields

COMMIT_TIMESTAMP

public static final Timestamp COMMIT_TIMESTAMP
Field Value
TypeDescription
com.google.cloud.Timestamp

NAN

public static final String NAN
Field Value
TypeDescription
String

Static Methods

bool(boolean arg0)

public static Value bool(boolean arg0)
Parameter
NameDescription
arg0boolean
Returns
TypeDescription
Value

bool(Boolean arg0)

public static Value bool(Boolean arg0)
Parameter
NameDescription
arg0Boolean
Returns
TypeDescription
Value

boolArray(boolean[] arg0)

public static Value boolArray(boolean[] arg0)
Parameter
NameDescription
arg0boolean[]
Returns
TypeDescription
Value

boolArray(boolean[] arg0, int arg1, int arg2)

public static Value boolArray(boolean[] arg0, int arg1, int arg2)
Parameters
NameDescription
arg0boolean[]
arg1int
arg2int
Returns
TypeDescription
Value

boolArray(Iterable<Boolean> arg0)

public static Value boolArray(Iterable<Boolean> arg0)
Parameter
NameDescription
arg0Iterable<Boolean>
Returns
TypeDescription
Value

bytes(ByteArray arg0)

public static Value bytes(ByteArray arg0)
Parameter
NameDescription
arg0com.google.cloud.ByteArray
Returns
TypeDescription
Value

bytesArray(Iterable<ByteArray> arg0)

public static Value bytesArray(Iterable<ByteArray> arg0)
Parameter
NameDescription
arg0Iterable<com.google.cloud.ByteArray>
Returns
TypeDescription
Value

bytesArrayFromBase64(Iterable<String> arg0)

public static Value bytesArrayFromBase64(Iterable<String> arg0)
Parameter
NameDescription
arg0Iterable<String>
Returns
TypeDescription
Value

bytesFromBase64(String arg0)

public static Value bytesFromBase64(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Value

date(Date arg0)

public static Value date(Date arg0)
Parameter
NameDescription
arg0com.google.cloud.Date
Returns
TypeDescription
Value

dateArray(Iterable<Date> arg0)

public static Value dateArray(Iterable<Date> arg0)
Parameter
NameDescription
arg0Iterable<com.google.cloud.Date>
Returns
TypeDescription
Value

float32(float arg0)

public static Value float32(float arg0)
Parameter
NameDescription
arg0float
Returns
TypeDescription
Value

float32(Float arg0)

public static Value float32(Float arg0)
Parameter
NameDescription
arg0Float
Returns
TypeDescription
Value

float32Array(float[] arg0)

public static Value float32Array(float[] arg0)
Parameter
NameDescription
arg0float[]
Returns
TypeDescription
Value

float32Array(float[] arg0, int arg1, int arg2)

public static Value float32Array(float[] arg0, int arg1, int arg2)
Parameters
NameDescription
arg0float[]
arg1int
arg2int
Returns
TypeDescription
Value

float32Array(Iterable<Float> arg0)

public static Value float32Array(Iterable<Float> arg0)
Parameter
NameDescription
arg0Iterable<Float>
Returns
TypeDescription
Value

float64(double arg0)

public static Value float64(double arg0)
Parameter
NameDescription
arg0double
Returns
TypeDescription
Value

float64(Double arg0)

public static Value float64(Double arg0)
Parameter
NameDescription
arg0Double
Returns
TypeDescription
Value

float64Array(double[] arg0)

public static Value float64Array(double[] arg0)
Parameter
NameDescription
arg0double[]
Returns
TypeDescription
Value

float64Array(double[] arg0, int arg1, int arg2)

public static Value float64Array(double[] arg0, int arg1, int arg2)
Parameters
NameDescription
arg0double[]
arg1int
arg2int
Returns
TypeDescription
Value

float64Array(Iterable<Double> arg0)

public static Value float64Array(Iterable<Double> arg0)
Parameter
NameDescription
arg0Iterable<Double>
Returns
TypeDescription
Value

int64(Long arg0)

public static Value int64(Long arg0)
Parameter
NameDescription
arg0Long
Returns
TypeDescription
Value

int64(long arg0)

public static Value int64(long arg0)
Parameter
NameDescription
arg0long
Returns
TypeDescription
Value

int64Array(Iterable<Long> arg0)

public static Value int64Array(Iterable<Long> arg0)
Parameter
NameDescription
arg0Iterable<Long>
Returns
TypeDescription
Value

int64Array(long[] arg0)

public static Value int64Array(long[] arg0)
Parameter
NameDescription
arg0long[]
Returns
TypeDescription
Value

int64Array(long[] arg0, int arg1, int arg2)

public static Value int64Array(long[] arg0, int arg1, int arg2)
Parameters
NameDescription
arg0long[]
arg1int
arg2int
Returns
TypeDescription
Value

json(String arg0)

public static Value json(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Value

jsonArray(Iterable<String> arg0)

public static Value jsonArray(Iterable<String> arg0)
Parameter
NameDescription
arg0Iterable<String>
Returns
TypeDescription
Value

numeric(BigDecimal arg0)

public static Value numeric(BigDecimal arg0)
Parameter
NameDescription
arg0BigDecimal
Returns
TypeDescription
Value

numericArray(Iterable<BigDecimal> arg0)

public static Value numericArray(Iterable<BigDecimal> arg0)
Parameter
NameDescription
arg0Iterable<BigDecimal>
Returns
TypeDescription
Value

pgJsonb(String arg0)

public static Value pgJsonb(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Value

pgJsonbArray(Iterable<String> arg0)

public static Value pgJsonbArray(Iterable<String> arg0)
Parameter
NameDescription
arg0Iterable<String>
Returns
TypeDescription
Value

pgNumeric(String arg0)

public static Value pgNumeric(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Value

pgNumericArray(Iterable<String> arg0)

public static Value pgNumericArray(Iterable<String> arg0)
Parameter
NameDescription
arg0Iterable<String>
Returns
TypeDescription
Value

protoEnum(ProtocolMessageEnum arg0)

public static Value protoEnum(ProtocolMessageEnum arg0)
Parameter
NameDescription
arg0ProtocolMessageEnum
Returns
TypeDescription
Value

protoEnum(Long arg0, Descriptors.EnumDescriptor arg1)

public static Value protoEnum(Long arg0, Descriptors.EnumDescriptor arg1)
Parameters
NameDescription
arg0Long
arg1EnumDescriptor
Returns
TypeDescription
Value

protoEnum(Long arg0, String arg1)

public static Value protoEnum(Long arg0, String arg1)
Parameters
NameDescription
arg0Long
arg1String
Returns
TypeDescription
Value

protoEnum(long arg0, String arg1)

public static Value protoEnum(long arg0, String arg1)
Parameters
NameDescription
arg0long
arg1String
Returns
TypeDescription
Value

protoEnumArray(Iterable<ProtocolMessageEnum> arg0, Descriptors.EnumDescriptor arg1)

public static Value protoEnumArray(Iterable<ProtocolMessageEnum> arg0, Descriptors.EnumDescriptor arg1)
Parameters
NameDescription
arg0Iterable<ProtocolMessageEnum>
arg1EnumDescriptor
Returns
TypeDescription
Value

protoEnumArray(Iterable<Long> arg0, String arg1)

public static Value protoEnumArray(Iterable<Long> arg0, String arg1)
Parameters
NameDescription
arg0Iterable<Long>
arg1String
Returns
TypeDescription
Value

protoMessage(ByteArray arg0, Descriptors.Descriptor arg1)

public static Value protoMessage(ByteArray arg0, Descriptors.Descriptor arg1)
Parameters
NameDescription
arg0com.google.cloud.ByteArray
arg1Descriptor
Returns
TypeDescription
Value

protoMessage(ByteArray arg0, String arg1)

public static Value protoMessage(ByteArray arg0, String arg1)
Parameters
NameDescription
arg0com.google.cloud.ByteArray
arg1String
Returns
TypeDescription
Value

protoMessage(AbstractMessage arg0)

public static Value protoMessage(AbstractMessage arg0)
Parameter
NameDescription
arg0AbstractMessage
Returns
TypeDescription
Value

protoMessageArray(Iterable<ByteArray> arg0, String arg1)

public static Value protoMessageArray(Iterable<ByteArray> arg0, String arg1)
Parameters
NameDescription
arg0Iterable<com.google.cloud.ByteArray>
arg1String
Returns
TypeDescription
Value

protoMessageArray(Iterable<AbstractMessage> arg0, Descriptors.Descriptor arg1)

public static Value protoMessageArray(Iterable<AbstractMessage> arg0, Descriptors.Descriptor arg1)
Parameters
NameDescription
arg0Iterable<AbstractMessage>
arg1Descriptor
Returns
TypeDescription
Value

string(String arg0)

public static Value string(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Value

stringArray(Iterable<String> arg0)

public static Value stringArray(Iterable<String> arg0)
Parameter
NameDescription
arg0Iterable<String>
Returns
TypeDescription
Value

struct(Struct arg0)

public static Value struct(Struct arg0)
Parameter
NameDescription
arg0Struct
Returns
TypeDescription
Value

struct(Type arg0, Struct arg1)

public static Value struct(Type arg0, Struct arg1)
Parameters
NameDescription
arg0Type
arg1Struct
Returns
TypeDescription
Value

structArray(Type arg0, Iterable<Struct> arg1)

public static Value structArray(Type arg0, Iterable<Struct> arg1)
Parameters
NameDescription
arg0Type
arg1Iterable<Struct>
Returns
TypeDescription
Value

timestamp(Timestamp arg0)

public static Value timestamp(Timestamp arg0)
Parameter
NameDescription
arg0com.google.cloud.Timestamp
Returns
TypeDescription
Value

timestampArray(Iterable<Timestamp> arg0)

public static Value timestampArray(Iterable<Timestamp> arg0)
Parameter
NameDescription
arg0Iterable<com.google.cloud.Timestamp>
Returns
TypeDescription
Value

untyped(Value arg0)

public static Value untyped(Value arg0)
Parameter
NameDescription
arg0Value
Returns
TypeDescription
Value

Methods

<T>getProtoEnum(Function<Integer,ProtocolMessageEnum> arg0)

public T <T>getProtoEnum(Function<Integer,ProtocolMessageEnum> arg0)
Parameter
NameDescription
arg0Function<Integer,ProtocolMessageEnum>
Returns
TypeDescription
T

<T>getProtoEnumArray(Function<Integer,ProtocolMessageEnum> arg0)

public List<T> <T>getProtoEnumArray(Function<Integer,ProtocolMessageEnum> arg0)
Parameter
NameDescription
arg0Function<Integer,ProtocolMessageEnum>
Returns
TypeDescription
List<T>

<T>getProtoMessage(T arg0)

public T <T>getProtoMessage(T arg0)
Parameter
NameDescription
arg0T
Returns
TypeDescription
T

<T>getProtoMessageArray(T arg0)

public List<T> <T>getProtoMessageArray(T arg0)
Parameter
NameDescription
arg0T
Returns
TypeDescription
List<T>

getAsString()

public String getAsString()
Returns
TypeDescription
String

getAsStringList()

public ImmutableList<String> getAsStringList()
Returns
TypeDescription
com.google.common.collect.ImmutableList<String>

getBool()

public abstract boolean getBool()
Returns
TypeDescription
boolean

getBoolArray()

public abstract List<Boolean> getBoolArray()
Returns
TypeDescription
List<Boolean>

getBytes()

public abstract ByteArray getBytes()
Returns
TypeDescription
com.google.cloud.ByteArray

getBytesArray()

public abstract List<ByteArray> getBytesArray()
Returns
TypeDescription
List<com.google.cloud.ByteArray>

getDate()

public abstract Date getDate()
Returns
TypeDescription
com.google.cloud.Date

getDateArray()

public abstract List<Date> getDateArray()
Returns
TypeDescription
List<com.google.cloud.Date>

getFloat32()

public abstract float getFloat32()
Returns
TypeDescription
float

getFloat32Array()

public abstract List<Float> getFloat32Array()
Returns
TypeDescription
List<Float>

getFloat64()

public abstract double getFloat64()
Returns
TypeDescription
double

getFloat64Array()

public abstract List<Double> getFloat64Array()
Returns
TypeDescription
List<Double>

getInt64()

public abstract long getInt64()
Returns
TypeDescription
long

getInt64Array()

public abstract List<Long> getInt64Array()
Returns
TypeDescription
List<Long>

getJson()

public String getJson()
Returns
TypeDescription
String

getJsonArray()

public List<String> getJsonArray()
Returns
TypeDescription
List<String>

getNumeric()

public abstract BigDecimal getNumeric()
Returns
TypeDescription
BigDecimal

getNumericArray()

public abstract List<BigDecimal> getNumericArray()
Returns
TypeDescription
List<BigDecimal>

getPgJsonb()

public String getPgJsonb()
Returns
TypeDescription
String

getPgJsonbArray()

public List<String> getPgJsonbArray()
Returns
TypeDescription
List<String>

getString()

public abstract String getString()
Returns
TypeDescription
String

getStringArray()

public abstract List<String> getStringArray()
Returns
TypeDescription
List<String>

getStruct()

public abstract Struct getStruct()
Returns
TypeDescription
Struct

getStructArray()

public abstract List<Struct> getStructArray()
Returns
TypeDescription
List<Struct>

getTimestamp()

public abstract Timestamp getTimestamp()
Returns
TypeDescription
com.google.cloud.Timestamp

getTimestampArray()

public abstract List<Timestamp> getTimestampArray()
Returns
TypeDescription
List<com.google.cloud.Timestamp>

getType()

public abstract Type getType()
Returns
TypeDescription
Type

isCommitTimestamp()

public abstract boolean isCommitTimestamp()
Returns
TypeDescription
boolean

isNull()

public abstract boolean isNull()
Returns
TypeDescription
boolean

toString()

public String toString()
Returns
TypeDescription
String
Overrides