protobuf/yenta_status.pl untested

filter: Statementstmt 0.0% 0 / 46 Branchbran 0.0% 0 / 8 Conditioncond n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 57 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 ##
2 ## This file was generated by Google::ProtocolBuffers (0.08)
3 ## on Fri May 14 14:44:05 2010
4 ##
5 use strict;
6 use warnings;
7 use Google::ProtocolBuffers;
8 {
9 unless (ACPYentaStatusReply->can('_pb_fields_list')) {
10 Google::ProtocolBuffers->create_message(
11 'ACPYentaStatusReply',
12 [
13 [
14 Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
15 'ACPYentaStatus',
16 'status', 1, undef
17 ],
18  
19 ],
20 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
21 );
22 }
23  
24 unless (ACPYentaStatus->can('_pb_fields_list')) {
25 Google::ProtocolBuffers->create_message(
26 'ACPYentaStatus',
27 [
28 [
29 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
30 Google::ProtocolBuffers::Constants::TYPE_STRING(),
31 'hostname', 1, undef
32 ],
33 [
34 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
35 Google::ProtocolBuffers::Constants::TYPE_STRING(),
36 'datacenter', 2, undef
37 ],
38 [
39 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
40 Google::ProtocolBuffers::Constants::TYPE_STRING(),
41 'subsystem', 3, undef
42 ],
43 [
44 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
45 Google::ProtocolBuffers::Constants::TYPE_STRING(),
46 'environment', 4, undef
47 ],
48 [
49 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
50 Google::ProtocolBuffers::Constants::TYPE_STRING(),
51 'via', 5, undef
52 ],
53 [
54 Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
55 'ACPIPPort',
56 'ip', 6, undef
57 ],
58 [
59 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
60 Google::ProtocolBuffers::Constants::TYPE_INT32(),
61 'status', 7, undef
62 ],
63 [
64 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
65 Google::ProtocolBuffers::Constants::TYPE_INT64(),
66 'timestamp', 8, undef
67 ],
68 [
69 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
70 Google::ProtocolBuffers::Constants::TYPE_INT64(),
71 'lastup', 9, undef
72 ],
73 [
74 Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
75 Google::ProtocolBuffers::Constants::TYPE_STRING(),
76 'map', 10, undef
77 ],
78 [
79 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
80 Google::ProtocolBuffers::Constants::TYPE_BOOL(),
81 'uptodate', 11, undef
82 ],
83 [
84 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
85 Google::ProtocolBuffers::Constants::TYPE_INT32(),
86 'sort_metric', 12, undef
87 ],
88 [
89 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
90 Google::ProtocolBuffers::Constants::TYPE_STRING(),
91 'server_id', 13, undef
92 ],
93 [
94 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
95 Google::ProtocolBuffers::Constants::TYPE_STRING(),
96 'instance_id', 14, undef
97 ],
98 [
99 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
100 Google::ProtocolBuffers::Constants::TYPE_STRING(),
101 'path', 15, undef
102 ],
103  
104 ],
105 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
106 );
107 }
108  
109 unless (ACPYentaStatusRequest->can('_pb_fields_list')) {
110 Google::ProtocolBuffers->create_message(
111 'ACPYentaStatusRequest',
112 [
113 [
114 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
115 'ACPYentaStatus',
116 'myself', 1, undef
117 ],
118  
119 ],
120 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
121 );
122 }
123  
124 unless (ACPIPPort->can('_pb_fields_list')) {
125 Google::ProtocolBuffers->create_message(
126 'ACPIPPort',
127 [
128 [
129 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
130 Google::ProtocolBuffers::Constants::TYPE_FIXED32(),
131 'ipv4', 1, undef
132 ],
133 [
134 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
135 Google::ProtocolBuffers::Constants::TYPE_INT32(),
136 'port', 2, undef
137 ],
138 [
139 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
140 Google::ProtocolBuffers::Constants::TYPE_STRING(),
141 'natdom', 3, undef
142 ],
143  
144 ],
145 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
146 );
147 }
148  
149 }
150 1;