100+ results for 'protobuf'
Not the results you expected?
generate.bat (https://github.com/michederoide/mooege.git) Batch · 64 lines
4 CD definitions
5 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\rpc_config.proto
6 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\profanity.proto
7 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\attribute.proto
8 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\content_handle.proto
9 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\entity.proto
10 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\exchange.proto
11 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\exchange_object_provider_types.proto
12 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\exchange_risk_types.proto
13 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\invitation_types.proto
14 "../compilers/protogen_csharp.exe" --proto_path=./ --include_imports -expand_namespace_directories=true -cls_compliance=false -ignore_google_protobuf=true -service_generator_type=GENERIC -output_directory=../bin/csharp/ bnet\resource_types.proto
route.upb.h (https://gitlab.com/bigSur_Civic/flash-chat-completed) C Header · 223 lines
50 struct envoy_api_v2_core_HeaderValueOption;
51 struct envoy_api_v2_route_VirtualHost;
52 struct google_protobuf_BoolValue;
53 extern const upb_msglayout envoy_api_v2_core_ConfigSource_msginit;
54 extern const upb_msglayout envoy_api_v2_core_HeaderValueOption_msginit;
55 extern const upb_msglayout envoy_api_v2_route_VirtualHost_msginit;
56 extern const upb_msglayout google_protobuf_BoolValue_msginit;
77 UPB_INLINE upb_strview const* envoy_api_v2_RouteConfiguration_response_headers_to_remove(const envoy_api_v2_RouteConfiguration *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(32, 64), len); }
78 UPB_INLINE const struct envoy_api_v2_core_HeaderValueOption* const* envoy_api_v2_RouteConfiguration_request_headers_to_add(const envoy_api_v2_RouteConfiguration *msg, size_t *len) { return (const struct envoy_api_v2_core_HeaderValueOption* const*)_upb_array_accessor(msg, UPB_SIZE(36, 72), len); }
79 UPB_INLINE const struct google_protobuf_BoolValue* envoy_api_v2_RouteConfiguration_validate_clusters(const envoy_api_v2_RouteConfiguration *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_BoolValue*, UPB_SIZE(12, 24)); }
80 UPB_INLINE upb_strview const* envoy_api_v2_RouteConfiguration_request_headers_to_remove(const envoy_api_v2_RouteConfiguration *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(40, 80), len); }
81 UPB_INLINE const envoy_api_v2_Vhds* envoy_api_v2_RouteConfiguration_vhds(const envoy_api_v2_RouteConfiguration *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_Vhds*, UPB_SIZE(16, 32)); }
149 UPB_INLINE struct google_protobuf_BoolValue* envoy_api_v2_RouteConfiguration_mutable_validate_clusters(envoy_api_v2_RouteConfiguration *msg, upb_arena *arena) {
150 struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_api_v2_RouteConfiguration_validate_clusters(msg);
151 if (sub == NULL) {
152 sub = (struct google_protobuf_BoolValue*)upb_msg_new(&google_protobuf_BoolValue_msginit, arena);
reader_test.js (https://github.com/chromium/chromium.git) JavaScript · 425 lines
2 * @fileoverview Tests for reader.js.
3 */
4 goog.module('protobuf.binary.ReaderTest');
6 goog.setTestOnly();
10 // tests in this file have to know which checking level is enable to make
11 // correct assertions.
12 const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
13 const ByteString = goog.require('protobuf.ByteString');
14 const reader = goog.require('protobuf.binary.reader');
15 const {CHECK_CRITICAL_STATE} = goog.require('protobuf.internal.checks');
16 const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
17 const {encode} = goog.require('protobuf.binary.textencoding');
ECPolicyDisabler.java (https://github.com/apache/oozie.git) Java · 174 lines
TestECPolicyDisabler.java (https://github.com/apache/oozie.git) Java · 154 lines
34 import org.apache.hadoop.hdfs.protocol.SystemErasureCodingPolicies.ReplicationPolicy;
35 import org.apache.hadoop.ipc.RemoteException;
36 import org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto;
37 import org.apache.oozie.tools.ECPolicyDisabler.Result;
38 import org.junit.Assert;
snap.pb.go (https://gitlab.com/hasura/kubernetes) Go · 332 lines
types.pb.go (https://github.com/mumble-voip/grumble.git) Go · 394 lines
5 package freezer
7 import proto "github.com/golang/protobuf/proto"
8 import json "encoding/json"
9 import math "math"
16 type Server struct {
17 Config []*ConfigKeyValuePair `protobuf:"bytes,2,rep,name=config" json:"config,omitempty"`
18 BanList *BanList `protobuf:"bytes,3,opt,name=ban_list" json:"ban_list,omitempty"`
19 Channels []*Channel `protobuf:"bytes,4,rep,name=channels" json:"channels,omitempty"`
20 Users []*User `protobuf:"bytes,5,rep,name=users" json:"users,omitempty"`
35 type ConfigKeyValuePair struct {
36 Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
37 Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
unittest_custom_options.proto (https://github.com/Morgul/idea-plugin-protobuf.git) Protocol Buffers · 238 lines
19 }
21 extend google.protobuf.FieldOptions {
22 optional fixed64 field_opt1 = 7740936;
23 // This is useful for testing that we correctly register default values for
26 }
28 extend google.protobuf.EnumOptions {
29 optional sfixed32 enum_opt1 = 7753576;
30 }
209 }
211 extend google.protobuf.MessageOptions {
212 optional protobuf_unittest.ComplexOptionType1 complex_opt1 = 7646756;
222 option (.protobuf_unittest.complex_opt1).foo = 42;
223 option (protobuf_unittest.complex_opt1).(.protobuf_unittest.quux) = 324;
224 option (.protobuf_unittest.complex_opt1).(protobuf_unittest.corge).qux = 876;
UnmodifiableLazyStringListTest.java (https://gitlab.com/yenny.prathivi/protobuf) Java · 227 lines
ProtobufPersistedData.java (https://gitlab.com/darithorn/Terasology) Java · 403 lines
14 * limitations under the License.
15 */
16 package org.terasology.persistence.typeHandling.protobuf;
18 import com.google.common.collect.Lists;
38 import org.terasology.persistence.typeHandling.inMemory.PersistedMap;
39 import org.terasology.persistence.typeHandling.inMemory.PersistedString;
40 import org.terasology.protobuf.EntityData;
42 import java.nio.ByteBuffer;
47 /**
48 */
49 public class ProtobufPersistedData implements PersistedData, PersistedDataArray {
50 private EntityData.Value data;
value.pb.validate.go (https://github.com/cloudfoundry/bosh-cli.git) Go · 522 lines
exported_symbols.h (https://github.com/mmmulani/class-dump-o-tron.git) C Header · 294 lines
2 /Applications/Xcode.app//Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libAWDProtobufHomeKit.dylib (for architecture armv7):
3 _ObjCBridge_HomeKit_Translate
4 __ZN3awd7metrics12HomeKitEvent10SharedCtorEv
71 __ZN3awd7metrics20HomeKitConfigurationD1Ev
72 __ZN3awd7metrics20HomeKitConfigurationD2Ev
73 __ZN3awd7metrics32protobuf_AddDesc_HomeKit_2eprotoEv
74 __ZN3awd7metrics35protobuf_AssignDesc_HomeKit_2eprotoEv
75 __ZN3awd7metrics37protobuf_ShutdownFile_HomeKit_2eprotoEv
76 __ZN3awd7metrics46static_descriptor_initializer_HomeKit_2eproto_E
77 __ZNK3awd7metrics12HomeKitEvent11GetMetadataEv
100 __ZTVN3awd7metrics20HomeKitConfigurationE
102 /Applications/Xcode.app//Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libAWDProtobufHomeKit.dylib (for architecture armv7s):
103 _ObjCBridge_HomeKit_Translate
104 __ZN3awd7metrics12HomeKitEvent10SharedCtorEv
generated_message_util.P (https://github.com/JTroniks/CyanogenMod-7.git) Prolog · 259 lines
1 out/target/product/sunfire/obj/STATIC_LIBRARIES/libprotobuf-cpp-2.3.0-lite_intermediates/src/google/protobuf/generated_message_util.o: \
2 external/protobuf/src/google/protobuf/generated_message_util.cc \
3 system/core/include/arch/linux-arm/AndroidConfig.h \
4 external/protobuf/src/google/protobuf/generated_message_util.h \
5 external/protobuf/src/google/protobuf/stubs/common.h \
129 external/stlport/stlport/stl/_string_io.c \
130 external/stlport/stlport/limits
131 external/protobuf/src/google/protobuf/generated_message_util.cc :
132 system/core/include/arch/linux-arm/AndroidConfig.h :
133 external/protobuf/src/google/protobuf/generated_message_util.h :
134 external/protobuf/src/google/protobuf/stubs/common.h :
135 external/stlport/stlport/assert.h :
136 external/stlport/stlport/stl/_cprolog.h :
generated_message_util.P (https://github.com/JTroniks/CyanogenMod-7.git) Prolog · 259 lines
1 out/target/product/sunfire/obj/STATIC_LIBRARIES/libprotobuf-cpp-2.3.0-full_intermediates/src/google/protobuf/generated_message_util.o: \
2 external/protobuf/src/google/protobuf/generated_message_util.cc \
3 system/core/include/arch/linux-arm/AndroidConfig.h \
4 external/protobuf/src/google/protobuf/generated_message_util.h \
5 external/protobuf/src/google/protobuf/stubs/common.h \
129 external/stlport/stlport/stl/_string_io.c \
130 external/stlport/stlport/limits
131 external/protobuf/src/google/protobuf/generated_message_util.cc :
132 system/core/include/arch/linux-arm/AndroidConfig.h :
133 external/protobuf/src/google/protobuf/generated_message_util.h :
134 external/protobuf/src/google/protobuf/stubs/common.h :
135 external/stlport/stlport/assert.h :
136 external/stlport/stlport/stl/_cprolog.h :
RecommendationType.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 197 lines
10 * Types of recommendations.
11 *
12 * Protobuf type <code>google.ads.googleads.v9.enums.RecommendationTypeEnum.RecommendationType</code>
13 */
14 class RecommendationType
17 * Not specified.
18 *
19 * Generated from protobuf enum <code>UNSPECIFIED = 0;</code>
20 */
21 const UNSPECIFIED = 0;
23 * Used for return value only. Represents value unknown in this version.
24 *
25 * Generated from protobuf enum <code>UNKNOWN = 1;</code>
26 */
27 const UNKNOWN = 1;
KeywordPlanKeywordHistoricalMetrics.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 191 lines
5 namespace Google\Ads\GoogleAds\V9\Services;
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
11 /**
12 * A keyword historical metrics.
13 *
14 * Generated from protobuf message <code>google.ads.googleads.v9.services.KeywordPlanKeywordHistoricalMetrics</code>
15 */
16 class KeywordPlanKeywordHistoricalMetrics extends \Google\Protobuf\Internal\Message
26 * close_variants field.
27 *
28 * Generated from protobuf field <code>optional string search_query = 4;</code>
29 */
30 protected $search_query = null;
LocalPlaceholderField.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 206 lines
10 * Possible values for Local placeholder fields.
11 *
12 * Protobuf type <code>google.ads.googleads.v9.enums.LocalPlaceholderFieldEnum.LocalPlaceholderField</code>
13 */
14 class LocalPlaceholderField
17 * Not specified.
18 *
19 * Generated from protobuf enum <code>UNSPECIFIED = 0;</code>
20 */
21 const UNSPECIFIED = 0;
23 * Used for return value only. Represents value unknown in this version.
24 *
25 * Generated from protobuf enum <code>UNKNOWN = 1;</code>
26 */
27 const UNKNOWN = 1;
AppEngagementAdInfo.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 180 lines
5 namespace Google\Ads\GoogleAds\V9\Common;
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
11 /**
15 * find what they're looking for easier and faster.
16 *
17 * Generated from protobuf message <code>google.ads.googleads.v9.common.AppEngagementAdInfo</code>
18 */
19 class AppEngagementAdInfo extends \Google\Protobuf\Internal\Message
23 * be selected from this list.
24 *
25 * Generated from protobuf field <code>repeated .google.ads.googleads.v9.common.AdTextAsset headlines = 1;</code>
26 */
27 private $headlines;
RpcMessage.pb-c.c
(https://code.google.com/p/protobuf-remote/)
C · 430 lines
✨ Summary
This C code defines two message descriptors for Protocol Buffers, a data serialization format. The first descriptor defines a Parameter
message with 10 fields and specifies their types and indices. The second descriptor defines an RpcMessage
message with three fields: id
, call_message
, and result_message
. These descriptors can be used to generate code for working with these messages in C.
This C code defines two message descriptors for Protocol Buffers, a data serialization format. The first descriptor defines a Parameter
message with 10 fields and specifies their types and indices. The second descriptor defines an RpcMessage
message with three fields: id
, call_message
, and result_message
. These descriptors can be used to generate code for working with these messages in C.
76 PROTOBUF_C_TYPE_STRING,
77 0, /* quantifier_offset */
78 PROTOBUF_C_OFFSETOF(ProtoBufRemote__RpcMessage__Call, service),
79 NULL,
80 NULL,
278 PROTOBUF_C_OFFSETOF(ProtoBufRemote__RpcMessage__Parameter, has_uint64_param),
279 PROTOBUF_C_OFFSETOF(ProtoBufRemote__RpcMessage__Parameter, uint64_param),
280 NULL,
281 NULL,
290 PROTOBUF_C_OFFSETOF(ProtoBufRemote__RpcMessage__Parameter, has_bool_param),
291 PROTOBUF_C_OFFSETOF(ProtoBufRemote__RpcMessage__Parameter, bool_param),
292 NULL,
293 NULL,
302 PROTOBUF_C_OFFSETOF(ProtoBufRemote__RpcMessage__Parameter, has_float_param),
303 PROTOBUF_C_OFFSETOF(ProtoBufRemote__RpcMessage__Parameter, float_param),
304 NULL,
305 NULL,
kv.pb.go (https://gitlab.com/github-cloud-corporation/flannel) Go · 541 lines
15 package storagepb
17 import proto "github.com/gogo/protobuf/proto"
19 // discarding unused import gogoproto "github.com/gogo/protobuf/gogoproto/gogo.pb"
50 type KeyValue struct {
51 Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
52 // mod_index is the last modified index of the key.
53 CreateIndex int64 `protobuf:"varint,2,opt,name=create_index,proto3" json:"create_index,omitempty"`
54 ModIndex int64 `protobuf:"varint,3,opt,name=mod_index,proto3" json:"mod_index,omitempty"`
55 // version is the version of the key. A deletion resets
56 // the version to zero and any modification of the key
57 // increases its version.
58 Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
59 Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
wrappers_pb2.py (https://gitlab.com/ChuyuHsu/slackbot) Python · 383 lines
20 package='google.protobuf',
21 syntax='proto3',
22 serialized_pb=_b('\n\x1egoogle/protobuf/wrappers.proto\x12\x0fgoogle.protobuf\"\x1c\n\x0b\x44oubleValue\x12\r\n\x05value\x18\x01 \x01(\x01\"\x1b\n\nFloatValue\x12\r\n\x05value\x18\x01 \x01(\x02\"\x1b\n\nInt64Value\x12\r\n\x05value\x18\x01 \x01(\x03\"\x1c\n\x0bUInt64Value\x12\r\n\x05value\x18\x01 \x01(\x04\"\x1b\n\nInt32Value\x12\r\n\x05value\x18\x01 \x01(\x05\"\x1c\n\x0bUInt32Value\x12\r\n\x05value\x18\x01 \x01(\r\"\x1a\n\tBoolValue\x12\r\n\x05value\x18\x01 \x01(\x08\"\x1c\n\x0bStringValue\x12\r\n\x05value\x18\x01 \x01(\t\"\x1b\n\nBytesValue\x12\r\n\x05value\x18\x01 \x01(\x0c\x42S\n\x13\x63om.google.protobufB\rWrappersProtoP\x01\xa0\x01\x01\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3')
23 )
24 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
221 fields=[
222 _descriptor.FieldDescriptor(
223 name='value', full_name='google.protobuf.BoolValue.value', index=0,
224 number=1, type=8, cpp_type=7, label=1,
225 has_default_value=False, default_value=False,
381 DESCRIPTOR.has_options = True
382 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\023com.google.protobufB\rWrappersProtoP\001\240\001\001\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypes'))
383 # @@protoc_insertion_point(module_scope)
Class1.cs (https://github.com/code-attic/Symbiote.git) C# · 226 lines
10 using Symbiote.Core.Serialization;
11 using Symbiote.Riak.Impl.Data;
12 using Symbiote.Riak.Impl.ProtoBuf;
13 using Symbiote.Riak.Impl.ProtoBuf.Request;
14 using Symbiote.Riak.Impl.ProtoBuf.Response;
15 using Symbiote.StructureMapAdapter;
16 using Symbiote.Riak;
141 var stream = Client.GetStream();
143 var factory = new ProtoBufCommandFactory();
144 var command = factory.CreateGet( "test", "a", 1 );
145 var content = command.ToProtocolBuffer();
message_helper.h (https://github.com/baidu/BaikalDB.git) C Header · 362 lines
KNUIState.h (https://gitlab.com/akashshinde/iOS-Runtime-Headers) C Header · 122 lines
86 - (BOOL)lightTableHidesSkippedSlides;
87 - (float)lightTableZoomScale;
88 - (void)loadFromArchive:(const struct UIStateArchive { int (**x1)(); struct UnknownFieldSet { struct vector<google::protobuf::UnknownField, std::__1::allocator<google::protobuf::UnknownField> > {} *x_2_1_1; } x2; unsigned int x3[1]; int x4; struct Reference {} *x5; struct Reference {} *x6; struct Size {} *x7; struct Point {} *x8; float x9; float x10; struct RepeatedPtrField<TSP::Reference> { void **x_11_1_1; int x_11_1_2; int x_11_1_3; int x_11_1_4; } x11; struct Point {} *x12; struct Point {} *x13; struct Reference {} *x14; float x15; float x16; struct Point {} *x17; struct RepeatedPtrField<TSCH::ChartUIState> { void **x_18_1_1; int x_18_1_2; int x_18_1_3; int x_18_1_4; } x18; float x19; bool x20; bool x21; bool x22; bool x23; struct RepeatedPtrField<TSP::Reference> { void **x_24_1_1; int x_24_1_2; int x_24_1_3; int x_24_1_4; } x24; struct RepeatedPtrField<TSP::Reference> { void **x_25_1_1; int x_25_1_2; int x_25_1_3; int x_25_1_4; } x25; struct RepeatedPtrField<TSP::Reference> { void **x_26_1_1; int x_26_1_2; int x_26_1_3; int x_26_1_4; } x26; float x27; float x28; struct Size {} *x29; bool x30; bool x31; float x32; struct Point {} *x33; struct SelectionPathArchive {} *x34; }*)arg1 unarchiver:(id)arg2 context:(id)arg3;
89 - (id)outlineCollapsedSlideNodes;
90 - (id)outlineHasBodySlideNodes;
91 - (void)saveToArchive:(struct UIStateArchive { int (**x1)(); struct UnknownFieldSet { struct vector<google::protobuf::UnknownField, std::__1::allocator<google::protobuf::UnknownField> > {} *x_2_1_1; } x2; unsigned int x3[1]; int x4; struct Reference {} *x5; struct Reference {} *x6; struct Size {} *x7; struct Point {} *x8; float x9; float x10; struct RepeatedPtrField<TSP::Reference> { void **x_11_1_1; int x_11_1_2; int x_11_1_3; int x_11_1_4; } x11; struct Point {} *x12; struct Point {} *x13; struct Reference {} *x14; float x15; float x16; struct Point {} *x17; struct RepeatedPtrField<TSCH::ChartUIState> { void **x_18_1_1; int x_18_1_2; int x_18_1_3; int x_18_1_4; } x18; float x19; bool x20; bool x21; bool x22; bool x23; struct RepeatedPtrField<TSP::Reference> { void **x_24_1_1; int x_24_1_2; int x_24_1_3; int x_24_1_4; } x24; struct RepeatedPtrField<TSP::Reference> { void **x_25_1_1; int x_25_1_2; int x_25_1_3; int x_25_1_4; } x25; struct RepeatedPtrField<TSP::Reference> { void **x_26_1_1; int x_26_1_2; int x_26_1_3; int x_26_1_4; } x26; float x27; float x28; struct Size {} *x29; bool x30; bool x31; float x32; struct Point {} *x33; struct SelectionPathArchive {} *x34; }*)arg1 archiver:(id)arg2 context:(id)arg3;
92 - (id)selectionPath;
93 - (void)setCanvasOffset:(struct CGPoint { float x1; float x2; })arg1;
GuidTests.cs (https://gitlab.com/meermalik/protobuf-net) C# · 198 lines
MediaFile.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 468 lines
5 namespace Google\Ads\GoogleAds\V9\Resources;
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
11 /**
12 * A media file.
13 *
14 * Generated from protobuf message <code>google.ads.googleads.v9.resources.MediaFile</code>
15 */
16 class MediaFile extends \Google\Protobuf\Internal\Message
21 * `customers/{customer_id}/mediaFiles/{media_file_id}`
22 *
23 * Generated from protobuf field <code>string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {</code>
24 */
25 protected $resource_name = '';
DataContextModelCollection.cs
(https://hg01.codeplex.com/upreader)
C# · 425 lines
✨ Summary
This is a C# implementation of an ORM (Object-Relational Mapping) system, specifically a ModelSet
class that manages a collection of objects and provides methods for adding, removing, and persisting changes to the underlying data context. It uses a dictionary to track changes and provides a way to save these changes back to the data context.
This is a C# implementation of an ORM (Object-Relational Mapping) system, specifically a ModelSet
class that manages a collection of objects and provides methods for adding, removing, and persisting changes to the underlying data context. It uses a dictionary to track changes and provides a way to save these changes back to the data context.
k.java (https://github.com/HelloHuDi/AndroidReverseNotes.git) Java · 325 lines
3 import com.tencent.matrix.trace.core.AppMethodBeat;
4 import com.tencent.mm.kernel.g;
5 import com.tencent.mm.protocal.protobuf.aar;
6 import com.tencent.mm.protocal.protobuf.abe;
7 import com.tencent.mm.protocal.protobuf.abl;
8 import com.tencent.mm.protocal.protobuf.abo;
9 import com.tencent.mm.protocal.protobuf.abu;
10 import com.tencent.mm.sdk.platformtools.ab;
11 import com.tencent.mm.sdk.platformtools.bo;
message_reflect_field.go (https://gitlab.com/jamesclonk-io/stdlib) Go · 466 lines
11 "sync"
13 "google.golang.org/protobuf/internal/flags"
14 pref "google.golang.org/protobuf/reflect/protoreflect"
15 preg "google.golang.org/protobuf/reflect/protoregistry"
16 )
19 fieldDesc pref.FieldDescriptor
21 // These fields are used for protobuf reflection support.
22 has func(pointer) bool
23 clear func(pointer)
register.c (https://bitbucket.org/kevin_sun/sanguo_client.git) C · 337 lines
Serializer.cs (https://github.com/eigenein/cloudy.git) C# · 290 lines
5 using System.Reflection;
6 using System.Runtime.Serialization;
7 using Cloudy.Protobuf.Attributes;
8 using Cloudy.Protobuf.Encoding;
9 using Cloudy.Protobuf.Enums;
10 using Cloudy.Protobuf.Exceptions;
11 using Cloudy.Protobuf.Helpers;
12 using Cloudy.Protobuf.Interfaces;
13 using Cloudy.Protobuf.Serializers;
14 using Cloudy.Protobuf.Structures;
15 using Cloudy.Protobuf.ValueBuilders;
17 namespace Cloudy.Protobuf
InfoServiceGrpc.java (https://gitlab.com/geropl/gitpod) Java · 280 lines
39 .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WorkspaceInfo"))
40 .setSampledToLocalTracing(true)
41 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
42 io.gitpod.supervisor.api.Info.WorkspaceInfoRequest.getDefaultInstance()))
43 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
228 private static abstract class InfoServiceBaseDescriptorSupplier
229 implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
230 InfoServiceBaseDescriptorSupplier() {}
232 @java.lang.Override
233 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
234 return io.gitpod.supervisor.api.Info.getDescriptor();
235 }
test_raw_data_manifest_manager.py (https://github.com/bytedance/fedlearner.git) Python · 291 lines
PySparkJob.php (https://github.com/GoogleCloudPlatform/google-cloud-php.git) PHP · 358 lines
5 namespace Google\Cloud\Dataproc\V1beta2;
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
11 /**
15 * applications on YARN.
16 *
17 * Generated from protobuf message <code>google.cloud.dataproc.v1beta2.PySparkJob</code>
18 */
19 class PySparkJob extends \Google\Protobuf\Internal\Message
313 public function setProperties($var)
314 {
315 $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
316 $this->properties = $arr;
effects_pb2.py (https://github.com/Tiendil/the-tale.git) Python · 501 lines
4 import sys
5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6 from google.protobuf import descriptor as _descriptor
7 from google.protobuf import message as _message
8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database
10 from google.protobuf import descriptor_pb2
11 # @@protoc_insertion_point(imports)
atomicops_internals_tsan.h (https://github.com/rillian/firefox.git) C Header · 219 lines
33 // Use atomicops.h instead.
35 #ifndef GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_TSAN_H_
36 #define GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_TSAN_H_
42 namespace google {
43 namespace protobuf {
44 namespace internal {
213 } // namespace internal
214 } // namespace protobuf
215 } // namespace google
217 #undef ATOMICOPS_COMPILER_BARRIER
219 #endif // GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_TSAN_H_
NumberTests.cs (https://gitlab.com/meermalik/protobuf-net) C# · 293 lines
types.go (https://gitlab.com/unofficial-mirrors/openshift-origin) Go · 322 lines
testbinary.proto (https://gitlab.com/admin-github-cloud/protobuf) Protocol Buffers · 212 lines
RPC.scala (https://github.com/apeshimam/akka-modules.git) Scala · 352 lines
3 import akka.amqp.AMQP._
4 import com.google.protobuf.Message
5 import akka.actor.{Actor, ActorRef}
6 import Actor._
158 // Needed for Java API usage
159 def newProtobufRpcServer[I <: Message, O <: Message](
160 connection: ActorRef,
161 exchangeName: String,
165 implicit val manifest = Manifest.classType[I](resultClazz)
166 newProtobufRpcServer(connection, exchangeName, requestHandler.apply _)
167 }
RpcMessage.cs
(https://code.google.com/p/protobuf-remote/)
C# · 334 lines
✨ Summary
This C# code defines a class Parameter
with multiple properties, each representing a different data type (e.g., boolean, float, double). The class includes getter and setter methods for each property, as well as an IsNull
property that indicates whether the value is null. The class also implements the IExtensible
interface to support extension objects.
This C# code defines a class Parameter
with multiple properties, each representing a different data type (e.g., boolean, float, double). The class includes getter and setter methods for each property, as well as an IsNull
property that indicates whether the value is null. The class also implements the IExtensible
interface to support extension objects.
20 private int _id;
21 [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
22 public int Id
23 {
107 private string _errorMessage;
108 [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"error_message", DataFormat = global::ProtoBuf.DataFormat.Default)]
109 public string ErrorMessage
110 {
288 private double? _doubleParam;
289 [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"double_param", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
290 public double DoubleParam
291 {
328 private global::ProtoBuf.IExtension extensionObject;
329 global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
330 { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
tfsignaturedef_test.go (https://github.com/kubeflow/kfserving.git) Go · 534 lines
10 "github.com/kubeflow/kfserving/pkg/utils"
11 "github.com/kubeflow/kfserving/tools/tf2openapi/generated/framework"
12 pb "github.com/kubeflow/kfserving/tools/tf2openapi/generated/protobuf"
13 )
96 }
98 /* Fake protobuf structs to use as test inputs */
99 func goodTensorsPb(name string) map[string]*pb.TensorInfo {
100 return map[string]*pb.TensorInfo{
enumstringerpb_test.go (https://gitlab.com/JamesClonk/firehose-to-syslog) Go · 378 lines
20 import math_rand "math/rand"
21 import time "time"
22 import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
23 import encoding_json "encoding/json"
26 popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano()))
27 p := NewPopulatedNidOptEnum(popr, false)
28 data, err := github_com_gogo_protobuf_proto.Marshal(p)
29 if err != nil {
30 panic(err)
31 }
32 msg := &NidOptEnum{}
33 if err := github_com_gogo_protobuf_proto.Unmarshal(data, msg); err != nil {
34 panic(err)
35 }
address.pb.validate.go (https://github.com/monzo/egress-operator.git) Go · 594 lines
grpc_web.pb.go (https://github.com/datawire/ambassador.git) Go · 154 lines
MRClientProtocolPBClientImpl.java (https://github.com/vicaya/hadoop-patches.git) Java · 286 lines
options.pb.go (https://github.com/prysmaticlabs/geth-sharding.git) Go · 148 lines
10 reflect "reflect"
12 proto "github.com/golang/protobuf/proto"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 descriptorpb "google.golang.org/protobuf/types/descriptorpb"
110 var file_proto_eth_ext_options_proto_goTypes = []interface{}{
111 (*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions
112 }
113 var file_proto_eth_ext_options_proto_depIdxs = []int32{
114 0, // 0: ethereum.eth.ext.cast_type:extendee -> google.protobuf.FieldOptions
115 0, // 1: ethereum.eth.ext.ssz_size:extendee -> google.protobuf.FieldOptions
C42371i.java (https://github.com/HelloHuDi/AndroidReverseNotes.git) Java · 143 lines
11 import com.tencent.p177mm.plugin.appbrand.p329s.C42677e;
12 import com.tencent.p177mm.plugin.appbrand.report.AppBrandRecommendStatObj;
13 import com.tencent.p177mm.protocal.protobuf.C23440sq;
14 import com.tencent.p177mm.protocal.protobuf.C40513dn;
15 import com.tencent.p177mm.protocal.protobuf.big;
16 import com.tencent.p177mm.protocal.protobuf.bow;
17 import com.tencent.p177mm.protocal.protobuf.box;
18 import com.tencent.p177mm.protocal.protobuf.bqc;
19 import com.tencent.p177mm.protocal.protobuf.bqe;
20 import com.tencent.p177mm.protocal.protobuf.btd;
test_genesis.py (https://github.com/Remmeauth/remme-core.git) Python · 193 lines
d.java (https://github.com/HelloHuDi/AndroidReverseNotes.git) Java · 210 lines
C7472b.java (https://github.com/HelloHuDi/AndroidReverseNotes.git) Java · 221 lines
10 import com.tencent.p177mm.protocal.C4836l.C4835e;
11 import com.tencent.p177mm.protocal.C4851z;
12 import com.tencent.p177mm.protocal.protobuf.bsr;
13 import com.tencent.p177mm.protocal.protobuf.btd;
14 import com.tencent.p177mm.protocal.protobuf.bzw;
15 import com.tencent.p177mm.sdk.platformtools.C5046bo;
types.go (https://gitlab.com/CORP-RESELLER/kubernetes) Go · 140 lines
extract_includes.bat.in (https://github.com/chromium/chromium.git) Autoconf · 131 lines
17 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\any.pb.h" include\google\protobuf\any.pb.h
18 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\api.pb.h" include\google\protobuf\api.pb.h
19 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\arena.h" include\google\protobuf\arena.h
20 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\arena_impl.h" include\google\protobuf\arena_impl.h
21 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\arenastring.h" include\google\protobuf\arenastring.h
57 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\coded_stream.h" include\google\protobuf\io\coded_stream.h
58 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\gzip_stream.h" include\google\protobuf\io\gzip_stream.h
59 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\io_win32.h" include\google\protobuf\io\io_win32.h
94 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\stubs\macros.h" include\google\protobuf\stubs\macros.h
95 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\stubs\map_util.h" include\google\protobuf\stubs\map_util.h
96 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\stubs\mutex.h" include\google\protobuf\stubs\mutex.h
102 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\stubs\stringpiece.h" include\google\protobuf\stubs\stringpiece.h
103 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\stubs\strutil.h" include\google\protobuf\stubs\strutil.h
104 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\stubs\template_util.h" include\google\protobuf\stubs\template_util.h
105 copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\text_format.h" include\google\protobuf\text_format.h
AkkaAmqp.java (https://github.com/apeshimam/akka-modules.git) Java · 340 lines
7 private AkkaAmqp() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
10 }
11 public static final class TestMessage extends
12 com.google.protobuf.GeneratedMessage {
13 // Use TestMessage.newBuilder() to construct.
14 private TestMessage() {
26 }
28 public static final com.google.protobuf.Descriptors.Descriptor
29 getDescriptor() {
30 return akka.amqp.AkkaAmqp.internal_static_TestMessage_descriptor;
todo_operation_body.go (https://github.com/go-swagger/go-swagger.git) Go · 298 lines
StringTable.java (https://bitbucket.org/leemur/logistica.git) Java · 138 lines
DataRecord.pb.h (https://github.com/doughodson/OpenEaaglesExamples.git) C Header · 245 lines
2 // source: xrecorder/protobuf/DataRecord.proto
4 #ifndef PROTOBUF_xrecorder_2fprotobuf_2fDataRecord_2eproto__INCLUDED
5 #define PROTOBUF_xrecorder_2fprotobuf_2fDataRecord_2eproto__INCLUDED
34 // Internal implementation detail -- do not call these.
35 void protobuf_AddDesc_xrecorder_2fprotobuf_2fDataRecord_2eproto();
36 void protobuf_AssignDesc_xrecorder_2fprotobuf_2fDataRecord_2eproto();
37 void protobuf_ShutdownFile_xrecorder_2fprotobuf_2fDataRecord_2eproto();
39 class MyDataMsg;
82 ::google::protobuf::io::CodedOutputStream* output) const;
83 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
84 int GetCachedSize() const { return _cached_size_; }
85 private:
ReflectionUtil.cs (https://gitlab.com/github-cloud-corporation/protobuf) C# · 107 lines
Dependencies.cmake (https://gitlab.com/admin-github-cloud/caffe) CMake · 178 lines
binaries_test.go (https://github.com/BishopFox/sliver.git) Go · 265 lines
field_mask.pb.h (https://gitlab.com/admin-github-cloud/protobuf) C Header · 206 lines
2 // source: google/protobuf/field_mask.proto
4 #ifndef PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto__INCLUDED
35 // Internal implementation detail -- do not call these.
36 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ffield_5fmask_2eproto();
37 void protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto();
42 // ===================================================================
44 class LIBPROTOBUF_EXPORT FieldMask : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldMask) */ {
45 public:
46 FieldMask();
125 ::google::protobuf::RepeatedPtrField< ::std::string> paths_;
126 mutable int _cached_size_;
127 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ffield_5fmask_2eproto();
128 friend void protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto();
TruthMaintenanceSystem.java (https://github.com/esteban-aliverti/drools.git) Java · 160 lines
29 import org.drools.core.marshalling.impl.MarshallerWriteContext;
30 import org.drools.core.marshalling.impl.PersisterHelper;
31 import org.drools.core.marshalling.impl.ProtobufMessages;
32 import org.drools.core.marshalling.impl.ProtobufMessages.ActionQueue.Action;
33 import org.drools.core.marshalling.impl.ProtobufMessages.ActionQueue.LogicalRetract;
34 import org.drools.core.reteoo.ObjectTypeConf;
35 import org.drools.core.rule.Rule;
rpc.pb.h (https://github.com/ericmuyser/proto.git) C Header · 221 lines
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2003000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
67 Packet* New() const;
68 void CopyFrom(const ::google::protobuf::Message& from);
69 void MergeFrom(const ::google::protobuf::Message& from);
75 int ByteSize() const;
76 bool MergePartialFromCodedStream(
77 ::google::protobuf::io::CodedInputStream* input);
78 void SerializeWithCachedSizes(
79 ::google::protobuf::io::CodedOutputStream* output) const;
80 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
81 int GetCachedSize() const { return _cached_size_; }
82 private:
test_bad_identifiers_pb2.py (https://gitlab.com/ChuyuHsu/slackbot) Python · 161 lines
7 from google.protobuf import message as _message
8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database
10 from google.protobuf import service as _service
11 from google.protobuf import service_reflection
22 package='protobuf_unittest',
23 syntax='proto2',
24 serialized_pb=_b('\n3google/protobuf/internal/test_bad_identifiers.proto\x12\x11protobuf_unittest\"\x1e\n\x12TestBadIdentifiers*\x08\x08\x64\x10\x80\x80\x80\x80\x02\"\x10\n\x0e\x41notherMessage2\x10\n\x0e\x41notherService:;\n\x07message\x12%.protobuf_unittest.TestBadIdentifiers\x18\x64 \x01(\t:\x03\x66oo:>\n\ndescriptor\x12%.protobuf_unittest.TestBadIdentifiers\x18\x65 \x01(\t:\x03\x62\x61r:>\n\nreflection\x12%.protobuf_unittest.TestBadIdentifiers\x18\x66 \x01(\t:\x03\x62\x61z:;\n\x07service\x12%.protobuf_unittest.TestBadIdentifiers\x18g \x01(\t:\x03quxB\x03\x90\x01\x01')
25 )
26 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
37 DESCRIPTOR_FIELD_NUMBER = 101
38 descriptor = _descriptor.FieldDescriptor(
39 name='descriptor', full_name='protobuf_unittest.descriptor', index=1,
40 number=101, type=9, cpp_type=9, label=1,
41 has_default_value=True, default_value=_b("bar").decode('utf-8'),
Channel.cpp (https://github.com/starcasters/lisanna.git) C++ · 297 lines
AffiliateLocationFeedItem.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 473 lines
5 namespace Google\Ads\GoogleAds\V9\Common;
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
11 /**
12 * Represents an affiliate location extension.
13 *
14 * Generated from protobuf message <code>google.ads.googleads.v9.common.AffiliateLocationFeedItem</code>
15 */
16 class AffiliateLocationFeedItem extends \Google\Protobuf\Internal\Message
19 * The name of the business.
20 *
21 * Generated from protobuf field <code>optional string business_name = 11;</code>
22 */
23 protected $business_name = null;
BinaryDeserializer.java (https://github.com/openxc/openxc-android.git) Java · 278 lines
java_message_field.h (https://gitlab.com/vectorci/rippled) C Header · 136 lines
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved.
3 // http://code.google.com/p/protobuf/
4 //
5 // Redistribution and use in source and binary forms, with or without
33 // Sanjay Ghemawat, Jeff Dean, and others.
35 #ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_MESSAGE_FIELD_H__
36 #define GOOGLE_PROTOBUF_COMPILER_JAVA_MESSAGE_FIELD_H__
38 #include <map>
39 #include <string>
40 #include <google/protobuf/compiler/java/java_field.h>
42 namespace google {
43 namespace protobuf {
44 namespace compiler {
45 namespace java {
ItemCrafting.pb.h (https://github.com/cmoski/lisanna.git) C Header · 389 lines
80 ::google::protobuf::io::CodedOutputStream* output) const;
81 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
82 int GetCachedSize() const { return _cached_size_; }
83 private:
267 return recipes_;
268 }
269 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
270 CrafterData::mutable_recipes() {
271 return &recipes_;
288 available_enchants_.Add(value);
289 }
290 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
291 CrafterData::available_enchants() const {
292 return available_enchants_;
293 }
294 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
295 CrafterData::mutable_available_enchants() {
296 return &available_enchants_;
ProtobufSerialization.java (https://github.com/weibocom/motan.git) Java · 173 lines
17 package com.weibo.api.motan.serialize;
19 import com.google.protobuf.CodedInputStream;
20 import com.google.protobuf.CodedOutputStream;
21 import com.google.protobuf.MessageLite;
22 import com.weibo.api.motan.codec.Serialization;
23 import com.weibo.api.motan.core.extension.SpiMeta;
29 /**
30 * protobuf序列化器,支持基本数据类型及其包装类、String、Throwable、Protobuf2/3对象
31 *
32 * @author zhouhaocheng
33 */
34 @SpiMeta(name = "protobuf")
35 public class ProtobufSerialization implements Serialization {
AWDAirPlayAudioSessionEndedOnServer.h (https://gitlab.com/edelmaks/iOS-iphoneheaders) C Header · 259 lines
3 * on Thursday, November 28, 2013 at 3:59:01 AM Eastern European Standard Time
4 * Operating System: Version 7.0.3 (Build 11B511)
5 * Image Source: /usr/lib/libAWDProtobufAirPlay.dylib
6 * classdump-dyld is free of use, Copyright © 2013 by Elias Limneos.
7 */
9 #import <libAWDProtobufAirPlay.dylib/libAWDProtobufAirPlay.dylib-Structs.h>
10 #import <ProtocolBuffer/PBCodable.h>
proto.pb.go (https://gitlab.com/unofficial-mirrors/openshift-origin) Go · 352 lines
15 package issue34
17 import proto "github.com/gogo/protobuf/proto"
18 import fmt "fmt"
19 import math "math"
20 import _ "github.com/gogo/protobuf/gogoproto"
22 import io "io"
35 type Foo struct {
36 Bar []byte `protobuf:"bytes,1,opt,name=bar" json:"bar,omitempty"`
37 XXX_unrecognized []byte `json:"-"`
38 }
casttypepb_test.go (https://gitlab.com/unofficial-mirrors/openshift-origin) Go · 457 lines
18 import math_rand "math/rand"
19 import time "time"
20 import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
21 import github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb"
22 import fmt "fmt"
23 import go_parser "go/parser"
24 import proto "github.com/gogo/protobuf/proto"
25 import math "math"
26 import _ "github.com/gogo/protobuf/gogoproto"
35 popr := math_rand.New(math_rand.NewSource(seed))
36 p := NewPopulatedCastaway(popr, false)
37 dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
38 if err != nil {
39 t.Fatalf("seed = %d, err = %v", seed, err)
40 }
41 msg := &Castaway{}
42 if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
43 t.Fatalf("seed = %d, err = %v", seed, err)
44 }
ProtoClient.cs (https://github.com/csmaster2005/inbox2_desktop.git) C# · 229 lines
adp.java (https://github.com/HelloHuDi/AndroidReverseNotes.git) Java · 379 lines
main.cpp (https://gitlab.com/asimpletune/rethinkdb) C++ · 291 lines
types.go (https://gitlab.com/unofficial-mirrors/kubernetes-contrib) Go · 178 lines
32 type PolicyRule struct {
33 // Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
34 Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
35 // AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports.
36 // If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error.
37 AttributeRestrictions runtime.RawExtension `json:"attributeRestrictions,omitempty" protobuf:"bytes,2,opt,name=attributeRestrictions"`
39 // APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
40 // the enumerated resources in any API group will be allowed.
41 APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,3,rep,name=apiGroups"`
42 // Resources is a list of resources this rule applies to. ResourceAll represents all resources.
43 Resources []string `json:"resources,omitempty" protobuf:"bytes,4,rep,name=resources"`
core_riak_tests.coffee (https://github.com/gotascii/riak-js.git) CoffeeScript · 190 lines
129 db.remove 'riakjs_flights', 'IBE_4418', (err, data) ->
130 assert.equal err, null
131 # assert.equal data, undefined -- HTTP returns undefined, PROTOBUF an object
133 db.get 'riakjs_flights', 'IBE_4418', (err, flight) ->
147 end()
148 assert.ok err.message?
149 # assert.ok response.errcode? -- ONLY PROTOBUF
150 delete calls.mapError
163 .run (err, response) ->
164 end()
165 # assert.deepEqual [0, 1], response.phases.sort() -- ONLY PROTOBUF
166 assert.equal 7, response[0].length
167 assert.equal 1029, response[1]
cpp_message_field.h (https://github.com/alibaba/x-deeplearning.git) C Header · 158 lines
48 // Sanjay Ghemawat, Jeff Dean, and others.
50 #ifndef GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_FIELD_H__
51 #define GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_FIELD_H__
53 #include <map>
54 #include <string>
55 #include <google/protobuf/compiler/cpp/cpp_field.h>
57 namespace google {
58 namespace protobuf {
59 namespace compiler {
60 namespace cpp {
153 } // namespace cpp
154 } // namespace compiler
155 } // namespace protobuf
157 } // namespace google
package-tree.html (https://github.com/johnynek/elephant-bird.git) HTML · 153 lines
4 <HEAD>
5 <TITLE>
6 com.twitter.elephantbird.cascading2.io.protobuf Class Hierarchy
7 </TITLE>
14 {
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="com.twitter.elephantbird.cascading2.io.protobuf Class Hierarchy";
17 }
18 }
90 <UL>
91 <LI TYPE="circle">java.lang.Object<UL>
92 <LI TYPE="circle">com.twitter.elephantbird.cascading2.io.protobuf.<A HREF="../../../../../../com/twitter/elephantbird/cascading2/io/protobuf/ProtobufComparator.html" title="class in com.twitter.elephantbird.cascading2.io.protobuf"><B>ProtobufComparator</B></A> (implements java.util.Comparator<T>, cascading.tuple.StreamComparator<T>)
93 <LI TYPE="circle">com.twitter.elephantbird.cascading2.io.protobuf.<A HREF="../../../../../../com/twitter/elephantbird/cascading2/io/protobuf/ProtobufDeserializer.html" title="class in com.twitter.elephantbird.cascading2.io.protobuf"><B>ProtobufDeserializer</B></A> (implements org.apache.hadoop.io.serializer.Deserializer<T>)
94 <LI TYPE="circle">com.twitter.elephantbird.cascading2.io.protobuf.<A HREF="../../../../../../com/twitter/elephantbird/cascading2/io/protobuf/ProtobufReflectionUtil.html" title="class in com.twitter.elephantbird.cascading2.io.protobuf"><B>ProtobufReflectionUtil</B></A><LI TYPE="circle">com.twitter.elephantbird.cascading2.io.protobuf.<A HREF="../../../../../../com/twitter/elephantbird/cascading2/io/protobuf/ProtobufSerialization.html" title="class in com.twitter.elephantbird.cascading2.io.protobuf"><B>ProtobufSerialization</B></A> (implements cascading.tuple.Comparison<T>, org.apache.hadoop.io.serializer.Serialization<T>)
95 <LI TYPE="circle">com.twitter.elephantbird.cascading2.io.protobuf.<A HREF="../../../../../../com/twitter/elephantbird/cascading2/io/protobuf/ProtobufSerializer.html" title="class in com.twitter.elephantbird.cascading2.io.protobuf"><B>ProtobufSerializer</B></A> (implements org.apache.hadoop.io.serializer.Serializer<T>)
security.rb (https://github.com/jmhsieh/hbase.git) Ruby · 172 lines
65 # invoke cp endpoint to perform access controlse
66 org.apache.hadoop.hbase.protobuf.ProtobufUtil.grant(
67 protocol, user, tablebytes, fambytes,
68 qualbytes, perm.getActions())
104 # invoke cp endpoint to perform access controlse
105 org.apache.hadoop.hbase.protobuf.ProtobufUtil.revoke(
106 protocol, user, tablebytes, fambytes, qualbytes)
107 ensure
131 # invoke cp endpoint to perform access controlse
132 perms = org.apache.hadoop.hbase.protobuf.ProtobufUtil.getUserPermissions(
133 protocol, tablebytes)
134 ensure
Comprehension.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 310 lines
5 namespace Google\Api\Expr\V1beta1\Expr;
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
11 /**
32 * types, the macro tests whether the property `x` is defined on `m`.
33 *
34 * Generated from protobuf message <code>google.api.expr.v1beta1.Expr.Comprehension</code>
35 */
36 class Comprehension extends \Google\Protobuf\Internal\Message
39 * The name of the iteration variable.
40 *
41 * Generated from protobuf field <code>string iter_var = 1;</code>
42 */
43 private $iter_var = '';
status.go (https://gitlab.com/ipernet/gitlab-shell) Go · 193 lines
client.cpp (https://github.com/pxf/pxf-tech2.git) C++ · 231 lines
pb_types.js (https://gitlab.com/disruptivo/uniandes) JavaScript · 309 lines
PropertiesIosAppDataStreamsMeasurementProtocolSecrets.php (https://gitlab.com/Japang-Jawara/jawara-penilaian) PHP · 133 lines
20 use Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse;
21 use Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret;
22 use Google\Service\GoogleAnalyticsAdmin\GoogleProtobufEmpty;
24 /**
57 * (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
58 * @param array $optParams Optional parameters.
59 * @return GoogleProtobufEmpty
60 */
61 public function delete($name, $optParams = [])
63 $params = ['name' => $name];
64 $params = array_merge($params, $optParams);
65 return $this->call('delete', [$params], GoogleProtobufEmpty::class);
66 }
67 /**
write.nanopb.h (https://gitlab.com/bigSur_Civic/flash-chat-completed) C Header · 233 lines
28 #include "google/firestore/v1/document.nanopb.h"
30 #include "google/protobuf/timestamp.nanopb.h"
32 #include <string>
74 pb_bytes_array_t *document;
75 bool has_read_time;
76 google_protobuf_Timestamp read_time;
77 pb_size_t removed_target_ids_count;
78 int32_t *removed_target_ids;
86 pb_size_t removed_target_ids_count;
87 int32_t *removed_target_ids;
88 google_protobuf_Timestamp read_time;
90 std::string ToString(int indent = 0) const;
DetailsResponse.java (https://github.com/xl8or/-.git) Java · 196 lines
3 import com.google.android.finsky.remoting.protos.DeviceDoc;
4 import com.google.android.finsky.remoting.protos.Rev;
5 import com.google.protobuf.micro.CodedInputStreamMicro;
6 import com.google.protobuf.micro.CodedOutputStreamMicro;
7 import com.google.protobuf.micro.InvalidProtocolBufferMicroException;
8 import com.google.protobuf.micro.MessageMicro;
Api.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 360 lines
95 * @type \Google\Protobuf\Method[]|\Google\Protobuf\Internal\RepeatedField $methods
96 * The methods of this interface, in unspecified order.
97 * @type \Google\Protobuf\Option[]|\Google\Protobuf\Internal\RepeatedField $options
98 * Any metadata attached to the interface.
99 * @type string $version
271 * message.
272 *
273 * Generated from protobuf field <code>.google.protobuf.SourceContext source_context = 5;</code>
274 * @return \Google\Protobuf\SourceContext|null
334 * The source syntax of the service.
335 *
336 * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 7;</code>
337 * @return int
338 */
345 * The source syntax of the service.
346 *
347 * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 7;</code>
348 * @param int $var
349 * @return $this
osx-homebrew.yaml (https://bitbucket.org/quantumrobotics/rosdistro.git) YAML · 451 lines
BadgeDaoTest.php (https://github.com/TheRosettaFoundation/SOLAS-Match.git) PHP · 288 lines
Testmsg.java (https://github.com/dmoore247/tap.git) Java · 380 lines
7 private Testmsg() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
10 }
11 public static final class TestMsg extends
12 com.google.protobuf.GeneratedMessage {
13 // Use TestMsg.newBuilder() to construct.
14 private TestMsg() {
26 }
28 public static final com.google.protobuf.Descriptors.Descriptor
29 getDescriptor() {
30 return tap.formats.tapproto.Testmsg.internal_static_tap_formats_tapproto_TestMsg_descriptor;
enumstringer.pb.go (https://gitlab.com/JamesClonk/firehose-to-syslog) Go · 506 lines
17 package enumstringer
19 import proto "github.com/gogo/protobuf/proto"
20 import math "math"
22 // discarding unused import gogoproto "github.com/gogo/protobuf/gogoproto/gogo.pb"
24 import fmt "fmt"
67 type NidOptEnum struct {
68 Field1 TheTestEnum `protobuf:"varint,1,opt,enum=enumstringer.TheTestEnum" json:"Field1"`
69 XXX_unrecognized []byte `json:"-"`
70 }
GeoTargetConstantSuggestion.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 263 lines
5 namespace Google\Ads\GoogleAds\V9\Services;
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
11 /**
12 * A geo target constant suggestion.
13 *
14 * Generated from protobuf message <code>google.ads.googleads.v9.services.GeoTargetConstantSuggestion</code>
15 */
16 class GeoTargetConstantSuggestion extends \Google\Protobuf\Internal\Message
22 * returned if no translation exists for the locale in the request.
23 *
24 * Generated from protobuf field <code>optional string locale = 6;</code>
25 */
26 protected $locale = null;
tracker_pb2.py (https://github.com/pxf/pxf-tech2.git) Python · 414 lines
DefaultSignalManager.java (https://github.com/mariofusco/jbpm.git) Java · 218 lines
30 import org.drools.core.marshalling.impl.MarshallerReaderContext;
31 import org.drools.core.marshalling.impl.MarshallerWriteContext;
32 import org.drools.core.marshalling.impl.ProtobufMessages.ActionQueue.Action;
33 import org.kie.api.runtime.process.EventListener;
34 import org.kie.api.runtime.process.ProcessInstance;
Test_TextFormat_Unknown.swift (https://github.com/apple/swift-protobuf.git) Swift · 286 lines
1 // Tests/SwiftProtobufTests/Test_TextFormat_Unknown.swift - Exercise unknown field text format coding
2 //
3 // Copyright (c) 2014 - 2016 Apple Inc. and the project authors
5 //
6 // See LICENSE.txt for license information:
7 // https://github.com/apple/swift-protobuf/blob/master/LICENSE.txt
8 //
9 // -----------------------------------------------------------------------------
10 ///
11 /// This is a set of tests for text format protobuf files.
12 ///
13 // -----------------------------------------------------------------------------
15 import Foundation
16 import XCTest
17 @testable import SwiftProtobuf
19 class Test_TextFormat_Unknown: XCTestCase, PBTestHelpers {
TimelineClient.java (https://github.com/yamcs/yamcs.git) Java · 227 lines
13 import org.yamcs.client.base.AbstractPage;
14 import org.yamcs.client.base.ResponseObserver;
15 import org.yamcs.protobuf.AddBandRequest;
16 import org.yamcs.protobuf.CreateItemRequest;
17 import org.yamcs.protobuf.DeleteBandRequest;
18 import org.yamcs.protobuf.DeleteItemRequest;
19 import org.yamcs.protobuf.DeleteTimelineGroupRequest;
20 import org.yamcs.protobuf.GetItemRequest;
21 import org.yamcs.protobuf.ListBandsRequest;
22 import org.yamcs.protobuf.ListBandsResponse;
23 import org.yamcs.protobuf.ListItemsRequest;
24 import org.yamcs.protobuf.ListItemsResponse;
unmarshalmergepb_test.go (https://gitlab.com/JamesClonk/firehose-to-syslog) Go · 477 lines
19 import math_rand "math/rand"
20 import time "time"
21 import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
22 import encoding_json "encoding/json"
23 import fmt "fmt"
27 popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano()))
28 p := NewPopulatedBig(popr, false)
29 data, err := github_com_gogo_protobuf_proto.Marshal(p)
30 if err != nil {
31 panic(err)
32 }
33 msg := &Big{}
34 if err := github_com_gogo_protobuf_proto.Unmarshal(data, msg); err != nil {
35 panic(err)
36 }
TCPActor.scala (https://github.com/joseph2000/kevoree.git) Scala · 132 lines
6 import java.util.concurrent.Executors
7 import org.jboss.netty.handler.codec.compression.{ZlibEncoder, ZlibWrapper, ZlibDecoder}
8 import org.jboss.netty.handler.codec.protobuf.{ProtobufEncoder, ProtobufVarint32LengthFieldPrepender, ProtobufDecoder, ProtobufVarint32FrameDecoder}
9 import org.jboss.netty.channel._
10 import socket.nio.{NioClientSocketChannelFactory, NioServerSocketChannelFactory}
34 p.addLast("frameDecoder", new ProtobufVarint32FrameDecoder)
35 p.addLast("protobufDecoder", new ProtobufDecoder(Message.getDefaultInstance))
36 p.addLast("deflater", new ZlibEncoder(ZlibWrapper.ZLIB))
37 p.addLast("frameEncoder", new ProtobufVarint32LengthFieldPrepender)
38 p.addLast("protobufEncoder", new ProtobufEncoder)
39 p.addLast("handler", new TCPRequestHandler(processRequest))
40 p
53 p.addLast("frameDecoder", new ProtobufVarint32FrameDecoder)
54 p.addLast("protobufDecoder", new ProtobufDecoder(Message.getDefaultInstance))
55 p.addLast("deflater", new ZlibEncoder(ZlibWrapper.ZLIB))
56 p.addLast("frameEncoder", new ProtobufVarint32LengthFieldPrepender)
tf_core_framework.cmake (https://gitlab.com/hrishikeshvganu/tensorflow) CMake · 165 lines
1 ########################################################
2 # RELATIVE_PROTOBUF_GENERATE_CPP function
3 ########################################################
4 # A variant of PROTOBUF_GENERATE_CPP that keeps the directory hierarchy.
5 # ROOT_DIR must be absolute, and proto paths must be relative to ROOT_DIR.
6 function(RELATIVE_PROTOBUF_GENERATE_CPP SRCS HDRS ROOT_DIR)
7 if(NOT ARGN)
8 message(SEND_ERROR "Error: RELATIVE_PROTOBUF_GENERATE_CPP() called without any proto files")
24 OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${REL_DIR}/${FIL_WE}.pb.cc"
25 "${CMAKE_CURRENT_BINARY_DIR}/${REL_DIR}/${FIL_WE}.pb.h"
26 COMMAND ${PROTOBUF_PROTOC_EXECUTABLE}
27 ARGS --cpp_out ${CMAKE_CURRENT_BINARY_DIR} -I ${ROOT_DIR} ${ABS_FIL}
28 DEPENDS ${ABS_FIL} ${PROTOBUF_PROTOC_EXECUTABLE}
43 # Build proto library
44 include(FindProtobuf)
45 find_package(Protobuf REQUIRED)
Type.pbobjc.h (https://gitlab.com/zharfi/GunSafety) C Header · 321 lines
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/type.proto
4 #import "GPBProtocolBuffers.h"
6 #if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
7 #error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
8 #endif
209 // The field type URL, without the scheme, for message or enumeration
210 // types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
211 @property(nonatomic, readwrite, copy, null_resettable) NSString *typeURL;
309 @property(nonatomic, readwrite, copy, null_resettable) NSString *name;
311 // The option's value. For example, `"com.google.protobuf"`.
312 @property(nonatomic, readwrite) BOOL hasValue;
313 @property(nonatomic, readwrite, strong, null_resettable) GPBAny *value;
TargetSpend.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 160 lines
5 namespace Google\Ads\GoogleAds\V9\Resources\AccessibleBiddingStrategy;
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
11 /**
13 * as possible within your budget.
14 *
15 * Generated from protobuf message <code>google.ads.googleads.v9.resources.AccessibleBiddingStrategy.TargetSpend</code>
16 */
17 class TargetSpend extends \Google\Protobuf\Internal\Message
26 * for details.
27 *
28 * Generated from protobuf field <code>optional int64 target_spend_micros = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];</code>
29 * @deprecated
30 */
handler.go (https://github.com/dotcloud/docker.git) Go · 212 lines
java_message_field.h (https://github.com/chromium/chromium.git) C Header · 175 lines
33 // Sanjay Ghemawat, Jeff Dean, and others.
35 #ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_MESSAGE_FIELD_H__
36 #define GOOGLE_PROTOBUF_COMPILER_JAVA_MESSAGE_FIELD_H__
38 #include <map>
39 #include <string>
40 #include <google/protobuf/compiler/java/java_field.h>
42 namespace google {
43 namespace protobuf {
44 namespace compiler {
45 namespace java {
48 } // namespace java
49 } // namespace compiler
50 } // namespace protobuf
51 } // namespace google
atomicops_internals_arm_gcc.h (https://github.com/dumganhar/cocos2d-x.git) C Header · 151 lines
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2012 Google Inc. All rights reserved.
3 // http://code.google.com/p/protobuf/
4 //
5 // Redistribution and use in source and binary forms, with or without
33 // LinuxKernelCmpxchg and Barrier_AtomicIncrement are from Google Gears.
35 #ifndef GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_ARM_GCC_H_
36 #define GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_ARM_GCC_H_
38 namespace google {
39 namespace protobuf {
40 namespace internal {
147 } // namespace internal
148 } // namespace protobuf
149 } // namespace google
negotiate_test.go (https://gitlab.com/unofficial-mirrors/kubernetes) Go · 264 lines
109 accept: "application/json",
110 contentType: "application/json",
111 ns: &fakeNegotiater{serializer: fakeCodec, types: []string{"application/json", "application/protobuf"}},
112 serializer: fakeCodec,
113 },
114 {
115 accept: "application/protobuf",
116 contentType: "application/protobuf",
117 ns: &fakeNegotiater{serializer: fakeCodec, types: []string{"application/json", "application/protobuf"}},
118 serializer: fakeCodec,
119 },
timestamp.pb.h (https://gitlab.com/f1ssi0n/sniffles) C Header · 172 lines
2 // source: google/protobuf/timestamp.proto
4 #ifndef PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto__INCLUDED
35 // Internal implementation detail -- do not call these.
36 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftimestamp_2eproto();
37 void protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto();
118 ::google::protobuf::int32 nanos_;
119 mutable int _cached_size_;
120 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftimestamp_2eproto();
121 friend void protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto();
170 // @@protoc_insertion_point(global_scope)
172 #endif // PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto__INCLUDED
file_io.i (https://gitlab.com/admin-github-cloud/tensorflow) Swig · 179 lines
control.proto (https://gitlab.com/vectorci/docker-1) Protocol Buffers · 295 lines
12 service Control {
13 rpc GetNode(GetNodeRequest) returns (GetNodeResponse) {
14 option (docker.protobuf.plugin.tls_authorization) = { roles: "swarm-manager" };
15 };
16 rpc ListNodes(ListNodesRequest) returns (ListNodesResponse) {
17 option (docker.protobuf.plugin.tls_authorization) = { roles: "swarm-manager" };
18 };
19 rpc UpdateNode(UpdateNodeRequest) returns (UpdateNodeResponse) {
20 option (docker.protobuf.plugin.tls_authorization) = { roles: "swarm-manager" };
21 };
22 rpc RemoveNode(RemoveNodeRequest) returns (RemoveNodeResponse) {