Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
com.google.protobuf.util.Values Class Reference

Static Public Member Functions

static Value of (boolean value)
 
static Value of (double value)
 
static Value of (Iterable< Value > values)
 
static Value of (ListValue value)
 
static Value of (String value)
 
static Value of (Struct value)
 
static Value ofNull ()
 

Private Member Functions

 Values ()
 

Static Private Attributes

static final Value NULL_VALUE
 

Detailed Description

Utilities to help create

messages.

Definition at line 39 of file Values.java.

Constructor & Destructor Documentation

◆ Values()

com.google.protobuf.util.Values.Values ( )
inlineprivate

Definition at line 84 of file Values.java.

Member Function Documentation

◆ of() [1/6]

static Value com.google.protobuf.util.Values.of ( boolean  value)
inlinestatic

Returns a Value object with number set to value.

Definition at line 49 of file Values.java.

◆ of() [2/6]

static Value com.google.protobuf.util.Values.of ( double  value)
inlinestatic

Returns a Value object with number set to value.

Definition at line 54 of file Values.java.

◆ of() [3/6]

static Value com.google.protobuf.util.Values.of ( Iterable< Value values)
inlinestatic

Returns a Value with ListValue set to the appending the result of calling of(Object) on each element in the iterable.

Definition at line 77 of file Values.java.

◆ of() [4/6]

static Value com.google.protobuf.util.Values.of ( ListValue  value)
inlinestatic

Returns a Value with ListValue set to value.

Definition at line 69 of file Values.java.

◆ of() [5/6]

static Value com.google.protobuf.util.Values.of ( String  value)
inlinestatic

Returns a Value object with string set to value.

Definition at line 59 of file Values.java.

◆ of() [6/6]

static Value com.google.protobuf.util.Values.of ( Struct  value)
inlinestatic

Returns a Value object with struct set to value.

Definition at line 64 of file Values.java.

◆ ofNull()

static Value com.google.protobuf.util.Values.ofNull ( )
inlinestatic

Definition at line 44 of file Values.java.

Member Data Documentation

◆ NULL_VALUE

final Value com.google.protobuf.util.Values.NULL_VALUE
staticprivate
Initial value:
=
Value.newBuilder().setNullValue(NullValue.NULL_VALUE).build()

Definition at line 41 of file Values.java.


The documentation for this class was generated from the following file:
google::protobuf
Definition: data_proto2_to_proto3_util.h:12
Value
Definition: struct.pb.h:304
NullValue
NullValue
Definition: struct.pb.h:83
google
Definition: data_proto2_to_proto3_util.h:11


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08