gRPC - Remote Procedure Calls

 Java Type -- Proto Type


int -- int32

long -- int64

float -- float

double -- double

boolean -- bool

String -- string

byte[] -- bytes

Collection / List -- repeated

Map -- map


Default Values

int32 / any number type -- 0

bool -- false

string -- empty string

enum -- first value

repeated -- empty string

map -- wrapped / empty map



Комментарии

Популярные сообщения из этого блога

Lesson1: JDK, JVM, JRE

SE_21_Lesson_11: Inheritance, Polymorphism

SE_21_Lesson_9: Initialization Blocks, Wrapper types, String class