Beispiel #1
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.report.CorrelationDataQuery.Response.Row');
     // required string date_monthly = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "date_monthly";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional message network = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "network";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Report\\CorrelationDataQuery\\Response\\Consumption';
     $descriptor->addField($f);
     // optional message dsp = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "dsp";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Report\\CorrelationDataQuery\\Response\\Consumption';
     $descriptor->addField($f);
     // optional message dmm = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "dmm";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Report\\CorrelationDataQuery\\Response\\Consumption';
     $descriptor->addField($f);
     // optional int64 dsp_plus_dmm = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "dsp_plus_dmm";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // optional int32 discrepancy = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "discrepancy";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_INT32;
     $descriptor->addField($f);
     // optional string file_update_timestamp = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "file_update_timestamp";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.prebill.DataQuery.Response.ResponseData.ServiceGlobalCharges.BasicServicesCustomerCharges.CommercialGroupData');
     // required string name = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "name";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required int64 total_amount = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "total_amount";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // required string servicepack_name = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "servicepack_name";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required int64 number_of_sims = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "number_of_sims";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // required message monthly_fee = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "monthly_fee";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\PreBill\\DataQuery\\Response\\ResponseData\\ServiceGlobalCharges\\BasicServicesCustomerCharges\\CommercialGroupData\\MonthlyFee';
     $descriptor->addField($f);
     // required message overage_traffic = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "overage_traffic";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\PreBill\\DataQuery\\Response\\ResponseData\\ServiceGlobalCharges\\BasicServicesCustomerCharges\\CommercialGroupData\\OverageTraffic';
     $descriptor->addField($f);
     // optional message aggregator = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "aggregator";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\RefData';
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.subscription.ExpenseDetail.Response.VoiceDetail');
     // required string timestamp = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "timestamp";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string duration = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "duration";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string number_called = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "number_called";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required message origin_zone = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "origin_zone";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\RefData';
     $descriptor->addField($f);
     // required message destination_zone = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "destination_zone";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\RefData';
     $descriptor->addField($f);
     // required string commercial_plan = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "commercial_plan";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required message amount_or_pool = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "amount_or_pool";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Subscription\\Service\\AmountOrPool';
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #4
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'binlogdata.StreamEvent');
     // OPTIONAL ENUM category = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "category";
     $f->type = \DrSlump\Protobuf::TYPE_ENUM;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->reference = '\\Vitess\\Proto\\Binlogdata\\StreamEvent\\Category';
     $descriptor->addField($f);
     // OPTIONAL STRING table_name = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "table_name";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // REPEATED MESSAGE primary_key_fields = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "primary_key_fields";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
     $f->reference = '\\Vitess\\Proto\\Query\\Field';
     $descriptor->addField($f);
     // REPEATED MESSAGE primary_key_values = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "primary_key_values";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
     $f->reference = '\\Vitess\\Proto\\Query\\Row';
     $descriptor->addField($f);
     // OPTIONAL STRING sql = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "sql";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL INT64 timestamp = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "timestamp";
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL STRING transaction_id = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "transaction_id";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #5
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.supplservices.Row');
     // required string id = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "id";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string name = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "name";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string description = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "description";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required enum published = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "published";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_ENUM;
     $f->reference = '\\Application\\Proto\\PublishedStatus';
     $descriptor->addField($f);
     // optional string currency = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "currency";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional message customer = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "customer";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\RefData';
     $descriptor->addField($f);
     // required message service_provider = 8
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 8;
     $f->name = "service_provider";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\RefData';
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.inventory.ChangeCustomFieldsQuery');
     // required message accounting = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "accounting";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Accounting';
     $descriptor->addField($f);
     // required message organization = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "organization";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Organization';
     $descriptor->addField($f);
     // required message subscriptions = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "subscriptions";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\SubscriptionSelect';
     $descriptor->addField($f);
     // optional string custom_field_1 = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "custom_field_1";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string custom_field_2 = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "custom_field_2";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string custom_field_3 = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "custom_field_3";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string custom_field_4 = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "custom_field_4";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.suplist.alarm.AlarmData');
     // required message alarm_id = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "alarm_id";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\SupAlarm\\Alarm\\AlarmId';
     $descriptor->addField($f);
     // required message sim_id = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "sim_id";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\SupProvision\\Sim\\SimId';
     $descriptor->addField($f);
     // required enum severity = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "severity";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_ENUM;
     $f->reference = '\\Application\\Proto\\SupAlarm\\Alarm\\Severity';
     $descriptor->addField($f);
     // optional string alias = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "alias";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string rule_name = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "rule_name";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string note = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "note";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string opening_date = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "opening_date";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.organization.provider.ListQuery.Filter.Criteria');
     // required enum type = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "type";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_ENUM;
     $f->reference = '\\Application\\Proto\\Org\\Provider\\ListQuery\\Filter\\Criteria\\CriteriaType';
     $descriptor->addField($f);
     // required bool reverse = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "reverse";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_BOOL;
     $descriptor->addField($f);
     // optional string parent_organization = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "parent_organization";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string name = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "name";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional enum status = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "status";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_ENUM;
     $f->reference = '\\Application\\Proto\\Org\\StatusType';
     $descriptor->addField($f);
     // optional string service_provider_id_for_enablers = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "service_provider_id_for_enablers";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string service_provider_id_for_commercials = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "service_provider_id_for_commercials";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.prebill.DataQuery.Response.ResponseData.CustomerData');
     // required string name = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "name";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string fiscal_number = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "fiscal_number";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required message company_address = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "company_address";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Address';
     $descriptor->addField($f);
     // required string crm_id_1 = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "crm_id_1";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string crm_id_2 = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "crm_id_2";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string id = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "id";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required message currency = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "currency";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\RefData';
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #10
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.report.Row');
     // required enum report_type = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "report_type";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_ENUM;
     $f->reference = '\\Application\\Proto\\Report\\Service\\ReportType';
     $descriptor->addField($f);
     // required message target = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "target";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Report\\Service\\Target';
     $descriptor->addField($f);
     // optional string date_monthly = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "date_monthly";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string date_daily = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "date_daily";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string path = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "path";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional string date_billing_cycle_start = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "date_billing_cycle_start";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // optional bool has_money_info = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "has_money_info";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_BOOL;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'mysqlctl.RunMysqlUpgradeRequest');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #12
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'query.StreamHealthRequest');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #13
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'grpc.testing.EmptyMessage');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #14
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'tests.ExtB');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'tabletmanagerdata.WaitBlpPositionResponse');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #16
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'throttlerdata.MaxRatesRequest');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'tabletmanagerdata.TabletExternallyElectedRequest');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #18
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'query.RollbackResponse');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #19
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'proto2.bridge.MessageSet');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'mysqlctl.ReinitConfigResponse');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #21
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.common.Query');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'tabletmanagerdata.StopReplicationAndGetStatusRequest');
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #23
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'vttest.Keyspace');
     // OPTIONAL STRING name = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "name";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // REPEATED MESSAGE shards = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "shards";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
     $f->reference = '\\Vitess\\Proto\\Vttest\\Shard';
     $descriptor->addField($f);
     // OPTIONAL STRING sharding_column_name = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "sharding_column_name";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL STRING sharding_column_type = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "sharding_column_type";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL STRING served_from = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "served_from";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL INT32 replica_count = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "replica_count";
     $f->type = \DrSlump\Protobuf::TYPE_INT32;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL INT32 rdonly_count = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "rdonly_count";
     $f->type = \DrSlump\Protobuf::TYPE_INT32;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #24
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'replicationdata.Status');
     // OPTIONAL STRING position = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "position";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL BOOL slave_io_running = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "slave_io_running";
     $f->type = \DrSlump\Protobuf::TYPE_BOOL;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL BOOL slave_sql_running = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "slave_sql_running";
     $f->type = \DrSlump\Protobuf::TYPE_BOOL;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL UINT32 seconds_behind_master = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "seconds_behind_master";
     $f->type = \DrSlump\Protobuf::TYPE_UINT32;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL STRING master_host = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "master_host";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL INT32 master_port = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "master_port";
     $f->type = \DrSlump\Protobuf::TYPE_INT32;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL INT32 master_connect_retry = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "master_connect_retry";
     $f->type = \DrSlump\Protobuf::TYPE_INT32;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, '.RpbCounterUpdateReq');
     // required bytes bucket = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "bucket";
     $f->rule = \DrSlump\Protobuf\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf\Protobuf::TYPE_BYTES;
     $descriptor->addField($f);
     // required bytes key = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "key";
     $f->rule = \DrSlump\Protobuf\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf\Protobuf::TYPE_BYTES;
     $descriptor->addField($f);
     // required sint64 amount = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "amount";
     $f->rule = \DrSlump\Protobuf\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf\Protobuf::TYPE_SINT64;
     $descriptor->addField($f);
     // optional uint32 w = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "w";
     $f->rule = \DrSlump\Protobuf\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf\Protobuf::TYPE_UINT32;
     $descriptor->addField($f);
     // optional uint32 dw = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "dw";
     $f->rule = \DrSlump\Protobuf\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf\Protobuf::TYPE_UINT32;
     $descriptor->addField($f);
     // optional uint32 pw = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "pw";
     $f->rule = \DrSlump\Protobuf\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf\Protobuf::TYPE_UINT32;
     $descriptor->addField($f);
     // optional bool returnvalue = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "returnvalue";
     $f->rule = \DrSlump\Protobuf\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf\Protobuf::TYPE_BOOL;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.prebill.DataQuery.Response.ResponseData.SubscriptionsChargesSummary.BasicServices.CommercialGroupData.MonthlyFee');
     // required int64 voice_recurrent_fee = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "voice_recurrent_fee";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // required int64 sms_recurrent_fee = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "sms_recurrent_fee";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // required int64 data_recurrent_fee = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "data_recurrent_fee";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // required int64 active_state_recurrent_fee = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "active_state_recurrent_fee";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // required int64 deactivated_state_recurrent_fee = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "deactivated_state_recurrent_fee";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // required int64 activation_ready_recurrent_fee = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "activation_ready_recurrent_fee";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     // required int64 activation_pending_recurrent_fee = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "activation_pending_recurrent_fee";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_INT64;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #27
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'tabletmanagerdata.TableDefinition');
     // OPTIONAL STRING name = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "name";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL STRING schema = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "schema";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // REPEATED STRING columns = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "columns";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
     $descriptor->addField($f);
     // REPEATED STRING primary_key_columns = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "primary_key_columns";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
     $descriptor->addField($f);
     // OPTIONAL STRING type = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "type";
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL UINT64 data_length = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "data_length";
     $f->type = \DrSlump\Protobuf::TYPE_UINT64;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     // OPTIONAL UINT64 row_count = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "row_count";
     $f->type = \DrSlump\Protobuf::TYPE_UINT64;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
Beispiel #28
0
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.commercialgroup.Row');
     // required string id = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "id";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string name = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "name";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string description = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "description";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required string customer_id = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "customer_id";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_STRING;
     $descriptor->addField($f);
     // required uint32 subscribers_count = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "subscribers_count";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_UINT32;
     $descriptor->addField($f);
     // required uint32 billing_account_id = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "billing_account_id";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_UINT32;
     $descriptor->addField($f);
     // required bool restricted = 7
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 7;
     $f->name = "restricted";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_BOOL;
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.service.subscription.ChangeScreeningQuery');
     // required message accounting = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "accounting";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Accounting';
     $descriptor->addField($f);
     // required message organization = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "organization";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\Organization';
     $descriptor->addField($f);
     // required message subscription_id = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "subscription_id";
     $f->rule = \DrSlump\Protobuf::RULE_REQUIRED;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\SubscriptionId';
     $descriptor->addField($f);
     // optional message white_list = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "white_list";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ScreeningList';
     $descriptor->addField($f);
     // optional message black_list = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "black_list";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ScreeningList';
     $descriptor->addField($f);
     // optional message roaming_list = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "roaming_list";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ScreeningList';
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }
 public static function descriptor()
 {
     $descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'business.common.ConsumptionControlLimit');
     // optional message voice_daily = 1
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1;
     $f->name = "voice_daily";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ControlType';
     $descriptor->addField($f);
     // optional message sms_daily = 2
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 2;
     $f->name = "sms_daily";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ControlType';
     $descriptor->addField($f);
     // optional message data_daily = 3
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 3;
     $f->name = "data_daily";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ControlType';
     $descriptor->addField($f);
     // optional message voice_monthly = 4
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 4;
     $f->name = "voice_monthly";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ControlType';
     $descriptor->addField($f);
     // optional message sms_monthly = 5
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 5;
     $f->name = "sms_monthly";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ControlType';
     $descriptor->addField($f);
     // optional message data_monthly = 6
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 6;
     $f->name = "data_monthly";
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->reference = '\\Application\\Proto\\ControlType';
     $descriptor->addField($f);
     foreach (self::$__extensions as $cb) {
         $descriptor->addField($cb(), true);
     }
     return $descriptor;
 }