/hardware_ril/mock-ril/src/generated/java/com/android/internal/telephony/ril_proto/RilCmds.java
Java | 2107 lines | 1876 code | 167 blank | 64 comment | 146 complexity | 4a486da51c286d1b58041d0edce98bac MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.0, LGPL-2.1, CC0-1.0
Large files files are truncated, but you can click here to view the full file
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- package com.android.internal.telephony.ril_proto;
- public final class RilCmds {
- private RilCmds() {}
- // enum RadioState
- public static final int RADIOSTATE_OFF = 0;
- public static final int RADIOSTATE_UNAVAILABLE = 1;
- public static final int RADIOSTATE_SIM_NOT_READY = 2;
- public static final int RADIOSTATE_SIM_LOCKED_OR_ABSENT = 3;
- public static final int RADIOSTATE_SIM_READY = 4;
- public static final int RADIOSTATE_RUIM_NOT_READY = 5;
- public static final int RADIOSTATE_RUIM_READY = 6;
- public static final int RADIOSTATE_RUIM_LOCKED_OR_ABSENT = 7;
- public static final int RADIOSTATE_NV_NOT_READY = 8;
- public static final int RADIOSTATE_NV_READY = 9;
-
- // enum RilCardState
- public static final int CARDSTATE_ABSENT = 0;
- public static final int CARDSTATE_PRESENT = 1;
- public static final int CARDSTATE_ERROR = 2;
-
- // enum RilPersoSubstate
- public static final int PERSOSUBSTATE_UNKNOWN = 0;
- public static final int PERSOSUBSTATE_IN_PROGRESS = 1;
- public static final int PERSOSUBSTATE_READY = 2;
- public static final int PERSOSUBSTATE_SIM_NETWORK = 3;
- public static final int PERSOSUBSTATE_SIM_NETWORK_SUBSET = 4;
- public static final int PERSOSUBSTATE_SIM_CORPORATE = 5;
- public static final int PERSOSUBSTATE_SIM_SERVICE_PROVIDER = 6;
- public static final int PERSOSUBSTATE_SIM_SIM = 7;
- public static final int PERSOSUBSTATE_SIM_NETWORK_PUK = 8;
- public static final int PERSOSUBSTATE_SIM_NETWORK_SUBSET_PUK = 9;
- public static final int PERSOSUBSTATE_SIM_CORPORATE_PUK = 10;
- public static final int PERSOSUBSTATE_SIM_SERVICE_PROVIDER_PUK = 11;
- public static final int PERSOSUBSTATE_SIM_SIM_PUK = 12;
- public static final int PERSOSUBSTATE_RUIM_NETWORK1 = 13;
- public static final int PERSOSUBSTATE_RUIM_NETWORK2 = 14;
- public static final int PERSOSUBSTATE_RUIM_HRPD = 15;
- public static final int PERSOSUBSTATE_RUIM_CORPORATE = 16;
- public static final int PERSOSUBSTATE_RUIM_SERVICE_PROVIDER = 17;
- public static final int PERSOSUBSTATE_RUIM_RUIM = 18;
- public static final int PERSOSUBSTATE_RUIM_NETWORK1_PUK = 19;
- public static final int PERSOSUBSTATE_RUIM_NETWORK2_PUK = 20;
- public static final int PERSOSUBSTATE_RUIM_HRPD_PUK = 21;
- public static final int PERSOSUBSTATE_RUIM_CORPORATE_PUK = 22;
- public static final int PERSOSUBSTATE_RUIM_SERVICE_PROVIDER_PUK = 23;
- public static final int PERSOSUBSTATE_RUIM_RUIM_PUK = 24;
-
- // enum RilAppState
- public static final int APPSTATE_UNKNOWN = 0;
- public static final int APPSTATE_DETECTED = 1;
- public static final int APPSTATE_PIN = 2;
- public static final int APPSTATE_PUK = 3;
- public static final int APPSTATE_SUBSCRIPTION_PERSO = 4;
- public static final int APPSTATE_READY = 5;
-
- // enum RilPinState
- public static final int PINSTATE_UNKNOWN = 0;
- public static final int PINSTATE_ENABLED_NOT_VERIFIED = 1;
- public static final int PINSTATE_ENABLED_VERIFIED = 2;
- public static final int PINSTATE_DISABLED = 3;
- public static final int PINSTATE_ENABLED_BLOCKED = 4;
- public static final int PINSTATE_ENABLED_PERM_BLOCKED = 5;
-
- // enum RilAppType
- public static final int APPTYPE_UNKNOWN = 0;
- public static final int APPTYPE_SIM = 1;
- public static final int APPTYPE_USIM = 2;
- public static final int APPTYPE_RUIM = 3;
- public static final int APPTYPE_CSIM = 4;
-
- // enum RilUusType
- public static final int RILUUSTYPE1_IMPLICIT = 0;
- public static final int RILUUSTYPE1_REQUIRED = 1;
- public static final int RILUUSTYPE1_NOT_REQUIRED = 2;
- public static final int RILUUSTYPE2_REQUIRED = 3;
- public static final int RILUUSTYPE2_NOT_REQUIRED = 4;
- public static final int RILUUSTYPE3_REQUIRED = 5;
- public static final int RILUUSTYPE3_NOT_REQUIRED = 6;
-
- // enum RilUusDcs
- public static final int RILUUSDCS_USP = 0;
- public static final int RILUUSDCS_OSIHLP = 1;
- public static final int RILUUSDCS_X244 = 2;
- public static final int RILUUSDCS_RMCF = 3;
- public static final int RILUUSDCS_IA5c = 4;
-
- // enum RilCallState
- public static final int CALLSTATE_ACTIVE = 0;
- public static final int CALLSTATE_HOLDING = 1;
- public static final int CALLSTATE_DIALING = 2;
- public static final int CALLSTATE_ALERTING = 3;
- public static final int CALLSTATE_INCOMING = 4;
- public static final int CALLSTATE_WAITING = 5;
-
- public static final class RilAppStatus extends
- com.google.protobuf.micro.MessageMicro {
- public RilAppStatus() {}
-
- // optional .ril_proto.RilAppType app_type = 1;
- public static final int APP_TYPE_FIELD_NUMBER = 1;
- private boolean hasAppType;
- private int appType_ = com.android.internal.telephony.ril_proto.RilCmds.APPTYPE_UNKNOWN;
- public boolean hasAppType() { return hasAppType; }
- public int getAppType() { return appType_; }
- public RilAppStatus setAppType(int value) {
- hasAppType = true;
- appType_ = value;
- return this;
- }
- public RilAppStatus clearAppType() {
- hasAppType = false;
- appType_ = com.android.internal.telephony.ril_proto.RilCmds.APPTYPE_UNKNOWN;
- return this;
- }
-
- // optional .ril_proto.RilAppState app_state = 2;
- public static final int APP_STATE_FIELD_NUMBER = 2;
- private boolean hasAppState;
- private int appState_ = com.android.internal.telephony.ril_proto.RilCmds.APPSTATE_UNKNOWN;
- public boolean hasAppState() { return hasAppState; }
- public int getAppState() { return appState_; }
- public RilAppStatus setAppState(int value) {
- hasAppState = true;
- appState_ = value;
- return this;
- }
- public RilAppStatus clearAppState() {
- hasAppState = false;
- appState_ = com.android.internal.telephony.ril_proto.RilCmds.APPSTATE_UNKNOWN;
- return this;
- }
-
- // optional .ril_proto.RilPersoSubstate perso_substate = 3;
- public static final int PERSO_SUBSTATE_FIELD_NUMBER = 3;
- private boolean hasPersoSubstate;
- private int persoSubstate_ = com.android.internal.telephony.ril_proto.RilCmds.PERSOSUBSTATE_UNKNOWN;
- public boolean hasPersoSubstate() { return hasPersoSubstate; }
- public int getPersoSubstate() { return persoSubstate_; }
- public RilAppStatus setPersoSubstate(int value) {
- hasPersoSubstate = true;
- persoSubstate_ = value;
- return this;
- }
- public RilAppStatus clearPersoSubstate() {
- hasPersoSubstate = false;
- persoSubstate_ = com.android.internal.telephony.ril_proto.RilCmds.PERSOSUBSTATE_UNKNOWN;
- return this;
- }
-
- // optional string aid = 4;
- public static final int AID_FIELD_NUMBER = 4;
- private boolean hasAid;
- private java.lang.String aid_ = "";
- public java.lang.String getAid() { return aid_; }
- public boolean hasAid() { return hasAid; }
- public RilAppStatus setAid(java.lang.String value) {
- hasAid = true;
- aid_ = value;
- return this;
- }
- public RilAppStatus clearAid() {
- hasAid = false;
- aid_ = "";
- return this;
- }
-
- // optional string app_label = 5;
- public static final int APP_LABEL_FIELD_NUMBER = 5;
- private boolean hasAppLabel;
- private java.lang.String appLabel_ = "";
- public java.lang.String getAppLabel() { return appLabel_; }
- public boolean hasAppLabel() { return hasAppLabel; }
- public RilAppStatus setAppLabel(java.lang.String value) {
- hasAppLabel = true;
- appLabel_ = value;
- return this;
- }
- public RilAppStatus clearAppLabel() {
- hasAppLabel = false;
- appLabel_ = "";
- return this;
- }
-
- // optional int32 pin1_replaced = 6;
- public static final int PIN1_REPLACED_FIELD_NUMBER = 6;
- private boolean hasPin1Replaced;
- private int pin1Replaced_ = 0;
- public int getPin1Replaced() { return pin1Replaced_; }
- public boolean hasPin1Replaced() { return hasPin1Replaced; }
- public RilAppStatus setPin1Replaced(int value) {
- hasPin1Replaced = true;
- pin1Replaced_ = value;
- return this;
- }
- public RilAppStatus clearPin1Replaced() {
- hasPin1Replaced = false;
- pin1Replaced_ = 0;
- return this;
- }
-
- // optional .ril_proto.RilPinState pin1 = 7;
- public static final int PIN1_FIELD_NUMBER = 7;
- private boolean hasPin1;
- private int pin1_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
- public boolean hasPin1() { return hasPin1; }
- public int getPin1() { return pin1_; }
- public RilAppStatus setPin1(int value) {
- hasPin1 = true;
- pin1_ = value;
- return this;
- }
- public RilAppStatus clearPin1() {
- hasPin1 = false;
- pin1_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
- return this;
- }
-
- // optional .ril_proto.RilPinState pin2 = 8;
- public static final int PIN2_FIELD_NUMBER = 8;
- private boolean hasPin2;
- private int pin2_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
- public boolean hasPin2() { return hasPin2; }
- public int getPin2() { return pin2_; }
- public RilAppStatus setPin2(int value) {
- hasPin2 = true;
- pin2_ = value;
- return this;
- }
- public RilAppStatus clearPin2() {
- hasPin2 = false;
- pin2_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
- return this;
- }
-
- public final RilAppStatus clear() {
- clearAppType();
- clearAppState();
- clearPersoSubstate();
- clearAid();
- clearAppLabel();
- clearPin1Replaced();
- clearPin1();
- clearPin2();
- cachedSize = -1;
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
- throws java.io.IOException {
- if (hasAppType()) {
- output.writeInt32(1, getAppType());
- }
- if (hasAppState()) {
- output.writeInt32(2, getAppState());
- }
- if (hasPersoSubstate()) {
- output.writeInt32(3, getPersoSubstate());
- }
- if (hasAid()) {
- output.writeString(4, getAid());
- }
- if (hasAppLabel()) {
- output.writeString(5, getAppLabel());
- }
- if (hasPin1Replaced()) {
- output.writeInt32(6, getPin1Replaced());
- }
- if (hasPin1()) {
- output.writeInt32(7, getPin1());
- }
- if (hasPin2()) {
- output.writeInt32(8, getPin2());
- }
- }
-
- private int cachedSize = -1;
- public int getCachedSize() {
- if (cachedSize < 0) {
- // getSerializedSize sets cachedSize
- getSerializedSize();
- }
- return cachedSize;
- }
-
- public int getSerializedSize() {
- int size = 0;
- if (hasAppType()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(1, getAppType());
- }
- if (hasAppState()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(2, getAppState());
- }
- if (hasPersoSubstate()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(3, getPersoSubstate());
- }
- if (hasAid()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeStringSize(4, getAid());
- }
- if (hasAppLabel()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeStringSize(5, getAppLabel());
- }
- if (hasPin1Replaced()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(6, getPin1Replaced());
- }
- if (hasPin1()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(7, getPin1());
- }
- if (hasPin2()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(8, getPin2());
- }
- cachedSize = size;
- return size;
- }
-
- public RilAppStatus mergeFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- return this;
- default: {
- if (!parseUnknownField(input, tag)) {
- return this;
- }
- break;
- }
- case 8: {
- setAppType(input.readInt32());
- break;
- }
- case 16: {
- setAppState(input.readInt32());
- break;
- }
- case 24: {
- setPersoSubstate(input.readInt32());
- break;
- }
- case 34: {
- setAid(input.readString());
- break;
- }
- case 42: {
- setAppLabel(input.readString());
- break;
- }
- case 48: {
- setPin1Replaced(input.readInt32());
- break;
- }
- case 56: {
- setPin1(input.readInt32());
- break;
- }
- case 64: {
- setPin2(input.readInt32());
- break;
- }
- }
- }
- }
-
- public static RilAppStatus parseFrom(byte[] data)
- throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
- return (RilAppStatus) (new RilAppStatus().mergeFrom(data));
- }
-
- public static RilAppStatus parseFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- return (RilAppStatus) (new RilAppStatus().mergeFrom(input));
- }
-
- }
-
- public static final class RilCardStatus extends
- com.google.protobuf.micro.MessageMicro {
- public RilCardStatus() {}
-
- // optional .ril_proto.RilCardState card_state = 1;
- public static final int CARD_STATE_FIELD_NUMBER = 1;
- private boolean hasCardState;
- private int cardState_ = com.android.internal.telephony.ril_proto.RilCmds.CARDSTATE_ABSENT;
- public boolean hasCardState() { return hasCardState; }
- public int getCardState() { return cardState_; }
- public RilCardStatus setCardState(int value) {
- hasCardState = true;
- cardState_ = value;
- return this;
- }
- public RilCardStatus clearCardState() {
- hasCardState = false;
- cardState_ = com.android.internal.telephony.ril_proto.RilCmds.CARDSTATE_ABSENT;
- return this;
- }
-
- // optional .ril_proto.RilPinState universal_pin_state = 2;
- public static final int UNIVERSAL_PIN_STATE_FIELD_NUMBER = 2;
- private boolean hasUniversalPinState;
- private int universalPinState_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
- public boolean hasUniversalPinState() { return hasUniversalPinState; }
- public int getUniversalPinState() { return universalPinState_; }
- public RilCardStatus setUniversalPinState(int value) {
- hasUniversalPinState = true;
- universalPinState_ = value;
- return this;
- }
- public RilCardStatus clearUniversalPinState() {
- hasUniversalPinState = false;
- universalPinState_ = com.android.internal.telephony.ril_proto.RilCmds.PINSTATE_UNKNOWN;
- return this;
- }
-
- // optional int32 gsm_umts_subscription_app_index = 3;
- public static final int GSM_UMTS_SUBSCRIPTION_APP_INDEX_FIELD_NUMBER = 3;
- private boolean hasGsmUmtsSubscriptionAppIndex;
- private int gsmUmtsSubscriptionAppIndex_ = 0;
- public int getGsmUmtsSubscriptionAppIndex() { return gsmUmtsSubscriptionAppIndex_; }
- public boolean hasGsmUmtsSubscriptionAppIndex() { return hasGsmUmtsSubscriptionAppIndex; }
- public RilCardStatus setGsmUmtsSubscriptionAppIndex(int value) {
- hasGsmUmtsSubscriptionAppIndex = true;
- gsmUmtsSubscriptionAppIndex_ = value;
- return this;
- }
- public RilCardStatus clearGsmUmtsSubscriptionAppIndex() {
- hasGsmUmtsSubscriptionAppIndex = false;
- gsmUmtsSubscriptionAppIndex_ = 0;
- return this;
- }
-
- // optional int32 cdma_subscription_app_index = 4;
- public static final int CDMA_SUBSCRIPTION_APP_INDEX_FIELD_NUMBER = 4;
- private boolean hasCdmaSubscriptionAppIndex;
- private int cdmaSubscriptionAppIndex_ = 0;
- public int getCdmaSubscriptionAppIndex() { return cdmaSubscriptionAppIndex_; }
- public boolean hasCdmaSubscriptionAppIndex() { return hasCdmaSubscriptionAppIndex; }
- public RilCardStatus setCdmaSubscriptionAppIndex(int value) {
- hasCdmaSubscriptionAppIndex = true;
- cdmaSubscriptionAppIndex_ = value;
- return this;
- }
- public RilCardStatus clearCdmaSubscriptionAppIndex() {
- hasCdmaSubscriptionAppIndex = false;
- cdmaSubscriptionAppIndex_ = 0;
- return this;
- }
-
- // optional int32 num_applications = 5;
- public static final int NUM_APPLICATIONS_FIELD_NUMBER = 5;
- private boolean hasNumApplications;
- private int numApplications_ = 0;
- public int getNumApplications() { return numApplications_; }
- public boolean hasNumApplications() { return hasNumApplications; }
- public RilCardStatus setNumApplications(int value) {
- hasNumApplications = true;
- numApplications_ = value;
- return this;
- }
- public RilCardStatus clearNumApplications() {
- hasNumApplications = false;
- numApplications_ = 0;
- return this;
- }
-
- // repeated .ril_proto.RilAppStatus applications = 6;
- public static final int APPLICATIONS_FIELD_NUMBER = 6;
- private java.util.List<com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus> applications_ =
- java.util.Collections.emptyList();
- public java.util.List<com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus> getApplicationsList() {
- return applications_;
- }
- public int getApplicationsCount() { return applications_.size(); }
- public com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus getApplications(int index) {
- return applications_.get(index);
- }
- public RilCardStatus setApplications(int index, com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus value) {
- if (value == null) {
- throw new NullPointerException();
- }
- applications_.set(index, value);
- return this;
- }
- public RilCardStatus addApplications(com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (applications_.isEmpty()) {
- applications_ = new java.util.ArrayList<com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus>();
- }
- applications_.add(value);
- return this;
- }
- public RilCardStatus clearApplications() {
- applications_ = java.util.Collections.emptyList();
- return this;
- }
-
- public final RilCardStatus clear() {
- clearCardState();
- clearUniversalPinState();
- clearGsmUmtsSubscriptionAppIndex();
- clearCdmaSubscriptionAppIndex();
- clearNumApplications();
- clearApplications();
- cachedSize = -1;
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
- throws java.io.IOException {
- if (hasCardState()) {
- output.writeInt32(1, getCardState());
- }
- if (hasUniversalPinState()) {
- output.writeInt32(2, getUniversalPinState());
- }
- if (hasGsmUmtsSubscriptionAppIndex()) {
- output.writeInt32(3, getGsmUmtsSubscriptionAppIndex());
- }
- if (hasCdmaSubscriptionAppIndex()) {
- output.writeInt32(4, getCdmaSubscriptionAppIndex());
- }
- if (hasNumApplications()) {
- output.writeInt32(5, getNumApplications());
- }
- for (com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus element : getApplicationsList()) {
- output.writeMessage(6, element);
- }
- }
-
- private int cachedSize = -1;
- public int getCachedSize() {
- if (cachedSize < 0) {
- // getSerializedSize sets cachedSize
- getSerializedSize();
- }
- return cachedSize;
- }
-
- public int getSerializedSize() {
- int size = 0;
- if (hasCardState()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(1, getCardState());
- }
- if (hasUniversalPinState()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(2, getUniversalPinState());
- }
- if (hasGsmUmtsSubscriptionAppIndex()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(3, getGsmUmtsSubscriptionAppIndex());
- }
- if (hasCdmaSubscriptionAppIndex()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(4, getCdmaSubscriptionAppIndex());
- }
- if (hasNumApplications()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(5, getNumApplications());
- }
- for (com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus element : getApplicationsList()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeMessageSize(6, element);
- }
- cachedSize = size;
- return size;
- }
-
- public RilCardStatus mergeFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- return this;
- default: {
- if (!parseUnknownField(input, tag)) {
- return this;
- }
- break;
- }
- case 8: {
- setCardState(input.readInt32());
- break;
- }
- case 16: {
- setUniversalPinState(input.readInt32());
- break;
- }
- case 24: {
- setGsmUmtsSubscriptionAppIndex(input.readInt32());
- break;
- }
- case 32: {
- setCdmaSubscriptionAppIndex(input.readInt32());
- break;
- }
- case 40: {
- setNumApplications(input.readInt32());
- break;
- }
- case 50: {
- com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus value = new com.android.internal.telephony.ril_proto.RilCmds.RilAppStatus();
- input.readMessage(value);
- addApplications(value);
- break;
- }
- }
- }
- }
-
- public static RilCardStatus parseFrom(byte[] data)
- throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
- return (RilCardStatus) (new RilCardStatus().mergeFrom(data));
- }
-
- public static RilCardStatus parseFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- return (RilCardStatus) (new RilCardStatus().mergeFrom(input));
- }
-
- }
-
- public static final class RilUusInfo extends
- com.google.protobuf.micro.MessageMicro {
- public RilUusInfo() {}
-
- // optional .ril_proto.RilUusType uus_type = 1;
- public static final int UUS_TYPE_FIELD_NUMBER = 1;
- private boolean hasUusType;
- private int uusType_ = com.android.internal.telephony.ril_proto.RilCmds.RILUUSTYPE1_IMPLICIT;
- public boolean hasUusType() { return hasUusType; }
- public int getUusType() { return uusType_; }
- public RilUusInfo setUusType(int value) {
- hasUusType = true;
- uusType_ = value;
- return this;
- }
- public RilUusInfo clearUusType() {
- hasUusType = false;
- uusType_ = com.android.internal.telephony.ril_proto.RilCmds.RILUUSTYPE1_IMPLICIT;
- return this;
- }
-
- // optional .ril_proto.RilUusDcs uus_dcs = 2;
- public static final int UUS_DCS_FIELD_NUMBER = 2;
- private boolean hasUusDcs;
- private int uusDcs_ = com.android.internal.telephony.ril_proto.RilCmds.RILUUSDCS_USP;
- public boolean hasUusDcs() { return hasUusDcs; }
- public int getUusDcs() { return uusDcs_; }
- public RilUusInfo setUusDcs(int value) {
- hasUusDcs = true;
- uusDcs_ = value;
- return this;
- }
- public RilUusInfo clearUusDcs() {
- hasUusDcs = false;
- uusDcs_ = com.android.internal.telephony.ril_proto.RilCmds.RILUUSDCS_USP;
- return this;
- }
-
- // optional int32 uus_length = 3;
- public static final int UUS_LENGTH_FIELD_NUMBER = 3;
- private boolean hasUusLength;
- private int uusLength_ = 0;
- public int getUusLength() { return uusLength_; }
- public boolean hasUusLength() { return hasUusLength; }
- public RilUusInfo setUusLength(int value) {
- hasUusLength = true;
- uusLength_ = value;
- return this;
- }
- public RilUusInfo clearUusLength() {
- hasUusLength = false;
- uusLength_ = 0;
- return this;
- }
-
- // optional string uus_data = 4;
- public static final int UUS_DATA_FIELD_NUMBER = 4;
- private boolean hasUusData;
- private java.lang.String uusData_ = "";
- public java.lang.String getUusData() { return uusData_; }
- public boolean hasUusData() { return hasUusData; }
- public RilUusInfo setUusData(java.lang.String value) {
- hasUusData = true;
- uusData_ = value;
- return this;
- }
- public RilUusInfo clearUusData() {
- hasUusData = false;
- uusData_ = "";
- return this;
- }
-
- public final RilUusInfo clear() {
- clearUusType();
- clearUusDcs();
- clearUusLength();
- clearUusData();
- cachedSize = -1;
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
- throws java.io.IOException {
- if (hasUusType()) {
- output.writeInt32(1, getUusType());
- }
- if (hasUusDcs()) {
- output.writeInt32(2, getUusDcs());
- }
- if (hasUusLength()) {
- output.writeInt32(3, getUusLength());
- }
- if (hasUusData()) {
- output.writeString(4, getUusData());
- }
- }
-
- private int cachedSize = -1;
- public int getCachedSize() {
- if (cachedSize < 0) {
- // getSerializedSize sets cachedSize
- getSerializedSize();
- }
- return cachedSize;
- }
-
- public int getSerializedSize() {
- int size = 0;
- if (hasUusType()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(1, getUusType());
- }
- if (hasUusDcs()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(2, getUusDcs());
- }
- if (hasUusLength()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(3, getUusLength());
- }
- if (hasUusData()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeStringSize(4, getUusData());
- }
- cachedSize = size;
- return size;
- }
-
- public RilUusInfo mergeFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- return this;
- default: {
- if (!parseUnknownField(input, tag)) {
- return this;
- }
- break;
- }
- case 8: {
- setUusType(input.readInt32());
- break;
- }
- case 16: {
- setUusDcs(input.readInt32());
- break;
- }
- case 24: {
- setUusLength(input.readInt32());
- break;
- }
- case 34: {
- setUusData(input.readString());
- break;
- }
- }
- }
- }
-
- public static RilUusInfo parseFrom(byte[] data)
- throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
- return (RilUusInfo) (new RilUusInfo().mergeFrom(data));
- }
-
- public static RilUusInfo parseFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- return (RilUusInfo) (new RilUusInfo().mergeFrom(input));
- }
-
- }
-
- public static final class RilCall extends
- com.google.protobuf.micro.MessageMicro {
- public RilCall() {}
-
- // optional .ril_proto.RilCallState state = 1;
- public static final int STATE_FIELD_NUMBER = 1;
- private boolean hasState;
- private int state_ = com.android.internal.telephony.ril_proto.RilCmds.CALLSTATE_ACTIVE;
- public boolean hasState() { return hasState; }
- public int getState() { return state_; }
- public RilCall setState(int value) {
- hasState = true;
- state_ = value;
- return this;
- }
- public RilCall clearState() {
- hasState = false;
- state_ = com.android.internal.telephony.ril_proto.RilCmds.CALLSTATE_ACTIVE;
- return this;
- }
-
- // optional int32 index = 2;
- public static final int INDEX_FIELD_NUMBER = 2;
- private boolean hasIndex;
- private int index_ = 0;
- public int getIndex() { return index_; }
- public boolean hasIndex() { return hasIndex; }
- public RilCall setIndex(int value) {
- hasIndex = true;
- index_ = value;
- return this;
- }
- public RilCall clearIndex() {
- hasIndex = false;
- index_ = 0;
- return this;
- }
-
- // optional int32 toa = 3;
- public static final int TOA_FIELD_NUMBER = 3;
- private boolean hasToa;
- private int toa_ = 0;
- public int getToa() { return toa_; }
- public boolean hasToa() { return hasToa; }
- public RilCall setToa(int value) {
- hasToa = true;
- toa_ = value;
- return this;
- }
- public RilCall clearToa() {
- hasToa = false;
- toa_ = 0;
- return this;
- }
-
- // optional bool is_mpty = 4;
- public static final int IS_MPTY_FIELD_NUMBER = 4;
- private boolean hasIsMpty;
- private boolean isMpty_ = false;
- public boolean getIsMpty() { return isMpty_; }
- public boolean hasIsMpty() { return hasIsMpty; }
- public RilCall setIsMpty(boolean value) {
- hasIsMpty = true;
- isMpty_ = value;
- return this;
- }
- public RilCall clearIsMpty() {
- hasIsMpty = false;
- isMpty_ = false;
- return this;
- }
-
- // optional bool is_mt = 5;
- public static final int IS_MT_FIELD_NUMBER = 5;
- private boolean hasIsMt;
- private boolean isMt_ = false;
- public boolean getIsMt() { return isMt_; }
- public boolean hasIsMt() { return hasIsMt; }
- public RilCall setIsMt(boolean value) {
- hasIsMt = true;
- isMt_ = value;
- return this;
- }
- public RilCall clearIsMt() {
- hasIsMt = false;
- isMt_ = false;
- return this;
- }
-
- // optional int32 als = 6;
- public static final int ALS_FIELD_NUMBER = 6;
- private boolean hasAls;
- private int als_ = 0;
- public int getAls() { return als_; }
- public boolean hasAls() { return hasAls; }
- public RilCall setAls(int value) {
- hasAls = true;
- als_ = value;
- return this;
- }
- public RilCall clearAls() {
- hasAls = false;
- als_ = 0;
- return this;
- }
-
- // optional bool is_voice = 7;
- public static final int IS_VOICE_FIELD_NUMBER = 7;
- private boolean hasIsVoice;
- private boolean isVoice_ = false;
- public boolean getIsVoice() { return isVoice_; }
- public boolean hasIsVoice() { return hasIsVoice; }
- public RilCall setIsVoice(boolean value) {
- hasIsVoice = true;
- isVoice_ = value;
- return this;
- }
- public RilCall clearIsVoice() {
- hasIsVoice = false;
- isVoice_ = false;
- return this;
- }
-
- // optional bool is_voice_privacy = 8;
- public static final int IS_VOICE_PRIVACY_FIELD_NUMBER = 8;
- private boolean hasIsVoicePrivacy;
- private boolean isVoicePrivacy_ = false;
- public boolean getIsVoicePrivacy() { return isVoicePrivacy_; }
- public boolean hasIsVoicePrivacy() { return hasIsVoicePrivacy; }
- public RilCall setIsVoicePrivacy(boolean value) {
- hasIsVoicePrivacy = true;
- isVoicePrivacy_ = value;
- return this;
- }
- public RilCall clearIsVoicePrivacy() {
- hasIsVoicePrivacy = false;
- isVoicePrivacy_ = false;
- return this;
- }
-
- // optional string number = 9;
- public static final int NUMBER_FIELD_NUMBER = 9;
- private boolean hasNumber;
- private java.lang.String number_ = "";
- public java.lang.String getNumber() { return number_; }
- public boolean hasNumber() { return hasNumber; }
- public RilCall setNumber(java.lang.String value) {
- hasNumber = true;
- number_ = value;
- return this;
- }
- public RilCall clearNumber() {
- hasNumber = false;
- number_ = "";
- return this;
- }
-
- // optional int32 number_presentation = 10;
- public static final int NUMBER_PRESENTATION_FIELD_NUMBER = 10;
- private boolean hasNumberPresentation;
- private int numberPresentation_ = 0;
- public int getNumberPresentation() { return numberPresentation_; }
- public boolean hasNumberPresentation() { return hasNumberPresentation; }
- public RilCall setNumberPresentation(int value) {
- hasNumberPresentation = true;
- numberPresentation_ = value;
- return this;
- }
- public RilCall clearNumberPresentation() {
- hasNumberPresentation = false;
- numberPresentation_ = 0;
- return this;
- }
-
- // optional string name = 11;
- public static final int NAME_FIELD_NUMBER = 11;
- private boolean hasName;
- private java.lang.String name_ = "";
- public java.lang.String getName() { return name_; }
- public boolean hasName() { return hasName; }
- public RilCall setName(java.lang.String value) {
- hasName = true;
- name_ = value;
- return this;
- }
- public RilCall clearName() {
- hasName = false;
- name_ = "";
- return this;
- }
-
- // optional int32 name_presentation = 12;
- public static final int NAME_PRESENTATION_FIELD_NUMBER = 12;
- private boolean hasNamePresentation;
- private int namePresentation_ = 0;
- public int getNamePresentation() { return namePresentation_; }
- public boolean hasNamePresentation() { return hasNamePresentation; }
- public RilCall setNamePresentation(int value) {
- hasNamePresentation = true;
- namePresentation_ = value;
- return this;
- }
- public RilCall clearNamePresentation() {
- hasNamePresentation = false;
- namePresentation_ = 0;
- return this;
- }
-
- // optional .ril_proto.RilUusInfo uus_info = 13;
- public static final int UUS_INFO_FIELD_NUMBER = 13;
- private boolean hasUusInfo;
- private com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo uusInfo_ = null;
- public boolean hasUusInfo() { return hasUusInfo; }
- public com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo getUusInfo() { return uusInfo_; }
- public RilCall setUusInfo(com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo value) {
- if (value == null) {
- throw new NullPointerException();
- }
- hasUusInfo = true;
- uusInfo_ = value;
- return this;
- }
- public RilCall clearUusInfo() {
- hasUusInfo = false;
- uusInfo_ = null;
- return this;
- }
-
- public final RilCall clear() {
- clearState();
- clearIndex();
- clearToa();
- clearIsMpty();
- clearIsMt();
- clearAls();
- clearIsVoice();
- clearIsVoicePrivacy();
- clearNumber();
- clearNumberPresentation();
- clearName();
- clearNamePresentation();
- clearUusInfo();
- cachedSize = -1;
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
- throws java.io.IOException {
- if (hasState()) {
- output.writeInt32(1, getState());
- }
- if (hasIndex()) {
- output.writeInt32(2, getIndex());
- }
- if (hasToa()) {
- output.writeInt32(3, getToa());
- }
- if (hasIsMpty()) {
- output.writeBool(4, getIsMpty());
- }
- if (hasIsMt()) {
- output.writeBool(5, getIsMt());
- }
- if (hasAls()) {
- output.writeInt32(6, getAls());
- }
- if (hasIsVoice()) {
- output.writeBool(7, getIsVoice());
- }
- if (hasIsVoicePrivacy()) {
- output.writeBool(8, getIsVoicePrivacy());
- }
- if (hasNumber()) {
- output.writeString(9, getNumber());
- }
- if (hasNumberPresentation()) {
- output.writeInt32(10, getNumberPresentation());
- }
- if (hasName()) {
- output.writeString(11, getName());
- }
- if (hasNamePresentation()) {
- output.writeInt32(12, getNamePresentation());
- }
- if (hasUusInfo()) {
- output.writeMessage(13, getUusInfo());
- }
- }
-
- private int cachedSize = -1;
- public int getCachedSize() {
- if (cachedSize < 0) {
- // getSerializedSize sets cachedSize
- getSerializedSize();
- }
- return cachedSize;
- }
-
- public int getSerializedSize() {
- int size = 0;
- if (hasState()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(1, getState());
- }
- if (hasIndex()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(2, getIndex());
- }
- if (hasToa()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(3, getToa());
- }
- if (hasIsMpty()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeBoolSize(4, getIsMpty());
- }
- if (hasIsMt()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeBoolSize(5, getIsMt());
- }
- if (hasAls()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(6, getAls());
- }
- if (hasIsVoice()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeBoolSize(7, getIsVoice());
- }
- if (hasIsVoicePrivacy()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeBoolSize(8, getIsVoicePrivacy());
- }
- if (hasNumber()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeStringSize(9, getNumber());
- }
- if (hasNumberPresentation()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(10, getNumberPresentation());
- }
- if (hasName()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeStringSize(11, getName());
- }
- if (hasNamePresentation()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(12, getNamePresentation());
- }
- if (hasUusInfo()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeMessageSize(13, getUusInfo());
- }
- cachedSize = size;
- return size;
- }
-
- public RilCall mergeFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- return this;
- default: {
- if (!parseUnknownField(input, tag)) {
- return this;
- }
- break;
- }
- case 8: {
- setState(input.readInt32());
- break;
- }
- case 16: {
- setIndex(input.readInt32());
- break;
- }
- case 24: {
- setToa(input.readInt32());
- break;
- }
- case 32: {
- setIsMpty(input.readBool());
- break;
- }
- case 40: {
- setIsMt(input.readBool());
- break;
- }
- case 48: {
- setAls(input.readInt32());
- break;
- }
- case 56: {
- setIsVoice(input.readBool());
- break;
- }
- case 64: {
- setIsVoicePrivacy(input.readBool());
- break;
- }
- case 74: {
- setNumber(input.readString());
- break;
- }
- case 80: {
- setNumberPresentation(input.readInt32());
- break;
- }
- case 90: {
- setName(input.readString());
- break;
- }
- case 96: {
- setNamePresentation(input.readInt32());
- break;
- }
- case 106: {
- com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo value = new com.android.internal.telephony.ril_proto.RilCmds.RilUusInfo();
- input.readMessage(value);
- setUusInfo(value);
- break;
- }
- }
- }
- }
-
- public static RilCall parseFrom(byte[] data)
- throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
- return (RilCall) (new RilCall().mergeFrom(data));
- }
-
- public static RilCall parseFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- return (RilCall) (new RilCall().mergeFrom(input));
- }
-
- }
-
- public static final class RILGWSignalStrength extends
- com.google.protobuf.micro.MessageMicro {
- public RILGWSignalStrength() {}
-
- // optional int32 signal_strength = 1;
- public static final int SIGNAL_STRENGTH_FIELD_NUMBER = 1;
- private boolean hasSignalStrength;
- private int signalStrength_ = 0;
- public int getSignalStrength() { return signalStrength_; }
- public boolean hasSignalStrength() { return hasSignalStrength; }
- public RILGWSignalStrength setSignalStrength(int value) {
- hasSignalStrength = true;
- signalStrength_ = value;
- return this;
- }
- public RILGWSignalStrength clearSignalStrength() {
- hasSignalStrength = false;
- signalStrength_ = 0;
- return this;
- }
-
- // optional int32 bit_error_rate = 2;
- public static final int BIT_ERROR_RATE_FIELD_NUMBER = 2;
- private boolean hasBitErrorRate;
- private int bitErrorRate_ = 0;
- public int getBitErrorRate() { return bitErrorRate_; }
- public boolean hasBitErrorRate() { return hasBitErrorRate; }
- public RILGWSignalStrength setBitErrorRate(int value) {
- hasBitErrorRate = true;
- bitErrorRate_ = value;
- return this;
- }
- public RILGWSignalStrength clearBitErrorRate() {
- hasBitErrorRate = false;
- bitErrorRate_ = 0;
- return this;
- }
-
- public final RILGWSignalStrength clear() {
- clearSignalStrength();
- clearBitErrorRate();
- cachedSize = -1;
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
- throws java.io.IOException {
- if (hasSignalStrength()) {
- output.writeInt32(1, getSignalStrength());
- }
- if (hasBitErrorRate()) {
- output.writeInt32(2, getBitErrorRate());
- }
- }
-
- private int cachedSize = -1;
- public int getCachedSize() {
- if (cachedSize < 0) {
- // getSerializedSize sets cachedSize
- getSerializedSize();
- }
- return cachedSize;
- }
-
- public int getSerializedSize() {
- int size = 0;
- if (hasSignalStrength()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(1, getSignalStrength());
- }
- if (hasBitErrorRate()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(2, getBitErrorRate());
- }
- cachedSize = size;
- return size;
- }
-
- public RILGWSignalStrength mergeFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- return this;
- default: {
- if (!parseUnknownField(input, tag)) {
- return this;
- }
- break;
- }
- case 8: {
- setSignalStrength(input.readInt32());
- break;
- }
- case 16: {
- setBitErrorRate(input.readInt32());
- break;
- }
- }
- }
- }
-
- public static RILGWSignalStrength parseFrom(byte[] data)
- throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
- return (RILGWSignalStrength) (new RILGWSignalStrength().mergeFrom(data));
- }
-
- public static RILGWSignalStrength parseFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- return (RILGWSignalStrength) (new RILGWSignalStrength().mergeFrom(input));
- }
-
- }
-
- public static final class RILCDMASignalStrength extends
- com.google.protobuf.micro.MessageMicro {
- public RILCDMASignalStrength() {}
-
- // optional int32 dbm = 1;
- public static final int DBM_FIELD_NUMBER = 1;
- private boolean hasDbm;
- private int dbm_ = 0;
- public int getDbm() { return dbm_; }
- public boolean hasDbm() { return hasDbm; }
- public RILCDMASignalStrength setDbm(int value) {
- hasDbm = true;
- dbm_ = value;
- return this;
- }
- public RILCDMASignalStrength clearDbm() {
- hasDbm = false;
- dbm_ = 0;
- return this;
- }
-
- // optional int32 ecio = 2;
- public static final int ECIO_FIELD_NUMBER = 2;
- private boolean hasEcio;
- private int ecio_ = 0;
- public int getEcio() { return ecio_; }
- public boolean hasEcio() { return hasEcio; }
- public RILCDMASignalStrength setEcio(int value) {
- hasEcio = true;
- ecio_ = value;
- return this;
- }
- public RILCDMASignalStrength clearEcio() {
- hasEcio = false;
- ecio_ = 0;
- return this;
- }
-
- public final RILCDMASignalStrength clear() {
- clearDbm();
- clearEcio();
- cachedSize = -1;
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.micro.CodedOutputStreamMicro output)
- throws java.io.IOException {
- if (hasDbm()) {
- output.writeInt32(1, getDbm());
- }
- if (hasEcio()) {
- output.writeInt32(2, getEcio());
- }
- }
-
- private int cachedSize = -1;
- public int getCachedSize() {
- if (cachedSize < 0) {
- // getSerializedSize sets cachedSize
- getSerializedSize();
- }
- return cachedSize;
- }
-
- public int getSerializedSize() {
- int size = 0;
- if (hasDbm()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(1, getDbm());
- }
- if (hasEcio()) {
- size += com.google.protobuf.micro.CodedOutputStreamMicro
- .computeInt32Size(2, getEcio());
- }
- cachedSize = size;
- return size;
- }
-
- public RILCDMASignalStrength mergeFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- return this;
- default: {
- if (!parseUnknownField(input, tag)) {
- return this;
- }
- break;
- }
- case 8: {
- setDbm(input.readInt32());
- break;
- }
- case 16: {
- setEcio(input.readInt32());
- break;
- }
- }
- }
- }
-
- public static RILCDMASignalStrength parseFrom(byte[] data)
- throws com.google.protobuf.micro.InvalidProtocolBufferMicroException {
- return (RILCDMASignalStrength) (new RILCDMASignalStrength().mergeFrom(data));
- }
-
- public static RILCDMASignalStrength parseFrom(
- com.google.protobuf.micro.CodedInputStreamMicro input)
- throws java.io.IOException {
- return (RILCDMASignalStrength) (new RILCDMASignalStrength().mergeFrom(input));
- }
-
- }
-
- public static final class RILEVDOSignalStrength extends
- com.google.protobuf.micro.MessageMicro {
- public RILEVDOSignalStrength() {}
-
- // optional int32 dbm = 1;
- public static final int DBM_FIELD_NUMBER = 1;
- private boolean hasDbm;
- private int dbm_ = 0;
- public int getDbm() { return dbm_; }
- public boolean hasDbm() { return hasDbm; }
- public RILEVDOSignalStrength setDbm(int value) {
- hasDbm = true;
- dbm_ = value;
- return this;
- }
- public RILEVDOSignalStrength clearDbm() {
- hasDbm = false;
- dbm_ = 0;
- return this;
- }
-
- // optional int32 ecio = 2;
- public static final int ECIO_FIELD_NUMBER = 2;
- private boolean hasEcio;
- private int ecio_ = 0;
- public int getEcio() { return ecio_; }
- public boolean hasEcio() { return hasEcio; }
- public RILEVDOSignalStrength setEcio(int value) {
- hasEcio = true;
- ecio_ = value;
- return this;
- }
- public RILEVDOSignalStrength clearEcio() {
- hasEcio = false;
- ecio_ = 0;
- return this;
- }
-
- // optional int32 signal_noise_ratio = 3;
- public static final int SIGNAL_NOISE_RATIO_FIELD_NUMBER = 3;
- private boolean hasSignalNoiseRatio;
- private int signalNoiseRatio_ = 0;
- public int getSignalNoiseRatio() { return signalNoiseRatio_; }
- public boolean hasSignalNoiseRatio() { return hasSignalNoiseRatio; }
- public RILEVDOSignalStrength setSignalNoiseRatio(int value) {
- hasSignalNoiseRatio = true;
- signalNoiseRatio_ = value;
- return this;
- }
- public RILEVD…
Large files files are truncated, but you can click here to view the full file