protobuf/yenta_status.pl untested

filter: Statementstmt 0.0% 0 / 47 Branchbran 0.0% 0 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 58 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 Wed Nov 14 11:56:47 2012
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 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
105 Google::ProtocolBuffers::Constants::TYPE_INT32(),
106 'capacity_metric', 16, undef
107 ],
108  
109 ],
110 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
111 );
112 }
113  
114 unless (ACPYentaStatusRequest->can('_pb_fields_list')) {
115 Google::ProtocolBuffers->create_message(
116 'ACPYentaStatusRequest',
117 [
118 [
119 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
120 'ACPYentaStatus',
121 'myself', 1, undef
122 ],
123  
124 ],
125 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
126 );
127 }
128  
129 unless (ACPIPPort->can('_pb_fields_list')) {
130 Google::ProtocolBuffers->create_message(
131 'ACPIPPort',
132 [
133 [
134 Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
135 Google::ProtocolBuffers::Constants::TYPE_FIXED32(),
136 'ipv4', 1, undef
137 ],
138 [
139 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
140 Google::ProtocolBuffers::Constants::TYPE_INT32(),
141 'port', 2, undef
142 ],
143 [
144 Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
145 Google::ProtocolBuffers::Constants::TYPE_STRING(),
146 'natdom', 3, undef
147 ],
148  
149 ],
150 { 'create_accessors' => 1, 'follow_best_practice' => 1, }
151 );
152 }
153  
154 }
155 1;