Class Value (2.19.3)

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
Type Description
com.google.cloud.Timestamp

NAN

public static final String NAN
Field Value
Type Description
String

Static Methods

bool(boolean arg0)

public static Value bool(boolean arg0)
Parameter
Name Description
arg0 boolean
Returns
Type Description
Value

bool(Boolean arg0)

public static Value bool(Boolean arg0)
Parameter
Name Description
arg0 Boolean
Returns
Type Description
Value

boolArray(boolean[] arg0)

public static Value boolArray(boolean[] arg0)
Parameter
Name Description
arg0 boolean[]
Returns
Type Description
Value

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

public static Value boolArray(boolean[] arg0, int arg1, int arg2)
Parameters
Name Description
arg0 boolean[]
arg1 int
arg2 int
Returns
Type Description
Value

boolArray(Iterable<Boolean> arg0)

public static Value boolArray(Iterable<Boolean> arg0)
Parameter
Name Description
arg0 Iterable<Boolean>
Returns
Type Description
Value

bytes(ByteArray arg0)

public static Value bytes(ByteArray arg0)
Parameter
Name Description
arg0 com.google.cloud.ByteArray
Returns
Type Description
Value

bytesArray(Iterable<ByteArray> arg0)

public static Value bytesArray(Iterable<ByteArray> arg0)
Parameter
Name Description
arg0 Iterable<com.google.cloud.ByteArray>
Returns
Type Description
Value

bytesArrayFromBase64(Iterable<String> arg0)

public static Value bytesArrayFromBase64(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
Value

bytesFromBase64(String arg0)

public static Value bytesFromBase64(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Value

date(Date arg0)

public static Value date(Date arg0)
Parameter
Name Description
arg0 com.google.cloud.Date
Returns
Type Description
Value

dateArray(Iterable<Date> arg0)

public static Value dateArray(Iterable<Date> arg0)
Parameter
Name Description
arg0 Iterable<com.google.cloud.Date>
Returns
Type Description
Value

float32(float arg0)

public static Value float32(float arg0)
Parameter
Name Description
arg0 float
Returns
Type Description
Value

float32(Float arg0)

public static Value float32(Float arg0)
Parameter
Name Description
arg0 Float
Returns
Type Description
Value

float32Array(float[] arg0)

public static Value float32Array(float[] arg0)
Parameter
Name Description
arg0 float[]
Returns
Type Description
Value

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

public static Value float32Array(float[] arg0, int arg1, int arg2)
Parameters
Name Description
arg0 float[]
arg1 int
arg2 int
Returns
Type Description
Value

float32Array(Iterable<Float> arg0)

public static Value float32Array(Iterable<Float> arg0)
Parameter
Name Description
arg0 Iterable<Float>
Returns
Type Description
Value

float64(double arg0)

public static Value float64(double arg0)
Parameter
Name Description
arg0 double
Returns
Type Description
Value

float64(Double arg0)

public static Value float64(Double arg0)
Parameter
Name Description
arg0 Double
Returns
Type Description
Value

float64Array(double[] arg0)

public static Value float64Array(double[] arg0)
Parameter
Name Description
arg0 double[]
Returns
Type Description
Value

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

public static Value float64Array(double[] arg0, int arg1, int arg2)
Parameters
Name Description
arg0 double[]
arg1 int
arg2 int
Returns
Type Description
Value

float64Array(Iterable<Double> arg0)

public static Value float64Array(Iterable<Double> arg0)
Parameter
Name Description
arg0 Iterable<Double>
Returns
Type Description
Value

int64(Long arg0)

public static Value int64(Long arg0)
Parameter
Name Description
arg0 Long
Returns
Type Description
Value

int64(long arg0)

public static Value int64(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
Value

int64Array(Iterable<Long> arg0)

public static Value int64Array(Iterable<Long> arg0)
Parameter
Name Description
arg0 Iterable<Long>
Returns
Type Description
Value

int64Array(long[] arg0)

public static Value int64Array(long[] arg0)
Parameter
Name Description
arg0 long[]
Returns
Type Description
Value

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

public static Value int64Array(long[] arg0, int arg1, int arg2)
Parameters
Name Description
arg0 long[]
arg1 int
arg2 int
Returns
Type Description
Value

json(String arg0)

public static Value json(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Value

jsonArray(Iterable<String> arg0)

public static Value jsonArray(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
Value

numeric(BigDecimal arg0)

public static Value numeric(BigDecimal arg0)
Parameter
Name Description
arg0 BigDecimal
Returns
Type Description
Value

numericArray(Iterable<BigDecimal> arg0)

public static Value numericArray(Iterable<BigDecimal> arg0)
Parameter
Name Description
arg0 Iterable<BigDecimal>
Returns
Type Description
Value

pgJsonb(String arg0)

public static Value pgJsonb(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Value

pgJsonbArray(Iterable<String> arg0)

public static Value pgJsonbArray(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
Value

pgNumeric(String arg0)

public static Value pgNumeric(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Value

pgNumericArray(Iterable<String> arg0)

public static Value pgNumericArray(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
Value

pgOid(Long arg0)

public static Value pgOid(Long arg0)
Parameter
Name Description
arg0 Long
Returns
Type Description
Value

pgOid(long arg0)

public static Value pgOid(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
Value

pgOidArray(Iterable<Long> arg0)

public static Value pgOidArray(Iterable<Long> arg0)
Parameter
Name Description
arg0 Iterable<Long>
Returns
Type Description
Value

pgOidArray(long[] arg0)

public static Value pgOidArray(long[] arg0)
Parameter
Name Description
arg0 long[]
Returns
Type Description
Value

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

public static Value pgOidArray(long[] arg0, int arg1, int arg2)
Parameters
Name Description
arg0 long[]
arg1 int
arg2 int
Returns
Type Description
Value

protoEnum(ProtocolMessageEnum arg0)

public static Value protoEnum(ProtocolMessageEnum arg0)
Parameter
Name Description
arg0 ProtocolMessageEnum
Returns
Type Description
Value

protoEnum(Long arg0, Descriptors.EnumDescriptor arg1)

public static Value protoEnum(Long arg0, Descriptors.EnumDescriptor arg1)
Parameters
Name Description
arg0 Long
arg1 EnumDescriptor
Returns
Type Description
Value

protoEnum(Long arg0, String arg1)

public static Value protoEnum(Long arg0, String arg1)
Parameters
Name Description
arg0 Long
arg1 String
Returns
Type Description
Value

protoEnum(long arg0, String arg1)

public static Value protoEnum(long arg0, String arg1)
Parameters
Name Description
arg0 long
arg1 String
Returns
Type Description
Value

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

public static Value protoEnumArray(Iterable<ProtocolMessageEnum> arg0, Descriptors.EnumDescriptor arg1)
Parameters
Name Description
arg0 Iterable<ProtocolMessageEnum>
arg1 EnumDescriptor
Returns
Type Description
Value

protoEnumArray(Iterable<Long> arg0, String arg1)

public static Value protoEnumArray(Iterable<Long> arg0, String arg1)
Parameters
Name Description
arg0 Iterable<Long>
arg1 String
Returns
Type Description
Value

protoMessage(ByteArray arg0, Descriptors.Descriptor arg1)

public static Value protoMessage(ByteArray arg0, Descriptors.Descriptor arg1)
Parameters
Name Description
arg0 com.google.cloud.ByteArray
arg1 Descriptor
Returns
Type Description
Value

protoMessage(ByteArray arg0, String arg1)

public static Value protoMessage(ByteArray arg0, String arg1)
Parameters
Name Description
arg0 com.google.cloud.ByteArray
arg1 String
Returns
Type Description
Value

protoMessage(AbstractMessage arg0)

public static Value protoMessage(AbstractMessage arg0)
Parameter
Name Description
arg0 AbstractMessage
Returns
Type Description
Value

protoMessageArray(Iterable<ByteArray> arg0, String arg1)

public static Value protoMessageArray(Iterable<ByteArray> arg0, String arg1)
Parameters
Name Description
arg0 Iterable<com.google.cloud.ByteArray>
arg1 String
Returns
Type Description
Value

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

public static Value protoMessageArray(Iterable<AbstractMessage> arg0, Descriptors.Descriptor arg1)
Parameters
Name Description
arg0 Iterable<AbstractMessage>
arg1 Descriptor
Returns
Type Description
Value

string(String arg0)

public static Value string(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Value

stringArray(Iterable<String> arg0)

public static Value stringArray(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
Value

struct(Struct arg0)

public static Value struct(Struct arg0)
Parameter
Name Description
arg0 Struct
Returns
Type Description
Value

struct(Type arg0, Struct arg1)

public static Value struct(Type arg0, Struct arg1)
Parameters
Name Description
arg0 Type
arg1 Struct
Returns
Type Description
Value

structArray(Type arg0, Iterable<Struct> arg1)

public static Value structArray(Type arg0, Iterable<Struct> arg1)
Parameters
Name Description
arg0 Type
arg1 Iterable<Struct>
Returns
Type Description
Value

timestamp(Timestamp arg0)

public static Value timestamp(Timestamp arg0)
Parameter
Name Description
arg0 com.google.cloud.Timestamp
Returns
Type Description
Value

timestampArray(Iterable<Timestamp> arg0)

public static Value timestampArray(Iterable<Timestamp> arg0)
Parameter
Name Description
arg0 Iterable<com.google.cloud.Timestamp>
Returns
Type Description
Value

untyped(Value arg0)

public static Value untyped(Value arg0)
Parameter
Name Description
arg0 Value
Returns
Type Description
Value

Methods

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

public T <T>getProtoEnum(Function<Integer,ProtocolMessageEnum> arg0)
Parameter
Name Description
arg0 Function<Integer,ProtocolMessageEnum>
Returns
Type Description
T

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

public List<T> <T>getProtoEnumArray(Function<Integer,ProtocolMessageEnum> arg0)
Parameter
Name Description
arg0 Function<Integer,ProtocolMessageEnum>
Returns
Type Description
List<T>

<T>getProtoMessage(T arg0)

public T <T>getProtoMessage(T arg0)
Parameter
Name Description
arg0 T
Returns
Type Description
T

<T>getProtoMessageArray(T arg0)

public List<T> <T>getProtoMessageArray(T arg0)
Parameter
Name Description
arg0 T
Returns
Type Description
List<T>

getAsString()

public String getAsString()
Returns
Type Description
String

getAsStringList()

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

getBool()

public abstract boolean getBool()
Returns
Type Description
boolean

getBoolArray()

public abstract List<Boolean> getBoolArray()
Returns
Type Description
List<Boolean>

getBytes()

public abstract ByteArray getBytes()
Returns
Type Description
com.google.cloud.ByteArray

getBytesArray()

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

getDate()

public abstract Date getDate()
Returns
Type Description
com.google.cloud.Date

getDateArray()

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

getFloat32()

public abstract float getFloat32()
Returns
Type Description
float

getFloat32Array()

public abstract List<Float> getFloat32Array()
Returns
Type Description
List<Float>

getFloat64()

public abstract double getFloat64()
Returns
Type Description
double

getFloat64Array()

public abstract List<Double> getFloat64Array()
Returns
Type Description
List<Double>

getInt64()

public abstract long getInt64()
Returns
Type Description
long

getInt64Array()

public abstract List<Long> getInt64Array()
Returns
Type Description
List<Long>

getJson()

public String getJson()
Returns
Type Description
String

getJsonArray()

public List<String> getJsonArray()
Returns
Type Description
List<String>

getNumeric()

public abstract BigDecimal getNumeric()
Returns
Type Description
BigDecimal

getNumericArray()

public abstract List<BigDecimal> getNumericArray()
Returns
Type Description
List<BigDecimal>

getPgJsonb()

public String getPgJsonb()
Returns
Type Description
String

getPgJsonbArray()

public List<String> getPgJsonbArray()
Returns
Type Description
List<String>

getString()

public abstract String getString()
Returns
Type Description
String

getStringArray()

public abstract List<String> getStringArray()
Returns
Type Description
List<String>

getStruct()

public abstract Struct getStruct()
Returns
Type Description
Struct

getStructArray()

public abstract List<Struct> getStructArray()
Returns
Type Description
List<Struct>

getTimestamp()

public abstract Timestamp getTimestamp()
Returns
Type Description
com.google.cloud.Timestamp

getTimestampArray()

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

getType()

public abstract Type getType()
Returns
Type Description
Type

isCommitTimestamp()

public abstract boolean isCommitTimestamp()
Returns
Type Description
boolean

isNull()

public abstract boolean isNull()
Returns
Type Description
boolean

toString()

public String toString()
Returns
Type Description
String
Overrides