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

Static Public Member Functions

static Struct of (String k1, Value v1)
 
static Struct of (String k1, Value v1)
 
static Struct of (String k1, Value v1, String k2, Value v2)
 
static Struct of (String k1, Value v1, String k2, Value v2)
 
static Struct of (String k1, Value v1, String k2, Value v2, String k3, Value v3)
 
static Struct of (String k1, Value v1, String k2, Value v2, String k3, Value v3)
 

Private Member Functions

 Structs ()
 
 Structs ()
 

Detailed Description

Utilities to help create

messages.

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

Constructor & Destructor Documentation

◆ Structs() [1/2]

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

◆ Structs() [2/2]

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

Member Function Documentation

◆ of() [1/6]

static Struct com.google.protobuf.util.Structs.of ( String  k1,
Value  v1 
)
inlinestatic

Returns a struct containing the key-value pair.

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

◆ of() [2/6]

static Struct com.google.protobuf.util.Structs.of ( String  k1,
Value  v1 
)
inlinestatic

Returns a struct containing the key-value pair.

Definition at line 42 of file protobuf/java/util/src/main/java/com/google/protobuf/util/Structs.java.

◆ of() [3/6]

static Struct com.google.protobuf.util.Structs.of ( String  k1,
Value  v1,
String  k2,
Value  v2 
)
inlinestatic

Returns a struct containing each of the key-value pairs.

Providing duplicate keys is undefined behavior.

Definition at line 51 of file protobuf/java/util/src/main/java/com/google/protobuf/util/Structs.java.

◆ of() [4/6]

static Struct com.google.protobuf.util.Structs.of ( String  k1,
Value  v1,
String  k2,
Value  v2 
)
inlinestatic

Returns a struct containing each of the key-value pairs.

Providing duplicate keys is undefined behavior.

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

◆ of() [5/6]

static Struct com.google.protobuf.util.Structs.of ( String  k1,
Value  v1,
String  k2,
Value  v2,
String  k3,
Value  v3 
)
inlinestatic

Returns a struct containing each of the key-value pairs.

Providing duplicate keys is undefined behavior.

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

◆ of() [6/6]

static Struct com.google.protobuf.util.Structs.of ( String  k1,
Value  v1,
String  k2,
Value  v2,
String  k3,
Value  v3 
)
inlinestatic

Returns a struct containing each of the key-value pairs.

Providing duplicate keys is undefined behavior.

Definition at line 60 of file protobuf/java/util/src/main/java/com/google/protobuf/util/Structs.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
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