mirror of https://github.com/grpc/grpc.git
parent
fd7683c7de
commit
f3955ba711
32 changed files with 297 additions and 160 deletions
@ -0,0 +1,19 @@ |
|||||||
|
/* Automatically generated nanopb constant definitions */ |
||||||
|
/* Generated by nanopb-0.3.7-dev */ |
||||||
|
|
||||||
|
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h" |
||||||
|
/* @@protoc_insertion_point(includes) */ |
||||||
|
#if PB_PROTO_HEADER_VERSION != 30 |
||||||
|
#error Regenerate this file with the current version of nanopb generator. |
||||||
|
#endif |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const pb_field_t google_protobuf_Duration_fields[3] = { |
||||||
|
PB_FIELD( 1, INT64 , OPTIONAL, STATIC , FIRST, google_protobuf_Duration, seconds, seconds, 0), |
||||||
|
PB_FIELD( 2, INT32 , OPTIONAL, STATIC , OTHER, google_protobuf_Duration, nanos, seconds, 0), |
||||||
|
PB_LAST_FIELD |
||||||
|
}; |
||||||
|
|
||||||
|
|
||||||
|
/* @@protoc_insertion_point(eof) */ |
@ -0,0 +1,54 @@ |
|||||||
|
/* Automatically generated nanopb header */ |
||||||
|
/* Generated by nanopb-0.3.7-dev */ |
||||||
|
|
||||||
|
#ifndef PB_GOOGLE_PROTOBUF_DURATION_PB_H_INCLUDED |
||||||
|
#define PB_GOOGLE_PROTOBUF_DURATION_PB_H_INCLUDED |
||||||
|
#include "pb.h" |
||||||
|
/* @@protoc_insertion_point(includes) */ |
||||||
|
#if PB_PROTO_HEADER_VERSION != 30 |
||||||
|
#error Regenerate this file with the current version of nanopb generator. |
||||||
|
#endif |
||||||
|
|
||||||
|
#ifdef __cplusplus |
||||||
|
extern "C" { |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Struct definitions */ |
||||||
|
typedef struct _google_protobuf_Duration { |
||||||
|
bool has_seconds; |
||||||
|
int64_t seconds; |
||||||
|
bool has_nanos; |
||||||
|
int32_t nanos; |
||||||
|
/* @@protoc_insertion_point(struct:google_protobuf_Duration) */ |
||||||
|
} google_protobuf_Duration; |
||||||
|
|
||||||
|
/* Default values for struct fields */ |
||||||
|
|
||||||
|
/* Initializer values for message structs */ |
||||||
|
#define google_protobuf_Duration_init_default {false, 0, false, 0} |
||||||
|
#define google_protobuf_Duration_init_zero {false, 0, false, 0} |
||||||
|
|
||||||
|
/* Field tags (for use in manual encoding/decoding) */ |
||||||
|
#define google_protobuf_Duration_seconds_tag 1 |
||||||
|
#define google_protobuf_Duration_nanos_tag 2 |
||||||
|
|
||||||
|
/* Struct field encoding specification for nanopb */ |
||||||
|
extern const pb_field_t google_protobuf_Duration_fields[3]; |
||||||
|
|
||||||
|
/* Maximum encoded size of messages (where known) */ |
||||||
|
#define google_protobuf_Duration_size 22 |
||||||
|
|
||||||
|
/* Message IDs (where set with "msgid" option) */ |
||||||
|
#ifdef PB_MSGID |
||||||
|
|
||||||
|
#define DURATION_MESSAGES \ |
||||||
|
|
||||||
|
|
||||||
|
#endif |
||||||
|
|
||||||
|
#ifdef __cplusplus |
||||||
|
} /* extern "C" */ |
||||||
|
#endif |
||||||
|
/* @@protoc_insertion_point(eof) */ |
||||||
|
|
||||||
|
#endif |
@ -0,0 +1,19 @@ |
|||||||
|
/* Automatically generated nanopb constant definitions */ |
||||||
|
/* Generated by nanopb-0.3.7-dev */ |
||||||
|
|
||||||
|
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.h" |
||||||
|
/* @@protoc_insertion_point(includes) */ |
||||||
|
#if PB_PROTO_HEADER_VERSION != 30 |
||||||
|
#error Regenerate this file with the current version of nanopb generator. |
||||||
|
#endif |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const pb_field_t google_protobuf_Timestamp_fields[3] = { |
||||||
|
PB_FIELD( 1, INT64 , OPTIONAL, STATIC , FIRST, google_protobuf_Timestamp, seconds, seconds, 0), |
||||||
|
PB_FIELD( 2, INT32 , OPTIONAL, STATIC , OTHER, google_protobuf_Timestamp, nanos, seconds, 0), |
||||||
|
PB_LAST_FIELD |
||||||
|
}; |
||||||
|
|
||||||
|
|
||||||
|
/* @@protoc_insertion_point(eof) */ |
@ -0,0 +1,54 @@ |
|||||||
|
/* Automatically generated nanopb header */ |
||||||
|
/* Generated by nanopb-0.3.7-dev */ |
||||||
|
|
||||||
|
#ifndef PB_GOOGLE_PROTOBUF_TIMESTAMP_PB_H_INCLUDED |
||||||
|
#define PB_GOOGLE_PROTOBUF_TIMESTAMP_PB_H_INCLUDED |
||||||
|
#include "pb.h" |
||||||
|
/* @@protoc_insertion_point(includes) */ |
||||||
|
#if PB_PROTO_HEADER_VERSION != 30 |
||||||
|
#error Regenerate this file with the current version of nanopb generator. |
||||||
|
#endif |
||||||
|
|
||||||
|
#ifdef __cplusplus |
||||||
|
extern "C" { |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Struct definitions */ |
||||||
|
typedef struct _google_protobuf_Timestamp { |
||||||
|
bool has_seconds; |
||||||
|
int64_t seconds; |
||||||
|
bool has_nanos; |
||||||
|
int32_t nanos; |
||||||
|
/* @@protoc_insertion_point(struct:google_protobuf_Timestamp) */ |
||||||
|
} google_protobuf_Timestamp; |
||||||
|
|
||||||
|
/* Default values for struct fields */ |
||||||
|
|
||||||
|
/* Initializer values for message structs */ |
||||||
|
#define google_protobuf_Timestamp_init_default {false, 0, false, 0} |
||||||
|
#define google_protobuf_Timestamp_init_zero {false, 0, false, 0} |
||||||
|
|
||||||
|
/* Field tags (for use in manual encoding/decoding) */ |
||||||
|
#define google_protobuf_Timestamp_seconds_tag 1 |
||||||
|
#define google_protobuf_Timestamp_nanos_tag 2 |
||||||
|
|
||||||
|
/* Struct field encoding specification for nanopb */ |
||||||
|
extern const pb_field_t google_protobuf_Timestamp_fields[3]; |
||||||
|
|
||||||
|
/* Maximum encoded size of messages (where known) */ |
||||||
|
#define google_protobuf_Timestamp_size 22 |
||||||
|
|
||||||
|
/* Message IDs (where set with "msgid" option) */ |
||||||
|
#ifdef PB_MSGID |
||||||
|
|
||||||
|
#define TIMESTAMP_MESSAGES \ |
||||||
|
|
||||||
|
|
||||||
|
#endif |
||||||
|
|
||||||
|
#ifdef __cplusplus |
||||||
|
} /* extern "C" */ |
||||||
|
#endif |
||||||
|
/* @@protoc_insertion_point(eof) */ |
||||||
|
|
||||||
|
#endif |
Loading…
Reference in new issue