All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.craxiom.messaging.WifiBeaconRecordData Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: com/craxiom/messaging/wifi_beacon_record.proto
// Protobuf Java Version: 4.27.3

package com.craxiom.messaging;

/**
 * Protobuf type {@code com.craxiom.messaging.WifiBeaconRecordData}
 */
public final class WifiBeaconRecordData extends
    com.google.protobuf.GeneratedMessage implements
    // @@protoc_insertion_point(message_implements:com.craxiom.messaging.WifiBeaconRecordData)
    WifiBeaconRecordDataOrBuilder {
private static final long serialVersionUID = 0L;
  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 27,
      /* patch= */ 3,
      /* suffix= */ "",
      WifiBeaconRecordData.class.getName());
  }
  // Use WifiBeaconRecordData.newBuilder() to construct.
  private WifiBeaconRecordData(com.google.protobuf.GeneratedMessage.Builder builder) {
    super(builder);
  }
  private WifiBeaconRecordData() {
    deviceSerialNumber_ = "";
    deviceName_ = "";
    deviceTime_ = "";
    missionId_ = "";
    sourceAddress_ = "";
    destinationAddress_ = "";
    bssid_ = "";
    serviceSetType_ = 0;
    ssid_ = "";
    supportedRates_ = "";
    extendedSupportedRates_ = "";
    cipherSuites_ = java.util.Collections.emptyList();
    akmSuites_ = java.util.Collections.emptyList();
    encryptionType_ = 0;
    bandwidth_ = 0;
    nodeType_ = 0;
    standard_ = 0;
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.craxiom.messaging.WifiBeaconRecordOuterClass.internal_static_com_craxiom_messaging_WifiBeaconRecordData_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.craxiom.messaging.WifiBeaconRecordOuterClass.internal_static_com_craxiom_messaging_WifiBeaconRecordData_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.craxiom.messaging.WifiBeaconRecordData.class, com.craxiom.messaging.WifiBeaconRecordData.Builder.class);
  }

  private int bitField0_;
  public static final int DEVICESERIALNUMBER_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object deviceSerialNumber_ = "";
  /**
   * string deviceSerialNumber = 1;
   * @return The deviceSerialNumber.
   */
  @java.lang.Override
  public java.lang.String getDeviceSerialNumber() {
    java.lang.Object ref = deviceSerialNumber_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      deviceSerialNumber_ = s;
      return s;
    }
  }
  /**
   * string deviceSerialNumber = 1;
   * @return The bytes for deviceSerialNumber.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDeviceSerialNumberBytes() {
    java.lang.Object ref = deviceSerialNumber_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deviceSerialNumber_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEVICENAME_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object deviceName_ = "";
  /**
   * string deviceName = 2;
   * @return The deviceName.
   */
  @java.lang.Override
  public java.lang.String getDeviceName() {
    java.lang.Object ref = deviceName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      deviceName_ = s;
      return s;
    }
  }
  /**
   * string deviceName = 2;
   * @return The bytes for deviceName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDeviceNameBytes() {
    java.lang.Object ref = deviceName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deviceName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEVICETIME_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object deviceTime_ = "";
  /**
   * string deviceTime = 3;
   * @return The deviceTime.
   */
  @java.lang.Override
  public java.lang.String getDeviceTime() {
    java.lang.Object ref = deviceTime_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      deviceTime_ = s;
      return s;
    }
  }
  /**
   * string deviceTime = 3;
   * @return The bytes for deviceTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDeviceTimeBytes() {
    java.lang.Object ref = deviceTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deviceTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LATITUDE_FIELD_NUMBER = 4;
  private double latitude_ = 0D;
  /**
   * double latitude = 4;
   * @return The latitude.
   */
  @java.lang.Override
  public double getLatitude() {
    return latitude_;
  }

  public static final int LONGITUDE_FIELD_NUMBER = 5;
  private double longitude_ = 0D;
  /**
   * double longitude = 5;
   * @return The longitude.
   */
  @java.lang.Override
  public double getLongitude() {
    return longitude_;
  }

  public static final int ALTITUDE_FIELD_NUMBER = 6;
  private float altitude_ = 0F;
  /**
   * float altitude = 6;
   * @return The altitude.
   */
  @java.lang.Override
  public float getAltitude() {
    return altitude_;
  }

  public static final int MISSIONID_FIELD_NUMBER = 7;
  @SuppressWarnings("serial")
  private volatile java.lang.Object missionId_ = "";
  /**
   * string missionId = 7;
   * @return The missionId.
   */
  @java.lang.Override
  public java.lang.String getMissionId() {
    java.lang.Object ref = missionId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      missionId_ = s;
      return s;
    }
  }
  /**
   * string missionId = 7;
   * @return The bytes for missionId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMissionIdBytes() {
    java.lang.Object ref = missionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      missionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECORDNUMBER_FIELD_NUMBER = 8;
  private int recordNumber_ = 0;
  /**
   * int32 recordNumber = 8;
   * @return The recordNumber.
   */
  @java.lang.Override
  public int getRecordNumber() {
    return recordNumber_;
  }

  public static final int ACCURACY_FIELD_NUMBER = 9;
  private int accuracy_ = 0;
  /**
   * int32 accuracy = 9;
   * @return The accuracy.
   */
  @java.lang.Override
  public int getAccuracy() {
    return accuracy_;
  }

  public static final int HEADING_FIELD_NUMBER = 50;
  private float heading_ = 0F;
  /**
   * 
   * Orientation of sensor and sensor parameters. optional.
   * 
* * float heading = 50; * @return The heading. */ @java.lang.Override public float getHeading() { return heading_; } public static final int PITCH_FIELD_NUMBER = 51; private float pitch_ = 0F; /** * float pitch = 51; * @return The pitch. */ @java.lang.Override public float getPitch() { return pitch_; } public static final int ROLL_FIELD_NUMBER = 52; private float roll_ = 0F; /** * float roll = 52; * @return The roll. */ @java.lang.Override public float getRoll() { return roll_; } public static final int FIELDOFVIEW_FIELD_NUMBER = 53; private float fieldOfView_ = 0F; /** * float fieldOfView = 53; * @return The fieldOfView. */ @java.lang.Override public float getFieldOfView() { return fieldOfView_; } public static final int RECEIVERSENSITIVITY_FIELD_NUMBER = 54; private float receiverSensitivity_ = 0F; /** * float receiverSensitivity = 54; * @return The receiverSensitivity. */ @java.lang.Override public float getReceiverSensitivity() { return receiverSensitivity_; } public static final int SPEED_FIELD_NUMBER = 55; private float speed_ = 0F; /** * float speed = 55; * @return The speed. */ @java.lang.Override public float getSpeed() { return speed_; } public static final int SOURCEADDRESS_FIELD_NUMBER = 10; @SuppressWarnings("serial") private volatile java.lang.Object sourceAddress_ = ""; /** * string sourceAddress = 10; * @return The sourceAddress. */ @java.lang.Override public java.lang.String getSourceAddress() { java.lang.Object ref = sourceAddress_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceAddress_ = s; return s; } } /** * string sourceAddress = 10; * @return The bytes for sourceAddress. */ @java.lang.Override public com.google.protobuf.ByteString getSourceAddressBytes() { java.lang.Object ref = sourceAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESTINATIONADDRESS_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object destinationAddress_ = ""; /** * string destinationAddress = 11; * @return The destinationAddress. */ @java.lang.Override public java.lang.String getDestinationAddress() { java.lang.Object ref = destinationAddress_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationAddress_ = s; return s; } } /** * string destinationAddress = 11; * @return The bytes for destinationAddress. */ @java.lang.Override public com.google.protobuf.ByteString getDestinationAddressBytes() { java.lang.Object ref = destinationAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BSSID_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object bssid_ = ""; /** * string bssid = 12; * @return The bssid. */ @java.lang.Override public java.lang.String getBssid() { java.lang.Object ref = bssid_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bssid_ = s; return s; } } /** * string bssid = 12; * @return The bytes for bssid. */ @java.lang.Override public com.google.protobuf.ByteString getBssidBytes() { java.lang.Object ref = bssid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bssid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BEACONINTERVAL_FIELD_NUMBER = 13; private com.google.protobuf.Int32Value beaconInterval_; /** * .google.protobuf.Int32Value beaconInterval = 13; * @return Whether the beaconInterval field is set. */ @java.lang.Override public boolean hasBeaconInterval() { return ((bitField0_ & 0x00000001) != 0); } /** * .google.protobuf.Int32Value beaconInterval = 13; * @return The beaconInterval. */ @java.lang.Override public com.google.protobuf.Int32Value getBeaconInterval() { return beaconInterval_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : beaconInterval_; } /** * .google.protobuf.Int32Value beaconInterval = 13; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getBeaconIntervalOrBuilder() { return beaconInterval_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : beaconInterval_; } public static final int SERVICESETTYPE_FIELD_NUMBER = 14; private int serviceSetType_ = 0; /** * .com.craxiom.messaging.wifi.serviceset.ServiceSetType serviceSetType = 14; * @return The enum numeric value on the wire for serviceSetType. */ @java.lang.Override public int getServiceSetTypeValue() { return serviceSetType_; } /** * .com.craxiom.messaging.wifi.serviceset.ServiceSetType serviceSetType = 14; * @return The serviceSetType. */ @java.lang.Override public com.craxiom.messaging.wifi.ServiceSetType getServiceSetType() { com.craxiom.messaging.wifi.ServiceSetType result = com.craxiom.messaging.wifi.ServiceSetType.forNumber(serviceSetType_); return result == null ? com.craxiom.messaging.wifi.ServiceSetType.UNRECOGNIZED : result; } public static final int SSID_FIELD_NUMBER = 15; @SuppressWarnings("serial") private volatile java.lang.Object ssid_ = ""; /** * string ssid = 15; * @return The ssid. */ @java.lang.Override public java.lang.String getSsid() { java.lang.Object ref = ssid_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ssid_ = s; return s; } } /** * string ssid = 15; * @return The bytes for ssid. */ @java.lang.Override public com.google.protobuf.ByteString getSsidBytes() { java.lang.Object ref = ssid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ssid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUPPORTEDRATES_FIELD_NUMBER = 16; @SuppressWarnings("serial") private volatile java.lang.Object supportedRates_ = ""; /** * string supportedRates = 16; * @return The supportedRates. */ @java.lang.Override public java.lang.String getSupportedRates() { java.lang.Object ref = supportedRates_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportedRates_ = s; return s; } } /** * string supportedRates = 16; * @return The bytes for supportedRates. */ @java.lang.Override public com.google.protobuf.ByteString getSupportedRatesBytes() { java.lang.Object ref = supportedRates_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); supportedRates_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXTENDEDSUPPORTEDRATES_FIELD_NUMBER = 17; @SuppressWarnings("serial") private volatile java.lang.Object extendedSupportedRates_ = ""; /** * string extendedSupportedRates = 17; * @return The extendedSupportedRates. */ @java.lang.Override public java.lang.String getExtendedSupportedRates() { java.lang.Object ref = extendedSupportedRates_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); extendedSupportedRates_ = s; return s; } } /** * string extendedSupportedRates = 17; * @return The bytes for extendedSupportedRates. */ @java.lang.Override public com.google.protobuf.ByteString getExtendedSupportedRatesBytes() { java.lang.Object ref = extendedSupportedRates_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); extendedSupportedRates_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CIPHERSUITES_FIELD_NUMBER = 18; @SuppressWarnings("serial") private java.util.List cipherSuites_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.craxiom.messaging.wifi.CipherSuite> cipherSuites_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.craxiom.messaging.wifi.CipherSuite>() { public com.craxiom.messaging.wifi.CipherSuite convert(java.lang.Integer from) { com.craxiom.messaging.wifi.CipherSuite result = com.craxiom.messaging.wifi.CipherSuite.forNumber(from); return result == null ? com.craxiom.messaging.wifi.CipherSuite.UNRECOGNIZED : result; } }; /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @return A list containing the cipherSuites. */ @java.lang.Override public java.util.List getCipherSuitesList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.craxiom.messaging.wifi.CipherSuite>(cipherSuites_, cipherSuites_converter_); } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @return The count of cipherSuites. */ @java.lang.Override public int getCipherSuitesCount() { return cipherSuites_.size(); } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param index The index of the element to return. * @return The cipherSuites at the given index. */ @java.lang.Override public com.craxiom.messaging.wifi.CipherSuite getCipherSuites(int index) { return cipherSuites_converter_.convert(cipherSuites_.get(index)); } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @return A list containing the enum numeric values on the wire for cipherSuites. */ @java.lang.Override public java.util.List getCipherSuitesValueList() { return cipherSuites_; } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param index The index of the value to return. * @return The enum numeric value on the wire of cipherSuites at the given index. */ @java.lang.Override public int getCipherSuitesValue(int index) { return cipherSuites_.get(index); } private int cipherSuitesMemoizedSerializedSize; public static final int AKMSUITES_FIELD_NUMBER = 19; @SuppressWarnings("serial") private java.util.List akmSuites_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.craxiom.messaging.wifi.AkmSuite> akmSuites_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.craxiom.messaging.wifi.AkmSuite>() { public com.craxiom.messaging.wifi.AkmSuite convert(java.lang.Integer from) { com.craxiom.messaging.wifi.AkmSuite result = com.craxiom.messaging.wifi.AkmSuite.forNumber(from); return result == null ? com.craxiom.messaging.wifi.AkmSuite.UNRECOGNIZED : result; } }; /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @return A list containing the akmSuites. */ @java.lang.Override public java.util.List getAkmSuitesList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.craxiom.messaging.wifi.AkmSuite>(akmSuites_, akmSuites_converter_); } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @return The count of akmSuites. */ @java.lang.Override public int getAkmSuitesCount() { return akmSuites_.size(); } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param index The index of the element to return. * @return The akmSuites at the given index. */ @java.lang.Override public com.craxiom.messaging.wifi.AkmSuite getAkmSuites(int index) { return akmSuites_converter_.convert(akmSuites_.get(index)); } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @return A list containing the enum numeric values on the wire for akmSuites. */ @java.lang.Override public java.util.List getAkmSuitesValueList() { return akmSuites_; } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param index The index of the value to return. * @return The enum numeric value on the wire of akmSuites at the given index. */ @java.lang.Override public int getAkmSuitesValue(int index) { return akmSuites_.get(index); } private int akmSuitesMemoizedSerializedSize; public static final int ENCRYPTIONTYPE_FIELD_NUMBER = 20; private int encryptionType_ = 0; /** * .com.craxiom.messaging.wifi.encryptiontype.EncryptionType encryptionType = 20; * @return The enum numeric value on the wire for encryptionType. */ @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** * .com.craxiom.messaging.wifi.encryptiontype.EncryptionType encryptionType = 20; * @return The encryptionType. */ @java.lang.Override public com.craxiom.messaging.wifi.EncryptionType getEncryptionType() { com.craxiom.messaging.wifi.EncryptionType result = com.craxiom.messaging.wifi.EncryptionType.forNumber(encryptionType_); return result == null ? com.craxiom.messaging.wifi.EncryptionType.UNRECOGNIZED : result; } public static final int WPS_FIELD_NUMBER = 21; private com.google.protobuf.BoolValue wps_; /** * .google.protobuf.BoolValue wps = 21; * @return Whether the wps field is set. */ @java.lang.Override public boolean hasWps() { return ((bitField0_ & 0x00000002) != 0); } /** * .google.protobuf.BoolValue wps = 21; * @return The wps. */ @java.lang.Override public com.google.protobuf.BoolValue getWps() { return wps_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : wps_; } /** * .google.protobuf.BoolValue wps = 21; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getWpsOrBuilder() { return wps_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : wps_; } public static final int PASSPOINT_FIELD_NUMBER = 28; private com.google.protobuf.BoolValue passpoint_; /** * .google.protobuf.BoolValue passpoint = 28; * @return Whether the passpoint field is set. */ @java.lang.Override public boolean hasPasspoint() { return ((bitField0_ & 0x00000004) != 0); } /** * .google.protobuf.BoolValue passpoint = 28; * @return The passpoint. */ @java.lang.Override public com.google.protobuf.BoolValue getPasspoint() { return passpoint_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : passpoint_; } /** * .google.protobuf.BoolValue passpoint = 28; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getPasspointOrBuilder() { return passpoint_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : passpoint_; } public static final int BANDWIDTH_FIELD_NUMBER = 29; private int bandwidth_ = 0; /** * .com.craxiom.messaging.wifi.bandwidth.WifiBandwidth bandwidth = 29; * @return The enum numeric value on the wire for bandwidth. */ @java.lang.Override public int getBandwidthValue() { return bandwidth_; } /** * .com.craxiom.messaging.wifi.bandwidth.WifiBandwidth bandwidth = 29; * @return The bandwidth. */ @java.lang.Override public com.craxiom.messaging.wifi.WifiBandwidth getBandwidth() { com.craxiom.messaging.wifi.WifiBandwidth result = com.craxiom.messaging.wifi.WifiBandwidth.forNumber(bandwidth_); return result == null ? com.craxiom.messaging.wifi.WifiBandwidth.UNRECOGNIZED : result; } public static final int CHANNEL_FIELD_NUMBER = 22; private com.google.protobuf.Int32Value channel_; /** * .google.protobuf.Int32Value channel = 22; * @return Whether the channel field is set. */ @java.lang.Override public boolean hasChannel() { return ((bitField0_ & 0x00000008) != 0); } /** * .google.protobuf.Int32Value channel = 22; * @return The channel. */ @java.lang.Override public com.google.protobuf.Int32Value getChannel() { return channel_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : channel_; } /** * .google.protobuf.Int32Value channel = 22; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getChannelOrBuilder() { return channel_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : channel_; } public static final int FREQUENCYMHZ_FIELD_NUMBER = 23; private com.google.protobuf.Int32Value frequencyMhz_; /** * .google.protobuf.Int32Value frequencyMhz = 23; * @return Whether the frequencyMhz field is set. */ @java.lang.Override public boolean hasFrequencyMhz() { return ((bitField0_ & 0x00000010) != 0); } /** * .google.protobuf.Int32Value frequencyMhz = 23; * @return The frequencyMhz. */ @java.lang.Override public com.google.protobuf.Int32Value getFrequencyMhz() { return frequencyMhz_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : frequencyMhz_; } /** * .google.protobuf.Int32Value frequencyMhz = 23; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getFrequencyMhzOrBuilder() { return frequencyMhz_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : frequencyMhz_; } public static final int SIGNALSTRENGTH_FIELD_NUMBER = 24; private com.google.protobuf.FloatValue signalStrength_; /** * .google.protobuf.FloatValue signalStrength = 24; * @return Whether the signalStrength field is set. */ @java.lang.Override public boolean hasSignalStrength() { return ((bitField0_ & 0x00000020) != 0); } /** * .google.protobuf.FloatValue signalStrength = 24; * @return The signalStrength. */ @java.lang.Override public com.google.protobuf.FloatValue getSignalStrength() { return signalStrength_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : signalStrength_; } /** * .google.protobuf.FloatValue signalStrength = 24; */ @java.lang.Override public com.google.protobuf.FloatValueOrBuilder getSignalStrengthOrBuilder() { return signalStrength_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : signalStrength_; } public static final int SNR_FIELD_NUMBER = 25; private com.google.protobuf.FloatValue snr_; /** * .google.protobuf.FloatValue snr = 25; * @return Whether the snr field is set. */ @java.lang.Override public boolean hasSnr() { return ((bitField0_ & 0x00000040) != 0); } /** * .google.protobuf.FloatValue snr = 25; * @return The snr. */ @java.lang.Override public com.google.protobuf.FloatValue getSnr() { return snr_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : snr_; } /** * .google.protobuf.FloatValue snr = 25; */ @java.lang.Override public com.google.protobuf.FloatValueOrBuilder getSnrOrBuilder() { return snr_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : snr_; } public static final int NODETYPE_FIELD_NUMBER = 26; private int nodeType_ = 0; /** * .com.craxiom.messaging.wifi.nodetype.NodeType nodeType = 26; * @return The enum numeric value on the wire for nodeType. */ @java.lang.Override public int getNodeTypeValue() { return nodeType_; } /** * .com.craxiom.messaging.wifi.nodetype.NodeType nodeType = 26; * @return The nodeType. */ @java.lang.Override public com.craxiom.messaging.wifi.NodeType getNodeType() { com.craxiom.messaging.wifi.NodeType result = com.craxiom.messaging.wifi.NodeType.forNumber(nodeType_); return result == null ? com.craxiom.messaging.wifi.NodeType.UNRECOGNIZED : result; } public static final int STANDARD_FIELD_NUMBER = 27; private int standard_ = 0; /** * .com.craxiom.messaging.wifi.standard.Standard standard = 27; * @return The enum numeric value on the wire for standard. */ @java.lang.Override public int getStandardValue() { return standard_; } /** * .com.craxiom.messaging.wifi.standard.Standard standard = 27; * @return The standard. */ @java.lang.Override public com.craxiom.messaging.wifi.Standard getStandard() { com.craxiom.messaging.wifi.Standard result = com.craxiom.messaging.wifi.Standard.forNumber(standard_); return result == null ? com.craxiom.messaging.wifi.Standard.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deviceSerialNumber_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, deviceSerialNumber_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deviceName_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, deviceName_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deviceTime_)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, deviceTime_); } if (java.lang.Double.doubleToRawLongBits(latitude_) != 0) { output.writeDouble(4, latitude_); } if (java.lang.Double.doubleToRawLongBits(longitude_) != 0) { output.writeDouble(5, longitude_); } if (java.lang.Float.floatToRawIntBits(altitude_) != 0) { output.writeFloat(6, altitude_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(missionId_)) { com.google.protobuf.GeneratedMessage.writeString(output, 7, missionId_); } if (recordNumber_ != 0) { output.writeInt32(8, recordNumber_); } if (accuracy_ != 0) { output.writeInt32(9, accuracy_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sourceAddress_)) { com.google.protobuf.GeneratedMessage.writeString(output, 10, sourceAddress_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destinationAddress_)) { com.google.protobuf.GeneratedMessage.writeString(output, 11, destinationAddress_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bssid_)) { com.google.protobuf.GeneratedMessage.writeString(output, 12, bssid_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(13, getBeaconInterval()); } if (serviceSetType_ != com.craxiom.messaging.wifi.ServiceSetType.UNKNOWN.getNumber()) { output.writeEnum(14, serviceSetType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ssid_)) { com.google.protobuf.GeneratedMessage.writeString(output, 15, ssid_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(supportedRates_)) { com.google.protobuf.GeneratedMessage.writeString(output, 16, supportedRates_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(extendedSupportedRates_)) { com.google.protobuf.GeneratedMessage.writeString(output, 17, extendedSupportedRates_); } if (getCipherSuitesList().size() > 0) { output.writeUInt32NoTag(146); output.writeUInt32NoTag(cipherSuitesMemoizedSerializedSize); } for (int i = 0; i < cipherSuites_.size(); i++) { output.writeEnumNoTag(cipherSuites_.get(i)); } if (getAkmSuitesList().size() > 0) { output.writeUInt32NoTag(154); output.writeUInt32NoTag(akmSuitesMemoizedSerializedSize); } for (int i = 0; i < akmSuites_.size(); i++) { output.writeEnumNoTag(akmSuites_.get(i)); } if (encryptionType_ != com.craxiom.messaging.wifi.EncryptionType.UNKNOWN.getNumber()) { output.writeEnum(20, encryptionType_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(21, getWps()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(22, getChannel()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(23, getFrequencyMhz()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(24, getSignalStrength()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(25, getSnr()); } if (nodeType_ != com.craxiom.messaging.wifi.NodeType.UNKNOWN.getNumber()) { output.writeEnum(26, nodeType_); } if (standard_ != com.craxiom.messaging.wifi.Standard.UNKNOWN.getNumber()) { output.writeEnum(27, standard_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(28, getPasspoint()); } if (bandwidth_ != com.craxiom.messaging.wifi.WifiBandwidth.UNKNOWN.getNumber()) { output.writeEnum(29, bandwidth_); } if (java.lang.Float.floatToRawIntBits(heading_) != 0) { output.writeFloat(50, heading_); } if (java.lang.Float.floatToRawIntBits(pitch_) != 0) { output.writeFloat(51, pitch_); } if (java.lang.Float.floatToRawIntBits(roll_) != 0) { output.writeFloat(52, roll_); } if (java.lang.Float.floatToRawIntBits(fieldOfView_) != 0) { output.writeFloat(53, fieldOfView_); } if (java.lang.Float.floatToRawIntBits(receiverSensitivity_) != 0) { output.writeFloat(54, receiverSensitivity_); } if (java.lang.Float.floatToRawIntBits(speed_) != 0) { output.writeFloat(55, speed_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deviceSerialNumber_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, deviceSerialNumber_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deviceName_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, deviceName_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deviceTime_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, deviceTime_); } if (java.lang.Double.doubleToRawLongBits(latitude_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, latitude_); } if (java.lang.Double.doubleToRawLongBits(longitude_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, longitude_); } if (java.lang.Float.floatToRawIntBits(altitude_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(6, altitude_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(missionId_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(7, missionId_); } if (recordNumber_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, recordNumber_); } if (accuracy_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, accuracy_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sourceAddress_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(10, sourceAddress_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destinationAddress_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(11, destinationAddress_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bssid_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(12, bssid_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getBeaconInterval()); } if (serviceSetType_ != com.craxiom.messaging.wifi.ServiceSetType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(14, serviceSetType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ssid_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(15, ssid_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(supportedRates_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(16, supportedRates_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(extendedSupportedRates_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(17, extendedSupportedRates_); } { int dataSize = 0; for (int i = 0; i < cipherSuites_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(cipherSuites_.get(i)); } size += dataSize; if (!getCipherSuitesList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }cipherSuitesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < akmSuites_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(akmSuites_.get(i)); } size += dataSize; if (!getAkmSuitesList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }akmSuitesMemoizedSerializedSize = dataSize; } if (encryptionType_ != com.craxiom.messaging.wifi.EncryptionType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(20, encryptionType_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getWps()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getChannel()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getFrequencyMhz()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, getSignalStrength()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, getSnr()); } if (nodeType_ != com.craxiom.messaging.wifi.NodeType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(26, nodeType_); } if (standard_ != com.craxiom.messaging.wifi.Standard.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(27, standard_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, getPasspoint()); } if (bandwidth_ != com.craxiom.messaging.wifi.WifiBandwidth.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(29, bandwidth_); } if (java.lang.Float.floatToRawIntBits(heading_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(50, heading_); } if (java.lang.Float.floatToRawIntBits(pitch_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(51, pitch_); } if (java.lang.Float.floatToRawIntBits(roll_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(52, roll_); } if (java.lang.Float.floatToRawIntBits(fieldOfView_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(53, fieldOfView_); } if (java.lang.Float.floatToRawIntBits(receiverSensitivity_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(54, receiverSensitivity_); } if (java.lang.Float.floatToRawIntBits(speed_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(55, speed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.craxiom.messaging.WifiBeaconRecordData)) { return super.equals(obj); } com.craxiom.messaging.WifiBeaconRecordData other = (com.craxiom.messaging.WifiBeaconRecordData) obj; if (!getDeviceSerialNumber() .equals(other.getDeviceSerialNumber())) return false; if (!getDeviceName() .equals(other.getDeviceName())) return false; if (!getDeviceTime() .equals(other.getDeviceTime())) return false; if (java.lang.Double.doubleToLongBits(getLatitude()) != java.lang.Double.doubleToLongBits( other.getLatitude())) return false; if (java.lang.Double.doubleToLongBits(getLongitude()) != java.lang.Double.doubleToLongBits( other.getLongitude())) return false; if (java.lang.Float.floatToIntBits(getAltitude()) != java.lang.Float.floatToIntBits( other.getAltitude())) return false; if (!getMissionId() .equals(other.getMissionId())) return false; if (getRecordNumber() != other.getRecordNumber()) return false; if (getAccuracy() != other.getAccuracy()) return false; if (java.lang.Float.floatToIntBits(getHeading()) != java.lang.Float.floatToIntBits( other.getHeading())) return false; if (java.lang.Float.floatToIntBits(getPitch()) != java.lang.Float.floatToIntBits( other.getPitch())) return false; if (java.lang.Float.floatToIntBits(getRoll()) != java.lang.Float.floatToIntBits( other.getRoll())) return false; if (java.lang.Float.floatToIntBits(getFieldOfView()) != java.lang.Float.floatToIntBits( other.getFieldOfView())) return false; if (java.lang.Float.floatToIntBits(getReceiverSensitivity()) != java.lang.Float.floatToIntBits( other.getReceiverSensitivity())) return false; if (java.lang.Float.floatToIntBits(getSpeed()) != java.lang.Float.floatToIntBits( other.getSpeed())) return false; if (!getSourceAddress() .equals(other.getSourceAddress())) return false; if (!getDestinationAddress() .equals(other.getDestinationAddress())) return false; if (!getBssid() .equals(other.getBssid())) return false; if (hasBeaconInterval() != other.hasBeaconInterval()) return false; if (hasBeaconInterval()) { if (!getBeaconInterval() .equals(other.getBeaconInterval())) return false; } if (serviceSetType_ != other.serviceSetType_) return false; if (!getSsid() .equals(other.getSsid())) return false; if (!getSupportedRates() .equals(other.getSupportedRates())) return false; if (!getExtendedSupportedRates() .equals(other.getExtendedSupportedRates())) return false; if (!cipherSuites_.equals(other.cipherSuites_)) return false; if (!akmSuites_.equals(other.akmSuites_)) return false; if (encryptionType_ != other.encryptionType_) return false; if (hasWps() != other.hasWps()) return false; if (hasWps()) { if (!getWps() .equals(other.getWps())) return false; } if (hasPasspoint() != other.hasPasspoint()) return false; if (hasPasspoint()) { if (!getPasspoint() .equals(other.getPasspoint())) return false; } if (bandwidth_ != other.bandwidth_) return false; if (hasChannel() != other.hasChannel()) return false; if (hasChannel()) { if (!getChannel() .equals(other.getChannel())) return false; } if (hasFrequencyMhz() != other.hasFrequencyMhz()) return false; if (hasFrequencyMhz()) { if (!getFrequencyMhz() .equals(other.getFrequencyMhz())) return false; } if (hasSignalStrength() != other.hasSignalStrength()) return false; if (hasSignalStrength()) { if (!getSignalStrength() .equals(other.getSignalStrength())) return false; } if (hasSnr() != other.hasSnr()) return false; if (hasSnr()) { if (!getSnr() .equals(other.getSnr())) return false; } if (nodeType_ != other.nodeType_) return false; if (standard_ != other.standard_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEVICESERIALNUMBER_FIELD_NUMBER; hash = (53 * hash) + getDeviceSerialNumber().hashCode(); hash = (37 * hash) + DEVICENAME_FIELD_NUMBER; hash = (53 * hash) + getDeviceName().hashCode(); hash = (37 * hash) + DEVICETIME_FIELD_NUMBER; hash = (53 * hash) + getDeviceTime().hashCode(); hash = (37 * hash) + LATITUDE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLatitude())); hash = (37 * hash) + LONGITUDE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLongitude())); hash = (37 * hash) + ALTITUDE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getAltitude()); hash = (37 * hash) + MISSIONID_FIELD_NUMBER; hash = (53 * hash) + getMissionId().hashCode(); hash = (37 * hash) + RECORDNUMBER_FIELD_NUMBER; hash = (53 * hash) + getRecordNumber(); hash = (37 * hash) + ACCURACY_FIELD_NUMBER; hash = (53 * hash) + getAccuracy(); hash = (37 * hash) + HEADING_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getHeading()); hash = (37 * hash) + PITCH_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getPitch()); hash = (37 * hash) + ROLL_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getRoll()); hash = (37 * hash) + FIELDOFVIEW_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getFieldOfView()); hash = (37 * hash) + RECEIVERSENSITIVITY_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getReceiverSensitivity()); hash = (37 * hash) + SPEED_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getSpeed()); hash = (37 * hash) + SOURCEADDRESS_FIELD_NUMBER; hash = (53 * hash) + getSourceAddress().hashCode(); hash = (37 * hash) + DESTINATIONADDRESS_FIELD_NUMBER; hash = (53 * hash) + getDestinationAddress().hashCode(); hash = (37 * hash) + BSSID_FIELD_NUMBER; hash = (53 * hash) + getBssid().hashCode(); if (hasBeaconInterval()) { hash = (37 * hash) + BEACONINTERVAL_FIELD_NUMBER; hash = (53 * hash) + getBeaconInterval().hashCode(); } hash = (37 * hash) + SERVICESETTYPE_FIELD_NUMBER; hash = (53 * hash) + serviceSetType_; hash = (37 * hash) + SSID_FIELD_NUMBER; hash = (53 * hash) + getSsid().hashCode(); hash = (37 * hash) + SUPPORTEDRATES_FIELD_NUMBER; hash = (53 * hash) + getSupportedRates().hashCode(); hash = (37 * hash) + EXTENDEDSUPPORTEDRATES_FIELD_NUMBER; hash = (53 * hash) + getExtendedSupportedRates().hashCode(); if (getCipherSuitesCount() > 0) { hash = (37 * hash) + CIPHERSUITES_FIELD_NUMBER; hash = (53 * hash) + cipherSuites_.hashCode(); } if (getAkmSuitesCount() > 0) { hash = (37 * hash) + AKMSUITES_FIELD_NUMBER; hash = (53 * hash) + akmSuites_.hashCode(); } hash = (37 * hash) + ENCRYPTIONTYPE_FIELD_NUMBER; hash = (53 * hash) + encryptionType_; if (hasWps()) { hash = (37 * hash) + WPS_FIELD_NUMBER; hash = (53 * hash) + getWps().hashCode(); } if (hasPasspoint()) { hash = (37 * hash) + PASSPOINT_FIELD_NUMBER; hash = (53 * hash) + getPasspoint().hashCode(); } hash = (37 * hash) + BANDWIDTH_FIELD_NUMBER; hash = (53 * hash) + bandwidth_; if (hasChannel()) { hash = (37 * hash) + CHANNEL_FIELD_NUMBER; hash = (53 * hash) + getChannel().hashCode(); } if (hasFrequencyMhz()) { hash = (37 * hash) + FREQUENCYMHZ_FIELD_NUMBER; hash = (53 * hash) + getFrequencyMhz().hashCode(); } if (hasSignalStrength()) { hash = (37 * hash) + SIGNALSTRENGTH_FIELD_NUMBER; hash = (53 * hash) + getSignalStrength().hashCode(); } if (hasSnr()) { hash = (37 * hash) + SNR_FIELD_NUMBER; hash = (53 * hash) + getSnr().hashCode(); } hash = (37 * hash) + NODETYPE_FIELD_NUMBER; hash = (53 * hash) + nodeType_; hash = (37 * hash) + STANDARD_FIELD_NUMBER; hash = (53 * hash) + standard_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static com.craxiom.messaging.WifiBeaconRecordData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static com.craxiom.messaging.WifiBeaconRecordData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.craxiom.messaging.WifiBeaconRecordData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.craxiom.messaging.WifiBeaconRecordData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.craxiom.messaging.WifiBeaconRecordData} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:com.craxiom.messaging.WifiBeaconRecordData) com.craxiom.messaging.WifiBeaconRecordDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.craxiom.messaging.WifiBeaconRecordOuterClass.internal_static_com_craxiom_messaging_WifiBeaconRecordData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.craxiom.messaging.WifiBeaconRecordOuterClass.internal_static_com_craxiom_messaging_WifiBeaconRecordData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.craxiom.messaging.WifiBeaconRecordData.class, com.craxiom.messaging.WifiBeaconRecordData.Builder.class); } // Construct using com.craxiom.messaging.WifiBeaconRecordData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getBeaconIntervalFieldBuilder(); getWpsFieldBuilder(); getPasspointFieldBuilder(); getChannelFieldBuilder(); getFrequencyMhzFieldBuilder(); getSignalStrengthFieldBuilder(); getSnrFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; bitField1_ = 0; deviceSerialNumber_ = ""; deviceName_ = ""; deviceTime_ = ""; latitude_ = 0D; longitude_ = 0D; altitude_ = 0F; missionId_ = ""; recordNumber_ = 0; accuracy_ = 0; heading_ = 0F; pitch_ = 0F; roll_ = 0F; fieldOfView_ = 0F; receiverSensitivity_ = 0F; speed_ = 0F; sourceAddress_ = ""; destinationAddress_ = ""; bssid_ = ""; beaconInterval_ = null; if (beaconIntervalBuilder_ != null) { beaconIntervalBuilder_.dispose(); beaconIntervalBuilder_ = null; } serviceSetType_ = 0; ssid_ = ""; supportedRates_ = ""; extendedSupportedRates_ = ""; cipherSuites_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00800000); akmSuites_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x01000000); encryptionType_ = 0; wps_ = null; if (wpsBuilder_ != null) { wpsBuilder_.dispose(); wpsBuilder_ = null; } passpoint_ = null; if (passpointBuilder_ != null) { passpointBuilder_.dispose(); passpointBuilder_ = null; } bandwidth_ = 0; channel_ = null; if (channelBuilder_ != null) { channelBuilder_.dispose(); channelBuilder_ = null; } frequencyMhz_ = null; if (frequencyMhzBuilder_ != null) { frequencyMhzBuilder_.dispose(); frequencyMhzBuilder_ = null; } signalStrength_ = null; if (signalStrengthBuilder_ != null) { signalStrengthBuilder_.dispose(); signalStrengthBuilder_ = null; } snr_ = null; if (snrBuilder_ != null) { snrBuilder_.dispose(); snrBuilder_ = null; } nodeType_ = 0; standard_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.craxiom.messaging.WifiBeaconRecordOuterClass.internal_static_com_craxiom_messaging_WifiBeaconRecordData_descriptor; } @java.lang.Override public com.craxiom.messaging.WifiBeaconRecordData getDefaultInstanceForType() { return com.craxiom.messaging.WifiBeaconRecordData.getDefaultInstance(); } @java.lang.Override public com.craxiom.messaging.WifiBeaconRecordData build() { com.craxiom.messaging.WifiBeaconRecordData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.craxiom.messaging.WifiBeaconRecordData buildPartial() { com.craxiom.messaging.WifiBeaconRecordData result = new com.craxiom.messaging.WifiBeaconRecordData(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } if (bitField1_ != 0) { buildPartial1(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.craxiom.messaging.WifiBeaconRecordData result) { if (((bitField0_ & 0x00800000) != 0)) { cipherSuites_ = java.util.Collections.unmodifiableList(cipherSuites_); bitField0_ = (bitField0_ & ~0x00800000); } result.cipherSuites_ = cipherSuites_; if (((bitField0_ & 0x01000000) != 0)) { akmSuites_ = java.util.Collections.unmodifiableList(akmSuites_); bitField0_ = (bitField0_ & ~0x01000000); } result.akmSuites_ = akmSuites_; } private void buildPartial0(com.craxiom.messaging.WifiBeaconRecordData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.deviceSerialNumber_ = deviceSerialNumber_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.deviceName_ = deviceName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.deviceTime_ = deviceTime_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.latitude_ = latitude_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.longitude_ = longitude_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.altitude_ = altitude_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.missionId_ = missionId_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.recordNumber_ = recordNumber_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.accuracy_ = accuracy_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.heading_ = heading_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.pitch_ = pitch_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.roll_ = roll_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.fieldOfView_ = fieldOfView_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.receiverSensitivity_ = receiverSensitivity_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.speed_ = speed_; } if (((from_bitField0_ & 0x00008000) != 0)) { result.sourceAddress_ = sourceAddress_; } if (((from_bitField0_ & 0x00010000) != 0)) { result.destinationAddress_ = destinationAddress_; } if (((from_bitField0_ & 0x00020000) != 0)) { result.bssid_ = bssid_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00040000) != 0)) { result.beaconInterval_ = beaconIntervalBuilder_ == null ? beaconInterval_ : beaconIntervalBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00080000) != 0)) { result.serviceSetType_ = serviceSetType_; } if (((from_bitField0_ & 0x00100000) != 0)) { result.ssid_ = ssid_; } if (((from_bitField0_ & 0x00200000) != 0)) { result.supportedRates_ = supportedRates_; } if (((from_bitField0_ & 0x00400000) != 0)) { result.extendedSupportedRates_ = extendedSupportedRates_; } if (((from_bitField0_ & 0x02000000) != 0)) { result.encryptionType_ = encryptionType_; } if (((from_bitField0_ & 0x04000000) != 0)) { result.wps_ = wpsBuilder_ == null ? wps_ : wpsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x08000000) != 0)) { result.passpoint_ = passpointBuilder_ == null ? passpoint_ : passpointBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x10000000) != 0)) { result.bandwidth_ = bandwidth_; } if (((from_bitField0_ & 0x20000000) != 0)) { result.channel_ = channelBuilder_ == null ? channel_ : channelBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x40000000) != 0)) { result.frequencyMhz_ = frequencyMhzBuilder_ == null ? frequencyMhz_ : frequencyMhzBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x80000000) != 0)) { result.signalStrength_ = signalStrengthBuilder_ == null ? signalStrength_ : signalStrengthBuilder_.build(); to_bitField0_ |= 0x00000020; } result.bitField0_ |= to_bitField0_; } private void buildPartial1(com.craxiom.messaging.WifiBeaconRecordData result) { int from_bitField1_ = bitField1_; int to_bitField0_ = 0; if (((from_bitField1_ & 0x00000001) != 0)) { result.snr_ = snrBuilder_ == null ? snr_ : snrBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField1_ & 0x00000002) != 0)) { result.nodeType_ = nodeType_; } if (((from_bitField1_ & 0x00000004) != 0)) { result.standard_ = standard_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.craxiom.messaging.WifiBeaconRecordData) { return mergeFrom((com.craxiom.messaging.WifiBeaconRecordData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.craxiom.messaging.WifiBeaconRecordData other) { if (other == com.craxiom.messaging.WifiBeaconRecordData.getDefaultInstance()) return this; if (!other.getDeviceSerialNumber().isEmpty()) { deviceSerialNumber_ = other.deviceSerialNumber_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDeviceName().isEmpty()) { deviceName_ = other.deviceName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getDeviceTime().isEmpty()) { deviceTime_ = other.deviceTime_; bitField0_ |= 0x00000004; onChanged(); } if (other.getLatitude() != 0D) { setLatitude(other.getLatitude()); } if (other.getLongitude() != 0D) { setLongitude(other.getLongitude()); } if (other.getAltitude() != 0F) { setAltitude(other.getAltitude()); } if (!other.getMissionId().isEmpty()) { missionId_ = other.missionId_; bitField0_ |= 0x00000040; onChanged(); } if (other.getRecordNumber() != 0) { setRecordNumber(other.getRecordNumber()); } if (other.getAccuracy() != 0) { setAccuracy(other.getAccuracy()); } if (other.getHeading() != 0F) { setHeading(other.getHeading()); } if (other.getPitch() != 0F) { setPitch(other.getPitch()); } if (other.getRoll() != 0F) { setRoll(other.getRoll()); } if (other.getFieldOfView() != 0F) { setFieldOfView(other.getFieldOfView()); } if (other.getReceiverSensitivity() != 0F) { setReceiverSensitivity(other.getReceiverSensitivity()); } if (other.getSpeed() != 0F) { setSpeed(other.getSpeed()); } if (!other.getSourceAddress().isEmpty()) { sourceAddress_ = other.sourceAddress_; bitField0_ |= 0x00008000; onChanged(); } if (!other.getDestinationAddress().isEmpty()) { destinationAddress_ = other.destinationAddress_; bitField0_ |= 0x00010000; onChanged(); } if (!other.getBssid().isEmpty()) { bssid_ = other.bssid_; bitField0_ |= 0x00020000; onChanged(); } if (other.hasBeaconInterval()) { mergeBeaconInterval(other.getBeaconInterval()); } if (other.serviceSetType_ != 0) { setServiceSetTypeValue(other.getServiceSetTypeValue()); } if (!other.getSsid().isEmpty()) { ssid_ = other.ssid_; bitField0_ |= 0x00100000; onChanged(); } if (!other.getSupportedRates().isEmpty()) { supportedRates_ = other.supportedRates_; bitField0_ |= 0x00200000; onChanged(); } if (!other.getExtendedSupportedRates().isEmpty()) { extendedSupportedRates_ = other.extendedSupportedRates_; bitField0_ |= 0x00400000; onChanged(); } if (!other.cipherSuites_.isEmpty()) { if (cipherSuites_.isEmpty()) { cipherSuites_ = other.cipherSuites_; bitField0_ = (bitField0_ & ~0x00800000); } else { ensureCipherSuitesIsMutable(); cipherSuites_.addAll(other.cipherSuites_); } onChanged(); } if (!other.akmSuites_.isEmpty()) { if (akmSuites_.isEmpty()) { akmSuites_ = other.akmSuites_; bitField0_ = (bitField0_ & ~0x01000000); } else { ensureAkmSuitesIsMutable(); akmSuites_.addAll(other.akmSuites_); } onChanged(); } if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } if (other.hasWps()) { mergeWps(other.getWps()); } if (other.hasPasspoint()) { mergePasspoint(other.getPasspoint()); } if (other.bandwidth_ != 0) { setBandwidthValue(other.getBandwidthValue()); } if (other.hasChannel()) { mergeChannel(other.getChannel()); } if (other.hasFrequencyMhz()) { mergeFrequencyMhz(other.getFrequencyMhz()); } if (other.hasSignalStrength()) { mergeSignalStrength(other.getSignalStrength()); } if (other.hasSnr()) { mergeSnr(other.getSnr()); } if (other.nodeType_ != 0) { setNodeTypeValue(other.getNodeTypeValue()); } if (other.standard_ != 0) { setStandardValue(other.getStandardValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { deviceSerialNumber_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { deviceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { deviceTime_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 33: { latitude_ = input.readDouble(); bitField0_ |= 0x00000008; break; } // case 33 case 41: { longitude_ = input.readDouble(); bitField0_ |= 0x00000010; break; } // case 41 case 53: { altitude_ = input.readFloat(); bitField0_ |= 0x00000020; break; } // case 53 case 58: { missionId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 case 64: { recordNumber_ = input.readInt32(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { accuracy_ = input.readInt32(); bitField0_ |= 0x00000100; break; } // case 72 case 82: { sourceAddress_ = input.readStringRequireUtf8(); bitField0_ |= 0x00008000; break; } // case 82 case 90: { destinationAddress_ = input.readStringRequireUtf8(); bitField0_ |= 0x00010000; break; } // case 90 case 98: { bssid_ = input.readStringRequireUtf8(); bitField0_ |= 0x00020000; break; } // case 98 case 106: { input.readMessage( getBeaconIntervalFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00040000; break; } // case 106 case 112: { serviceSetType_ = input.readEnum(); bitField0_ |= 0x00080000; break; } // case 112 case 122: { ssid_ = input.readStringRequireUtf8(); bitField0_ |= 0x00100000; break; } // case 122 case 130: { supportedRates_ = input.readStringRequireUtf8(); bitField0_ |= 0x00200000; break; } // case 130 case 138: { extendedSupportedRates_ = input.readStringRequireUtf8(); bitField0_ |= 0x00400000; break; } // case 138 case 144: { int tmpRaw = input.readEnum(); ensureCipherSuitesIsMutable(); cipherSuites_.add(tmpRaw); break; } // case 144 case 146: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureCipherSuitesIsMutable(); cipherSuites_.add(tmpRaw); } input.popLimit(oldLimit); break; } // case 146 case 152: { int tmpRaw = input.readEnum(); ensureAkmSuitesIsMutable(); akmSuites_.add(tmpRaw); break; } // case 152 case 154: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureAkmSuitesIsMutable(); akmSuites_.add(tmpRaw); } input.popLimit(oldLimit); break; } // case 154 case 160: { encryptionType_ = input.readEnum(); bitField0_ |= 0x02000000; break; } // case 160 case 170: { input.readMessage( getWpsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x04000000; break; } // case 170 case 178: { input.readMessage( getChannelFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x20000000; break; } // case 178 case 186: { input.readMessage( getFrequencyMhzFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x40000000; break; } // case 186 case 194: { input.readMessage( getSignalStrengthFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x80000000; break; } // case 194 case 202: { input.readMessage( getSnrFieldBuilder().getBuilder(), extensionRegistry); bitField1_ |= 0x00000001; break; } // case 202 case 208: { nodeType_ = input.readEnum(); bitField1_ |= 0x00000002; break; } // case 208 case 216: { standard_ = input.readEnum(); bitField1_ |= 0x00000004; break; } // case 216 case 226: { input.readMessage( getPasspointFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x08000000; break; } // case 226 case 232: { bandwidth_ = input.readEnum(); bitField0_ |= 0x10000000; break; } // case 232 case 405: { heading_ = input.readFloat(); bitField0_ |= 0x00000200; break; } // case 405 case 413: { pitch_ = input.readFloat(); bitField0_ |= 0x00000400; break; } // case 413 case 421: { roll_ = input.readFloat(); bitField0_ |= 0x00000800; break; } // case 421 case 429: { fieldOfView_ = input.readFloat(); bitField0_ |= 0x00001000; break; } // case 429 case 437: { receiverSensitivity_ = input.readFloat(); bitField0_ |= 0x00002000; break; } // case 437 case 445: { speed_ = input.readFloat(); bitField0_ |= 0x00004000; break; } // case 445 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int bitField1_; private java.lang.Object deviceSerialNumber_ = ""; /** * string deviceSerialNumber = 1; * @return The deviceSerialNumber. */ public java.lang.String getDeviceSerialNumber() { java.lang.Object ref = deviceSerialNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deviceSerialNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** * string deviceSerialNumber = 1; * @return The bytes for deviceSerialNumber. */ public com.google.protobuf.ByteString getDeviceSerialNumberBytes() { java.lang.Object ref = deviceSerialNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deviceSerialNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string deviceSerialNumber = 1; * @param value The deviceSerialNumber to set. * @return This builder for chaining. */ public Builder setDeviceSerialNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deviceSerialNumber_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string deviceSerialNumber = 1; * @return This builder for chaining. */ public Builder clearDeviceSerialNumber() { deviceSerialNumber_ = getDefaultInstance().getDeviceSerialNumber(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string deviceSerialNumber = 1; * @param value The bytes for deviceSerialNumber to set. * @return This builder for chaining. */ public Builder setDeviceSerialNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deviceSerialNumber_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object deviceName_ = ""; /** * string deviceName = 2; * @return The deviceName. */ public java.lang.String getDeviceName() { java.lang.Object ref = deviceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deviceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string deviceName = 2; * @return The bytes for deviceName. */ public com.google.protobuf.ByteString getDeviceNameBytes() { java.lang.Object ref = deviceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deviceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string deviceName = 2; * @param value The deviceName to set. * @return This builder for chaining. */ public Builder setDeviceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deviceName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string deviceName = 2; * @return This builder for chaining. */ public Builder clearDeviceName() { deviceName_ = getDefaultInstance().getDeviceName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string deviceName = 2; * @param value The bytes for deviceName to set. * @return This builder for chaining. */ public Builder setDeviceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deviceName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object deviceTime_ = ""; /** * string deviceTime = 3; * @return The deviceTime. */ public java.lang.String getDeviceTime() { java.lang.Object ref = deviceTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deviceTime_ = s; return s; } else { return (java.lang.String) ref; } } /** * string deviceTime = 3; * @return The bytes for deviceTime. */ public com.google.protobuf.ByteString getDeviceTimeBytes() { java.lang.Object ref = deviceTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deviceTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string deviceTime = 3; * @param value The deviceTime to set. * @return This builder for chaining. */ public Builder setDeviceTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deviceTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string deviceTime = 3; * @return This builder for chaining. */ public Builder clearDeviceTime() { deviceTime_ = getDefaultInstance().getDeviceTime(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string deviceTime = 3; * @param value The bytes for deviceTime to set. * @return This builder for chaining. */ public Builder setDeviceTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deviceTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private double latitude_ ; /** * double latitude = 4; * @return The latitude. */ @java.lang.Override public double getLatitude() { return latitude_; } /** * double latitude = 4; * @param value The latitude to set. * @return This builder for chaining. */ public Builder setLatitude(double value) { latitude_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * double latitude = 4; * @return This builder for chaining. */ public Builder clearLatitude() { bitField0_ = (bitField0_ & ~0x00000008); latitude_ = 0D; onChanged(); return this; } private double longitude_ ; /** * double longitude = 5; * @return The longitude. */ @java.lang.Override public double getLongitude() { return longitude_; } /** * double longitude = 5; * @param value The longitude to set. * @return This builder for chaining. */ public Builder setLongitude(double value) { longitude_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * double longitude = 5; * @return This builder for chaining. */ public Builder clearLongitude() { bitField0_ = (bitField0_ & ~0x00000010); longitude_ = 0D; onChanged(); return this; } private float altitude_ ; /** * float altitude = 6; * @return The altitude. */ @java.lang.Override public float getAltitude() { return altitude_; } /** * float altitude = 6; * @param value The altitude to set. * @return This builder for chaining. */ public Builder setAltitude(float value) { altitude_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * float altitude = 6; * @return This builder for chaining. */ public Builder clearAltitude() { bitField0_ = (bitField0_ & ~0x00000020); altitude_ = 0F; onChanged(); return this; } private java.lang.Object missionId_ = ""; /** * string missionId = 7; * @return The missionId. */ public java.lang.String getMissionId() { java.lang.Object ref = missionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); missionId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string missionId = 7; * @return The bytes for missionId. */ public com.google.protobuf.ByteString getMissionIdBytes() { java.lang.Object ref = missionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); missionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string missionId = 7; * @param value The missionId to set. * @return This builder for chaining. */ public Builder setMissionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } missionId_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * string missionId = 7; * @return This builder for chaining. */ public Builder clearMissionId() { missionId_ = getDefaultInstance().getMissionId(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** * string missionId = 7; * @param value The bytes for missionId to set. * @return This builder for chaining. */ public Builder setMissionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); missionId_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private int recordNumber_ ; /** * int32 recordNumber = 8; * @return The recordNumber. */ @java.lang.Override public int getRecordNumber() { return recordNumber_; } /** * int32 recordNumber = 8; * @param value The recordNumber to set. * @return This builder for chaining. */ public Builder setRecordNumber(int value) { recordNumber_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** * int32 recordNumber = 8; * @return This builder for chaining. */ public Builder clearRecordNumber() { bitField0_ = (bitField0_ & ~0x00000080); recordNumber_ = 0; onChanged(); return this; } private int accuracy_ ; /** * int32 accuracy = 9; * @return The accuracy. */ @java.lang.Override public int getAccuracy() { return accuracy_; } /** * int32 accuracy = 9; * @param value The accuracy to set. * @return This builder for chaining. */ public Builder setAccuracy(int value) { accuracy_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * int32 accuracy = 9; * @return This builder for chaining. */ public Builder clearAccuracy() { bitField0_ = (bitField0_ & ~0x00000100); accuracy_ = 0; onChanged(); return this; } private float heading_ ; /** *
     * Orientation of sensor and sensor parameters. optional.
     * 
* * float heading = 50; * @return The heading. */ @java.lang.Override public float getHeading() { return heading_; } /** *
     * Orientation of sensor and sensor parameters. optional.
     * 
* * float heading = 50; * @param value The heading to set. * @return This builder for chaining. */ public Builder setHeading(float value) { heading_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Orientation of sensor and sensor parameters. optional.
     * 
* * float heading = 50; * @return This builder for chaining. */ public Builder clearHeading() { bitField0_ = (bitField0_ & ~0x00000200); heading_ = 0F; onChanged(); return this; } private float pitch_ ; /** * float pitch = 51; * @return The pitch. */ @java.lang.Override public float getPitch() { return pitch_; } /** * float pitch = 51; * @param value The pitch to set. * @return This builder for chaining. */ public Builder setPitch(float value) { pitch_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** * float pitch = 51; * @return This builder for chaining. */ public Builder clearPitch() { bitField0_ = (bitField0_ & ~0x00000400); pitch_ = 0F; onChanged(); return this; } private float roll_ ; /** * float roll = 52; * @return The roll. */ @java.lang.Override public float getRoll() { return roll_; } /** * float roll = 52; * @param value The roll to set. * @return This builder for chaining. */ public Builder setRoll(float value) { roll_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** * float roll = 52; * @return This builder for chaining. */ public Builder clearRoll() { bitField0_ = (bitField0_ & ~0x00000800); roll_ = 0F; onChanged(); return this; } private float fieldOfView_ ; /** * float fieldOfView = 53; * @return The fieldOfView. */ @java.lang.Override public float getFieldOfView() { return fieldOfView_; } /** * float fieldOfView = 53; * @param value The fieldOfView to set. * @return This builder for chaining. */ public Builder setFieldOfView(float value) { fieldOfView_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** * float fieldOfView = 53; * @return This builder for chaining. */ public Builder clearFieldOfView() { bitField0_ = (bitField0_ & ~0x00001000); fieldOfView_ = 0F; onChanged(); return this; } private float receiverSensitivity_ ; /** * float receiverSensitivity = 54; * @return The receiverSensitivity. */ @java.lang.Override public float getReceiverSensitivity() { return receiverSensitivity_; } /** * float receiverSensitivity = 54; * @param value The receiverSensitivity to set. * @return This builder for chaining. */ public Builder setReceiverSensitivity(float value) { receiverSensitivity_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** * float receiverSensitivity = 54; * @return This builder for chaining. */ public Builder clearReceiverSensitivity() { bitField0_ = (bitField0_ & ~0x00002000); receiverSensitivity_ = 0F; onChanged(); return this; } private float speed_ ; /** * float speed = 55; * @return The speed. */ @java.lang.Override public float getSpeed() { return speed_; } /** * float speed = 55; * @param value The speed to set. * @return This builder for chaining. */ public Builder setSpeed(float value) { speed_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** * float speed = 55; * @return This builder for chaining. */ public Builder clearSpeed() { bitField0_ = (bitField0_ & ~0x00004000); speed_ = 0F; onChanged(); return this; } private java.lang.Object sourceAddress_ = ""; /** * string sourceAddress = 10; * @return The sourceAddress. */ public java.lang.String getSourceAddress() { java.lang.Object ref = sourceAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sourceAddress = 10; * @return The bytes for sourceAddress. */ public com.google.protobuf.ByteString getSourceAddressBytes() { java.lang.Object ref = sourceAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sourceAddress = 10; * @param value The sourceAddress to set. * @return This builder for chaining. */ public Builder setSourceAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceAddress_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** * string sourceAddress = 10; * @return This builder for chaining. */ public Builder clearSourceAddress() { sourceAddress_ = getDefaultInstance().getSourceAddress(); bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } /** * string sourceAddress = 10; * @param value The bytes for sourceAddress to set. * @return This builder for chaining. */ public Builder setSourceAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceAddress_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } private java.lang.Object destinationAddress_ = ""; /** * string destinationAddress = 11; * @return The destinationAddress. */ public java.lang.String getDestinationAddress() { java.lang.Object ref = destinationAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string destinationAddress = 11; * @return The bytes for destinationAddress. */ public com.google.protobuf.ByteString getDestinationAddressBytes() { java.lang.Object ref = destinationAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destinationAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string destinationAddress = 11; * @param value The destinationAddress to set. * @return This builder for chaining. */ public Builder setDestinationAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destinationAddress_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** * string destinationAddress = 11; * @return This builder for chaining. */ public Builder clearDestinationAddress() { destinationAddress_ = getDefaultInstance().getDestinationAddress(); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } /** * string destinationAddress = 11; * @param value The bytes for destinationAddress to set. * @return This builder for chaining. */ public Builder setDestinationAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destinationAddress_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } private java.lang.Object bssid_ = ""; /** * string bssid = 12; * @return The bssid. */ public java.lang.String getBssid() { java.lang.Object ref = bssid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bssid_ = s; return s; } else { return (java.lang.String) ref; } } /** * string bssid = 12; * @return The bytes for bssid. */ public com.google.protobuf.ByteString getBssidBytes() { java.lang.Object ref = bssid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bssid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string bssid = 12; * @param value The bssid to set. * @return This builder for chaining. */ public Builder setBssid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bssid_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** * string bssid = 12; * @return This builder for chaining. */ public Builder clearBssid() { bssid_ = getDefaultInstance().getBssid(); bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } /** * string bssid = 12; * @param value The bytes for bssid to set. * @return This builder for chaining. */ public Builder setBssidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bssid_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } private com.google.protobuf.Int32Value beaconInterval_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> beaconIntervalBuilder_; /** * .google.protobuf.Int32Value beaconInterval = 13; * @return Whether the beaconInterval field is set. */ public boolean hasBeaconInterval() { return ((bitField0_ & 0x00040000) != 0); } /** * .google.protobuf.Int32Value beaconInterval = 13; * @return The beaconInterval. */ public com.google.protobuf.Int32Value getBeaconInterval() { if (beaconIntervalBuilder_ == null) { return beaconInterval_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : beaconInterval_; } else { return beaconIntervalBuilder_.getMessage(); } } /** * .google.protobuf.Int32Value beaconInterval = 13; */ public Builder setBeaconInterval(com.google.protobuf.Int32Value value) { if (beaconIntervalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } beaconInterval_ = value; } else { beaconIntervalBuilder_.setMessage(value); } bitField0_ |= 0x00040000; onChanged(); return this; } /** * .google.protobuf.Int32Value beaconInterval = 13; */ public Builder setBeaconInterval( com.google.protobuf.Int32Value.Builder builderForValue) { if (beaconIntervalBuilder_ == null) { beaconInterval_ = builderForValue.build(); } else { beaconIntervalBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00040000; onChanged(); return this; } /** * .google.protobuf.Int32Value beaconInterval = 13; */ public Builder mergeBeaconInterval(com.google.protobuf.Int32Value value) { if (beaconIntervalBuilder_ == null) { if (((bitField0_ & 0x00040000) != 0) && beaconInterval_ != null && beaconInterval_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getBeaconIntervalBuilder().mergeFrom(value); } else { beaconInterval_ = value; } } else { beaconIntervalBuilder_.mergeFrom(value); } if (beaconInterval_ != null) { bitField0_ |= 0x00040000; onChanged(); } return this; } /** * .google.protobuf.Int32Value beaconInterval = 13; */ public Builder clearBeaconInterval() { bitField0_ = (bitField0_ & ~0x00040000); beaconInterval_ = null; if (beaconIntervalBuilder_ != null) { beaconIntervalBuilder_.dispose(); beaconIntervalBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.Int32Value beaconInterval = 13; */ public com.google.protobuf.Int32Value.Builder getBeaconIntervalBuilder() { bitField0_ |= 0x00040000; onChanged(); return getBeaconIntervalFieldBuilder().getBuilder(); } /** * .google.protobuf.Int32Value beaconInterval = 13; */ public com.google.protobuf.Int32ValueOrBuilder getBeaconIntervalOrBuilder() { if (beaconIntervalBuilder_ != null) { return beaconIntervalBuilder_.getMessageOrBuilder(); } else { return beaconInterval_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : beaconInterval_; } } /** * .google.protobuf.Int32Value beaconInterval = 13; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getBeaconIntervalFieldBuilder() { if (beaconIntervalBuilder_ == null) { beaconIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getBeaconInterval(), getParentForChildren(), isClean()); beaconInterval_ = null; } return beaconIntervalBuilder_; } private int serviceSetType_ = 0; /** * .com.craxiom.messaging.wifi.serviceset.ServiceSetType serviceSetType = 14; * @return The enum numeric value on the wire for serviceSetType. */ @java.lang.Override public int getServiceSetTypeValue() { return serviceSetType_; } /** * .com.craxiom.messaging.wifi.serviceset.ServiceSetType serviceSetType = 14; * @param value The enum numeric value on the wire for serviceSetType to set. * @return This builder for chaining. */ public Builder setServiceSetTypeValue(int value) { serviceSetType_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** * .com.craxiom.messaging.wifi.serviceset.ServiceSetType serviceSetType = 14; * @return The serviceSetType. */ @java.lang.Override public com.craxiom.messaging.wifi.ServiceSetType getServiceSetType() { com.craxiom.messaging.wifi.ServiceSetType result = com.craxiom.messaging.wifi.ServiceSetType.forNumber(serviceSetType_); return result == null ? com.craxiom.messaging.wifi.ServiceSetType.UNRECOGNIZED : result; } /** * .com.craxiom.messaging.wifi.serviceset.ServiceSetType serviceSetType = 14; * @param value The serviceSetType to set. * @return This builder for chaining. */ public Builder setServiceSetType(com.craxiom.messaging.wifi.ServiceSetType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; serviceSetType_ = value.getNumber(); onChanged(); return this; } /** * .com.craxiom.messaging.wifi.serviceset.ServiceSetType serviceSetType = 14; * @return This builder for chaining. */ public Builder clearServiceSetType() { bitField0_ = (bitField0_ & ~0x00080000); serviceSetType_ = 0; onChanged(); return this; } private java.lang.Object ssid_ = ""; /** * string ssid = 15; * @return The ssid. */ public java.lang.String getSsid() { java.lang.Object ref = ssid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ssid_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ssid = 15; * @return The bytes for ssid. */ public com.google.protobuf.ByteString getSsidBytes() { java.lang.Object ref = ssid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ssid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ssid = 15; * @param value The ssid to set. * @return This builder for chaining. */ public Builder setSsid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ssid_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** * string ssid = 15; * @return This builder for chaining. */ public Builder clearSsid() { ssid_ = getDefaultInstance().getSsid(); bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } /** * string ssid = 15; * @param value The bytes for ssid to set. * @return This builder for chaining. */ public Builder setSsidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ssid_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } private java.lang.Object supportedRates_ = ""; /** * string supportedRates = 16; * @return The supportedRates. */ public java.lang.String getSupportedRates() { java.lang.Object ref = supportedRates_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); supportedRates_ = s; return s; } else { return (java.lang.String) ref; } } /** * string supportedRates = 16; * @return The bytes for supportedRates. */ public com.google.protobuf.ByteString getSupportedRatesBytes() { java.lang.Object ref = supportedRates_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); supportedRates_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string supportedRates = 16; * @param value The supportedRates to set. * @return This builder for chaining. */ public Builder setSupportedRates( java.lang.String value) { if (value == null) { throw new NullPointerException(); } supportedRates_ = value; bitField0_ |= 0x00200000; onChanged(); return this; } /** * string supportedRates = 16; * @return This builder for chaining. */ public Builder clearSupportedRates() { supportedRates_ = getDefaultInstance().getSupportedRates(); bitField0_ = (bitField0_ & ~0x00200000); onChanged(); return this; } /** * string supportedRates = 16; * @param value The bytes for supportedRates to set. * @return This builder for chaining. */ public Builder setSupportedRatesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); supportedRates_ = value; bitField0_ |= 0x00200000; onChanged(); return this; } private java.lang.Object extendedSupportedRates_ = ""; /** * string extendedSupportedRates = 17; * @return The extendedSupportedRates. */ public java.lang.String getExtendedSupportedRates() { java.lang.Object ref = extendedSupportedRates_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); extendedSupportedRates_ = s; return s; } else { return (java.lang.String) ref; } } /** * string extendedSupportedRates = 17; * @return The bytes for extendedSupportedRates. */ public com.google.protobuf.ByteString getExtendedSupportedRatesBytes() { java.lang.Object ref = extendedSupportedRates_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); extendedSupportedRates_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string extendedSupportedRates = 17; * @param value The extendedSupportedRates to set. * @return This builder for chaining. */ public Builder setExtendedSupportedRates( java.lang.String value) { if (value == null) { throw new NullPointerException(); } extendedSupportedRates_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** * string extendedSupportedRates = 17; * @return This builder for chaining. */ public Builder clearExtendedSupportedRates() { extendedSupportedRates_ = getDefaultInstance().getExtendedSupportedRates(); bitField0_ = (bitField0_ & ~0x00400000); onChanged(); return this; } /** * string extendedSupportedRates = 17; * @param value The bytes for extendedSupportedRates to set. * @return This builder for chaining. */ public Builder setExtendedSupportedRatesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); extendedSupportedRates_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } private java.util.List cipherSuites_ = java.util.Collections.emptyList(); private void ensureCipherSuitesIsMutable() { if (!((bitField0_ & 0x00800000) != 0)) { cipherSuites_ = new java.util.ArrayList(cipherSuites_); bitField0_ |= 0x00800000; } } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @return A list containing the cipherSuites. */ public java.util.List getCipherSuitesList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.craxiom.messaging.wifi.CipherSuite>(cipherSuites_, cipherSuites_converter_); } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @return The count of cipherSuites. */ public int getCipherSuitesCount() { return cipherSuites_.size(); } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param index The index of the element to return. * @return The cipherSuites at the given index. */ public com.craxiom.messaging.wifi.CipherSuite getCipherSuites(int index) { return cipherSuites_converter_.convert(cipherSuites_.get(index)); } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param index The index to set the value at. * @param value The cipherSuites to set. * @return This builder for chaining. */ public Builder setCipherSuites( int index, com.craxiom.messaging.wifi.CipherSuite value) { if (value == null) { throw new NullPointerException(); } ensureCipherSuitesIsMutable(); cipherSuites_.set(index, value.getNumber()); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param value The cipherSuites to add. * @return This builder for chaining. */ public Builder addCipherSuites(com.craxiom.messaging.wifi.CipherSuite value) { if (value == null) { throw new NullPointerException(); } ensureCipherSuitesIsMutable(); cipherSuites_.add(value.getNumber()); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param values The cipherSuites to add. * @return This builder for chaining. */ public Builder addAllCipherSuites( java.lang.Iterable values) { ensureCipherSuitesIsMutable(); for (com.craxiom.messaging.wifi.CipherSuite value : values) { cipherSuites_.add(value.getNumber()); } onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @return This builder for chaining. */ public Builder clearCipherSuites() { cipherSuites_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @return A list containing the enum numeric values on the wire for cipherSuites. */ public java.util.List getCipherSuitesValueList() { return java.util.Collections.unmodifiableList(cipherSuites_); } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param index The index of the value to return. * @return The enum numeric value on the wire of cipherSuites at the given index. */ public int getCipherSuitesValue(int index) { return cipherSuites_.get(index); } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param index The index to set the value at. * @param value The enum numeric value on the wire for cipherSuites to set. * @return This builder for chaining. */ public Builder setCipherSuitesValue( int index, int value) { ensureCipherSuitesIsMutable(); cipherSuites_.set(index, value); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param value The enum numeric value on the wire for cipherSuites to add. * @return This builder for chaining. */ public Builder addCipherSuitesValue(int value) { ensureCipherSuitesIsMutable(); cipherSuites_.add(value); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.ciphersuite.CipherSuite cipherSuites = 18; * @param values The enum numeric values on the wire for cipherSuites to add. * @return This builder for chaining. */ public Builder addAllCipherSuitesValue( java.lang.Iterable values) { ensureCipherSuitesIsMutable(); for (int value : values) { cipherSuites_.add(value); } onChanged(); return this; } private java.util.List akmSuites_ = java.util.Collections.emptyList(); private void ensureAkmSuitesIsMutable() { if (!((bitField0_ & 0x01000000) != 0)) { akmSuites_ = new java.util.ArrayList(akmSuites_); bitField0_ |= 0x01000000; } } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @return A list containing the akmSuites. */ public java.util.List getAkmSuitesList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.craxiom.messaging.wifi.AkmSuite>(akmSuites_, akmSuites_converter_); } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @return The count of akmSuites. */ public int getAkmSuitesCount() { return akmSuites_.size(); } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param index The index of the element to return. * @return The akmSuites at the given index. */ public com.craxiom.messaging.wifi.AkmSuite getAkmSuites(int index) { return akmSuites_converter_.convert(akmSuites_.get(index)); } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param index The index to set the value at. * @param value The akmSuites to set. * @return This builder for chaining. */ public Builder setAkmSuites( int index, com.craxiom.messaging.wifi.AkmSuite value) { if (value == null) { throw new NullPointerException(); } ensureAkmSuitesIsMutable(); akmSuites_.set(index, value.getNumber()); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param value The akmSuites to add. * @return This builder for chaining. */ public Builder addAkmSuites(com.craxiom.messaging.wifi.AkmSuite value) { if (value == null) { throw new NullPointerException(); } ensureAkmSuitesIsMutable(); akmSuites_.add(value.getNumber()); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param values The akmSuites to add. * @return This builder for chaining. */ public Builder addAllAkmSuites( java.lang.Iterable values) { ensureAkmSuitesIsMutable(); for (com.craxiom.messaging.wifi.AkmSuite value : values) { akmSuites_.add(value.getNumber()); } onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @return This builder for chaining. */ public Builder clearAkmSuites() { akmSuites_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x01000000); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @return A list containing the enum numeric values on the wire for akmSuites. */ public java.util.List getAkmSuitesValueList() { return java.util.Collections.unmodifiableList(akmSuites_); } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param index The index of the value to return. * @return The enum numeric value on the wire of akmSuites at the given index. */ public int getAkmSuitesValue(int index) { return akmSuites_.get(index); } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param index The index to set the value at. * @param value The enum numeric value on the wire for akmSuites to set. * @return This builder for chaining. */ public Builder setAkmSuitesValue( int index, int value) { ensureAkmSuitesIsMutable(); akmSuites_.set(index, value); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param value The enum numeric value on the wire for akmSuites to add. * @return This builder for chaining. */ public Builder addAkmSuitesValue(int value) { ensureAkmSuitesIsMutable(); akmSuites_.add(value); onChanged(); return this; } /** * repeated .com.craxiom.messaging.wifi.akmsuite.AkmSuite akmSuites = 19; * @param values The enum numeric values on the wire for akmSuites to add. * @return This builder for chaining. */ public Builder addAllAkmSuitesValue( java.lang.Iterable values) { ensureAkmSuitesIsMutable(); for (int value : values) { akmSuites_.add(value); } onChanged(); return this; } private int encryptionType_ = 0; /** * .com.craxiom.messaging.wifi.encryptiontype.EncryptionType encryptionType = 20; * @return The enum numeric value on the wire for encryptionType. */ @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** * .com.craxiom.messaging.wifi.encryptiontype.EncryptionType encryptionType = 20; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ public Builder setEncryptionTypeValue(int value) { encryptionType_ = value; bitField0_ |= 0x02000000; onChanged(); return this; } /** * .com.craxiom.messaging.wifi.encryptiontype.EncryptionType encryptionType = 20; * @return The encryptionType. */ @java.lang.Override public com.craxiom.messaging.wifi.EncryptionType getEncryptionType() { com.craxiom.messaging.wifi.EncryptionType result = com.craxiom.messaging.wifi.EncryptionType.forNumber(encryptionType_); return result == null ? com.craxiom.messaging.wifi.EncryptionType.UNRECOGNIZED : result; } /** * .com.craxiom.messaging.wifi.encryptiontype.EncryptionType encryptionType = 20; * @param value The encryptionType to set. * @return This builder for chaining. */ public Builder setEncryptionType(com.craxiom.messaging.wifi.EncryptionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x02000000; encryptionType_ = value.getNumber(); onChanged(); return this; } /** * .com.craxiom.messaging.wifi.encryptiontype.EncryptionType encryptionType = 20; * @return This builder for chaining. */ public Builder clearEncryptionType() { bitField0_ = (bitField0_ & ~0x02000000); encryptionType_ = 0; onChanged(); return this; } private com.google.protobuf.BoolValue wps_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> wpsBuilder_; /** * .google.protobuf.BoolValue wps = 21; * @return Whether the wps field is set. */ public boolean hasWps() { return ((bitField0_ & 0x04000000) != 0); } /** * .google.protobuf.BoolValue wps = 21; * @return The wps. */ public com.google.protobuf.BoolValue getWps() { if (wpsBuilder_ == null) { return wps_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : wps_; } else { return wpsBuilder_.getMessage(); } } /** * .google.protobuf.BoolValue wps = 21; */ public Builder setWps(com.google.protobuf.BoolValue value) { if (wpsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } wps_ = value; } else { wpsBuilder_.setMessage(value); } bitField0_ |= 0x04000000; onChanged(); return this; } /** * .google.protobuf.BoolValue wps = 21; */ public Builder setWps( com.google.protobuf.BoolValue.Builder builderForValue) { if (wpsBuilder_ == null) { wps_ = builderForValue.build(); } else { wpsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x04000000; onChanged(); return this; } /** * .google.protobuf.BoolValue wps = 21; */ public Builder mergeWps(com.google.protobuf.BoolValue value) { if (wpsBuilder_ == null) { if (((bitField0_ & 0x04000000) != 0) && wps_ != null && wps_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getWpsBuilder().mergeFrom(value); } else { wps_ = value; } } else { wpsBuilder_.mergeFrom(value); } if (wps_ != null) { bitField0_ |= 0x04000000; onChanged(); } return this; } /** * .google.protobuf.BoolValue wps = 21; */ public Builder clearWps() { bitField0_ = (bitField0_ & ~0x04000000); wps_ = null; if (wpsBuilder_ != null) { wpsBuilder_.dispose(); wpsBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.BoolValue wps = 21; */ public com.google.protobuf.BoolValue.Builder getWpsBuilder() { bitField0_ |= 0x04000000; onChanged(); return getWpsFieldBuilder().getBuilder(); } /** * .google.protobuf.BoolValue wps = 21; */ public com.google.protobuf.BoolValueOrBuilder getWpsOrBuilder() { if (wpsBuilder_ != null) { return wpsBuilder_.getMessageOrBuilder(); } else { return wps_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : wps_; } } /** * .google.protobuf.BoolValue wps = 21; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getWpsFieldBuilder() { if (wpsBuilder_ == null) { wpsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getWps(), getParentForChildren(), isClean()); wps_ = null; } return wpsBuilder_; } private com.google.protobuf.BoolValue passpoint_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> passpointBuilder_; /** * .google.protobuf.BoolValue passpoint = 28; * @return Whether the passpoint field is set. */ public boolean hasPasspoint() { return ((bitField0_ & 0x08000000) != 0); } /** * .google.protobuf.BoolValue passpoint = 28; * @return The passpoint. */ public com.google.protobuf.BoolValue getPasspoint() { if (passpointBuilder_ == null) { return passpoint_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : passpoint_; } else { return passpointBuilder_.getMessage(); } } /** * .google.protobuf.BoolValue passpoint = 28; */ public Builder setPasspoint(com.google.protobuf.BoolValue value) { if (passpointBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passpoint_ = value; } else { passpointBuilder_.setMessage(value); } bitField0_ |= 0x08000000; onChanged(); return this; } /** * .google.protobuf.BoolValue passpoint = 28; */ public Builder setPasspoint( com.google.protobuf.BoolValue.Builder builderForValue) { if (passpointBuilder_ == null) { passpoint_ = builderForValue.build(); } else { passpointBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x08000000; onChanged(); return this; } /** * .google.protobuf.BoolValue passpoint = 28; */ public Builder mergePasspoint(com.google.protobuf.BoolValue value) { if (passpointBuilder_ == null) { if (((bitField0_ & 0x08000000) != 0) && passpoint_ != null && passpoint_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getPasspointBuilder().mergeFrom(value); } else { passpoint_ = value; } } else { passpointBuilder_.mergeFrom(value); } if (passpoint_ != null) { bitField0_ |= 0x08000000; onChanged(); } return this; } /** * .google.protobuf.BoolValue passpoint = 28; */ public Builder clearPasspoint() { bitField0_ = (bitField0_ & ~0x08000000); passpoint_ = null; if (passpointBuilder_ != null) { passpointBuilder_.dispose(); passpointBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.BoolValue passpoint = 28; */ public com.google.protobuf.BoolValue.Builder getPasspointBuilder() { bitField0_ |= 0x08000000; onChanged(); return getPasspointFieldBuilder().getBuilder(); } /** * .google.protobuf.BoolValue passpoint = 28; */ public com.google.protobuf.BoolValueOrBuilder getPasspointOrBuilder() { if (passpointBuilder_ != null) { return passpointBuilder_.getMessageOrBuilder(); } else { return passpoint_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : passpoint_; } } /** * .google.protobuf.BoolValue passpoint = 28; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getPasspointFieldBuilder() { if (passpointBuilder_ == null) { passpointBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getPasspoint(), getParentForChildren(), isClean()); passpoint_ = null; } return passpointBuilder_; } private int bandwidth_ = 0; /** * .com.craxiom.messaging.wifi.bandwidth.WifiBandwidth bandwidth = 29; * @return The enum numeric value on the wire for bandwidth. */ @java.lang.Override public int getBandwidthValue() { return bandwidth_; } /** * .com.craxiom.messaging.wifi.bandwidth.WifiBandwidth bandwidth = 29; * @param value The enum numeric value on the wire for bandwidth to set. * @return This builder for chaining. */ public Builder setBandwidthValue(int value) { bandwidth_ = value; bitField0_ |= 0x10000000; onChanged(); return this; } /** * .com.craxiom.messaging.wifi.bandwidth.WifiBandwidth bandwidth = 29; * @return The bandwidth. */ @java.lang.Override public com.craxiom.messaging.wifi.WifiBandwidth getBandwidth() { com.craxiom.messaging.wifi.WifiBandwidth result = com.craxiom.messaging.wifi.WifiBandwidth.forNumber(bandwidth_); return result == null ? com.craxiom.messaging.wifi.WifiBandwidth.UNRECOGNIZED : result; } /** * .com.craxiom.messaging.wifi.bandwidth.WifiBandwidth bandwidth = 29; * @param value The bandwidth to set. * @return This builder for chaining. */ public Builder setBandwidth(com.craxiom.messaging.wifi.WifiBandwidth value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x10000000; bandwidth_ = value.getNumber(); onChanged(); return this; } /** * .com.craxiom.messaging.wifi.bandwidth.WifiBandwidth bandwidth = 29; * @return This builder for chaining. */ public Builder clearBandwidth() { bitField0_ = (bitField0_ & ~0x10000000); bandwidth_ = 0; onChanged(); return this; } private com.google.protobuf.Int32Value channel_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> channelBuilder_; /** * .google.protobuf.Int32Value channel = 22; * @return Whether the channel field is set. */ public boolean hasChannel() { return ((bitField0_ & 0x20000000) != 0); } /** * .google.protobuf.Int32Value channel = 22; * @return The channel. */ public com.google.protobuf.Int32Value getChannel() { if (channelBuilder_ == null) { return channel_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : channel_; } else { return channelBuilder_.getMessage(); } } /** * .google.protobuf.Int32Value channel = 22; */ public Builder setChannel(com.google.protobuf.Int32Value value) { if (channelBuilder_ == null) { if (value == null) { throw new NullPointerException(); } channel_ = value; } else { channelBuilder_.setMessage(value); } bitField0_ |= 0x20000000; onChanged(); return this; } /** * .google.protobuf.Int32Value channel = 22; */ public Builder setChannel( com.google.protobuf.Int32Value.Builder builderForValue) { if (channelBuilder_ == null) { channel_ = builderForValue.build(); } else { channelBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x20000000; onChanged(); return this; } /** * .google.protobuf.Int32Value channel = 22; */ public Builder mergeChannel(com.google.protobuf.Int32Value value) { if (channelBuilder_ == null) { if (((bitField0_ & 0x20000000) != 0) && channel_ != null && channel_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getChannelBuilder().mergeFrom(value); } else { channel_ = value; } } else { channelBuilder_.mergeFrom(value); } if (channel_ != null) { bitField0_ |= 0x20000000; onChanged(); } return this; } /** * .google.protobuf.Int32Value channel = 22; */ public Builder clearChannel() { bitField0_ = (bitField0_ & ~0x20000000); channel_ = null; if (channelBuilder_ != null) { channelBuilder_.dispose(); channelBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.Int32Value channel = 22; */ public com.google.protobuf.Int32Value.Builder getChannelBuilder() { bitField0_ |= 0x20000000; onChanged(); return getChannelFieldBuilder().getBuilder(); } /** * .google.protobuf.Int32Value channel = 22; */ public com.google.protobuf.Int32ValueOrBuilder getChannelOrBuilder() { if (channelBuilder_ != null) { return channelBuilder_.getMessageOrBuilder(); } else { return channel_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : channel_; } } /** * .google.protobuf.Int32Value channel = 22; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getChannelFieldBuilder() { if (channelBuilder_ == null) { channelBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getChannel(), getParentForChildren(), isClean()); channel_ = null; } return channelBuilder_; } private com.google.protobuf.Int32Value frequencyMhz_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> frequencyMhzBuilder_; /** * .google.protobuf.Int32Value frequencyMhz = 23; * @return Whether the frequencyMhz field is set. */ public boolean hasFrequencyMhz() { return ((bitField0_ & 0x40000000) != 0); } /** * .google.protobuf.Int32Value frequencyMhz = 23; * @return The frequencyMhz. */ public com.google.protobuf.Int32Value getFrequencyMhz() { if (frequencyMhzBuilder_ == null) { return frequencyMhz_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : frequencyMhz_; } else { return frequencyMhzBuilder_.getMessage(); } } /** * .google.protobuf.Int32Value frequencyMhz = 23; */ public Builder setFrequencyMhz(com.google.protobuf.Int32Value value) { if (frequencyMhzBuilder_ == null) { if (value == null) { throw new NullPointerException(); } frequencyMhz_ = value; } else { frequencyMhzBuilder_.setMessage(value); } bitField0_ |= 0x40000000; onChanged(); return this; } /** * .google.protobuf.Int32Value frequencyMhz = 23; */ public Builder setFrequencyMhz( com.google.protobuf.Int32Value.Builder builderForValue) { if (frequencyMhzBuilder_ == null) { frequencyMhz_ = builderForValue.build(); } else { frequencyMhzBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x40000000; onChanged(); return this; } /** * .google.protobuf.Int32Value frequencyMhz = 23; */ public Builder mergeFrequencyMhz(com.google.protobuf.Int32Value value) { if (frequencyMhzBuilder_ == null) { if (((bitField0_ & 0x40000000) != 0) && frequencyMhz_ != null && frequencyMhz_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getFrequencyMhzBuilder().mergeFrom(value); } else { frequencyMhz_ = value; } } else { frequencyMhzBuilder_.mergeFrom(value); } if (frequencyMhz_ != null) { bitField0_ |= 0x40000000; onChanged(); } return this; } /** * .google.protobuf.Int32Value frequencyMhz = 23; */ public Builder clearFrequencyMhz() { bitField0_ = (bitField0_ & ~0x40000000); frequencyMhz_ = null; if (frequencyMhzBuilder_ != null) { frequencyMhzBuilder_.dispose(); frequencyMhzBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.Int32Value frequencyMhz = 23; */ public com.google.protobuf.Int32Value.Builder getFrequencyMhzBuilder() { bitField0_ |= 0x40000000; onChanged(); return getFrequencyMhzFieldBuilder().getBuilder(); } /** * .google.protobuf.Int32Value frequencyMhz = 23; */ public com.google.protobuf.Int32ValueOrBuilder getFrequencyMhzOrBuilder() { if (frequencyMhzBuilder_ != null) { return frequencyMhzBuilder_.getMessageOrBuilder(); } else { return frequencyMhz_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : frequencyMhz_; } } /** * .google.protobuf.Int32Value frequencyMhz = 23; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getFrequencyMhzFieldBuilder() { if (frequencyMhzBuilder_ == null) { frequencyMhzBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getFrequencyMhz(), getParentForChildren(), isClean()); frequencyMhz_ = null; } return frequencyMhzBuilder_; } private com.google.protobuf.FloatValue signalStrength_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> signalStrengthBuilder_; /** * .google.protobuf.FloatValue signalStrength = 24; * @return Whether the signalStrength field is set. */ public boolean hasSignalStrength() { return ((bitField0_ & 0x80000000) != 0); } /** * .google.protobuf.FloatValue signalStrength = 24; * @return The signalStrength. */ public com.google.protobuf.FloatValue getSignalStrength() { if (signalStrengthBuilder_ == null) { return signalStrength_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : signalStrength_; } else { return signalStrengthBuilder_.getMessage(); } } /** * .google.protobuf.FloatValue signalStrength = 24; */ public Builder setSignalStrength(com.google.protobuf.FloatValue value) { if (signalStrengthBuilder_ == null) { if (value == null) { throw new NullPointerException(); } signalStrength_ = value; } else { signalStrengthBuilder_.setMessage(value); } bitField0_ |= 0x80000000; onChanged(); return this; } /** * .google.protobuf.FloatValue signalStrength = 24; */ public Builder setSignalStrength( com.google.protobuf.FloatValue.Builder builderForValue) { if (signalStrengthBuilder_ == null) { signalStrength_ = builderForValue.build(); } else { signalStrengthBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x80000000; onChanged(); return this; } /** * .google.protobuf.FloatValue signalStrength = 24; */ public Builder mergeSignalStrength(com.google.protobuf.FloatValue value) { if (signalStrengthBuilder_ == null) { if (((bitField0_ & 0x80000000) != 0) && signalStrength_ != null && signalStrength_ != com.google.protobuf.FloatValue.getDefaultInstance()) { getSignalStrengthBuilder().mergeFrom(value); } else { signalStrength_ = value; } } else { signalStrengthBuilder_.mergeFrom(value); } if (signalStrength_ != null) { bitField0_ |= 0x80000000; onChanged(); } return this; } /** * .google.protobuf.FloatValue signalStrength = 24; */ public Builder clearSignalStrength() { bitField0_ = (bitField0_ & ~0x80000000); signalStrength_ = null; if (signalStrengthBuilder_ != null) { signalStrengthBuilder_.dispose(); signalStrengthBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.FloatValue signalStrength = 24; */ public com.google.protobuf.FloatValue.Builder getSignalStrengthBuilder() { bitField0_ |= 0x80000000; onChanged(); return getSignalStrengthFieldBuilder().getBuilder(); } /** * .google.protobuf.FloatValue signalStrength = 24; */ public com.google.protobuf.FloatValueOrBuilder getSignalStrengthOrBuilder() { if (signalStrengthBuilder_ != null) { return signalStrengthBuilder_.getMessageOrBuilder(); } else { return signalStrength_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : signalStrength_; } } /** * .google.protobuf.FloatValue signalStrength = 24; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> getSignalStrengthFieldBuilder() { if (signalStrengthBuilder_ == null) { signalStrengthBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder>( getSignalStrength(), getParentForChildren(), isClean()); signalStrength_ = null; } return signalStrengthBuilder_; } private com.google.protobuf.FloatValue snr_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> snrBuilder_; /** * .google.protobuf.FloatValue snr = 25; * @return Whether the snr field is set. */ public boolean hasSnr() { return ((bitField1_ & 0x00000001) != 0); } /** * .google.protobuf.FloatValue snr = 25; * @return The snr. */ public com.google.protobuf.FloatValue getSnr() { if (snrBuilder_ == null) { return snr_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : snr_; } else { return snrBuilder_.getMessage(); } } /** * .google.protobuf.FloatValue snr = 25; */ public Builder setSnr(com.google.protobuf.FloatValue value) { if (snrBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snr_ = value; } else { snrBuilder_.setMessage(value); } bitField1_ |= 0x00000001; onChanged(); return this; } /** * .google.protobuf.FloatValue snr = 25; */ public Builder setSnr( com.google.protobuf.FloatValue.Builder builderForValue) { if (snrBuilder_ == null) { snr_ = builderForValue.build(); } else { snrBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000001; onChanged(); return this; } /** * .google.protobuf.FloatValue snr = 25; */ public Builder mergeSnr(com.google.protobuf.FloatValue value) { if (snrBuilder_ == null) { if (((bitField1_ & 0x00000001) != 0) && snr_ != null && snr_ != com.google.protobuf.FloatValue.getDefaultInstance()) { getSnrBuilder().mergeFrom(value); } else { snr_ = value; } } else { snrBuilder_.mergeFrom(value); } if (snr_ != null) { bitField1_ |= 0x00000001; onChanged(); } return this; } /** * .google.protobuf.FloatValue snr = 25; */ public Builder clearSnr() { bitField1_ = (bitField1_ & ~0x00000001); snr_ = null; if (snrBuilder_ != null) { snrBuilder_.dispose(); snrBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.FloatValue snr = 25; */ public com.google.protobuf.FloatValue.Builder getSnrBuilder() { bitField1_ |= 0x00000001; onChanged(); return getSnrFieldBuilder().getBuilder(); } /** * .google.protobuf.FloatValue snr = 25; */ public com.google.protobuf.FloatValueOrBuilder getSnrOrBuilder() { if (snrBuilder_ != null) { return snrBuilder_.getMessageOrBuilder(); } else { return snr_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : snr_; } } /** * .google.protobuf.FloatValue snr = 25; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> getSnrFieldBuilder() { if (snrBuilder_ == null) { snrBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder>( getSnr(), getParentForChildren(), isClean()); snr_ = null; } return snrBuilder_; } private int nodeType_ = 0; /** * .com.craxiom.messaging.wifi.nodetype.NodeType nodeType = 26; * @return The enum numeric value on the wire for nodeType. */ @java.lang.Override public int getNodeTypeValue() { return nodeType_; } /** * .com.craxiom.messaging.wifi.nodetype.NodeType nodeType = 26; * @param value The enum numeric value on the wire for nodeType to set. * @return This builder for chaining. */ public Builder setNodeTypeValue(int value) { nodeType_ = value; bitField1_ |= 0x00000002; onChanged(); return this; } /** * .com.craxiom.messaging.wifi.nodetype.NodeType nodeType = 26; * @return The nodeType. */ @java.lang.Override public com.craxiom.messaging.wifi.NodeType getNodeType() { com.craxiom.messaging.wifi.NodeType result = com.craxiom.messaging.wifi.NodeType.forNumber(nodeType_); return result == null ? com.craxiom.messaging.wifi.NodeType.UNRECOGNIZED : result; } /** * .com.craxiom.messaging.wifi.nodetype.NodeType nodeType = 26; * @param value The nodeType to set. * @return This builder for chaining. */ public Builder setNodeType(com.craxiom.messaging.wifi.NodeType value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000002; nodeType_ = value.getNumber(); onChanged(); return this; } /** * .com.craxiom.messaging.wifi.nodetype.NodeType nodeType = 26; * @return This builder for chaining. */ public Builder clearNodeType() { bitField1_ = (bitField1_ & ~0x00000002); nodeType_ = 0; onChanged(); return this; } private int standard_ = 0; /** * .com.craxiom.messaging.wifi.standard.Standard standard = 27; * @return The enum numeric value on the wire for standard. */ @java.lang.Override public int getStandardValue() { return standard_; } /** * .com.craxiom.messaging.wifi.standard.Standard standard = 27; * @param value The enum numeric value on the wire for standard to set. * @return This builder for chaining. */ public Builder setStandardValue(int value) { standard_ = value; bitField1_ |= 0x00000004; onChanged(); return this; } /** * .com.craxiom.messaging.wifi.standard.Standard standard = 27; * @return The standard. */ @java.lang.Override public com.craxiom.messaging.wifi.Standard getStandard() { com.craxiom.messaging.wifi.Standard result = com.craxiom.messaging.wifi.Standard.forNumber(standard_); return result == null ? com.craxiom.messaging.wifi.Standard.UNRECOGNIZED : result; } /** * .com.craxiom.messaging.wifi.standard.Standard standard = 27; * @param value The standard to set. * @return This builder for chaining. */ public Builder setStandard(com.craxiom.messaging.wifi.Standard value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000004; standard_ = value.getNumber(); onChanged(); return this; } /** * .com.craxiom.messaging.wifi.standard.Standard standard = 27; * @return This builder for chaining. */ public Builder clearStandard() { bitField1_ = (bitField1_ & ~0x00000004); standard_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:com.craxiom.messaging.WifiBeaconRecordData) } // @@protoc_insertion_point(class_scope:com.craxiom.messaging.WifiBeaconRecordData) private static final com.craxiom.messaging.WifiBeaconRecordData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.craxiom.messaging.WifiBeaconRecordData(); } public static com.craxiom.messaging.WifiBeaconRecordData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WifiBeaconRecordData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.craxiom.messaging.WifiBeaconRecordData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy