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

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

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

package com.craxiom.messaging;

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

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

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

  private int bitField0_;
  public static final int SID_FIELD_NUMBER = 1;
  private com.google.protobuf.Int32Value sid_;
  /**
   * .google.protobuf.Int32Value sid = 1;
   * @return Whether the sid field is set.
   */
  @java.lang.Override
  public boolean hasSid() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .google.protobuf.Int32Value sid = 1;
   * @return The sid.
   */
  @java.lang.Override
  public com.google.protobuf.Int32Value getSid() {
    return sid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sid_;
  }
  /**
   * .google.protobuf.Int32Value sid = 1;
   */
  @java.lang.Override
  public com.google.protobuf.Int32ValueOrBuilder getSidOrBuilder() {
    return sid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sid_;
  }

  public static final int NID_FIELD_NUMBER = 2;
  private com.google.protobuf.Int32Value nid_;
  /**
   * .google.protobuf.Int32Value nid = 2;
   * @return Whether the nid field is set.
   */
  @java.lang.Override
  public boolean hasNid() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * .google.protobuf.Int32Value nid = 2;
   * @return The nid.
   */
  @java.lang.Override
  public com.google.protobuf.Int32Value getNid() {
    return nid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : nid_;
  }
  /**
   * .google.protobuf.Int32Value nid = 2;
   */
  @java.lang.Override
  public com.google.protobuf.Int32ValueOrBuilder getNidOrBuilder() {
    return nid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : nid_;
  }

  public static final int BSID_FIELD_NUMBER = 3;
  private com.google.protobuf.Int32Value bsid_;
  /**
   * .google.protobuf.Int32Value bsid = 3;
   * @return Whether the bsid field is set.
   */
  @java.lang.Override
  public boolean hasBsid() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * .google.protobuf.Int32Value bsid = 3;
   * @return The bsid.
   */
  @java.lang.Override
  public com.google.protobuf.Int32Value getBsid() {
    return bsid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bsid_;
  }
  /**
   * .google.protobuf.Int32Value bsid = 3;
   */
  @java.lang.Override
  public com.google.protobuf.Int32ValueOrBuilder getBsidOrBuilder() {
    return bsid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bsid_;
  }

  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 (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getSid());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(2, getNid());
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(3, getBsid());
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getSid());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getNid());
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, getBsid());
    }
    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.CellIdentityCdma)) {
      return super.equals(obj);
    }
    com.craxiom.messaging.CellIdentityCdma other = (com.craxiom.messaging.CellIdentityCdma) obj;

    if (hasSid() != other.hasSid()) return false;
    if (hasSid()) {
      if (!getSid()
          .equals(other.getSid())) return false;
    }
    if (hasNid() != other.hasNid()) return false;
    if (hasNid()) {
      if (!getNid()
          .equals(other.getNid())) return false;
    }
    if (hasBsid() != other.hasBsid()) return false;
    if (hasBsid()) {
      if (!getBsid()
          .equals(other.getBsid())) 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();
    if (hasSid()) {
      hash = (37 * hash) + SID_FIELD_NUMBER;
      hash = (53 * hash) + getSid().hashCode();
    }
    if (hasNid()) {
      hash = (37 * hash) + NID_FIELD_NUMBER;
      hash = (53 * hash) + getNid().hashCode();
    }
    if (hasBsid()) {
      hash = (37 * hash) + BSID_FIELD_NUMBER;
      hash = (53 * hash) + getBsid().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.craxiom.messaging.CellIdentityCdma parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.craxiom.messaging.CellIdentityCdma 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.CellIdentityCdma parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.craxiom.messaging.CellIdentityCdma 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.CellIdentityCdma parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.craxiom.messaging.CellIdentityCdma parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.craxiom.messaging.CellIdentityCdma parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseWithIOException(PARSER, input);
  }
  public static com.craxiom.messaging.CellIdentityCdma 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.CellIdentityCdma parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static com.craxiom.messaging.CellIdentityCdma 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.CellIdentityCdma parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseWithIOException(PARSER, input);
  }
  public static com.craxiom.messaging.CellIdentityCdma 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.CellIdentityCdma 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.CellIdentityCdma}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessage.Builder implements
      // @@protoc_insertion_point(builder_implements:com.craxiom.messaging.CellIdentityCdma)
      com.craxiom.messaging.CellIdentityCdmaOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityCdma_descriptor;
    }

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

    // Construct using com.craxiom.messaging.CellIdentityCdma.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessage
              .alwaysUseFieldBuilders) {
        getSidFieldBuilder();
        getNidFieldBuilder();
        getBsidFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      sid_ = null;
      if (sidBuilder_ != null) {
        sidBuilder_.dispose();
        sidBuilder_ = null;
      }
      nid_ = null;
      if (nidBuilder_ != null) {
        nidBuilder_.dispose();
        nidBuilder_ = null;
      }
      bsid_ = null;
      if (bsidBuilder_ != null) {
        bsidBuilder_.dispose();
        bsidBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.craxiom.messaging.PhoneStateOuterClass.internal_static_com_craxiom_messaging_CellIdentityCdma_descriptor;
    }

    @java.lang.Override
    public com.craxiom.messaging.CellIdentityCdma getDefaultInstanceForType() {
      return com.craxiom.messaging.CellIdentityCdma.getDefaultInstance();
    }

    @java.lang.Override
    public com.craxiom.messaging.CellIdentityCdma build() {
      com.craxiom.messaging.CellIdentityCdma result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.craxiom.messaging.CellIdentityCdma buildPartial() {
      com.craxiom.messaging.CellIdentityCdma result = new com.craxiom.messaging.CellIdentityCdma(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartial0(com.craxiom.messaging.CellIdentityCdma result) {
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.sid_ = sidBuilder_ == null
            ? sid_
            : sidBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.nid_ = nidBuilder_ == null
            ? nid_
            : nidBuilder_.build();
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.bsid_ = bsidBuilder_ == null
            ? bsid_
            : bsidBuilder_.build();
        to_bitField0_ |= 0x00000004;
      }
      result.bitField0_ |= to_bitField0_;
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.craxiom.messaging.CellIdentityCdma) {
        return mergeFrom((com.craxiom.messaging.CellIdentityCdma)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.craxiom.messaging.CellIdentityCdma other) {
      if (other == com.craxiom.messaging.CellIdentityCdma.getDefaultInstance()) return this;
      if (other.hasSid()) {
        mergeSid(other.getSid());
      }
      if (other.hasNid()) {
        mergeNid(other.getNid());
      }
      if (other.hasBsid()) {
        mergeBsid(other.getBsid());
      }
      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: {
              input.readMessage(
                  getSidFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              input.readMessage(
                  getNidFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              input.readMessage(
                  getBsidFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            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 com.google.protobuf.Int32Value sid_;
    private com.google.protobuf.SingleFieldBuilder<
        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> sidBuilder_;
    /**
     * .google.protobuf.Int32Value sid = 1;
     * @return Whether the sid field is set.
     */
    public boolean hasSid() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * .google.protobuf.Int32Value sid = 1;
     * @return The sid.
     */
    public com.google.protobuf.Int32Value getSid() {
      if (sidBuilder_ == null) {
        return sid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sid_;
      } else {
        return sidBuilder_.getMessage();
      }
    }
    /**
     * .google.protobuf.Int32Value sid = 1;
     */
    public Builder setSid(com.google.protobuf.Int32Value value) {
      if (sidBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        sid_ = value;
      } else {
        sidBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value sid = 1;
     */
    public Builder setSid(
        com.google.protobuf.Int32Value.Builder builderForValue) {
      if (sidBuilder_ == null) {
        sid_ = builderForValue.build();
      } else {
        sidBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value sid = 1;
     */
    public Builder mergeSid(com.google.protobuf.Int32Value value) {
      if (sidBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0) &&
          sid_ != null &&
          sid_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
          getSidBuilder().mergeFrom(value);
        } else {
          sid_ = value;
        }
      } else {
        sidBuilder_.mergeFrom(value);
      }
      if (sid_ != null) {
        bitField0_ |= 0x00000001;
        onChanged();
      }
      return this;
    }
    /**
     * .google.protobuf.Int32Value sid = 1;
     */
    public Builder clearSid() {
      bitField0_ = (bitField0_ & ~0x00000001);
      sid_ = null;
      if (sidBuilder_ != null) {
        sidBuilder_.dispose();
        sidBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value sid = 1;
     */
    public com.google.protobuf.Int32Value.Builder getSidBuilder() {
      bitField0_ |= 0x00000001;
      onChanged();
      return getSidFieldBuilder().getBuilder();
    }
    /**
     * .google.protobuf.Int32Value sid = 1;
     */
    public com.google.protobuf.Int32ValueOrBuilder getSidOrBuilder() {
      if (sidBuilder_ != null) {
        return sidBuilder_.getMessageOrBuilder();
      } else {
        return sid_ == null ?
            com.google.protobuf.Int32Value.getDefaultInstance() : sid_;
      }
    }
    /**
     * .google.protobuf.Int32Value sid = 1;
     */
    private com.google.protobuf.SingleFieldBuilder<
        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
        getSidFieldBuilder() {
      if (sidBuilder_ == null) {
        sidBuilder_ = new com.google.protobuf.SingleFieldBuilder<
            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
                getSid(),
                getParentForChildren(),
                isClean());
        sid_ = null;
      }
      return sidBuilder_;
    }

    private com.google.protobuf.Int32Value nid_;
    private com.google.protobuf.SingleFieldBuilder<
        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> nidBuilder_;
    /**
     * .google.protobuf.Int32Value nid = 2;
     * @return Whether the nid field is set.
     */
    public boolean hasNid() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * .google.protobuf.Int32Value nid = 2;
     * @return The nid.
     */
    public com.google.protobuf.Int32Value getNid() {
      if (nidBuilder_ == null) {
        return nid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : nid_;
      } else {
        return nidBuilder_.getMessage();
      }
    }
    /**
     * .google.protobuf.Int32Value nid = 2;
     */
    public Builder setNid(com.google.protobuf.Int32Value value) {
      if (nidBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        nid_ = value;
      } else {
        nidBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value nid = 2;
     */
    public Builder setNid(
        com.google.protobuf.Int32Value.Builder builderForValue) {
      if (nidBuilder_ == null) {
        nid_ = builderForValue.build();
      } else {
        nidBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value nid = 2;
     */
    public Builder mergeNid(com.google.protobuf.Int32Value value) {
      if (nidBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0) &&
          nid_ != null &&
          nid_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
          getNidBuilder().mergeFrom(value);
        } else {
          nid_ = value;
        }
      } else {
        nidBuilder_.mergeFrom(value);
      }
      if (nid_ != null) {
        bitField0_ |= 0x00000002;
        onChanged();
      }
      return this;
    }
    /**
     * .google.protobuf.Int32Value nid = 2;
     */
    public Builder clearNid() {
      bitField0_ = (bitField0_ & ~0x00000002);
      nid_ = null;
      if (nidBuilder_ != null) {
        nidBuilder_.dispose();
        nidBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value nid = 2;
     */
    public com.google.protobuf.Int32Value.Builder getNidBuilder() {
      bitField0_ |= 0x00000002;
      onChanged();
      return getNidFieldBuilder().getBuilder();
    }
    /**
     * .google.protobuf.Int32Value nid = 2;
     */
    public com.google.protobuf.Int32ValueOrBuilder getNidOrBuilder() {
      if (nidBuilder_ != null) {
        return nidBuilder_.getMessageOrBuilder();
      } else {
        return nid_ == null ?
            com.google.protobuf.Int32Value.getDefaultInstance() : nid_;
      }
    }
    /**
     * .google.protobuf.Int32Value nid = 2;
     */
    private com.google.protobuf.SingleFieldBuilder<
        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
        getNidFieldBuilder() {
      if (nidBuilder_ == null) {
        nidBuilder_ = new com.google.protobuf.SingleFieldBuilder<
            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
                getNid(),
                getParentForChildren(),
                isClean());
        nid_ = null;
      }
      return nidBuilder_;
    }

    private com.google.protobuf.Int32Value bsid_;
    private com.google.protobuf.SingleFieldBuilder<
        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> bsidBuilder_;
    /**
     * .google.protobuf.Int32Value bsid = 3;
     * @return Whether the bsid field is set.
     */
    public boolean hasBsid() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * .google.protobuf.Int32Value bsid = 3;
     * @return The bsid.
     */
    public com.google.protobuf.Int32Value getBsid() {
      if (bsidBuilder_ == null) {
        return bsid_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : bsid_;
      } else {
        return bsidBuilder_.getMessage();
      }
    }
    /**
     * .google.protobuf.Int32Value bsid = 3;
     */
    public Builder setBsid(com.google.protobuf.Int32Value value) {
      if (bsidBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        bsid_ = value;
      } else {
        bsidBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value bsid = 3;
     */
    public Builder setBsid(
        com.google.protobuf.Int32Value.Builder builderForValue) {
      if (bsidBuilder_ == null) {
        bsid_ = builderForValue.build();
      } else {
        bsidBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value bsid = 3;
     */
    public Builder mergeBsid(com.google.protobuf.Int32Value value) {
      if (bsidBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0) &&
          bsid_ != null &&
          bsid_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
          getBsidBuilder().mergeFrom(value);
        } else {
          bsid_ = value;
        }
      } else {
        bsidBuilder_.mergeFrom(value);
      }
      if (bsid_ != null) {
        bitField0_ |= 0x00000004;
        onChanged();
      }
      return this;
    }
    /**
     * .google.protobuf.Int32Value bsid = 3;
     */
    public Builder clearBsid() {
      bitField0_ = (bitField0_ & ~0x00000004);
      bsid_ = null;
      if (bsidBuilder_ != null) {
        bsidBuilder_.dispose();
        bsidBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Int32Value bsid = 3;
     */
    public com.google.protobuf.Int32Value.Builder getBsidBuilder() {
      bitField0_ |= 0x00000004;
      onChanged();
      return getBsidFieldBuilder().getBuilder();
    }
    /**
     * .google.protobuf.Int32Value bsid = 3;
     */
    public com.google.protobuf.Int32ValueOrBuilder getBsidOrBuilder() {
      if (bsidBuilder_ != null) {
        return bsidBuilder_.getMessageOrBuilder();
      } else {
        return bsid_ == null ?
            com.google.protobuf.Int32Value.getDefaultInstance() : bsid_;
      }
    }
    /**
     * .google.protobuf.Int32Value bsid = 3;
     */
    private com.google.protobuf.SingleFieldBuilder<
        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
        getBsidFieldBuilder() {
      if (bsidBuilder_ == null) {
        bsidBuilder_ = new com.google.protobuf.SingleFieldBuilder<
            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
                getBsid(),
                getParentForChildren(),
                isClean());
        bsid_ = null;
      }
      return bsidBuilder_;
    }

    // @@protoc_insertion_point(builder_scope:com.craxiom.messaging.CellIdentityCdma)
  }

  // @@protoc_insertion_point(class_scope:com.craxiom.messaging.CellIdentityCdma)
  private static final com.craxiom.messaging.CellIdentityCdma DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.craxiom.messaging.CellIdentityCdma();
  }

  public static com.craxiom.messaging.CellIdentityCdma getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public CellIdentityCdma 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.CellIdentityCdma getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy