Send feedback
Class Value (2.16.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.16.1 keyboard_arrow_down
public abstract class 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 )
Returns Type Description Value
boolArray(Iterable<Boolean> arg0)
public static Value boolArray ( Iterable<Boolean> arg0 )
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 )
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 )
Returns Type Description Value
float32Array(Iterable<Float> arg0)
public static Value float32Array ( Iterable<Float> arg0 )
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 )
Returns Type Description Value
float64Array(Iterable<Double> arg0)
public static Value float64Array ( Iterable<Double> arg0 )
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 )
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 )
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 )
Returns Type Description Value
numeric(BigDecimal arg0)
public static Value numeric ( BigDecimal arg0 )
Returns Type Description Value
numericArray(Iterable<BigDecimal> arg0)
public static Value numericArray ( Iterable<BigDecimal> arg0 )
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 )
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 )
Returns Type Description Value
protoEnum(ProtocolMessageEnum arg0)
public static Value protoEnum ( ProtocolMessageEnum arg0 )
Returns Type Description Value
protoEnum(Long arg0, Descriptors.EnumDescriptor arg1)
public static Value protoEnum ( Long arg0 , Descriptors . EnumDescriptor arg1 )
Returns Type Description Value
protoEnum(Long arg0, String arg1)
public static Value protoEnum ( Long arg0 , String arg1 )
Returns Type Description Value
protoEnum(long arg0, String arg1)
public static Value protoEnum ( long arg0 , String arg1 )
Returns Type Description Value
protoEnumArray(Iterable<ProtocolMessageEnum> arg0, Descriptors.EnumDescriptor arg1)
public static Value protoEnumArray ( Iterable<ProtocolMessageEnum> arg0 , Descriptors . EnumDescriptor arg1 )
Returns Type Description Value
protoEnumArray(Iterable<Long> arg0, String arg1)
public static Value protoEnumArray ( Iterable<Long> arg0 , String arg1 )
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 )
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 )
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 )
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 )
Returns Type Description Value
structArray(Type arg0, Iterable<Struct> arg1)
public static Value structArray ( Type arg0 , Iterable<Struct> arg1 )
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 )
<T>getProtoEnumArray(Function<Integer,ProtocolMessageEnum> arg0)
public List<T> <T>getProtoEnumArray ( Function<Integer , ProtocolMessageEnum > arg0 )
Returns Type Description List <T >
<T>getProtoMessage(T arg0)
public T <T>getProtoMessage ( T arg0 )
Parameter Name Description arg0
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 ()
getAsStringList()
public ImmutableList<String> getAsStringList ()
Returns Type Description com.google.common.collect.ImmutableList <String >
getBool()
public abstract boolean getBool ()
getBoolArray()
public abstract List<Boolean> getBoolArray ()
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 ()
getFloat64()
public abstract double getFloat64 ()
getFloat64Array()
public abstract List<Double> getFloat64Array ()
getInt64()
public abstract long getInt64 ()
Returns Type Description long
getInt64Array()
public abstract List<Long> getInt64Array ()
getJson()
getJsonArray()
public List<String> getJsonArray ()
getNumeric()
public abstract BigDecimal getNumeric ()
getNumericArray()
public abstract List<BigDecimal> getNumericArray ()
getPgJsonb()
public String getPgJsonb ()
getPgJsonbArray()
public List<String> getPgJsonbArray ()
getString()
public abstract String getString ()
getStringArray()
public abstract List<String> getStringArray ()
getStruct()
public abstract Struct getStruct ()
getStructArray()
public abstract List<Struct> getStructArray ()
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 ()
isNull()
public abstract boolean isNull ()
toString()
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]