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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: com/craxiom/messaging/signal_detection.proto
// Protobuf Java Version: 4.27.3

package com.craxiom.messaging;

/**
 * Protobuf type {@code com.craxiom.messaging.SignalDetectionData}
 */
public final class SignalDetectionData extends
    com.google.protobuf.GeneratedMessage implements
    // @@protoc_insertion_point(message_implements:com.craxiom.messaging.SignalDetectionData)
    SignalDetectionDataOrBuilder {
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= */ "",
      SignalDetectionData.class.getName());
  }
  // Use SignalDetectionData.newBuilder() to construct.
  private SignalDetectionData(com.google.protobuf.GeneratedMessage.Builder builder) {
    super(builder);
  }
  private SignalDetectionData() {
    deviceSerialNumber_ = "";
    deviceName_ = "";
    deviceTime_ = "";
    missionId_ = "";
    timeUp_ = "";
    modulation_ = "";
    signalName_ = "";
  }

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

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.craxiom.messaging.SignalDetectionOuterClass.internal_static_com_craxiom_messaging_SignalDetectionData_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.craxiom.messaging.SignalDetectionData.class, com.craxiom.messaging.SignalDetectionData.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 GROUPNUMBER_FIELD_NUMBER = 9;
  private int groupNumber_ = 0;
  /**
   * int32 groupNumber = 9;
   * @return The groupNumber.
   */
  @java.lang.Override
  public int getGroupNumber() {
    return groupNumber_;
  }

  public static final int ACCURACY_FIELD_NUMBER = 10;
  private int accuracy_ = 0;
  /**
   * int32 accuracy = 10;
   * @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 FREQUENCYHZ_FIELD_NUMBER = 12; private long frequencyHz_ = 0L; /** * uint64 frequencyHz = 12; * @return The frequencyHz. */ @java.lang.Override public long getFrequencyHz() { return frequencyHz_; } public static final int BANDWIDTHHZ_FIELD_NUMBER = 13; private com.google.protobuf.Int32Value bandwidthHz_; /** * .google.protobuf.Int32Value bandwidthHz = 13; * @return Whether the bandwidthHz field is set. */ @java.lang.Override public boolean hasBandwidthHz() { return ((bitField0_ & 0x00000001) != 0); } /** * .google.protobuf.Int32Value bandwidthHz = 13; * @return The bandwidthHz. */ @java.lang.Override public com.google.protobuf.Int32Value getBandwidthHz() { return bandwidthHz_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bandwidthHz_; } /** * .google.protobuf.Int32Value bandwidthHz = 13; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getBandwidthHzOrBuilder() { return bandwidthHz_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bandwidthHz_; } public static final int SIGNALSTRENGTH_FIELD_NUMBER = 14; private float signalStrength_ = 0F; /** * float signalStrength = 14; * @return The signalStrength. */ @java.lang.Override public float getSignalStrength() { return signalStrength_; } public static final int SNR_FIELD_NUMBER = 15; private com.google.protobuf.FloatValue snr_; /** * .google.protobuf.FloatValue snr = 15; * @return Whether the snr field is set. */ @java.lang.Override public boolean hasSnr() { return ((bitField0_ & 0x00000002) != 0); } /** * .google.protobuf.FloatValue snr = 15; * @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 = 15; */ @java.lang.Override public com.google.protobuf.FloatValueOrBuilder getSnrOrBuilder() { return snr_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : snr_; } public static final int TIMEUP_FIELD_NUMBER = 16; @SuppressWarnings("serial") private volatile java.lang.Object timeUp_ = ""; /** * string timeUp = 16; * @return The timeUp. */ @java.lang.Override public java.lang.String getTimeUp() { java.lang.Object ref = timeUp_; 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(); timeUp_ = s; return s; } } /** * string timeUp = 16; * @return The bytes for timeUp. */ @java.lang.Override public com.google.protobuf.ByteString getTimeUpBytes() { java.lang.Object ref = timeUp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timeUp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DURATIONSEC_FIELD_NUMBER = 17; private com.google.protobuf.FloatValue durationSec_; /** * .google.protobuf.FloatValue durationSec = 17; * @return Whether the durationSec field is set. */ @java.lang.Override public boolean hasDurationSec() { return ((bitField0_ & 0x00000004) != 0); } /** * .google.protobuf.FloatValue durationSec = 17; * @return The durationSec. */ @java.lang.Override public com.google.protobuf.FloatValue getDurationSec() { return durationSec_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : durationSec_; } /** * .google.protobuf.FloatValue durationSec = 17; */ @java.lang.Override public com.google.protobuf.FloatValueOrBuilder getDurationSecOrBuilder() { return durationSec_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : durationSec_; } public static final int MODULATION_FIELD_NUMBER = 18; @SuppressWarnings("serial") private volatile java.lang.Object modulation_ = ""; /** * string modulation = 18; * @return The modulation. */ @java.lang.Override public java.lang.String getModulation() { java.lang.Object ref = modulation_; 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(); modulation_ = s; return s; } } /** * string modulation = 18; * @return The bytes for modulation. */ @java.lang.Override public com.google.protobuf.ByteString getModulationBytes() { java.lang.Object ref = modulation_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); modulation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIGNALNAME_FIELD_NUMBER = 19; @SuppressWarnings("serial") private volatile java.lang.Object signalName_ = ""; /** * string signalName = 19; * @return The signalName. */ @java.lang.Override public java.lang.String getSignalName() { java.lang.Object ref = signalName_; 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(); signalName_ = s; return s; } } /** * string signalName = 19; * @return The bytes for signalName. */ @java.lang.Override public com.google.protobuf.ByteString getSignalNameBytes() { java.lang.Object ref = signalName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signalName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 { 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 (groupNumber_ != 0) { output.writeInt32(9, groupNumber_); } if (accuracy_ != 0) { output.writeInt32(10, accuracy_); } if (frequencyHz_ != 0L) { output.writeUInt64(12, frequencyHz_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(13, getBandwidthHz()); } if (java.lang.Float.floatToRawIntBits(signalStrength_) != 0) { output.writeFloat(14, signalStrength_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(15, getSnr()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timeUp_)) { com.google.protobuf.GeneratedMessage.writeString(output, 16, timeUp_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(17, getDurationSec()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(modulation_)) { com.google.protobuf.GeneratedMessage.writeString(output, 18, modulation_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(signalName_)) { com.google.protobuf.GeneratedMessage.writeString(output, 19, signalName_); } 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 (groupNumber_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, groupNumber_); } if (accuracy_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, accuracy_); } if (frequencyHz_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(12, frequencyHz_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getBandwidthHz()); } if (java.lang.Float.floatToRawIntBits(signalStrength_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(14, signalStrength_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getSnr()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timeUp_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(16, timeUp_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getDurationSec()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(modulation_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(18, modulation_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(signalName_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(19, signalName_); } 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.SignalDetectionData)) { return super.equals(obj); } com.craxiom.messaging.SignalDetectionData other = (com.craxiom.messaging.SignalDetectionData) 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 (getGroupNumber() != other.getGroupNumber()) 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 (getFrequencyHz() != other.getFrequencyHz()) return false; if (hasBandwidthHz() != other.hasBandwidthHz()) return false; if (hasBandwidthHz()) { if (!getBandwidthHz() .equals(other.getBandwidthHz())) return false; } if (java.lang.Float.floatToIntBits(getSignalStrength()) != java.lang.Float.floatToIntBits( other.getSignalStrength())) return false; if (hasSnr() != other.hasSnr()) return false; if (hasSnr()) { if (!getSnr() .equals(other.getSnr())) return false; } if (!getTimeUp() .equals(other.getTimeUp())) return false; if (hasDurationSec() != other.hasDurationSec()) return false; if (hasDurationSec()) { if (!getDurationSec() .equals(other.getDurationSec())) return false; } if (!getModulation() .equals(other.getModulation())) return false; if (!getSignalName() .equals(other.getSignalName())) 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) + GROUPNUMBER_FIELD_NUMBER; hash = (53 * hash) + getGroupNumber(); 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) + FREQUENCYHZ_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFrequencyHz()); if (hasBandwidthHz()) { hash = (37 * hash) + BANDWIDTHHZ_FIELD_NUMBER; hash = (53 * hash) + getBandwidthHz().hashCode(); } hash = (37 * hash) + SIGNALSTRENGTH_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getSignalStrength()); if (hasSnr()) { hash = (37 * hash) + SNR_FIELD_NUMBER; hash = (53 * hash) + getSnr().hashCode(); } hash = (37 * hash) + TIMEUP_FIELD_NUMBER; hash = (53 * hash) + getTimeUp().hashCode(); if (hasDurationSec()) { hash = (37 * hash) + DURATIONSEC_FIELD_NUMBER; hash = (53 * hash) + getDurationSec().hashCode(); } hash = (37 * hash) + MODULATION_FIELD_NUMBER; hash = (53 * hash) + getModulation().hashCode(); hash = (37 * hash) + SIGNALNAME_FIELD_NUMBER; hash = (53 * hash) + getSignalName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.craxiom.messaging.SignalDetectionData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.craxiom.messaging.SignalDetectionData 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.SignalDetectionData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.craxiom.messaging.SignalDetectionData 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.SignalDetectionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.craxiom.messaging.SignalDetectionData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.craxiom.messaging.SignalDetectionData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.craxiom.messaging.SignalDetectionData 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.SignalDetectionData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static com.craxiom.messaging.SignalDetectionData 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.SignalDetectionData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.craxiom.messaging.SignalDetectionData 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.SignalDetectionData 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.SignalDetectionData} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:com.craxiom.messaging.SignalDetectionData) com.craxiom.messaging.SignalDetectionDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.craxiom.messaging.SignalDetectionOuterClass.internal_static_com_craxiom_messaging_SignalDetectionData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.craxiom.messaging.SignalDetectionOuterClass.internal_static_com_craxiom_messaging_SignalDetectionData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.craxiom.messaging.SignalDetectionData.class, com.craxiom.messaging.SignalDetectionData.Builder.class); } // Construct using com.craxiom.messaging.SignalDetectionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getBandwidthHzFieldBuilder(); getSnrFieldBuilder(); getDurationSecFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; deviceSerialNumber_ = ""; deviceName_ = ""; deviceTime_ = ""; latitude_ = 0D; longitude_ = 0D; altitude_ = 0F; missionId_ = ""; recordNumber_ = 0; groupNumber_ = 0; accuracy_ = 0; heading_ = 0F; pitch_ = 0F; roll_ = 0F; fieldOfView_ = 0F; receiverSensitivity_ = 0F; speed_ = 0F; frequencyHz_ = 0L; bandwidthHz_ = null; if (bandwidthHzBuilder_ != null) { bandwidthHzBuilder_.dispose(); bandwidthHzBuilder_ = null; } signalStrength_ = 0F; snr_ = null; if (snrBuilder_ != null) { snrBuilder_.dispose(); snrBuilder_ = null; } timeUp_ = ""; durationSec_ = null; if (durationSecBuilder_ != null) { durationSecBuilder_.dispose(); durationSecBuilder_ = null; } modulation_ = ""; signalName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.craxiom.messaging.SignalDetectionOuterClass.internal_static_com_craxiom_messaging_SignalDetectionData_descriptor; } @java.lang.Override public com.craxiom.messaging.SignalDetectionData getDefaultInstanceForType() { return com.craxiom.messaging.SignalDetectionData.getDefaultInstance(); } @java.lang.Override public com.craxiom.messaging.SignalDetectionData build() { com.craxiom.messaging.SignalDetectionData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.craxiom.messaging.SignalDetectionData buildPartial() { com.craxiom.messaging.SignalDetectionData result = new com.craxiom.messaging.SignalDetectionData(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.craxiom.messaging.SignalDetectionData 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.groupNumber_ = groupNumber_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.accuracy_ = accuracy_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.heading_ = heading_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.pitch_ = pitch_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.roll_ = roll_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.fieldOfView_ = fieldOfView_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.receiverSensitivity_ = receiverSensitivity_; } if (((from_bitField0_ & 0x00008000) != 0)) { result.speed_ = speed_; } if (((from_bitField0_ & 0x00010000) != 0)) { result.frequencyHz_ = frequencyHz_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00020000) != 0)) { result.bandwidthHz_ = bandwidthHzBuilder_ == null ? bandwidthHz_ : bandwidthHzBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00040000) != 0)) { result.signalStrength_ = signalStrength_; } if (((from_bitField0_ & 0x00080000) != 0)) { result.snr_ = snrBuilder_ == null ? snr_ : snrBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00100000) != 0)) { result.timeUp_ = timeUp_; } if (((from_bitField0_ & 0x00200000) != 0)) { result.durationSec_ = durationSecBuilder_ == null ? durationSec_ : durationSecBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00400000) != 0)) { result.modulation_ = modulation_; } if (((from_bitField0_ & 0x00800000) != 0)) { result.signalName_ = signalName_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.craxiom.messaging.SignalDetectionData) { return mergeFrom((com.craxiom.messaging.SignalDetectionData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.craxiom.messaging.SignalDetectionData other) { if (other == com.craxiom.messaging.SignalDetectionData.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.getGroupNumber() != 0) { setGroupNumber(other.getGroupNumber()); } 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.getFrequencyHz() != 0L) { setFrequencyHz(other.getFrequencyHz()); } if (other.hasBandwidthHz()) { mergeBandwidthHz(other.getBandwidthHz()); } if (other.getSignalStrength() != 0F) { setSignalStrength(other.getSignalStrength()); } if (other.hasSnr()) { mergeSnr(other.getSnr()); } if (!other.getTimeUp().isEmpty()) { timeUp_ = other.timeUp_; bitField0_ |= 0x00100000; onChanged(); } if (other.hasDurationSec()) { mergeDurationSec(other.getDurationSec()); } if (!other.getModulation().isEmpty()) { modulation_ = other.modulation_; bitField0_ |= 0x00400000; onChanged(); } if (!other.getSignalName().isEmpty()) { signalName_ = other.signalName_; bitField0_ |= 0x00800000; onChanged(); } 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: { groupNumber_ = input.readInt32(); bitField0_ |= 0x00000100; break; } // case 72 case 80: { accuracy_ = input.readInt32(); bitField0_ |= 0x00000200; break; } // case 80 case 96: { frequencyHz_ = input.readUInt64(); bitField0_ |= 0x00010000; break; } // case 96 case 106: { input.readMessage( getBandwidthHzFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00020000; break; } // case 106 case 117: { signalStrength_ = input.readFloat(); bitField0_ |= 0x00040000; break; } // case 117 case 122: { input.readMessage( getSnrFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00080000; break; } // case 122 case 130: { timeUp_ = input.readStringRequireUtf8(); bitField0_ |= 0x00100000; break; } // case 130 case 138: { input.readMessage( getDurationSecFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00200000; break; } // case 138 case 146: { modulation_ = input.readStringRequireUtf8(); bitField0_ |= 0x00400000; break; } // case 146 case 154: { signalName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00800000; break; } // case 154 case 405: { heading_ = input.readFloat(); bitField0_ |= 0x00000400; break; } // case 405 case 413: { pitch_ = input.readFloat(); bitField0_ |= 0x00000800; break; } // case 413 case 421: { roll_ = input.readFloat(); bitField0_ |= 0x00001000; break; } // case 421 case 429: { fieldOfView_ = input.readFloat(); bitField0_ |= 0x00002000; break; } // case 429 case 437: { receiverSensitivity_ = input.readFloat(); bitField0_ |= 0x00004000; break; } // case 437 case 445: { speed_ = input.readFloat(); bitField0_ |= 0x00008000; 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 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 groupNumber_ ; /** * int32 groupNumber = 9; * @return The groupNumber. */ @java.lang.Override public int getGroupNumber() { return groupNumber_; } /** * int32 groupNumber = 9; * @param value The groupNumber to set. * @return This builder for chaining. */ public Builder setGroupNumber(int value) { groupNumber_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * int32 groupNumber = 9; * @return This builder for chaining. */ public Builder clearGroupNumber() { bitField0_ = (bitField0_ & ~0x00000100); groupNumber_ = 0; onChanged(); return this; } private int accuracy_ ; /** * int32 accuracy = 10; * @return The accuracy. */ @java.lang.Override public int getAccuracy() { return accuracy_; } /** * int32 accuracy = 10; * @param value The accuracy to set. * @return This builder for chaining. */ public Builder setAccuracy(int value) { accuracy_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * int32 accuracy = 10; * @return This builder for chaining. */ public Builder clearAccuracy() { bitField0_ = (bitField0_ & ~0x00000200); 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_ |= 0x00000400; onChanged(); return this; } /** *
     * Orientation of sensor and sensor parameters. optional.
     * 
* * float heading = 50; * @return This builder for chaining. */ public Builder clearHeading() { bitField0_ = (bitField0_ & ~0x00000400); 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_ |= 0x00000800; onChanged(); return this; } /** * float pitch = 51; * @return This builder for chaining. */ public Builder clearPitch() { bitField0_ = (bitField0_ & ~0x00000800); 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_ |= 0x00001000; onChanged(); return this; } /** * float roll = 52; * @return This builder for chaining. */ public Builder clearRoll() { bitField0_ = (bitField0_ & ~0x00001000); 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_ |= 0x00002000; onChanged(); return this; } /** * float fieldOfView = 53; * @return This builder for chaining. */ public Builder clearFieldOfView() { bitField0_ = (bitField0_ & ~0x00002000); 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_ |= 0x00004000; onChanged(); return this; } /** * float receiverSensitivity = 54; * @return This builder for chaining. */ public Builder clearReceiverSensitivity() { bitField0_ = (bitField0_ & ~0x00004000); 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_ |= 0x00008000; onChanged(); return this; } /** * float speed = 55; * @return This builder for chaining. */ public Builder clearSpeed() { bitField0_ = (bitField0_ & ~0x00008000); speed_ = 0F; onChanged(); return this; } private long frequencyHz_ ; /** * uint64 frequencyHz = 12; * @return The frequencyHz. */ @java.lang.Override public long getFrequencyHz() { return frequencyHz_; } /** * uint64 frequencyHz = 12; * @param value The frequencyHz to set. * @return This builder for chaining. */ public Builder setFrequencyHz(long value) { frequencyHz_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** * uint64 frequencyHz = 12; * @return This builder for chaining. */ public Builder clearFrequencyHz() { bitField0_ = (bitField0_ & ~0x00010000); frequencyHz_ = 0L; onChanged(); return this; } private com.google.protobuf.Int32Value bandwidthHz_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> bandwidthHzBuilder_; /** * .google.protobuf.Int32Value bandwidthHz = 13; * @return Whether the bandwidthHz field is set. */ public boolean hasBandwidthHz() { return ((bitField0_ & 0x00020000) != 0); } /** * .google.protobuf.Int32Value bandwidthHz = 13; * @return The bandwidthHz. */ public com.google.protobuf.Int32Value getBandwidthHz() { if (bandwidthHzBuilder_ == null) { return bandwidthHz_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bandwidthHz_; } else { return bandwidthHzBuilder_.getMessage(); } } /** * .google.protobuf.Int32Value bandwidthHz = 13; */ public Builder setBandwidthHz(com.google.protobuf.Int32Value value) { if (bandwidthHzBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bandwidthHz_ = value; } else { bandwidthHzBuilder_.setMessage(value); } bitField0_ |= 0x00020000; onChanged(); return this; } /** * .google.protobuf.Int32Value bandwidthHz = 13; */ public Builder setBandwidthHz( com.google.protobuf.Int32Value.Builder builderForValue) { if (bandwidthHzBuilder_ == null) { bandwidthHz_ = builderForValue.build(); } else { bandwidthHzBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00020000; onChanged(); return this; } /** * .google.protobuf.Int32Value bandwidthHz = 13; */ public Builder mergeBandwidthHz(com.google.protobuf.Int32Value value) { if (bandwidthHzBuilder_ == null) { if (((bitField0_ & 0x00020000) != 0) && bandwidthHz_ != null && bandwidthHz_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getBandwidthHzBuilder().mergeFrom(value); } else { bandwidthHz_ = value; } } else { bandwidthHzBuilder_.mergeFrom(value); } if (bandwidthHz_ != null) { bitField0_ |= 0x00020000; onChanged(); } return this; } /** * .google.protobuf.Int32Value bandwidthHz = 13; */ public Builder clearBandwidthHz() { bitField0_ = (bitField0_ & ~0x00020000); bandwidthHz_ = null; if (bandwidthHzBuilder_ != null) { bandwidthHzBuilder_.dispose(); bandwidthHzBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.Int32Value bandwidthHz = 13; */ public com.google.protobuf.Int32Value.Builder getBandwidthHzBuilder() { bitField0_ |= 0x00020000; onChanged(); return getBandwidthHzFieldBuilder().getBuilder(); } /** * .google.protobuf.Int32Value bandwidthHz = 13; */ public com.google.protobuf.Int32ValueOrBuilder getBandwidthHzOrBuilder() { if (bandwidthHzBuilder_ != null) { return bandwidthHzBuilder_.getMessageOrBuilder(); } else { return bandwidthHz_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bandwidthHz_; } } /** * .google.protobuf.Int32Value bandwidthHz = 13; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getBandwidthHzFieldBuilder() { if (bandwidthHzBuilder_ == null) { bandwidthHzBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getBandwidthHz(), getParentForChildren(), isClean()); bandwidthHz_ = null; } return bandwidthHzBuilder_; } private float signalStrength_ ; /** * float signalStrength = 14; * @return The signalStrength. */ @java.lang.Override public float getSignalStrength() { return signalStrength_; } /** * float signalStrength = 14; * @param value The signalStrength to set. * @return This builder for chaining. */ public Builder setSignalStrength(float value) { signalStrength_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** * float signalStrength = 14; * @return This builder for chaining. */ public Builder clearSignalStrength() { bitField0_ = (bitField0_ & ~0x00040000); signalStrength_ = 0F; onChanged(); return this; } 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 = 15; * @return Whether the snr field is set. */ public boolean hasSnr() { return ((bitField0_ & 0x00080000) != 0); } /** * .google.protobuf.FloatValue snr = 15; * @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 = 15; */ public Builder setSnr(com.google.protobuf.FloatValue value) { if (snrBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snr_ = value; } else { snrBuilder_.setMessage(value); } bitField0_ |= 0x00080000; onChanged(); return this; } /** * .google.protobuf.FloatValue snr = 15; */ public Builder setSnr( com.google.protobuf.FloatValue.Builder builderForValue) { if (snrBuilder_ == null) { snr_ = builderForValue.build(); } else { snrBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00080000; onChanged(); return this; } /** * .google.protobuf.FloatValue snr = 15; */ public Builder mergeSnr(com.google.protobuf.FloatValue value) { if (snrBuilder_ == null) { if (((bitField0_ & 0x00080000) != 0) && snr_ != null && snr_ != com.google.protobuf.FloatValue.getDefaultInstance()) { getSnrBuilder().mergeFrom(value); } else { snr_ = value; } } else { snrBuilder_.mergeFrom(value); } if (snr_ != null) { bitField0_ |= 0x00080000; onChanged(); } return this; } /** * .google.protobuf.FloatValue snr = 15; */ public Builder clearSnr() { bitField0_ = (bitField0_ & ~0x00080000); snr_ = null; if (snrBuilder_ != null) { snrBuilder_.dispose(); snrBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.FloatValue snr = 15; */ public com.google.protobuf.FloatValue.Builder getSnrBuilder() { bitField0_ |= 0x00080000; onChanged(); return getSnrFieldBuilder().getBuilder(); } /** * .google.protobuf.FloatValue snr = 15; */ 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 = 15; */ 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 java.lang.Object timeUp_ = ""; /** * string timeUp = 16; * @return The timeUp. */ public java.lang.String getTimeUp() { java.lang.Object ref = timeUp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeUp_ = s; return s; } else { return (java.lang.String) ref; } } /** * string timeUp = 16; * @return The bytes for timeUp. */ public com.google.protobuf.ByteString getTimeUpBytes() { java.lang.Object ref = timeUp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timeUp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string timeUp = 16; * @param value The timeUp to set. * @return This builder for chaining. */ public Builder setTimeUp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timeUp_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** * string timeUp = 16; * @return This builder for chaining. */ public Builder clearTimeUp() { timeUp_ = getDefaultInstance().getTimeUp(); bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } /** * string timeUp = 16; * @param value The bytes for timeUp to set. * @return This builder for chaining. */ public Builder setTimeUpBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timeUp_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } private com.google.protobuf.FloatValue durationSec_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> durationSecBuilder_; /** * .google.protobuf.FloatValue durationSec = 17; * @return Whether the durationSec field is set. */ public boolean hasDurationSec() { return ((bitField0_ & 0x00200000) != 0); } /** * .google.protobuf.FloatValue durationSec = 17; * @return The durationSec. */ public com.google.protobuf.FloatValue getDurationSec() { if (durationSecBuilder_ == null) { return durationSec_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : durationSec_; } else { return durationSecBuilder_.getMessage(); } } /** * .google.protobuf.FloatValue durationSec = 17; */ public Builder setDurationSec(com.google.protobuf.FloatValue value) { if (durationSecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } durationSec_ = value; } else { durationSecBuilder_.setMessage(value); } bitField0_ |= 0x00200000; onChanged(); return this; } /** * .google.protobuf.FloatValue durationSec = 17; */ public Builder setDurationSec( com.google.protobuf.FloatValue.Builder builderForValue) { if (durationSecBuilder_ == null) { durationSec_ = builderForValue.build(); } else { durationSecBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00200000; onChanged(); return this; } /** * .google.protobuf.FloatValue durationSec = 17; */ public Builder mergeDurationSec(com.google.protobuf.FloatValue value) { if (durationSecBuilder_ == null) { if (((bitField0_ & 0x00200000) != 0) && durationSec_ != null && durationSec_ != com.google.protobuf.FloatValue.getDefaultInstance()) { getDurationSecBuilder().mergeFrom(value); } else { durationSec_ = value; } } else { durationSecBuilder_.mergeFrom(value); } if (durationSec_ != null) { bitField0_ |= 0x00200000; onChanged(); } return this; } /** * .google.protobuf.FloatValue durationSec = 17; */ public Builder clearDurationSec() { bitField0_ = (bitField0_ & ~0x00200000); durationSec_ = null; if (durationSecBuilder_ != null) { durationSecBuilder_.dispose(); durationSecBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.FloatValue durationSec = 17; */ public com.google.protobuf.FloatValue.Builder getDurationSecBuilder() { bitField0_ |= 0x00200000; onChanged(); return getDurationSecFieldBuilder().getBuilder(); } /** * .google.protobuf.FloatValue durationSec = 17; */ public com.google.protobuf.FloatValueOrBuilder getDurationSecOrBuilder() { if (durationSecBuilder_ != null) { return durationSecBuilder_.getMessageOrBuilder(); } else { return durationSec_ == null ? com.google.protobuf.FloatValue.getDefaultInstance() : durationSec_; } } /** * .google.protobuf.FloatValue durationSec = 17; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> getDurationSecFieldBuilder() { if (durationSecBuilder_ == null) { durationSecBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder>( getDurationSec(), getParentForChildren(), isClean()); durationSec_ = null; } return durationSecBuilder_; } private java.lang.Object modulation_ = ""; /** * string modulation = 18; * @return The modulation. */ public java.lang.String getModulation() { java.lang.Object ref = modulation_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); modulation_ = s; return s; } else { return (java.lang.String) ref; } } /** * string modulation = 18; * @return The bytes for modulation. */ public com.google.protobuf.ByteString getModulationBytes() { java.lang.Object ref = modulation_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); modulation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string modulation = 18; * @param value The modulation to set. * @return This builder for chaining. */ public Builder setModulation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } modulation_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** * string modulation = 18; * @return This builder for chaining. */ public Builder clearModulation() { modulation_ = getDefaultInstance().getModulation(); bitField0_ = (bitField0_ & ~0x00400000); onChanged(); return this; } /** * string modulation = 18; * @param value The bytes for modulation to set. * @return This builder for chaining. */ public Builder setModulationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); modulation_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } private java.lang.Object signalName_ = ""; /** * string signalName = 19; * @return The signalName. */ public java.lang.String getSignalName() { java.lang.Object ref = signalName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signalName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signalName = 19; * @return The bytes for signalName. */ public com.google.protobuf.ByteString getSignalNameBytes() { java.lang.Object ref = signalName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signalName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signalName = 19; * @param value The signalName to set. * @return This builder for chaining. */ public Builder setSignalName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signalName_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } /** * string signalName = 19; * @return This builder for chaining. */ public Builder clearSignalName() { signalName_ = getDefaultInstance().getSignalName(); bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } /** * string signalName = 19; * @param value The bytes for signalName to set. * @return This builder for chaining. */ public Builder setSignalNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signalName_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:com.craxiom.messaging.SignalDetectionData) } // @@protoc_insertion_point(class_scope:com.craxiom.messaging.SignalDetectionData) private static final com.craxiom.messaging.SignalDetectionData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.craxiom.messaging.SignalDetectionData(); } public static com.craxiom.messaging.SignalDetectionData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SignalDetectionData 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.SignalDetectionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy