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 (boolean value)
 
static Value of (double value)
 
static Value of (double value)
 
static Value of (Iterable< Value > values)
 
static Value of (Iterable< Value > values)
 
static Value of (ListValue value)
 
static Value of (ListValue value)
 
static Value of (String value)
 
static Value of (String value)
 
static Value of (Struct value)
 
static Value of (Struct value)
 
static Value ofNull ()
 
static Value ofNull ()
 

Private Member Functions

 Values ()
 
 Values ()
 

Static Private Attributes

static final Value NULL_VALUE
 

Detailed Description

Utilities to help create

messages.

Definition at line 39 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

Constructor & Destructor Documentation

◆ Values() [1/2]

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

◆ Values() [2/2]

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

Member Function Documentation

◆ of() [1/12]

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 bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [2/12]

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 protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [3/12]

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 protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [4/12]

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 bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [5/12]

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 on each element in the iterable.

Definition at line 77 of file protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [6/12]

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 bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [7/12]

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 protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [8/12]

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

◆ of() [9/12]

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 bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [10/12]

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 protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [11/12]

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 protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ of() [12/12]

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 bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.

◆ ofNull() [1/2]

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

◆ ofNull() [2/2]

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

Member Data Documentation

◆ NULL_VALUE

static 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 bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java.


The documentation for this class was generated from the following file:
google::protobuf
Definition: bloaty/third_party/protobuf/benchmarks/util/data_proto2_to_proto3_util.h:12
NullValue
NullValue
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:83
Value
struct Value Value
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:676
google
Definition: bloaty/third_party/protobuf/benchmarks/util/data_proto2_to_proto3_util.h:11


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:09