forked from grpc/grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request grpc#15840 from dgquintas/common_nanopb
Update to use the canonical version of LB proto
- Loading branch information
Showing
32 changed files
with
280 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...xt/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) */ |
54 changes: 54 additions & 0 deletions
54
...xt/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
19 changes: 19 additions & 0 deletions
19
...t/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) */ |
54 changes: 54 additions & 0 deletions
54
...t/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.