Home | History | Annotate | Download | only in ril_proto
      1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
      2 
      3 package com.android.internal.telephony.ril_proto;
      4 
      5 public final class RilCmds {
      6   private RilCmds() {}
      7   // enum RadioState
      8   public static final int RADIOSTATE_OFF = 0;
      9   public static final int RADIOSTATE_UNAVAILABLE = 1;
     10   public static final int RADIOSTATE_SIM_NOT_READY = 2;
     11   public static final int RADIOSTATE_SIM_LOCKED_OR_ABSENT = 3;
     12   public static final int RADIOSTATE_SIM_READY = 4;
     13   public static final int RADIOSTATE_RUIM_NOT_READY = 5;
     14   public static final int RADIOSTATE_RUIM_READY = 6;
     15   public static final int RADIOSTATE_RUIM_LOCKED_OR_ABSENT = 7;
     16   public static final int RADIOSTATE_NV_NOT_READY = 8;
     17   public static final int RADIOSTATE_NV_READY = 9;
     18 
     19   // enum RilCardState
     20   public static final int CARDSTATE_ABSENT = 0;
     21   public static final int CARDSTATE_PRESENT = 1;
     22   public static final int CARDSTATE_ERROR = 2;
     23 
     24   // enum RilPersoSubstate
     25   public static final int PERSOSUBSTATE_UNKNOWN = 0;
     26   public static final int PERSOSUBSTATE_IN_PROGRESS = 1;
     27   public static final int PERSOSUBSTATE_READY = 2;
     28   public static final int PERSOSUBSTATE_SIM_NETWORK = 3;
     29   public static final int PERSOSUBSTATE_SIM_NETWORK_SUBSET = 4;
     30   public static final int PERSOSUBSTATE_SIM_CORPORATE = 5;
     31   public static final int PERSOSUBSTATE_SIM_SERVICE_PROVIDER = 6;
     32   public static final int PERSOSUBSTATE_SIM_SIM = 7;
     33   public static final int PERSOSUBSTATE_SIM_NETWORK_PUK = 8;
     34   public static final int PERSOSUBSTATE_SIM_NETWORK_SUBSET_PUK = 9;
     35   public static final int PERSOSUBSTATE_SIM_CORPORATE_PUK = 10;
     36   public static final int PERSOSUBSTATE_SIM_SERVICE_PROVIDER_PUK = 11;
     37   public static final int PERSOSUBSTATE_SIM_SIM_PUK = 12;
     38   public static final int PERSOSUBSTATE_RUIM_NETWORK1 = 13;
     39   public static final int PERSOSUBSTATE_RUIM_NETWORK2 = 14;
     40   public static final int PERSOSUBSTATE_RUIM_HRPD = 15;
     41   public static final int PERSOSUBSTATE_RUIM_CORPORATE = 16;
     42   public static final int PERSOSUBSTATE_RUIM_SERVICE_PROVIDER = 17;
     43   public static final int PERSOSUBSTATE_RUIM_RUIM = 18;
     44   public static final int PERSOSUBSTATE_RUIM_NETWORK1_PUK = 19;
     45   public static final int PERSOSUBSTATE_RUIM_NETWORK2_PUK = 20;
     46   public static final int PERSOSUBSTATE_RUIM_HRPD_PUK = 21;
     47   public static final int PERSOSUBSTATE_RUIM_CORPORATE_PUK = 22;
     48   public static final int PERSOSUBSTATE_RUIM_SERVICE_PROVIDER_PUK = 23;
     49   public static final int PERSOSUBSTATE_RUIM_RUIM_PUK = 24;
     50 
     51   // enum RilAppState
     52   public static final int APPSTATE_UNKNOWN = 0;
     53   public static final int APPSTATE_DETECTED = 1;
     54   public static final int APPSTATE_PIN = 2;
     55   public static final int APPSTATE_PUK = 3;
     56   public static final int APPSTATE_SUBSCRIPTION_PERSO = 4;
     57   public static final int APPSTATE_READY = 5;
     58 
     59   // enum RilPinState
     60   public static final int PINSTATE_UNKNOWN = 0;
     61   public static final int PINSTATE_ENABLED_NOT_VERIFIED = 1;
     62   public static final int PINSTATE_ENABLED_VERIFIED = 2;
     63   public static final int PINSTATE_DISABLED = 3;
     64   public static final int PINSTATE_ENABLED_BLOCKED = 4;
     65   public static final int PINSTATE_ENABLED_PERM_BLOCKED = 5;
     66 
     67   // enum RilAppType
     68   public static final int APPTYPE_UNKNOWN = 0;
     69   public static final int APPTYPE_SIM = 1;
     70   public static final int APPTYPE_USIM = 2;
     71   public static final int APPTYPE_RUIM = 3;
     72   public static final int APPTYPE_CSIM = 4;
     73 
     74   // enum RilUusType
     75   public static final int RILUUSTYPE1_IMPLICIT = 0;
     76   public static final int RILUUSTYPE1_REQUIRED = 1;
     77   public static final int RILUUSTYPE1_NOT_REQUIRED = 2;
     78   public static final int RILUUSTYPE2_REQUIRED = 3;
     79   public static final int RILUUSTYPE2_NOT_REQUIRED = 4;
     80   public static final int RILUUSTYPE3_REQUIRED = 5;
     81   public static final int RILUUSTYPE3_NOT_REQUIRED = 6;
     82 
     83   // enum RilUusDcs
     84   public static final int RILUUSDCS_USP = 0;
     85   public static final int RILUUSDCS_OSIHLP = 1;
     86   public static final int RILUUSDCS_X244 = 2;
     87   public static final int RILUUSDCS_RMCF = 3;
     88   public static final int RILUUSDCS_IA5c = 4;
     89 
     90   // enum RilCallState
     91   public static final int CALLSTATE_ACTIVE = 0;
     92   public static final int CALLSTATE_HOLDING = 1;
     93   public static final int CALLSTATE_DIALING = 2;
     94   public static final int CALLSTATE_ALERTING = 3;
     95   public static final int CALLSTATE_INCOMING = 4;
     96   public static final int CALLSTATE_WAITING = 5;
     97 
     98   public static final class RilAppStatus extends
     99       com.google.protobuf.micro.MessageMicro {
    100     public RilAppStatus() {}
    101 
    102     // optional .ril_proto.RilAppType app_type = 1;
    103     public static final int APP_TYPE_FIELD_NUMBER = 1;
    104     private boolean hasAppType;
    105     private int appType_ = com.android.internal.telephony.ril_proto.RilCmds.APPTYPE_UNKNOWN;
    106     public boolean hasAppType() { return hasAppType; }
    107     public int getAppType() { return appType_; }
    108     public RilAppStatus setAppType(int value) {
    109       hasAppType = true;
    110       appType_ = value;
    111       return this;
    112     }
    113     public RilAppStatus clearAppType() {
    114       hasAppType = false;
    115       appType_ = com.android.internal.telephony.ril_proto.RilCmds.APPTYPE_UNKNOWN;
    116       return this;
    117     }
    118 
    119     // optional .ril_proto.RilAppState app_state = 2;
    120     public static final int APP_STATE_FIELD_NUMBER = 2;
    121     private boolean hasAppState;
    122     private int appState_ = com.android.internal.telephony.ril_proto.RilCmds.APPSTATE_UNKNOWN;
    123     public boolean hasAppState() { return hasAppState; }
    124     public int getAppState() { return appState_; }
    125     public RilAppStatus setAppState(int value) {
    126       hasAppState = true;
    127       appState_ = value;
    128       return this;
    129     }
    130     public RilAppStatus clearAppState() {
    131       hasAppState = false;
    132       appState_ = com.android.internal.telephony.ril_proto.RilCmds.APPSTATE_UNKNOWN;
    133       return this;
    134     }
    135 
    136     // optional .ril_proto.RilPersoSubstate perso_substate = 3;
    137     public static final int PERSO_SUBSTATE_FIELD_NUMBER = 3;
    138     private boolean hasPersoSubstate;
    139     private int persoSubstate_ = com.android.internal.telephony.ril_proto.RilCmds.PERSOSUBSTATE_UNKNOWN;
    140     public boolean hasPersoSubstate() { return hasPersoSubstate; }
    141     public int getPersoSubstate() { return persoSubstate_; }
    142     public RilAppStatus setPersoSubstate(int value) {
    143       hasPersoSubstate = true;
    144       persoSubstate_ = value;
    145       return this;
    146     }
    147     public RilAppStatus clearPersoSubstate() {
    148       hasPersoSubstate = false;
    149       persoSubstate_ = com.android.internal.telephony.ril_proto.RilCmds.PERSOSUBSTATE_UNKNOWN;
    150       return this;
    151     }
    152 
    153     // optional string aid = 4;
    154     public static final int AID_FIELD_NUMBER = 4;
    155     private boolean hasAid;
    156     private java.lang.String aid_ = "";
    157     public java.lang.String getAid() { return aid_; }
    158     public boolean hasAid() { return hasAid; }
    159     public RilAppStatus setAid(java.lang.String value) {
    160       hasAid = true;
    161       aid_ = value;
    162       return this;
    163     }
    164     public RilAppStatus clearAid() {
    165       hasAid = false;
    166       aid_ = "";
    167       return this;
    168     }
    169 
    170     // optional string app_label = 5;
    171     public static final int APP_LABEL_FIELD_NUMBER = 5;
    172     private boolean hasAppLabel;
    173     private java.lang.String appLabel_ = "";
    174     public java.lang.String getAppLabel() { return appLabel_; }
    175     public boolean hasAppLabel() { return hasAppLabel; }
    176     public RilAppStatus setAppLabel(java.lang.String value) {
    177       hasAppLabel = true;
    178       appLabel_ = value;
    179       return this;
    180     }
    181     public RilAppStatus clearAppLabel() {
    182       hasAppLabel = false;
    183       appLabel_ = "";
    184       return this;
    185     }
    186 
    187     // optional int32 pin1_replaced = 6;
    188     public static final int PIN1_REPLACED_FIELD_NUMBER = 6;
    189     private boolean hasPin1Replaced;
    190     private int pin1Replaced_ = 0;
    191     public int getPin1Replaced() { return pin1Replaced_; }
    192     public boolean hasPin1Replaced() { return hasPin1Replaced; }
    193     public RilAppStatus setPin1Replaced(int value) {
    194       hasPin1Replaced = true;
    195       pin1Replaced_ = value;
    196       return this;
    197     }
    198     public RilAppStatus clearPin1Replaced() {
    199       hasPin1Replaced = false;
    200       pin1Replaced_ = 0;
    201       return this;
    202     }
    203 
    204     // optional .ril_proto.RilPinState pin1 = 7;
    205     public static final int PIN1_FIELD_NUMBER = 7;
    206     private boolean hasPin1;
    207     private int pin1_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
    208     public boolean hasPin1() { return hasPin1; }
    209     public int getPin1() { return pin1_; }
    210     public RilAppStatus setPin1(int value) {
    211       hasPin1 = true;
    212       pin1_ = value;
    213       return this;
    214     }
    215     public RilAppStatus clearPin1() {
    216       hasPin1 = false;
    217       pin1_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
    218       return this;
    219     }
    220 
    221     // optional .ril_proto.RilPinState pin2 = 8;
    222     public static final int PIN2_FIELD_NUMBER = 8;
    223     private boolean hasPin2;
    224     private int pin2_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
    225     public boolean hasPin2() { return hasPin2; }
    226     public int getPin2() { return pin2_; }
    227     public RilAppStatus setPin2(int value) {
    228       hasPin2 = true;
    229       pin2_ = value;
    230       return this;
    231     }
    232     public RilAppStatus clearPin2() {
    233       hasPin2 = false;
    234       pin2_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
    235       return this;
    236     }
    237 
    238     public final RilAppStatus clear() {
    239       clearAppType();
    240       clearAppState();
    241       clearPersoSubstate();
    242       clearAid();
    243       clearAppLabel();
    244       clearPin1Replaced();
    245       clearPin1();
    246       clearPin2();
    247       cachedSize = -1;
    248       return this;
    249     }
    250 
    251     public final boolean isInitialized() {
    252       return true;
    253     }
    254 
    255     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
    256                         throws java.io.IOException {
    257       if (hasAppType()) {
    258         output.writeInt32(1, getAppType());
    259       }
    260       if (hasAppState()) {
    261         output.writeInt32(2, getAppState());
    262       }
    263       if (hasPersoSubstate()) {
    264         output.writeInt32(3, getPersoSubstate());
    265       }
    266       if (hasAid()) {
    267         output.writeString(4, getAid());
    268       }
    269       if (hasAppLabel()) {
    270         output.writeString(5, getAppLabel());
    271       }
    272       if (hasPin1Replaced()) {
    273         output.writeInt32(6, getPin1Replaced());
    274       }
    275       if (hasPin1()) {
    276         output.writeInt32(7, getPin1());
    277       }
    278       if (hasPin2()) {
    279         output.writeInt32(8, getPin2());
    280       }
    281     }
    282 
    283     private int cachedSize = -1;
    284     public int getCachedSize() {
    285       if (cachedSize < 0) {
    286         // getSerializedSize sets cachedSize
    287         getSerializedSize();
    288       }
    289       return cachedSize;
    290     }
    291 
    292     public int getSerializedSize() {
    293       int size = 0;
    294       if (hasAppType()) {
    295         size += com.google.protobuf.micro.CodedOutputStreamMicro
    296           .computeInt32Size(1, getAppType());
    297       }
    298       if (hasAppState()) {
    299         size += com.google.protobuf.micro.CodedOutputStreamMicro
    300           .computeInt32Size(2, getAppState());
    301       }
    302       if (hasPersoSubstate()) {
    303         size += com.google.protobuf.micro.CodedOutputStreamMicro
    304           .computeInt32Size(3, getPersoSubstate());
    305       }
    306       if (hasAid()) {
    307         size += com.google.protobuf.micro.CodedOutputStreamMicro
    308           .computeStringSize(4, getAid());
    309       }
    310       if (hasAppLabel()) {
    311         size += com.google.protobuf.micro.CodedOutputStreamMicro
    312           .computeStringSize(5, getAppLabel());
    313       }
    314       if (hasPin1Replaced()) {
    315         size += com.google.protobuf.micro.CodedOutputStreamMicro
    316           .computeInt32Size(6, getPin1Replaced());
    317       }
    318       if (hasPin1()) {
    319         size += com.google.protobuf.micro.CodedOutputStreamMicro
    320           .computeInt32Size(7, getPin1());
    321       }
    322       if (hasPin2()) {
    323         size += com.google.protobuf.micro.CodedOutputStreamMicro
    324           .computeInt32Size(8, getPin2());
    325       }
    326       cachedSize = size;
    327       return size;
    328     }
    329 
    330     public RilAppStatus mergeFrom(
    331         com.google.protobuf.micro.CodedInputStreamMicro input)
    332         throws java.io.IOException {
    333       while (true) {
    334         int tag = input.readTag();
    335         switch (tag) {
    336           case 0:
    337             return this;
    338           default: {
    339             if (!parseUnknownField(input, tag)) {
    340               return this;
    341             }
    342             break;
    343           }
    344           case 8: {
    345               setAppType(input.readInt32());
    346             break;
    347           }
    348           case 16: {
    349               setAppState(input.readInt32());
    350             break;
    351           }
    352           case 24: {
    353               setPersoSubstate(input.readInt32());
    354             break;
    355           }
    356           case 34: {
    357             setAid(input.readString());
    358             break;
    359           }
    360           case 42: {
    361             setAppLabel(input.readString());
    362             break;
    363           }
    364           case 48: {
    365             setPin1Replaced(input.readInt32());
    366             break;
    367           }
    368           case 56: {
    369               setPin1(input.readInt32());
    370             break;
    371           }
    372           case 64: {
    373               setPin2(input.readInt32());
    374             break;
    375           }
    376         }
    377       }
    378     }
    379 
    380     public static RilAppStatus parseFrom(byte[] data)
    381         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
    382       return (RilAppStatus) (new RilAppStatus().mergeFrom(data));
    383     }
    384 
    385     public static RilAppStatus parseFrom(
    386             com.google.protobuf.micro.CodedInputStreamMicro input)
    387         throws java.io.IOException {
    388       return (RilAppStatus) (new RilAppStatus().mergeFrom(input));
    389     }
    390 
    391   }
    392 
    393   public static final class RilCardStatus extends
    394       com.google.protobuf.micro.MessageMicro {
    395     public RilCardStatus() {}
    396 
    397     // optional .ril_proto.RilCardState card_state = 1;
    398     public static final int CARD_STATE_FIELD_NUMBER = 1;
    399     private boolean hasCardState;
    400     private int cardState_ = com.android.internal.telephony.ril_proto.RilCmds.CARDSTATE_ABSENT;
    401     public boolean hasCardState() { return hasCardState; }
    402     public int getCardState() { return cardState_; }
    403     public RilCardStatus setCardState(int value) {
    404       hasCardState = true;
    405       cardState_ = value;
    406       return this;
    407     }
    408     public RilCardStatus clearCardState() {
    409       hasCardState = false;
    410       cardState_ = com.android.internal.telephony.ril_proto.RilCmds.CARDSTATE_ABSENT;
    411       return this;
    412     }
    413 
    414     // optional .ril_proto.RilPinState universal_pin_state = 2;
    415     public static final int UNIVERSAL_PIN_STATE_FIELD_NUMBER = 2;
    416     private boolean hasUniversalPinState;
    417     private int universalPinState_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
    418     public boolean hasUniversalPinState() { return hasUniversalPinState; }
    419     public int getUniversalPinState() { return universalPinState_; }
    420     public RilCardStatus setUniversalPinState(int value) {
    421       hasUniversalPinState = true;
    422       universalPinState_ = value;
    423       return this;
    424     }
    425     public RilCardStatus clearUniversalPinState() {
    426       hasUniversalPinState = false;
    427       universalPinState_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
    428       return this;
    429     }
    430 
    431     // optional int32 gsm_umts_subscription_app_index = 3;
    432     public static final int GSM_UMTS_SUBSCRIPTION_APP_INDEX_FIELD_NUMBER = 3;
    433     private boolean hasGsmUmtsSubscriptionAppIndex;
    434     private int gsmUmtsSubscriptionAppIndex_ = 0;
    435     public int getGsmUmtsSubscriptionAppIndex() { return gsmUmtsSubscriptionAppIndex_; }
    436     public boolean hasGsmUmtsSubscriptionAppIndex() { return hasGsmUmtsSubscriptionAppIndex; }
    437     public RilCardStatus setGsmUmtsSubscriptionAppIndex(int value) {
    438       hasGsmUmtsSubscriptionAppIndex = true;
    439       gsmUmtsSubscriptionAppIndex_ = value;
    440       return this;
    441     }
    442     public RilCardStatus clearGsmUmtsSubscriptionAppIndex() {
    443       hasGsmUmtsSubscriptionAppIndex = false;
    444       gsmUmtsSubscriptionAppIndex_ = 0;
    445       return this;
    446     }
    447 
    448     // optional int32 cdma_subscription_app_index = 4;
    449     public static final int CDMA_SUBSCRIPTION_APP_INDEX_FIELD_NUMBER = 4;
    450     private boolean hasCdmaSubscriptionAppIndex;
    451     private int cdmaSubscriptionAppIndex_ = 0;
    452     public int getCdmaSubscriptionAppIndex() { return cdmaSubscriptionAppIndex_; }
    453     public boolean hasCdmaSubscriptionAppIndex() { return hasCdmaSubscriptionAppIndex; }
    454     public RilCardStatus setCdmaSubscriptionAppIndex(int value) {
    455       hasCdmaSubscriptionAppIndex = true;
    456       cdmaSubscriptionAppIndex_ = value;
    457       return this;
    458     }
    459     public RilCardStatus clearCdmaSubscriptionAppIndex() {
    460       hasCdmaSubscriptionAppIndex = false;
    461       cdmaSubscriptionAppIndex_ = 0;
    462       return this;
    463     }
    464 
    465     // optional int32 num_applications = 5;
    466     public static final int NUM_APPLICATIONS_FIELD_NUMBER = 5;
    467     private boolean hasNumApplications;
    468     private int numApplications_ = 0;
    469     public int getNumApplications() { return numApplications_; }
    470     public boolean hasNumApplications() { return hasNumApplications; }
    471     public RilCardStatus setNumApplications(int value) {
    472       hasNumApplications = true;
    473       numApplications_ = value;
    474       return this;
    475     }
    476     public RilCardStatus clearNumApplications() {
    477       hasNumApplications = false;
    478       numApplications_ = 0;
    479       return this;
    480     }
    481 
    482     // repeated .ril_proto.RilAppStatus applications = 6;
    483     public static final int APPLICATIONS_FIELD_NUMBER = 6;
    484     private java.util.List<com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus> applications_ =
    485       java.util.Collections.emptyList();
    486     public java.util.List<com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus> getApplicationsList() {
    487       return applications_;
    488     }
    489     public int getApplicationsCount() { return applications_.size(); }
    490     public com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus getApplications(int index) {
    491       return applications_.get(index);
    492     }
    493     public RilCardStatus setApplications(int index, com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus value) {
    494       if (value == null) {
    495         throw new NullPointerException();
    496       }
    497       applications_.set(index, value);
    498       return this;
    499     }
    500     public RilCardStatus addApplications(com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus value) {
    501       if (value == null) {
    502         throw new NullPointerException();
    503       }
    504       if (applications_.isEmpty()) {
    505         applications_ = new java.util.ArrayList<com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus>();
    506       }
    507       applications_.add(value);
    508       return this;
    509     }
    510     public RilCardStatus clearApplications() {
    511       applications_ = java.util.Collections.emptyList();
    512       return this;
    513     }
    514 
    515     public final RilCardStatus clear() {
    516       clearCardState();
    517       clearUniversalPinState();
    518       clearGsmUmtsSubscriptionAppIndex();
    519       clearCdmaSubscriptionAppIndex();
    520       clearNumApplications();
    521       clearApplications();
    522       cachedSize = -1;
    523       return this;
    524     }
    525 
    526     public final boolean isInitialized() {
    527       return true;
    528     }
    529 
    530     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
    531                         throws java.io.IOException {
    532       if (hasCardState()) {
    533         output.writeInt32(1, getCardState());
    534       }
    535       if (hasUniversalPinState()) {
    536         output.writeInt32(2, getUniversalPinState());
    537       }
    538       if (hasGsmUmtsSubscriptionAppIndex()) {
    539         output.writeInt32(3, getGsmUmtsSubscriptionAppIndex());
    540       }
    541       if (hasCdmaSubscriptionAppIndex()) {
    542         output.writeInt32(4, getCdmaSubscriptionAppIndex());
    543       }
    544       if (hasNumApplications()) {
    545         output.writeInt32(5, getNumApplications());
    546       }
    547       for (com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus element : getApplicationsList()) {
    548         output.writeMessage(6, element);
    549       }
    550     }
    551 
    552     private int cachedSize = -1;
    553     public int getCachedSize() {
    554       if (cachedSize < 0) {
    555         // getSerializedSize sets cachedSize
    556         getSerializedSize();
    557       }
    558       return cachedSize;
    559     }
    560 
    561     public int getSerializedSize() {
    562       int size = 0;
    563       if (hasCardState()) {
    564         size += com.google.protobuf.micro.CodedOutputStreamMicro
    565           .computeInt32Size(1, getCardState());
    566       }
    567       if (hasUniversalPinState()) {
    568         size += com.google.protobuf.micro.CodedOutputStreamMicro
    569           .computeInt32Size(2, getUniversalPinState());
    570       }
    571       if (hasGsmUmtsSubscriptionAppIndex()) {
    572         size += com.google.protobuf.micro.CodedOutputStreamMicro
    573           .computeInt32Size(3, getGsmUmtsSubscriptionAppIndex());
    574       }
    575       if (hasCdmaSubscriptionAppIndex()) {
    576         size += com.google.protobuf.micro.CodedOutputStreamMicro
    577           .computeInt32Size(4, getCdmaSubscriptionAppIndex());
    578       }
    579       if (hasNumApplications()) {
    580         size += com.google.protobuf.micro.CodedOutputStreamMicro
    581           .computeInt32Size(5, getNumApplications());
    582       }
    583       for (com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus element : getApplicationsList()) {
    584         size += com.google.protobuf.micro.CodedOutputStreamMicro
    585           .computeMessageSize(6, element);
    586       }
    587       cachedSize = size;
    588       return size;
    589     }
    590 
    591     public RilCardStatus mergeFrom(
    592         com.google.protobuf.micro.CodedInputStreamMicro input)
    593         throws java.io.IOException {
    594       while (true) {
    595         int tag = input.readTag();
    596         switch (tag) {
    597           case 0:
    598             return this;
    599           default: {
    600             if (!parseUnknownField(input, tag)) {
    601               return this;
    602             }
    603             break;
    604           }
    605           case 8: {
    606               setCardState(input.readInt32());
    607             break;
    608           }
    609           case 16: {
    610               setUniversalPinState(input.readInt32());
    611             break;
    612           }
    613           case 24: {
    614             setGsmUmtsSubscriptionAppIndex(input.readInt32());
    615             break;
    616           }
    617           case 32: {
    618             setCdmaSubscriptionAppIndex(input.readInt32());
    619             break;
    620           }
    621           case 40: {
    622             setNumApplications(input.readInt32());
    623             break;
    624           }
    625           case 50: {
    626             com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus value = new com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus();
    627             input.readMessage(value);
    628             addApplications(value);
    629             break;
    630           }
    631         }
    632       }
    633     }
    634 
    635     public static RilCardStatus parseFrom(byte[] data)
    636         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
    637       return (RilCardStatus) (new RilCardStatus().mergeFrom(data));
    638     }
    639 
    640     public static RilCardStatus parseFrom(
    641             com.google.protobuf.micro.CodedInputStreamMicro input)
    642         throws java.io.IOException {
    643       return (RilCardStatus) (new RilCardStatus().mergeFrom(input));
    644     }
    645 
    646   }
    647 
    648   public static final class RilUusInfo extends
    649       com.google.protobuf.micro.MessageMicro {
    650     public RilUusInfo() {}
    651 
    652     // optional .ril_proto.RilUusType uus_type = 1;
    653     public static final int UUS_TYPE_FIELD_NUMBER = 1;
    654     private boolean hasUusType;
    655     private int uusType_ = com.android.internal.telephony.ril_proto.RilCmds.RILUUSTYPE1_IMPLICIT;
    656     public boolean hasUusType() { return hasUusType; }
    657     public int getUusType() { return uusType_; }
    658     public RilUusInfo setUusType(int value) {
    659       hasUusType = true;
    660       uusType_ = value;
    661       return this;
    662     }
    663     public RilUusInfo clearUusType() {
    664       hasUusType = false;
    665       uusType_ = com.android.internal.telephony.ril_proto.RilCmds.RILUUSTYPE1_IMPLICIT;
    666       return this;
    667     }
    668 
    669     // optional .ril_proto.RilUusDcs uus_dcs = 2;
    670     public static final int UUS_DCS_FIELD_NUMBER = 2;
    671     private boolean hasUusDcs;
    672     private int uusDcs_ = com.android.internal.telephony.ril_proto.RilCmds.RILUUSDCS_USP;
    673     public boolean hasUusDcs() { return hasUusDcs; }
    674     public int getUusDcs() { return uusDcs_; }
    675     public RilUusInfo setUusDcs(int value) {
    676       hasUusDcs = true;
    677       uusDcs_ = value;
    678       return this;
    679     }
    680     public RilUusInfo clearUusDcs() {
    681       hasUusDcs = false;
    682       uusDcs_ = com.android.internal.telephony.ril_proto.RilCmds.RILUUSDCS_USP;
    683       return this;
    684     }
    685 
    686     // optional int32 uus_length = 3;
    687     public static final int UUS_LENGTH_FIELD_NUMBER = 3;
    688     private boolean hasUusLength;
    689     private int uusLength_ = 0;
    690     public int getUusLength() { return uusLength_; }
    691     public boolean hasUusLength() { return hasUusLength; }
    692     public RilUusInfo setUusLength(int value) {
    693       hasUusLength = true;
    694       uusLength_ = value;
    695       return this;
    696     }
    697     public RilUusInfo clearUusLength() {
    698       hasUusLength = false;
    699       uusLength_ = 0;
    700       return this;
    701     }
    702 
    703     // optional string uus_data = 4;
    704     public static final int UUS_DATA_FIELD_NUMBER = 4;
    705     private boolean hasUusData;
    706     private java.lang.String uusData_ = "";
    707     public java.lang.String getUusData() { return uusData_; }
    708     public boolean hasUusData() { return hasUusData; }
    709     public RilUusInfo setUusData(java.lang.String value) {
    710       hasUusData = true;
    711       uusData_ = value;
    712       return this;
    713     }
    714     public RilUusInfo clearUusData() {
    715       hasUusData = false;
    716       uusData_ = "";
    717       return this;
    718     }
    719 
    720     public final RilUusInfo clear() {
    721       clearUusType();
    722       clearUusDcs();
    723       clearUusLength();
    724       clearUusData();
    725       cachedSize = -1;
    726       return this;
    727     }
    728 
    729     public final boolean isInitialized() {
    730       return true;
    731     }
    732 
    733     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
    734                         throws java.io.IOException {
    735       if (hasUusType()) {
    736         output.writeInt32(1, getUusType());
    737       }
    738       if (hasUusDcs()) {
    739         output.writeInt32(2, getUusDcs());
    740       }
    741       if (hasUusLength()) {
    742         output.writeInt32(3, getUusLength());
    743       }
    744       if (hasUusData()) {
    745         output.writeString(4, getUusData());
    746       }
    747     }
    748 
    749     private int cachedSize = -1;
    750     public int getCachedSize() {
    751       if (cachedSize < 0) {
    752         // getSerializedSize sets cachedSize
    753         getSerializedSize();
    754       }
    755       return cachedSize;
    756     }
    757 
    758     public int getSerializedSize() {
    759       int size = 0;
    760       if (hasUusType()) {
    761         size += com.google.protobuf.micro.CodedOutputStreamMicro
    762           .computeInt32Size(1, getUusType());
    763       }
    764       if (hasUusDcs()) {
    765         size += com.google.protobuf.micro.CodedOutputStreamMicro
    766           .computeInt32Size(2, getUusDcs());
    767       }
    768       if (hasUusLength()) {
    769         size += com.google.protobuf.micro.CodedOutputStreamMicro
    770           .computeInt32Size(3, getUusLength());
    771       }
    772       if (hasUusData()) {
    773         size += com.google.protobuf.micro.CodedOutputStreamMicro
    774           .computeStringSize(4, getUusData());
    775       }
    776       cachedSize = size;
    777       return size;
    778     }
    779 
    780     public RilUusInfo mergeFrom(
    781         com.google.protobuf.micro.CodedInputStreamMicro input)
    782         throws java.io.IOException {
    783       while (true) {
    784         int tag = input.readTag();
    785         switch (tag) {
    786           case 0:
    787             return this;
    788           default: {
    789             if (!parseUnknownField(input, tag)) {
    790               return this;
    791             }
    792             break;
    793           }
    794           case 8: {
    795               setUusType(input.readInt32());
    796             break;
    797           }
    798           case 16: {
    799               setUusDcs(input.readInt32());
    800             break;
    801           }
    802           case 24: {
    803             setUusLength(input.readInt32());
    804             break;
    805           }
    806           case 34: {
    807             setUusData(input.readString());
    808             break;
    809           }
    810         }
    811       }
    812     }
    813 
    814     public static RilUusInfo parseFrom(byte[] data)
    815         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
    816       return (RilUusInfo) (new RilUusInfo().mergeFrom(data));
    817     }
    818 
    819     public static RilUusInfo parseFrom(
    820             com.google.protobuf.micro.CodedInputStreamMicro input)
    821         throws java.io.IOException {
    822       return (RilUusInfo) (new RilUusInfo().mergeFrom(input));
    823     }
    824 
    825   }
    826 
    827   public static final class RilCall extends
    828       com.google.protobuf.micro.MessageMicro {
    829     public RilCall() {}
    830 
    831     // optional .ril_proto.RilCallState state = 1;
    832     public static final int STATE_FIELD_NUMBER = 1;
    833     private boolean hasState;
    834     private int state_ = com.android.internal.telephony.ril_proto.RilCmds.CALLSTATE_ACTIVE;
    835     public boolean hasState() { return hasState; }
    836     public int getState() { return state_; }
    837     public RilCall setState(int value) {
    838       hasState = true;
    839       state_ = value;
    840       return this;
    841     }
    842     public RilCall clearState() {
    843       hasState = false;
    844       state_ = com.android.internal.telephony.ril_proto.RilCmds.CALLSTATE_ACTIVE;
    845       return this;
    846     }
    847 
    848     // optional int32 index = 2;
    849     public static final int INDEX_FIELD_NUMBER = 2;
    850     private boolean hasIndex;
    851     private int index_ = 0;
    852     public int getIndex() { return index_; }
    853     public boolean hasIndex() { return hasIndex; }
    854     public RilCall setIndex(int value) {
    855       hasIndex = true;
    856       index_ = value;
    857       return this;
    858     }
    859     public RilCall clearIndex() {
    860       hasIndex = false;
    861       index_ = 0;
    862       return this;
    863     }
    864 
    865     // optional int32 toa = 3;
    866     public static final int TOA_FIELD_NUMBER = 3;
    867     private boolean hasToa;
    868     private int toa_ = 0;
    869     public int getToa() { return toa_; }
    870     public boolean hasToa() { return hasToa; }
    871     public RilCall setToa(int value) {
    872       hasToa = true;
    873       toa_ = value;
    874       return this;
    875     }
    876     public RilCall clearToa() {
    877       hasToa = false;
    878       toa_ = 0;
    879       return this;
    880     }
    881 
    882     // optional bool is_mpty = 4;
    883     public static final int IS_MPTY_FIELD_NUMBER = 4;
    884     private boolean hasIsMpty;
    885     private boolean isMpty_ = false;
    886     public boolean getIsMpty() { return isMpty_; }
    887     public boolean hasIsMpty() { return hasIsMpty; }
    888     public RilCall setIsMpty(boolean value) {
    889       hasIsMpty = true;
    890       isMpty_ = value;
    891       return this;
    892     }
    893     public RilCall clearIsMpty() {
    894       hasIsMpty = false;
    895       isMpty_ = false;
    896       return this;
    897     }
    898 
    899     // optional bool is_mt = 5;
    900     public static final int IS_MT_FIELD_NUMBER = 5;
    901     private boolean hasIsMt;
    902     private boolean isMt_ = false;
    903     public boolean getIsMt() { return isMt_; }
    904     public boolean hasIsMt() { return hasIsMt; }
    905     public RilCall setIsMt(boolean value) {
    906       hasIsMt = true;
    907       isMt_ = value;
    908       return this;
    909     }
    910     public RilCall clearIsMt() {
    911       hasIsMt = false;
    912       isMt_ = false;
    913       return this;
    914     }
    915 
    916     // optional int32 als = 6;
    917     public static final int ALS_FIELD_NUMBER = 6;
    918     private boolean hasAls;
    919     private int als_ = 0;
    920     public int getAls() { return als_; }
    921     public boolean hasAls() { return hasAls; }
    922     public RilCall setAls(int value) {
    923       hasAls = true;
    924       als_ = value;
    925       return this;
    926     }
    927     public RilCall clearAls() {
    928       hasAls = false;
    929       als_ = 0;
    930       return this;
    931     }
    932 
    933     // optional bool is_voice = 7;
    934     public static final int IS_VOICE_FIELD_NUMBER = 7;
    935     private boolean hasIsVoice;
    936     private boolean isVoice_ = false;
    937     public boolean getIsVoice() { return isVoice_; }
    938     public boolean hasIsVoice() { return hasIsVoice; }
    939     public RilCall setIsVoice(boolean value) {
    940       hasIsVoice = true;
    941       isVoice_ = value;
    942       return this;
    943     }
    944     public RilCall clearIsVoice() {
    945       hasIsVoice = false;
    946       isVoice_ = false;
    947       return this;
    948     }
    949 
    950     // optional bool is_voice_privacy = 8;
    951     public static final int IS_VOICE_PRIVACY_FIELD_NUMBER = 8;
    952     private boolean hasIsVoicePrivacy;
    953     private boolean isVoicePrivacy_ = false;
    954     public boolean getIsVoicePrivacy() { return isVoicePrivacy_; }
    955     public boolean hasIsVoicePrivacy() { return hasIsVoicePrivacy; }
    956     public RilCall setIsVoicePrivacy(boolean value) {
    957       hasIsVoicePrivacy = true;
    958       isVoicePrivacy_ = value;
    959       return this;
    960     }
    961     public RilCall clearIsVoicePrivacy() {
    962       hasIsVoicePrivacy = false;
    963       isVoicePrivacy_ = false;
    964       return this;
    965     }
    966 
    967     // optional string number = 9;
    968     public static final int NUMBER_FIELD_NUMBER = 9;
    969     private boolean hasNumber;
    970     private java.lang.String number_ = "";
    971     public java.lang.String getNumber() { return number_; }
    972     public boolean hasNumber() { return hasNumber; }
    973     public RilCall setNumber(java.lang.String value) {
    974       hasNumber = true;
    975       number_ = value;
    976       return this;
    977     }
    978     public RilCall clearNumber() {
    979       hasNumber = false;
    980       number_ = "";
    981       return this;
    982     }
    983 
    984     // optional int32 number_presentation = 10;
    985     public static final int NUMBER_PRESENTATION_FIELD_NUMBER = 10;
    986     private boolean hasNumberPresentation;
    987     private int numberPresentation_ = 0;
    988     public int getNumberPresentation() { return numberPresentation_; }
    989     public boolean hasNumberPresentation() { return hasNumberPresentation; }
    990     public RilCall setNumberPresentation(int value) {
    991       hasNumberPresentation = true;
    992       numberPresentation_ = value;
    993       return this;
    994     }
    995     public RilCall clearNumberPresentation() {
    996       hasNumberPresentation = false;
    997       numberPresentation_ = 0;
    998       return this;
    999     }
   1000 
   1001     // optional string name = 11;
   1002     public static final int NAME_FIELD_NUMBER = 11;
   1003     private boolean hasName;
   1004     private java.lang.String name_ = "";
   1005     public java.lang.String getName() { return name_; }
   1006     public boolean hasName() { return hasName; }
   1007     public RilCall setName(java.lang.String value) {
   1008       hasName = true;
   1009       name_ = value;
   1010       return this;
   1011     }
   1012     public RilCall clearName() {
   1013       hasName = false;
   1014       name_ = "";
   1015       return this;
   1016     }
   1017 
   1018     // optional int32 name_presentation = 12;
   1019     public static final int NAME_PRESENTATION_FIELD_NUMBER = 12;
   1020     private boolean hasNamePresentation;
   1021     private int namePresentation_ = 0;
   1022     public int getNamePresentation() { return namePresentation_; }
   1023     public boolean hasNamePresentation() { return hasNamePresentation; }
   1024     public RilCall setNamePresentation(int value) {
   1025       hasNamePresentation = true;
   1026       namePresentation_ = value;
   1027       return this;
   1028     }
   1029     public RilCall clearNamePresentation() {
   1030       hasNamePresentation = false;
   1031       namePresentation_ = 0;
   1032       return this;
   1033     }
   1034 
   1035     // optional .ril_proto.RilUusInfo uus_info = 13;
   1036     public static final int UUS_INFO_FIELD_NUMBER = 13;
   1037     private boolean hasUusInfo;
   1038     private com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo uusInfo_ = null;
   1039     public boolean hasUusInfo() { return hasUusInfo; }
   1040     public com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo getUusInfo() { return uusInfo_; }
   1041     public RilCall setUusInfo(com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo value) {
   1042       if (value == null) {
   1043         throw new NullPointerException();
   1044       }
   1045       hasUusInfo = true;
   1046       uusInfo_ = value;
   1047       return this;
   1048     }
   1049     public RilCall clearUusInfo() {
   1050       hasUusInfo = false;
   1051       uusInfo_ = null;
   1052       return this;
   1053     }
   1054 
   1055     public final RilCall clear() {
   1056       clearState();
   1057       clearIndex();
   1058       clearToa();
   1059       clearIsMpty();
   1060       clearIsMt();
   1061       clearAls();
   1062       clearIsVoice();
   1063       clearIsVoicePrivacy();
   1064       clearNumber();
   1065       clearNumberPresentation();
   1066       clearName();
   1067       clearNamePresentation();
   1068       clearUusInfo();
   1069       cachedSize = -1;
   1070       return this;
   1071     }
   1072 
   1073     public final boolean isInitialized() {
   1074       return true;
   1075     }
   1076 
   1077     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   1078                         throws java.io.IOException {
   1079       if (hasState()) {
   1080         output.writeInt32(1, getState());
   1081       }
   1082       if (hasIndex()) {
   1083         output.writeInt32(2, getIndex());
   1084       }
   1085       if (hasToa()) {
   1086         output.writeInt32(3, getToa());
   1087       }
   1088       if (hasIsMpty()) {
   1089         output.writeBool(4, getIsMpty());
   1090       }
   1091       if (hasIsMt()) {
   1092         output.writeBool(5, getIsMt());
   1093       }
   1094       if (hasAls()) {
   1095         output.writeInt32(6, getAls());
   1096       }
   1097       if (hasIsVoice()) {
   1098         output.writeBool(7, getIsVoice());
   1099       }
   1100       if (hasIsVoicePrivacy()) {
   1101         output.writeBool(8, getIsVoicePrivacy());
   1102       }
   1103       if (hasNumber()) {
   1104         output.writeString(9, getNumber());
   1105       }
   1106       if (hasNumberPresentation()) {
   1107         output.writeInt32(10, getNumberPresentation());
   1108       }
   1109       if (hasName()) {
   1110         output.writeString(11, getName());
   1111       }
   1112       if (hasNamePresentation()) {
   1113         output.writeInt32(12, getNamePresentation());
   1114       }
   1115       if (hasUusInfo()) {
   1116         output.writeMessage(13, getUusInfo());
   1117       }
   1118     }
   1119 
   1120     private int cachedSize = -1;
   1121     public int getCachedSize() {
   1122       if (cachedSize < 0) {
   1123         // getSerializedSize sets cachedSize
   1124         getSerializedSize();
   1125       }
   1126       return cachedSize;
   1127     }
   1128 
   1129     public int getSerializedSize() {
   1130       int size = 0;
   1131       if (hasState()) {
   1132         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1133           .computeInt32Size(1, getState());
   1134       }
   1135       if (hasIndex()) {
   1136         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1137           .computeInt32Size(2, getIndex());
   1138       }
   1139       if (hasToa()) {
   1140         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1141           .computeInt32Size(3, getToa());
   1142       }
   1143       if (hasIsMpty()) {
   1144         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1145           .computeBoolSize(4, getIsMpty());
   1146       }
   1147       if (hasIsMt()) {
   1148         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1149           .computeBoolSize(5, getIsMt());
   1150       }
   1151       if (hasAls()) {
   1152         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1153           .computeInt32Size(6, getAls());
   1154       }
   1155       if (hasIsVoice()) {
   1156         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1157           .computeBoolSize(7, getIsVoice());
   1158       }
   1159       if (hasIsVoicePrivacy()) {
   1160         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1161           .computeBoolSize(8, getIsVoicePrivacy());
   1162       }
   1163       if (hasNumber()) {
   1164         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1165           .computeStringSize(9, getNumber());
   1166       }
   1167       if (hasNumberPresentation()) {
   1168         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1169           .computeInt32Size(10, getNumberPresentation());
   1170       }
   1171       if (hasName()) {
   1172         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1173           .computeStringSize(11, getName());
   1174       }
   1175       if (hasNamePresentation()) {
   1176         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1177           .computeInt32Size(12, getNamePresentation());
   1178       }
   1179       if (hasUusInfo()) {
   1180         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1181           .computeMessageSize(13, getUusInfo());
   1182       }
   1183       cachedSize = size;
   1184       return size;
   1185     }
   1186 
   1187     public RilCall mergeFrom(
   1188         com.google.protobuf.micro.CodedInputStreamMicro input)
   1189         throws java.io.IOException {
   1190       while (true) {
   1191         int tag = input.readTag();
   1192         switch (tag) {
   1193           case 0:
   1194             return this;
   1195           default: {
   1196             if (!parseUnknownField(input, tag)) {
   1197               return this;
   1198             }
   1199             break;
   1200           }
   1201           case 8: {
   1202               setState(input.readInt32());
   1203             break;
   1204           }
   1205           case 16: {
   1206             setIndex(input.readInt32());
   1207             break;
   1208           }
   1209           case 24: {
   1210             setToa(input.readInt32());
   1211             break;
   1212           }
   1213           case 32: {
   1214             setIsMpty(input.readBool());
   1215             break;
   1216           }
   1217           case 40: {
   1218             setIsMt(input.readBool());
   1219             break;
   1220           }
   1221           case 48: {
   1222             setAls(input.readInt32());
   1223             break;
   1224           }
   1225           case 56: {
   1226             setIsVoice(input.readBool());
   1227             break;
   1228           }
   1229           case 64: {
   1230             setIsVoicePrivacy(input.readBool());
   1231             break;
   1232           }
   1233           case 74: {
   1234             setNumber(input.readString());
   1235             break;
   1236           }
   1237           case 80: {
   1238             setNumberPresentation(input.readInt32());
   1239             break;
   1240           }
   1241           case 90: {
   1242             setName(input.readString());
   1243             break;
   1244           }
   1245           case 96: {
   1246             setNamePresentation(input.readInt32());
   1247             break;
   1248           }
   1249           case 106: {
   1250             com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo value = new com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo();
   1251             input.readMessage(value);
   1252             setUusInfo(value);
   1253             break;
   1254           }
   1255         }
   1256       }
   1257     }
   1258 
   1259     public static RilCall parseFrom(byte[] data)
   1260         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   1261       return (RilCall) (new RilCall().mergeFrom(data));
   1262     }
   1263 
   1264     public static RilCall parseFrom(
   1265             com.google.protobuf.micro.CodedInputStreamMicro input)
   1266         throws java.io.IOException {
   1267       return (RilCall) (new RilCall().mergeFrom(input));
   1268     }
   1269 
   1270   }
   1271 
   1272   public static final class RILGWSignalStrength extends
   1273       com.google.protobuf.micro.MessageMicro {
   1274     public RILGWSignalStrength() {}
   1275 
   1276     // optional int32 signal_strength = 1;
   1277     public static final int SIGNAL_STRENGTH_FIELD_NUMBER = 1;
   1278     private boolean hasSignalStrength;
   1279     private int signalStrength_ = 0;
   1280     public int getSignalStrength() { return signalStrength_; }
   1281     public boolean hasSignalStrength() { return hasSignalStrength; }
   1282     public RILGWSignalStrength setSignalStrength(int value) {
   1283       hasSignalStrength = true;
   1284       signalStrength_ = value;
   1285       return this;
   1286     }
   1287     public RILGWSignalStrength clearSignalStrength() {
   1288       hasSignalStrength = false;
   1289       signalStrength_ = 0;
   1290       return this;
   1291     }
   1292 
   1293     // optional int32 bit_error_rate = 2;
   1294     public static final int BIT_ERROR_RATE_FIELD_NUMBER = 2;
   1295     private boolean hasBitErrorRate;
   1296     private int bitErrorRate_ = 0;
   1297     public int getBitErrorRate() { return bitErrorRate_; }
   1298     public boolean hasBitErrorRate() { return hasBitErrorRate; }
   1299     public RILGWSignalStrength setBitErrorRate(int value) {
   1300       hasBitErrorRate = true;
   1301       bitErrorRate_ = value;
   1302       return this;
   1303     }
   1304     public RILGWSignalStrength clearBitErrorRate() {
   1305       hasBitErrorRate = false;
   1306       bitErrorRate_ = 0;
   1307       return this;
   1308     }
   1309 
   1310     public final RILGWSignalStrength clear() {
   1311       clearSignalStrength();
   1312       clearBitErrorRate();
   1313       cachedSize = -1;
   1314       return this;
   1315     }
   1316 
   1317     public final boolean isInitialized() {
   1318       return true;
   1319     }
   1320 
   1321     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   1322                         throws java.io.IOException {
   1323       if (hasSignalStrength()) {
   1324         output.writeInt32(1, getSignalStrength());
   1325       }
   1326       if (hasBitErrorRate()) {
   1327         output.writeInt32(2, getBitErrorRate());
   1328       }
   1329     }
   1330 
   1331     private int cachedSize = -1;
   1332     public int getCachedSize() {
   1333       if (cachedSize < 0) {
   1334         // getSerializedSize sets cachedSize
   1335         getSerializedSize();
   1336       }
   1337       return cachedSize;
   1338     }
   1339 
   1340     public int getSerializedSize() {
   1341       int size = 0;
   1342       if (hasSignalStrength()) {
   1343         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1344           .computeInt32Size(1, getSignalStrength());
   1345       }
   1346       if (hasBitErrorRate()) {
   1347         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1348           .computeInt32Size(2, getBitErrorRate());
   1349       }
   1350       cachedSize = size;
   1351       return size;
   1352     }
   1353 
   1354     public RILGWSignalStrength mergeFrom(
   1355         com.google.protobuf.micro.CodedInputStreamMicro input)
   1356         throws java.io.IOException {
   1357       while (true) {
   1358         int tag = input.readTag();
   1359         switch (tag) {
   1360           case 0:
   1361             return this;
   1362           default: {
   1363             if (!parseUnknownField(input, tag)) {
   1364               return this;
   1365             }
   1366             break;
   1367           }
   1368           case 8: {
   1369             setSignalStrength(input.readInt32());
   1370             break;
   1371           }
   1372           case 16: {
   1373             setBitErrorRate(input.readInt32());
   1374             break;
   1375           }
   1376         }
   1377       }
   1378     }
   1379 
   1380     public static RILGWSignalStrength parseFrom(byte[] data)
   1381         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   1382       return (RILGWSignalStrength) (new RILGWSignalStrength().mergeFrom(data));
   1383     }
   1384 
   1385     public static RILGWSignalStrength parseFrom(
   1386             com.google.protobuf.micro.CodedInputStreamMicro input)
   1387         throws java.io.IOException {
   1388       return (RILGWSignalStrength) (new RILGWSignalStrength().mergeFrom(input));
   1389     }
   1390 
   1391   }
   1392 
   1393   public static final class RILCDMASignalStrength extends
   1394       com.google.protobuf.micro.MessageMicro {
   1395     public RILCDMASignalStrength() {}
   1396 
   1397     // optional int32 dbm = 1;
   1398     public static final int DBM_FIELD_NUMBER = 1;
   1399     private boolean hasDbm;
   1400     private int dbm_ = 0;
   1401     public int getDbm() { return dbm_; }
   1402     public boolean hasDbm() { return hasDbm; }
   1403     public RILCDMASignalStrength setDbm(int value) {
   1404       hasDbm = true;
   1405       dbm_ = value;
   1406       return this;
   1407     }
   1408     public RILCDMASignalStrength clearDbm() {
   1409       hasDbm = false;
   1410       dbm_ = 0;
   1411       return this;
   1412     }
   1413 
   1414     // optional int32 ecio = 2;
   1415     public static final int ECIO_FIELD_NUMBER = 2;
   1416     private boolean hasEcio;
   1417     private int ecio_ = 0;
   1418     public int getEcio() { return ecio_; }
   1419     public boolean hasEcio() { return hasEcio; }
   1420     public RILCDMASignalStrength setEcio(int value) {
   1421       hasEcio = true;
   1422       ecio_ = value;
   1423       return this;
   1424     }
   1425     public RILCDMASignalStrength clearEcio() {
   1426       hasEcio = false;
   1427       ecio_ = 0;
   1428       return this;
   1429     }
   1430 
   1431     public final RILCDMASignalStrength clear() {
   1432       clearDbm();
   1433       clearEcio();
   1434       cachedSize = -1;
   1435       return this;
   1436     }
   1437 
   1438     public final boolean isInitialized() {
   1439       return true;
   1440     }
   1441 
   1442     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   1443                         throws java.io.IOException {
   1444       if (hasDbm()) {
   1445         output.writeInt32(1, getDbm());
   1446       }
   1447       if (hasEcio()) {
   1448         output.writeInt32(2, getEcio());
   1449       }
   1450     }
   1451 
   1452     private int cachedSize = -1;
   1453     public int getCachedSize() {
   1454       if (cachedSize < 0) {
   1455         // getSerializedSize sets cachedSize
   1456         getSerializedSize();
   1457       }
   1458       return cachedSize;
   1459     }
   1460 
   1461     public int getSerializedSize() {
   1462       int size = 0;
   1463       if (hasDbm()) {
   1464         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1465           .computeInt32Size(1, getDbm());
   1466       }
   1467       if (hasEcio()) {
   1468         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1469           .computeInt32Size(2, getEcio());
   1470       }
   1471       cachedSize = size;
   1472       return size;
   1473     }
   1474 
   1475     public RILCDMASignalStrength mergeFrom(
   1476         com.google.protobuf.micro.CodedInputStreamMicro input)
   1477         throws java.io.IOException {
   1478       while (true) {
   1479         int tag = input.readTag();
   1480         switch (tag) {
   1481           case 0:
   1482             return this;
   1483           default: {
   1484             if (!parseUnknownField(input, tag)) {
   1485               return this;
   1486             }
   1487             break;
   1488           }
   1489           case 8: {
   1490             setDbm(input.readInt32());
   1491             break;
   1492           }
   1493           case 16: {
   1494             setEcio(input.readInt32());
   1495             break;
   1496           }
   1497         }
   1498       }
   1499     }
   1500 
   1501     public static RILCDMASignalStrength parseFrom(byte[] data)
   1502         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   1503       return (RILCDMASignalStrength) (new RILCDMASignalStrength().mergeFrom(data));
   1504     }
   1505 
   1506     public static RILCDMASignalStrength parseFrom(
   1507             com.google.protobuf.micro.CodedInputStreamMicro input)
   1508         throws java.io.IOException {
   1509       return (RILCDMASignalStrength) (new RILCDMASignalStrength().mergeFrom(input));
   1510     }
   1511 
   1512   }
   1513 
   1514   public static final class RILEVDOSignalStrength extends
   1515       com.google.protobuf.micro.MessageMicro {
   1516     public RILEVDOSignalStrength() {}
   1517 
   1518     // optional int32 dbm = 1;
   1519     public static final int DBM_FIELD_NUMBER = 1;
   1520     private boolean hasDbm;
   1521     private int dbm_ = 0;
   1522     public int getDbm() { return dbm_; }
   1523     public boolean hasDbm() { return hasDbm; }
   1524     public RILEVDOSignalStrength setDbm(int value) {
   1525       hasDbm = true;
   1526       dbm_ = value;
   1527       return this;
   1528     }
   1529     public RILEVDOSignalStrength clearDbm() {
   1530       hasDbm = false;
   1531       dbm_ = 0;
   1532       return this;
   1533     }
   1534 
   1535     // optional int32 ecio = 2;
   1536     public static final int ECIO_FIELD_NUMBER = 2;
   1537     private boolean hasEcio;
   1538     private int ecio_ = 0;
   1539     public int getEcio() { return ecio_; }
   1540     public boolean hasEcio() { return hasEcio; }
   1541     public RILEVDOSignalStrength setEcio(int value) {
   1542       hasEcio = true;
   1543       ecio_ = value;
   1544       return this;
   1545     }
   1546     public RILEVDOSignalStrength clearEcio() {
   1547       hasEcio = false;
   1548       ecio_ = 0;
   1549       return this;
   1550     }
   1551 
   1552     // optional int32 signal_noise_ratio = 3;
   1553     public static final int SIGNAL_NOISE_RATIO_FIELD_NUMBER = 3;
   1554     private boolean hasSignalNoiseRatio;
   1555     private int signalNoiseRatio_ = 0;
   1556     public int getSignalNoiseRatio() { return signalNoiseRatio_; }
   1557     public boolean hasSignalNoiseRatio() { return hasSignalNoiseRatio; }
   1558     public RILEVDOSignalStrength setSignalNoiseRatio(int value) {
   1559       hasSignalNoiseRatio = true;
   1560       signalNoiseRatio_ = value;
   1561       return this;
   1562     }
   1563     public RILEVDOSignalStrength clearSignalNoiseRatio() {
   1564       hasSignalNoiseRatio = false;
   1565       signalNoiseRatio_ = 0;
   1566       return this;
   1567     }
   1568 
   1569     public final RILEVDOSignalStrength clear() {
   1570       clearDbm();
   1571       clearEcio();
   1572       clearSignalNoiseRatio();
   1573       cachedSize = -1;
   1574       return this;
   1575     }
   1576 
   1577     public final boolean isInitialized() {
   1578       return true;
   1579     }
   1580 
   1581     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   1582                         throws java.io.IOException {
   1583       if (hasDbm()) {
   1584         output.writeInt32(1, getDbm());
   1585       }
   1586       if (hasEcio()) {
   1587         output.writeInt32(2, getEcio());
   1588       }
   1589       if (hasSignalNoiseRatio()) {
   1590         output.writeInt32(3, getSignalNoiseRatio());
   1591       }
   1592     }
   1593 
   1594     private int cachedSize = -1;
   1595     public int getCachedSize() {
   1596       if (cachedSize < 0) {
   1597         // getSerializedSize sets cachedSize
   1598         getSerializedSize();
   1599       }
   1600       return cachedSize;
   1601     }
   1602 
   1603     public int getSerializedSize() {
   1604       int size = 0;
   1605       if (hasDbm()) {
   1606         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1607           .computeInt32Size(1, getDbm());
   1608       }
   1609       if (hasEcio()) {
   1610         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1611           .computeInt32Size(2, getEcio());
   1612       }
   1613       if (hasSignalNoiseRatio()) {
   1614         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1615           .computeInt32Size(3, getSignalNoiseRatio());
   1616       }
   1617       cachedSize = size;
   1618       return size;
   1619     }
   1620 
   1621     public RILEVDOSignalStrength mergeFrom(
   1622         com.google.protobuf.micro.CodedInputStreamMicro input)
   1623         throws java.io.IOException {
   1624       while (true) {
   1625         int tag = input.readTag();
   1626         switch (tag) {
   1627           case 0:
   1628             return this;
   1629           default: {
   1630             if (!parseUnknownField(input, tag)) {
   1631               return this;
   1632             }
   1633             break;
   1634           }
   1635           case 8: {
   1636             setDbm(input.readInt32());
   1637             break;
   1638           }
   1639           case 16: {
   1640             setEcio(input.readInt32());
   1641             break;
   1642           }
   1643           case 24: {
   1644             setSignalNoiseRatio(input.readInt32());
   1645             break;
   1646           }
   1647         }
   1648       }
   1649     }
   1650 
   1651     public static RILEVDOSignalStrength parseFrom(byte[] data)
   1652         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   1653       return (RILEVDOSignalStrength) (new RILEVDOSignalStrength().mergeFrom(data));
   1654     }
   1655 
   1656     public static RILEVDOSignalStrength parseFrom(
   1657             com.google.protobuf.micro.CodedInputStreamMicro input)
   1658         throws java.io.IOException {
   1659       return (RILEVDOSignalStrength) (new RILEVDOSignalStrength().mergeFrom(input));
   1660     }
   1661 
   1662   }
   1663 
   1664   public static final class RspStrings extends
   1665       com.google.protobuf.micro.MessageMicro {
   1666     public RspStrings() {}
   1667 
   1668     // repeated string strings = 1;
   1669     public static final int STRINGS_FIELD_NUMBER = 1;
   1670     private java.util.List<java.lang.String> strings_ =
   1671       java.util.Collections.emptyList();
   1672     public java.util.List<java.lang.String> getStringsList() {
   1673       return strings_;
   1674     }
   1675     public int getStringsCount() { return strings_.size(); }
   1676     public java.lang.String getStrings(int index) {
   1677       return strings_.get(index);
   1678     }
   1679     public RspStrings setStrings(int index, java.lang.String value) {
   1680       if (value == null) {
   1681     throw new NullPointerException();
   1682   }
   1683   strings_.set(index, value);
   1684       return this;
   1685     }
   1686     public RspStrings addStrings(java.lang.String value) {
   1687       if (value == null) {
   1688     throw new NullPointerException();
   1689   }
   1690   if (strings_.isEmpty()) {
   1691         strings_ = new java.util.ArrayList<java.lang.String>();
   1692       }
   1693       strings_.add(value);
   1694       return this;
   1695     }
   1696     public RspStrings clearStrings() {
   1697       strings_ = java.util.Collections.emptyList();
   1698       return this;
   1699     }
   1700 
   1701     public final RspStrings clear() {
   1702       clearStrings();
   1703       cachedSize = -1;
   1704       return this;
   1705     }
   1706 
   1707     public final boolean isInitialized() {
   1708       return true;
   1709     }
   1710 
   1711     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   1712                         throws java.io.IOException {
   1713       for (java.lang.String element : getStringsList()) {
   1714         output.writeString(1, element);
   1715       }
   1716     }
   1717 
   1718     private int cachedSize = -1;
   1719     public int getCachedSize() {
   1720       if (cachedSize < 0) {
   1721         // getSerializedSize sets cachedSize
   1722         getSerializedSize();
   1723       }
   1724       return cachedSize;
   1725     }
   1726 
   1727     public int getSerializedSize() {
   1728       int size = 0;
   1729       {
   1730         int dataSize = 0;
   1731         for (java.lang.String element : getStringsList()) {
   1732           dataSize += com.google.protobuf.micro.CodedOutputStreamMicro
   1733             .computeStringSizeNoTag(element);
   1734         }
   1735         size += dataSize;
   1736         size += 1 * getStringsList().size();
   1737       }
   1738       cachedSize = size;
   1739       return size;
   1740     }
   1741 
   1742     public RspStrings mergeFrom(
   1743         com.google.protobuf.micro.CodedInputStreamMicro input)
   1744         throws java.io.IOException {
   1745       while (true) {
   1746         int tag = input.readTag();
   1747         switch (tag) {
   1748           case 0:
   1749             return this;
   1750           default: {
   1751             if (!parseUnknownField(input, tag)) {
   1752               return this;
   1753             }
   1754             break;
   1755           }
   1756           case 10: {
   1757             addStrings(input.readString());
   1758             break;
   1759           }
   1760         }
   1761       }
   1762     }
   1763 
   1764     public static RspStrings parseFrom(byte[] data)
   1765         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   1766       return (RspStrings) (new RspStrings().mergeFrom(data));
   1767     }
   1768 
   1769     public static RspStrings parseFrom(
   1770             com.google.protobuf.micro.CodedInputStreamMicro input)
   1771         throws java.io.IOException {
   1772       return (RspStrings) (new RspStrings().mergeFrom(input));
   1773     }
   1774 
   1775   }
   1776 
   1777   public static final class RspIntegers extends
   1778       com.google.protobuf.micro.MessageMicro {
   1779     public RspIntegers() {}
   1780 
   1781     // repeated int32 integers = 1;
   1782     public static final int INTEGERS_FIELD_NUMBER = 1;
   1783     private java.util.List<java.lang.Integer> integers_ =
   1784       java.util.Collections.emptyList();
   1785     public java.util.List<java.lang.Integer> getIntegersList() {
   1786       return integers_;
   1787     }
   1788     public int getIntegersCount() { return integers_.size(); }
   1789     public int getIntegers(int index) {
   1790       return integers_.get(index);
   1791     }
   1792     public RspIntegers setIntegers(int index, int value) {
   1793       integers_.set(index, value);
   1794       return this;
   1795     }
   1796     public RspIntegers addIntegers(int value) {
   1797       if (integers_.isEmpty()) {
   1798         integers_ = new java.util.ArrayList<java.lang.Integer>();
   1799       }
   1800       integers_.add(value);
   1801       return this;
   1802     }
   1803     public RspIntegers clearIntegers() {
   1804       integers_ = java.util.Collections.emptyList();
   1805       return this;
   1806     }
   1807 
   1808     public final RspIntegers clear() {
   1809       clearIntegers();
   1810       cachedSize = -1;
   1811       return this;
   1812     }
   1813 
   1814     public final boolean isInitialized() {
   1815       return true;
   1816     }
   1817 
   1818     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   1819                         throws java.io.IOException {
   1820       for (int element : getIntegersList()) {
   1821         output.writeInt32(1, element);
   1822       }
   1823     }
   1824 
   1825     private int cachedSize = -1;
   1826     public int getCachedSize() {
   1827       if (cachedSize < 0) {
   1828         // getSerializedSize sets cachedSize
   1829         getSerializedSize();
   1830       }
   1831       return cachedSize;
   1832     }
   1833 
   1834     public int getSerializedSize() {
   1835       int size = 0;
   1836       {
   1837         int dataSize = 0;
   1838         for (int element : getIntegersList()) {
   1839           dataSize += com.google.protobuf.micro.CodedOutputStreamMicro
   1840             .computeInt32SizeNoTag(element);
   1841         }
   1842         size += dataSize;
   1843         size += 1 * getIntegersList().size();
   1844       }
   1845       cachedSize = size;
   1846       return size;
   1847     }
   1848 
   1849     public RspIntegers mergeFrom(
   1850         com.google.protobuf.micro.CodedInputStreamMicro input)
   1851         throws java.io.IOException {
   1852       while (true) {
   1853         int tag = input.readTag();
   1854         switch (tag) {
   1855           case 0:
   1856             return this;
   1857           default: {
   1858             if (!parseUnknownField(input, tag)) {
   1859               return this;
   1860             }
   1861             break;
   1862           }
   1863           case 8: {
   1864             addIntegers(input.readInt32());
   1865             break;
   1866           }
   1867         }
   1868       }
   1869     }
   1870 
   1871     public static RspIntegers parseFrom(byte[] data)
   1872         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   1873       return (RspIntegers) (new RspIntegers().mergeFrom(data));
   1874     }
   1875 
   1876     public static RspIntegers parseFrom(
   1877             com.google.protobuf.micro.CodedInputStreamMicro input)
   1878         throws java.io.IOException {
   1879       return (RspIntegers) (new RspIntegers().mergeFrom(input));
   1880     }
   1881 
   1882   }
   1883 
   1884   public static final class RspGetSimStatus extends
   1885       com.google.protobuf.micro.MessageMicro {
   1886     public RspGetSimStatus() {}
   1887 
   1888     // required .ril_proto.RilCardStatus card_status = 1;
   1889     public static final int CARD_STATUS_FIELD_NUMBER = 1;
   1890     private boolean hasCardStatus;
   1891     private com.android.internal.telephony.ril_proto.RilCmds.RilCardStatus cardStatus_ = null;
   1892     public boolean hasCardStatus() { return hasCardStatus; }
   1893     public com.android.internal.telephony.ril_proto.RilCmds.RilCardStatus getCardStatus() { return cardStatus_; }
   1894     public RspGetSimStatus setCardStatus(com.android.internal.telephony.ril_proto.RilCmds.RilCardStatus value) {
   1895       if (value == null) {
   1896         throw new NullPointerException();
   1897       }
   1898       hasCardStatus = true;
   1899       cardStatus_ = value;
   1900       return this;
   1901     }
   1902     public RspGetSimStatus clearCardStatus() {
   1903       hasCardStatus = false;
   1904       cardStatus_ = null;
   1905       return this;
   1906     }
   1907 
   1908     public final RspGetSimStatus clear() {
   1909       clearCardStatus();
   1910       cachedSize = -1;
   1911       return this;
   1912     }
   1913 
   1914     public final boolean isInitialized() {
   1915       if (!hasCardStatus) return false;
   1916       return true;
   1917     }
   1918 
   1919     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   1920                         throws java.io.IOException {
   1921       if (hasCardStatus()) {
   1922         output.writeMessage(1, getCardStatus());
   1923       }
   1924     }
   1925 
   1926     private int cachedSize = -1;
   1927     public int getCachedSize() {
   1928       if (cachedSize < 0) {
   1929         // getSerializedSize sets cachedSize
   1930         getSerializedSize();
   1931       }
   1932       return cachedSize;
   1933     }
   1934 
   1935     public int getSerializedSize() {
   1936       int size = 0;
   1937       if (hasCardStatus()) {
   1938         size += com.google.protobuf.micro.CodedOutputStreamMicro
   1939           .computeMessageSize(1, getCardStatus());
   1940       }
   1941       cachedSize = size;
   1942       return size;
   1943     }
   1944 
   1945     public RspGetSimStatus mergeFrom(
   1946         com.google.protobuf.micro.CodedInputStreamMicro input)
   1947         throws java.io.IOException {
   1948       while (true) {
   1949         int tag = input.readTag();
   1950         switch (tag) {
   1951           case 0:
   1952             return this;
   1953           default: {
   1954             if (!parseUnknownField(input, tag)) {
   1955               return this;
   1956             }
   1957             break;
   1958           }
   1959           case 10: {
   1960             com.android.internal.telephony.ril_proto.RilCmds.RilCardStatus value = new com.android.internal.telephony.ril_proto.RilCmds.RilCardStatus();
   1961             input.readMessage(value);
   1962             setCardStatus(value);
   1963             break;
   1964           }
   1965         }
   1966       }
   1967     }
   1968 
   1969     public static RspGetSimStatus parseFrom(byte[] data)
   1970         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   1971       return (RspGetSimStatus) (new RspGetSimStatus().mergeFrom(data));
   1972     }
   1973 
   1974     public static RspGetSimStatus parseFrom(
   1975             com.google.protobuf.micro.CodedInputStreamMicro input)
   1976         throws java.io.IOException {
   1977       return (RspGetSimStatus) (new RspGetSimStatus().mergeFrom(input));
   1978     }
   1979 
   1980   }
   1981 
   1982   public static final class ReqEnterSimPin extends
   1983       com.google.protobuf.micro.MessageMicro {
   1984     public ReqEnterSimPin() {}
   1985 
   1986     // required string pin = 1;
   1987     public static final int PIN_FIELD_NUMBER = 1;
   1988     private boolean hasPin;
   1989     private java.lang.String pin_ = "";
   1990     public java.lang.String getPin() { return pin_; }
   1991     public boolean hasPin() { return hasPin; }
   1992     public ReqEnterSimPin setPin(java.lang.String value) {
   1993       hasPin = true;
   1994       pin_ = value;
   1995       return this;
   1996     }
   1997     public ReqEnterSimPin clearPin() {
   1998       hasPin = false;
   1999       pin_ = "";
   2000       return this;
   2001     }
   2002 
   2003     public final ReqEnterSimPin clear() {
   2004       clearPin();
   2005       cachedSize = -1;
   2006       return this;
   2007     }
   2008 
   2009     public final boolean isInitialized() {
   2010       if (!hasPin) return false;
   2011       return true;
   2012     }
   2013 
   2014     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2015                         throws java.io.IOException {
   2016       if (hasPin()) {
   2017         output.writeString(1, getPin());
   2018       }
   2019     }
   2020 
   2021     private int cachedSize = -1;
   2022     public int getCachedSize() {
   2023       if (cachedSize < 0) {
   2024         // getSerializedSize sets cachedSize
   2025         getSerializedSize();
   2026       }
   2027       return cachedSize;
   2028     }
   2029 
   2030     public int getSerializedSize() {
   2031       int size = 0;
   2032       if (hasPin()) {
   2033         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2034           .computeStringSize(1, getPin());
   2035       }
   2036       cachedSize = size;
   2037       return size;
   2038     }
   2039 
   2040     public ReqEnterSimPin mergeFrom(
   2041         com.google.protobuf.micro.CodedInputStreamMicro input)
   2042         throws java.io.IOException {
   2043       while (true) {
   2044         int tag = input.readTag();
   2045         switch (tag) {
   2046           case 0:
   2047             return this;
   2048           default: {
   2049             if (!parseUnknownField(input, tag)) {
   2050               return this;
   2051             }
   2052             break;
   2053           }
   2054           case 10: {
   2055             setPin(input.readString());
   2056             break;
   2057           }
   2058         }
   2059       }
   2060     }
   2061 
   2062     public static ReqEnterSimPin parseFrom(byte[] data)
   2063         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   2064       return (ReqEnterSimPin) (new ReqEnterSimPin().mergeFrom(data));
   2065     }
   2066 
   2067     public static ReqEnterSimPin parseFrom(
   2068             com.google.protobuf.micro.CodedInputStreamMicro input)
   2069         throws java.io.IOException {
   2070       return (ReqEnterSimPin) (new ReqEnterSimPin().mergeFrom(input));
   2071     }
   2072 
   2073   }
   2074 
   2075   public static final class RspEnterSimPin extends
   2076       com.google.protobuf.micro.MessageMicro {
   2077     public RspEnterSimPin() {}
   2078 
   2079     // required int32 retries_remaining = 1;
   2080     public static final int RETRIES_REMAINING_FIELD_NUMBER = 1;
   2081     private boolean hasRetriesRemaining;
   2082     private int retriesRemaining_ = 0;
   2083     public int getRetriesRemaining() { return retriesRemaining_; }
   2084     public boolean hasRetriesRemaining() { return hasRetriesRemaining; }
   2085     public RspEnterSimPin setRetriesRemaining(int value) {
   2086       hasRetriesRemaining = true;
   2087       retriesRemaining_ = value;
   2088       return this;
   2089     }
   2090     public RspEnterSimPin clearRetriesRemaining() {
   2091       hasRetriesRemaining = false;
   2092       retriesRemaining_ = 0;
   2093       return this;
   2094     }
   2095 
   2096     public final RspEnterSimPin clear() {
   2097       clearRetriesRemaining();
   2098       cachedSize = -1;
   2099       return this;
   2100     }
   2101 
   2102     public final boolean isInitialized() {
   2103       if (!hasRetriesRemaining) return false;
   2104       return true;
   2105     }
   2106 
   2107     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2108                         throws java.io.IOException {
   2109       if (hasRetriesRemaining()) {
   2110         output.writeInt32(1, getRetriesRemaining());
   2111       }
   2112     }
   2113 
   2114     private int cachedSize = -1;
   2115     public int getCachedSize() {
   2116       if (cachedSize < 0) {
   2117         // getSerializedSize sets cachedSize
   2118         getSerializedSize();
   2119       }
   2120       return cachedSize;
   2121     }
   2122 
   2123     public int getSerializedSize() {
   2124       int size = 0;
   2125       if (hasRetriesRemaining()) {
   2126         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2127           .computeInt32Size(1, getRetriesRemaining());
   2128       }
   2129       cachedSize = size;
   2130       return size;
   2131     }
   2132 
   2133     public RspEnterSimPin mergeFrom(
   2134         com.google.protobuf.micro.CodedInputStreamMicro input)
   2135         throws java.io.IOException {
   2136       while (true) {
   2137         int tag = input.readTag();
   2138         switch (tag) {
   2139           case 0:
   2140             return this;
   2141           default: {
   2142             if (!parseUnknownField(input, tag)) {
   2143               return this;
   2144             }
   2145             break;
   2146           }
   2147           case 8: {
   2148             setRetriesRemaining(input.readInt32());
   2149             break;
   2150           }
   2151         }
   2152       }
   2153     }
   2154 
   2155     public static RspEnterSimPin parseFrom(byte[] data)
   2156         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   2157       return (RspEnterSimPin) (new RspEnterSimPin().mergeFrom(data));
   2158     }
   2159 
   2160     public static RspEnterSimPin parseFrom(
   2161             com.google.protobuf.micro.CodedInputStreamMicro input)
   2162         throws java.io.IOException {
   2163       return (RspEnterSimPin) (new RspEnterSimPin().mergeFrom(input));
   2164     }
   2165 
   2166   }
   2167 
   2168   public static final class RspGetCurrentCalls extends
   2169       com.google.protobuf.micro.MessageMicro {
   2170     public RspGetCurrentCalls() {}
   2171 
   2172     // repeated .ril_proto.RilCall calls = 1;
   2173     public static final int CALLS_FIELD_NUMBER = 1;
   2174     private java.util.List<com.android.internal.telephony.ril_proto.RilCmds.RilCall> calls_ =
   2175       java.util.Collections.emptyList();
   2176     public java.util.List<com.android.internal.telephony.ril_proto.RilCmds.RilCall> getCallsList() {
   2177       return calls_;
   2178     }
   2179     public int getCallsCount() { return calls_.size(); }
   2180     public com.android.internal.telephony.ril_proto.RilCmds.RilCall getCalls(int index) {
   2181       return calls_.get(index);
   2182     }
   2183     public RspGetCurrentCalls setCalls(int index, com.android.internal.telephony.ril_proto.RilCmds.RilCall value) {
   2184       if (value == null) {
   2185         throw new NullPointerException();
   2186       }
   2187       calls_.set(index, value);
   2188       return this;
   2189     }
   2190     public RspGetCurrentCalls addCalls(com.android.internal.telephony.ril_proto.RilCmds.RilCall value) {
   2191       if (value == null) {
   2192         throw new NullPointerException();
   2193       }
   2194       if (calls_.isEmpty()) {
   2195         calls_ = new java.util.ArrayList<com.android.internal.telephony.ril_proto.RilCmds.RilCall>();
   2196       }
   2197       calls_.add(value);
   2198       return this;
   2199     }
   2200     public RspGetCurrentCalls clearCalls() {
   2201       calls_ = java.util.Collections.emptyList();
   2202       return this;
   2203     }
   2204 
   2205     public final RspGetCurrentCalls clear() {
   2206       clearCalls();
   2207       cachedSize = -1;
   2208       return this;
   2209     }
   2210 
   2211     public final boolean isInitialized() {
   2212       return true;
   2213     }
   2214 
   2215     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2216                         throws java.io.IOException {
   2217       for (com.android.internal.telephony.ril_proto.RilCmds.RilCall element : getCallsList()) {
   2218         output.writeMessage(1, element);
   2219       }
   2220     }
   2221 
   2222     private int cachedSize = -1;
   2223     public int getCachedSize() {
   2224       if (cachedSize < 0) {
   2225         // getSerializedSize sets cachedSize
   2226         getSerializedSize();
   2227       }
   2228       return cachedSize;
   2229     }
   2230 
   2231     public int getSerializedSize() {
   2232       int size = 0;
   2233       for (com.android.internal.telephony.ril_proto.RilCmds.RilCall element : getCallsList()) {
   2234         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2235           .computeMessageSize(1, element);
   2236       }
   2237       cachedSize = size;
   2238       return size;
   2239     }
   2240 
   2241     public RspGetCurrentCalls mergeFrom(
   2242         com.google.protobuf.micro.CodedInputStreamMicro input)
   2243         throws java.io.IOException {
   2244       while (true) {
   2245         int tag = input.readTag();
   2246         switch (tag) {
   2247           case 0:
   2248             return this;
   2249           default: {
   2250             if (!parseUnknownField(input, tag)) {
   2251               return this;
   2252             }
   2253             break;
   2254           }
   2255           case 10: {
   2256             com.android.internal.telephony.ril_proto.RilCmds.RilCall value = new com.android.internal.telephony.ril_proto.RilCmds.RilCall();
   2257             input.readMessage(value);
   2258             addCalls(value);
   2259             break;
   2260           }
   2261         }
   2262       }
   2263     }
   2264 
   2265     public static RspGetCurrentCalls parseFrom(byte[] data)
   2266         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   2267       return (RspGetCurrentCalls) (new RspGetCurrentCalls().mergeFrom(data));
   2268     }
   2269 
   2270     public static RspGetCurrentCalls parseFrom(
   2271             com.google.protobuf.micro.CodedInputStreamMicro input)
   2272         throws java.io.IOException {
   2273       return (RspGetCurrentCalls) (new RspGetCurrentCalls().mergeFrom(input));
   2274     }
   2275 
   2276   }
   2277 
   2278   public static final class ReqDial extends
   2279       com.google.protobuf.micro.MessageMicro {
   2280     public ReqDial() {}
   2281 
   2282     // optional string address = 1;
   2283     public static final int ADDRESS_FIELD_NUMBER = 1;
   2284     private boolean hasAddress;
   2285     private java.lang.String address_ = "";
   2286     public java.lang.String getAddress() { return address_; }
   2287     public boolean hasAddress() { return hasAddress; }
   2288     public ReqDial setAddress(java.lang.String value) {
   2289       hasAddress = true;
   2290       address_ = value;
   2291       return this;
   2292     }
   2293     public ReqDial clearAddress() {
   2294       hasAddress = false;
   2295       address_ = "";
   2296       return this;
   2297     }
   2298 
   2299     // optional int32 clir = 2;
   2300     public static final int CLIR_FIELD_NUMBER = 2;
   2301     private boolean hasClir;
   2302     private int clir_ = 0;
   2303     public int getClir() { return clir_; }
   2304     public boolean hasClir() { return hasClir; }
   2305     public ReqDial setClir(int value) {
   2306       hasClir = true;
   2307       clir_ = value;
   2308       return this;
   2309     }
   2310     public ReqDial clearClir() {
   2311       hasClir = false;
   2312       clir_ = 0;
   2313       return this;
   2314     }
   2315 
   2316     // optional .ril_proto.RilUusInfo uus_info = 3;
   2317     public static final int UUS_INFO_FIELD_NUMBER = 3;
   2318     private boolean hasUusInfo;
   2319     private com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo uusInfo_ = null;
   2320     public boolean hasUusInfo() { return hasUusInfo; }
   2321     public com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo getUusInfo() { return uusInfo_; }
   2322     public ReqDial setUusInfo(com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo value) {
   2323       if (value == null) {
   2324         throw new NullPointerException();
   2325       }
   2326       hasUusInfo = true;
   2327       uusInfo_ = value;
   2328       return this;
   2329     }
   2330     public ReqDial clearUusInfo() {
   2331       hasUusInfo = false;
   2332       uusInfo_ = null;
   2333       return this;
   2334     }
   2335 
   2336     public final ReqDial clear() {
   2337       clearAddress();
   2338       clearClir();
   2339       clearUusInfo();
   2340       cachedSize = -1;
   2341       return this;
   2342     }
   2343 
   2344     public final boolean isInitialized() {
   2345       return true;
   2346     }
   2347 
   2348     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2349                         throws java.io.IOException {
   2350       if (hasAddress()) {
   2351         output.writeString(1, getAddress());
   2352       }
   2353       if (hasClir()) {
   2354         output.writeInt32(2, getClir());
   2355       }
   2356       if (hasUusInfo()) {
   2357         output.writeMessage(3, getUusInfo());
   2358       }
   2359     }
   2360 
   2361     private int cachedSize = -1;
   2362     public int getCachedSize() {
   2363       if (cachedSize < 0) {
   2364         // getSerializedSize sets cachedSize
   2365         getSerializedSize();
   2366       }
   2367       return cachedSize;
   2368     }
   2369 
   2370     public int getSerializedSize() {
   2371       int size = 0;
   2372       if (hasAddress()) {
   2373         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2374           .computeStringSize(1, getAddress());
   2375       }
   2376       if (hasClir()) {
   2377         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2378           .computeInt32Size(2, getClir());
   2379       }
   2380       if (hasUusInfo()) {
   2381         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2382           .computeMessageSize(3, getUusInfo());
   2383       }
   2384       cachedSize = size;
   2385       return size;
   2386     }
   2387 
   2388     public ReqDial mergeFrom(
   2389         com.google.protobuf.micro.CodedInputStreamMicro input)
   2390         throws java.io.IOException {
   2391       while (true) {
   2392         int tag = input.readTag();
   2393         switch (tag) {
   2394           case 0:
   2395             return this;
   2396           default: {
   2397             if (!parseUnknownField(input, tag)) {
   2398               return this;
   2399             }
   2400             break;
   2401           }
   2402           case 10: {
   2403             setAddress(input.readString());
   2404             break;
   2405           }
   2406           case 16: {
   2407             setClir(input.readInt32());
   2408             break;
   2409           }
   2410           case 26: {
   2411             com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo value = new com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo();
   2412             input.readMessage(value);
   2413             setUusInfo(value);
   2414             break;
   2415           }
   2416         }
   2417       }
   2418     }
   2419 
   2420     public static ReqDial parseFrom(byte[] data)
   2421         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   2422       return (ReqDial) (new ReqDial().mergeFrom(data));
   2423     }
   2424 
   2425     public static ReqDial parseFrom(
   2426             com.google.protobuf.micro.CodedInputStreamMicro input)
   2427         throws java.io.IOException {
   2428       return (ReqDial) (new ReqDial().mergeFrom(input));
   2429     }
   2430 
   2431   }
   2432 
   2433   public static final class ReqHangUp extends
   2434       com.google.protobuf.micro.MessageMicro {
   2435     public ReqHangUp() {}
   2436 
   2437     // required int32 connection_index = 1;
   2438     public static final int CONNECTION_INDEX_FIELD_NUMBER = 1;
   2439     private boolean hasConnectionIndex;
   2440     private int connectionIndex_ = 0;
   2441     public int getConnectionIndex() { return connectionIndex_; }
   2442     public boolean hasConnectionIndex() { return hasConnectionIndex; }
   2443     public ReqHangUp setConnectionIndex(int value) {
   2444       hasConnectionIndex = true;
   2445       connectionIndex_ = value;
   2446       return this;
   2447     }
   2448     public ReqHangUp clearConnectionIndex() {
   2449       hasConnectionIndex = false;
   2450       connectionIndex_ = 0;
   2451       return this;
   2452     }
   2453 
   2454     public final ReqHangUp clear() {
   2455       clearConnectionIndex();
   2456       cachedSize = -1;
   2457       return this;
   2458     }
   2459 
   2460     public final boolean isInitialized() {
   2461       if (!hasConnectionIndex) return false;
   2462       return true;
   2463     }
   2464 
   2465     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2466                         throws java.io.IOException {
   2467       if (hasConnectionIndex()) {
   2468         output.writeInt32(1, getConnectionIndex());
   2469       }
   2470     }
   2471 
   2472     private int cachedSize = -1;
   2473     public int getCachedSize() {
   2474       if (cachedSize < 0) {
   2475         // getSerializedSize sets cachedSize
   2476         getSerializedSize();
   2477       }
   2478       return cachedSize;
   2479     }
   2480 
   2481     public int getSerializedSize() {
   2482       int size = 0;
   2483       if (hasConnectionIndex()) {
   2484         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2485           .computeInt32Size(1, getConnectionIndex());
   2486       }
   2487       cachedSize = size;
   2488       return size;
   2489     }
   2490 
   2491     public ReqHangUp mergeFrom(
   2492         com.google.protobuf.micro.CodedInputStreamMicro input)
   2493         throws java.io.IOException {
   2494       while (true) {
   2495         int tag = input.readTag();
   2496         switch (tag) {
   2497           case 0:
   2498             return this;
   2499           default: {
   2500             if (!parseUnknownField(input, tag)) {
   2501               return this;
   2502             }
   2503             break;
   2504           }
   2505           case 8: {
   2506             setConnectionIndex(input.readInt32());
   2507             break;
   2508           }
   2509         }
   2510       }
   2511     }
   2512 
   2513     public static ReqHangUp parseFrom(byte[] data)
   2514         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   2515       return (ReqHangUp) (new ReqHangUp().mergeFrom(data));
   2516     }
   2517 
   2518     public static ReqHangUp parseFrom(
   2519             com.google.protobuf.micro.CodedInputStreamMicro input)
   2520         throws java.io.IOException {
   2521       return (ReqHangUp) (new ReqHangUp().mergeFrom(input));
   2522     }
   2523 
   2524   }
   2525 
   2526   public static final class RspLastCallFailCause extends
   2527       com.google.protobuf.micro.MessageMicro {
   2528     public RspLastCallFailCause() {}
   2529 
   2530     // required int32 last_call_fail_cause = 1;
   2531     public static final int LAST_CALL_FAIL_CAUSE_FIELD_NUMBER = 1;
   2532     private boolean hasLastCallFailCause;
   2533     private int lastCallFailCause_ = 0;
   2534     public int getLastCallFailCause() { return lastCallFailCause_; }
   2535     public boolean hasLastCallFailCause() { return hasLastCallFailCause; }
   2536     public RspLastCallFailCause setLastCallFailCause(int value) {
   2537       hasLastCallFailCause = true;
   2538       lastCallFailCause_ = value;
   2539       return this;
   2540     }
   2541     public RspLastCallFailCause clearLastCallFailCause() {
   2542       hasLastCallFailCause = false;
   2543       lastCallFailCause_ = 0;
   2544       return this;
   2545     }
   2546 
   2547     public final RspLastCallFailCause clear() {
   2548       clearLastCallFailCause();
   2549       cachedSize = -1;
   2550       return this;
   2551     }
   2552 
   2553     public final boolean isInitialized() {
   2554       if (!hasLastCallFailCause) return false;
   2555       return true;
   2556     }
   2557 
   2558     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2559                         throws java.io.IOException {
   2560       if (hasLastCallFailCause()) {
   2561         output.writeInt32(1, getLastCallFailCause());
   2562       }
   2563     }
   2564 
   2565     private int cachedSize = -1;
   2566     public int getCachedSize() {
   2567       if (cachedSize < 0) {
   2568         // getSerializedSize sets cachedSize
   2569         getSerializedSize();
   2570       }
   2571       return cachedSize;
   2572     }
   2573 
   2574     public int getSerializedSize() {
   2575       int size = 0;
   2576       if (hasLastCallFailCause()) {
   2577         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2578           .computeInt32Size(1, getLastCallFailCause());
   2579       }
   2580       cachedSize = size;
   2581       return size;
   2582     }
   2583 
   2584     public RspLastCallFailCause mergeFrom(
   2585         com.google.protobuf.micro.CodedInputStreamMicro input)
   2586         throws java.io.IOException {
   2587       while (true) {
   2588         int tag = input.readTag();
   2589         switch (tag) {
   2590           case 0:
   2591             return this;
   2592           default: {
   2593             if (!parseUnknownField(input, tag)) {
   2594               return this;
   2595             }
   2596             break;
   2597           }
   2598           case 8: {
   2599             setLastCallFailCause(input.readInt32());
   2600             break;
   2601           }
   2602         }
   2603       }
   2604     }
   2605 
   2606     public static RspLastCallFailCause parseFrom(byte[] data)
   2607         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   2608       return (RspLastCallFailCause) (new RspLastCallFailCause().mergeFrom(data));
   2609     }
   2610 
   2611     public static RspLastCallFailCause parseFrom(
   2612             com.google.protobuf.micro.CodedInputStreamMicro input)
   2613         throws java.io.IOException {
   2614       return (RspLastCallFailCause) (new RspLastCallFailCause().mergeFrom(input));
   2615     }
   2616 
   2617   }
   2618 
   2619   public static final class RspSignalStrength extends
   2620       com.google.protobuf.micro.MessageMicro {
   2621     public RspSignalStrength() {}
   2622 
   2623     // optional .ril_proto.RILGWSignalStrength gw_signalstrength = 1;
   2624     public static final int GW_SIGNALSTRENGTH_FIELD_NUMBER = 1;
   2625     private boolean hasGwSignalstrength;
   2626     private com.android.internal.telephony.ril_proto.RilCmds.RILGWSignalStrength gwSignalstrength_ = null;
   2627     public boolean hasGwSignalstrength() { return hasGwSignalstrength; }
   2628     public com.android.internal.telephony.ril_proto.RilCmds.RILGWSignalStrength getGwSignalstrength() { return gwSignalstrength_; }
   2629     public RspSignalStrength setGwSignalstrength(com.android.internal.telephony.ril_proto.RilCmds.RILGWSignalStrength value) {
   2630       if (value == null) {
   2631         throw new NullPointerException();
   2632       }
   2633       hasGwSignalstrength = true;
   2634       gwSignalstrength_ = value;
   2635       return this;
   2636     }
   2637     public RspSignalStrength clearGwSignalstrength() {
   2638       hasGwSignalstrength = false;
   2639       gwSignalstrength_ = null;
   2640       return this;
   2641     }
   2642 
   2643     // optional .ril_proto.RILCDMASignalStrength cdma_signalstrength = 2;
   2644     public static final int CDMA_SIGNALSTRENGTH_FIELD_NUMBER = 2;
   2645     private boolean hasCdmaSignalstrength;
   2646     private com.android.internal.telephony.ril_proto.RilCmds.RILCDMASignalStrength cdmaSignalstrength_ = null;
   2647     public boolean hasCdmaSignalstrength() { return hasCdmaSignalstrength; }
   2648     public com.android.internal.telephony.ril_proto.RilCmds.RILCDMASignalStrength getCdmaSignalstrength() { return cdmaSignalstrength_; }
   2649     public RspSignalStrength setCdmaSignalstrength(com.android.internal.telephony.ril_proto.RilCmds.RILCDMASignalStrength value) {
   2650       if (value == null) {
   2651         throw new NullPointerException();
   2652       }
   2653       hasCdmaSignalstrength = true;
   2654       cdmaSignalstrength_ = value;
   2655       return this;
   2656     }
   2657     public RspSignalStrength clearCdmaSignalstrength() {
   2658       hasCdmaSignalstrength = false;
   2659       cdmaSignalstrength_ = null;
   2660       return this;
   2661     }
   2662 
   2663     // optional .ril_proto.RILEVDOSignalStrength evdo_signalstrength = 3;
   2664     public static final int EVDO_SIGNALSTRENGTH_FIELD_NUMBER = 3;
   2665     private boolean hasEvdoSignalstrength;
   2666     private com.android.internal.telephony.ril_proto.RilCmds.RILEVDOSignalStrength evdoSignalstrength_ = null;
   2667     public boolean hasEvdoSignalstrength() { return hasEvdoSignalstrength; }
   2668     public com.android.internal.telephony.ril_proto.RilCmds.RILEVDOSignalStrength getEvdoSignalstrength() { return evdoSignalstrength_; }
   2669     public RspSignalStrength setEvdoSignalstrength(com.android.internal.telephony.ril_proto.RilCmds.RILEVDOSignalStrength value) {
   2670       if (value == null) {
   2671         throw new NullPointerException();
   2672       }
   2673       hasEvdoSignalstrength = true;
   2674       evdoSignalstrength_ = value;
   2675       return this;
   2676     }
   2677     public RspSignalStrength clearEvdoSignalstrength() {
   2678       hasEvdoSignalstrength = false;
   2679       evdoSignalstrength_ = null;
   2680       return this;
   2681     }
   2682 
   2683     public final RspSignalStrength clear() {
   2684       clearGwSignalstrength();
   2685       clearCdmaSignalstrength();
   2686       clearEvdoSignalstrength();
   2687       cachedSize = -1;
   2688       return this;
   2689     }
   2690 
   2691     public final boolean isInitialized() {
   2692       return true;
   2693     }
   2694 
   2695     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2696                         throws java.io.IOException {
   2697       if (hasGwSignalstrength()) {
   2698         output.writeMessage(1, getGwSignalstrength());
   2699       }
   2700       if (hasCdmaSignalstrength()) {
   2701         output.writeMessage(2, getCdmaSignalstrength());
   2702       }
   2703       if (hasEvdoSignalstrength()) {
   2704         output.writeMessage(3, getEvdoSignalstrength());
   2705       }
   2706     }
   2707 
   2708     private int cachedSize = -1;
   2709     public int getCachedSize() {
   2710       if (cachedSize < 0) {
   2711         // getSerializedSize sets cachedSize
   2712         getSerializedSize();
   2713       }
   2714       return cachedSize;
   2715     }
   2716 
   2717     public int getSerializedSize() {
   2718       int size = 0;
   2719       if (hasGwSignalstrength()) {
   2720         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2721           .computeMessageSize(1, getGwSignalstrength());
   2722       }
   2723       if (hasCdmaSignalstrength()) {
   2724         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2725           .computeMessageSize(2, getCdmaSignalstrength());
   2726       }
   2727       if (hasEvdoSignalstrength()) {
   2728         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2729           .computeMessageSize(3, getEvdoSignalstrength());
   2730       }
   2731       cachedSize = size;
   2732       return size;
   2733     }
   2734 
   2735     public RspSignalStrength mergeFrom(
   2736         com.google.protobuf.micro.CodedInputStreamMicro input)
   2737         throws java.io.IOException {
   2738       while (true) {
   2739         int tag = input.readTag();
   2740         switch (tag) {
   2741           case 0:
   2742             return this;
   2743           default: {
   2744             if (!parseUnknownField(input, tag)) {
   2745               return this;
   2746             }
   2747             break;
   2748           }
   2749           case 10: {
   2750             com.android.internal.telephony.ril_proto.RilCmds.RILGWSignalStrength value = new com.android.internal.telephony.ril_proto.RilCmds.RILGWSignalStrength();
   2751             input.readMessage(value);
   2752             setGwSignalstrength(value);
   2753             break;
   2754           }
   2755           case 18: {
   2756             com.android.internal.telephony.ril_proto.RilCmds.RILCDMASignalStrength value = new com.android.internal.telephony.ril_proto.RilCmds.RILCDMASignalStrength();
   2757             input.readMessage(value);
   2758             setCdmaSignalstrength(value);
   2759             break;
   2760           }
   2761           case 26: {
   2762             com.android.internal.telephony.ril_proto.RilCmds.RILEVDOSignalStrength value = new com.android.internal.telephony.ril_proto.RilCmds.RILEVDOSignalStrength();
   2763             input.readMessage(value);
   2764             setEvdoSignalstrength(value);
   2765             break;
   2766           }
   2767         }
   2768       }
   2769     }
   2770 
   2771     public static RspSignalStrength parseFrom(byte[] data)
   2772         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   2773       return (RspSignalStrength) (new RspSignalStrength().mergeFrom(data));
   2774     }
   2775 
   2776     public static RspSignalStrength parseFrom(
   2777             com.google.protobuf.micro.CodedInputStreamMicro input)
   2778         throws java.io.IOException {
   2779       return (RspSignalStrength) (new RspSignalStrength().mergeFrom(input));
   2780     }
   2781 
   2782   }
   2783 
   2784   public static final class RspOperator extends
   2785       com.google.protobuf.micro.MessageMicro {
   2786     public RspOperator() {}
   2787 
   2788     // optional string long_alpha_ons = 1;
   2789     public static final int LONG_ALPHA_ONS_FIELD_NUMBER = 1;
   2790     private boolean hasLongAlphaOns;
   2791     private java.lang.String longAlphaOns_ = "";
   2792     public java.lang.String getLongAlphaOns() { return longAlphaOns_; }
   2793     public boolean hasLongAlphaOns() { return hasLongAlphaOns; }
   2794     public RspOperator setLongAlphaOns(java.lang.String value) {
   2795       hasLongAlphaOns = true;
   2796       longAlphaOns_ = value;
   2797       return this;
   2798     }
   2799     public RspOperator clearLongAlphaOns() {
   2800       hasLongAlphaOns = false;
   2801       longAlphaOns_ = "";
   2802       return this;
   2803     }
   2804 
   2805     // optional string short_alpha_ons = 2;
   2806     public static final int SHORT_ALPHA_ONS_FIELD_NUMBER = 2;
   2807     private boolean hasShortAlphaOns;
   2808     private java.lang.String shortAlphaOns_ = "";
   2809     public java.lang.String getShortAlphaOns() { return shortAlphaOns_; }
   2810     public boolean hasShortAlphaOns() { return hasShortAlphaOns; }
   2811     public RspOperator setShortAlphaOns(java.lang.String value) {
   2812       hasShortAlphaOns = true;
   2813       shortAlphaOns_ = value;
   2814       return this;
   2815     }
   2816     public RspOperator clearShortAlphaOns() {
   2817       hasShortAlphaOns = false;
   2818       shortAlphaOns_ = "";
   2819       return this;
   2820     }
   2821 
   2822     // optional string mcc_mnc = 3;
   2823     public static final int MCC_MNC_FIELD_NUMBER = 3;
   2824     private boolean hasMccMnc;
   2825     private java.lang.String mccMnc_ = "";
   2826     public java.lang.String getMccMnc() { return mccMnc_; }
   2827     public boolean hasMccMnc() { return hasMccMnc; }
   2828     public RspOperator setMccMnc(java.lang.String value) {
   2829       hasMccMnc = true;
   2830       mccMnc_ = value;
   2831       return this;
   2832     }
   2833     public RspOperator clearMccMnc() {
   2834       hasMccMnc = false;
   2835       mccMnc_ = "";
   2836       return this;
   2837     }
   2838 
   2839     public final RspOperator clear() {
   2840       clearLongAlphaOns();
   2841       clearShortAlphaOns();
   2842       clearMccMnc();
   2843       cachedSize = -1;
   2844       return this;
   2845     }
   2846 
   2847     public final boolean isInitialized() {
   2848       return true;
   2849     }
   2850 
   2851     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2852                         throws java.io.IOException {
   2853       if (hasLongAlphaOns()) {
   2854         output.writeString(1, getLongAlphaOns());
   2855       }
   2856       if (hasShortAlphaOns()) {
   2857         output.writeString(2, getShortAlphaOns());
   2858       }
   2859       if (hasMccMnc()) {
   2860         output.writeString(3, getMccMnc());
   2861       }
   2862     }
   2863 
   2864     private int cachedSize = -1;
   2865     public int getCachedSize() {
   2866       if (cachedSize < 0) {
   2867         // getSerializedSize sets cachedSize
   2868         getSerializedSize();
   2869       }
   2870       return cachedSize;
   2871     }
   2872 
   2873     public int getSerializedSize() {
   2874       int size = 0;
   2875       if (hasLongAlphaOns()) {
   2876         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2877           .computeStringSize(1, getLongAlphaOns());
   2878       }
   2879       if (hasShortAlphaOns()) {
   2880         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2881           .computeStringSize(2, getShortAlphaOns());
   2882       }
   2883       if (hasMccMnc()) {
   2884         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2885           .computeStringSize(3, getMccMnc());
   2886       }
   2887       cachedSize = size;
   2888       return size;
   2889     }
   2890 
   2891     public RspOperator mergeFrom(
   2892         com.google.protobuf.micro.CodedInputStreamMicro input)
   2893         throws java.io.IOException {
   2894       while (true) {
   2895         int tag = input.readTag();
   2896         switch (tag) {
   2897           case 0:
   2898             return this;
   2899           default: {
   2900             if (!parseUnknownField(input, tag)) {
   2901               return this;
   2902             }
   2903             break;
   2904           }
   2905           case 10: {
   2906             setLongAlphaOns(input.readString());
   2907             break;
   2908           }
   2909           case 18: {
   2910             setShortAlphaOns(input.readString());
   2911             break;
   2912           }
   2913           case 26: {
   2914             setMccMnc(input.readString());
   2915             break;
   2916           }
   2917         }
   2918       }
   2919     }
   2920 
   2921     public static RspOperator parseFrom(byte[] data)
   2922         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   2923       return (RspOperator) (new RspOperator().mergeFrom(data));
   2924     }
   2925 
   2926     public static RspOperator parseFrom(
   2927             com.google.protobuf.micro.CodedInputStreamMicro input)
   2928         throws java.io.IOException {
   2929       return (RspOperator) (new RspOperator().mergeFrom(input));
   2930     }
   2931 
   2932   }
   2933 
   2934   public static final class ReqSeparateConnection extends
   2935       com.google.protobuf.micro.MessageMicro {
   2936     public ReqSeparateConnection() {}
   2937 
   2938     // required int32 index = 1;
   2939     public static final int INDEX_FIELD_NUMBER = 1;
   2940     private boolean hasIndex;
   2941     private int index_ = 0;
   2942     public int getIndex() { return index_; }
   2943     public boolean hasIndex() { return hasIndex; }
   2944     public ReqSeparateConnection setIndex(int value) {
   2945       hasIndex = true;
   2946       index_ = value;
   2947       return this;
   2948     }
   2949     public ReqSeparateConnection clearIndex() {
   2950       hasIndex = false;
   2951       index_ = 0;
   2952       return this;
   2953     }
   2954 
   2955     public final ReqSeparateConnection clear() {
   2956       clearIndex();
   2957       cachedSize = -1;
   2958       return this;
   2959     }
   2960 
   2961     public final boolean isInitialized() {
   2962       if (!hasIndex) return false;
   2963       return true;
   2964     }
   2965 
   2966     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   2967                         throws java.io.IOException {
   2968       if (hasIndex()) {
   2969         output.writeInt32(1, getIndex());
   2970       }
   2971     }
   2972 
   2973     private int cachedSize = -1;
   2974     public int getCachedSize() {
   2975       if (cachedSize < 0) {
   2976         // getSerializedSize sets cachedSize
   2977         getSerializedSize();
   2978       }
   2979       return cachedSize;
   2980     }
   2981 
   2982     public int getSerializedSize() {
   2983       int size = 0;
   2984       if (hasIndex()) {
   2985         size += com.google.protobuf.micro.CodedOutputStreamMicro
   2986           .computeInt32Size(1, getIndex());
   2987       }
   2988       cachedSize = size;
   2989       return size;
   2990     }
   2991 
   2992     public ReqSeparateConnection mergeFrom(
   2993         com.google.protobuf.micro.CodedInputStreamMicro input)
   2994         throws java.io.IOException {
   2995       while (true) {
   2996         int tag = input.readTag();
   2997         switch (tag) {
   2998           case 0:
   2999             return this;
   3000           default: {
   3001             if (!parseUnknownField(input, tag)) {
   3002               return this;
   3003             }
   3004             break;
   3005           }
   3006           case 8: {
   3007             setIndex(input.readInt32());
   3008             break;
   3009           }
   3010         }
   3011       }
   3012     }
   3013 
   3014     public static ReqSeparateConnection parseFrom(byte[] data)
   3015         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   3016       return (ReqSeparateConnection) (new ReqSeparateConnection().mergeFrom(data));
   3017     }
   3018 
   3019     public static ReqSeparateConnection parseFrom(
   3020             com.google.protobuf.micro.CodedInputStreamMicro input)
   3021         throws java.io.IOException {
   3022       return (ReqSeparateConnection) (new ReqSeparateConnection().mergeFrom(input));
   3023     }
   3024 
   3025   }
   3026 
   3027   public static final class ReqSetMute extends
   3028       com.google.protobuf.micro.MessageMicro {
   3029     public ReqSetMute() {}
   3030 
   3031     // required bool state = 1;
   3032     public static final int STATE_FIELD_NUMBER = 1;
   3033     private boolean hasState;
   3034     private boolean state_ = false;
   3035     public boolean getState() { return state_; }
   3036     public boolean hasState() { return hasState; }
   3037     public ReqSetMute setState(boolean value) {
   3038       hasState = true;
   3039       state_ = value;
   3040       return this;
   3041     }
   3042     public ReqSetMute clearState() {
   3043       hasState = false;
   3044       state_ = false;
   3045       return this;
   3046     }
   3047 
   3048     public final ReqSetMute clear() {
   3049       clearState();
   3050       cachedSize = -1;
   3051       return this;
   3052     }
   3053 
   3054     public final boolean isInitialized() {
   3055       if (!hasState) return false;
   3056       return true;
   3057     }
   3058 
   3059     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   3060                         throws java.io.IOException {
   3061       if (hasState()) {
   3062         output.writeBool(1, getState());
   3063       }
   3064     }
   3065 
   3066     private int cachedSize = -1;
   3067     public int getCachedSize() {
   3068       if (cachedSize < 0) {
   3069         // getSerializedSize sets cachedSize
   3070         getSerializedSize();
   3071       }
   3072       return cachedSize;
   3073     }
   3074 
   3075     public int getSerializedSize() {
   3076       int size = 0;
   3077       if (hasState()) {
   3078         size += com.google.protobuf.micro.CodedOutputStreamMicro
   3079           .computeBoolSize(1, getState());
   3080       }
   3081       cachedSize = size;
   3082       return size;
   3083     }
   3084 
   3085     public ReqSetMute mergeFrom(
   3086         com.google.protobuf.micro.CodedInputStreamMicro input)
   3087         throws java.io.IOException {
   3088       while (true) {
   3089         int tag = input.readTag();
   3090         switch (tag) {
   3091           case 0:
   3092             return this;
   3093           default: {
   3094             if (!parseUnknownField(input, tag)) {
   3095               return this;
   3096             }
   3097             break;
   3098           }
   3099           case 8: {
   3100             setState(input.readBool());
   3101             break;
   3102           }
   3103         }
   3104       }
   3105     }
   3106 
   3107     public static ReqSetMute parseFrom(byte[] data)
   3108         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   3109       return (ReqSetMute) (new ReqSetMute().mergeFrom(data));
   3110     }
   3111 
   3112     public static ReqSetMute parseFrom(
   3113             com.google.protobuf.micro.CodedInputStreamMicro input)
   3114         throws java.io.IOException {
   3115       return (ReqSetMute) (new ReqSetMute().mergeFrom(input));
   3116     }
   3117 
   3118   }
   3119 
   3120   public static final class ReqScreenState extends
   3121       com.google.protobuf.micro.MessageMicro {
   3122     public ReqScreenState() {}
   3123 
   3124     // required bool state = 1;
   3125     public static final int STATE_FIELD_NUMBER = 1;
   3126     private boolean hasState;
   3127     private boolean state_ = false;
   3128     public boolean getState() { return state_; }
   3129     public boolean hasState() { return hasState; }
   3130     public ReqScreenState setState(boolean value) {
   3131       hasState = true;
   3132       state_ = value;
   3133       return this;
   3134     }
   3135     public ReqScreenState clearState() {
   3136       hasState = false;
   3137       state_ = false;
   3138       return this;
   3139     }
   3140 
   3141     public final ReqScreenState clear() {
   3142       clearState();
   3143       cachedSize = -1;
   3144       return this;
   3145     }
   3146 
   3147     public final boolean isInitialized() {
   3148       if (!hasState) return false;
   3149       return true;
   3150     }
   3151 
   3152     public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
   3153                         throws java.io.IOException {
   3154       if (hasState()) {
   3155         output.writeBool(1, getState());
   3156       }
   3157     }
   3158 
   3159     private int cachedSize = -1;
   3160     public int getCachedSize() {
   3161       if (cachedSize < 0) {
   3162         // getSerializedSize sets cachedSize
   3163         getSerializedSize();
   3164       }
   3165       return cachedSize;
   3166     }
   3167 
   3168     public int getSerializedSize() {
   3169       int size = 0;
   3170       if (hasState()) {
   3171         size += com.google.protobuf.micro.CodedOutputStreamMicro
   3172           .computeBoolSize(1, getState());
   3173       }
   3174       cachedSize = size;
   3175       return size;
   3176     }
   3177 
   3178     public ReqScreenState mergeFrom(
   3179         com.google.protobuf.micro.CodedInputStreamMicro input)
   3180         throws java.io.IOException {
   3181       while (true) {
   3182         int tag = input.readTag();
   3183         switch (tag) {
   3184           case 0:
   3185             return this;
   3186           default: {
   3187             if (!parseUnknownField(input, tag)) {
   3188               return this;
   3189             }
   3190             break;
   3191           }
   3192           case 8: {
   3193             setState(input.readBool());
   3194             break;
   3195           }
   3196         }
   3197       }
   3198     }
   3199 
   3200     public static ReqScreenState parseFrom(byte[] data)
   3201         throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
   3202       return (ReqScreenState) (new ReqScreenState().mergeFrom(data));
   3203     }
   3204 
   3205     public static ReqScreenState parseFrom(
   3206             com.google.protobuf.micro.CodedInputStreamMicro input)
   3207         throws java.io.IOException {
   3208       return (ReqScreenState) (new ReqScreenState().mergeFrom(input));
   3209     }
   3210 
   3211   }
   3212 
   3213 }
   3214