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

de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: clientserver/protocol/bootstrapping/bootstrap.proto

package de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap;

/**
 * Protobuf type {@code de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage}
 */
public final class BootstrapMessage extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage)
    BootstrapMessageOrBuilder {
private static final long serialVersionUID = 0L;
  // Use BootstrapMessage.newBuilder() to construct.
  private BootstrapMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private BootstrapMessage() {
    coreControlPubIpcFile_ = "";
    coreControlSubIpcFile_ = "";
    coreDataPubIpcFile_ = "";
    coreDataSubIpcFile_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new BootstrapMessage();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private BootstrapMessage(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 8: {

            coreControlPubTcpPort_ = input.readInt32();
            break;
          }
          case 16: {

            coreControlSubTcpPort_ = input.readInt32();
            break;
          }
          case 24: {

            coreDataPubTcpPort_ = input.readInt32();
            break;
          }
          case 32: {

            coreDataSubTcpPort_ = input.readInt32();
            break;
          }
          case 42: {
            java.lang.String s = input.readStringRequireUtf8();

            coreControlPubIpcFile_ = s;
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();

            coreControlSubIpcFile_ = s;
            break;
          }
          case 58: {
            java.lang.String s = input.readStringRequireUtf8();

            coreDataPubIpcFile_ = s;
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();

            coreDataSubIpcFile_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.Bootstrap.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_bootstrap_BootstrapMessage_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.Bootstrap.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_bootstrap_BootstrapMessage_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage.class, de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage.Builder.class);
  }

  public static final int CORE_CONTROL_PUB_TCP_PORT_FIELD_NUMBER = 1;
  private int coreControlPubTcpPort_;
  /**
   * int32 core_control_pub_tcp_port = 1;
   * @return The coreControlPubTcpPort.
   */
  @java.lang.Override
  public int getCoreControlPubTcpPort() {
    return coreControlPubTcpPort_;
  }

  public static final int CORE_CONTROL_SUB_TCP_PORT_FIELD_NUMBER = 2;
  private int coreControlSubTcpPort_;
  /**
   * int32 core_control_sub_tcp_port = 2;
   * @return The coreControlSubTcpPort.
   */
  @java.lang.Override
  public int getCoreControlSubTcpPort() {
    return coreControlSubTcpPort_;
  }

  public static final int CORE_DATA_PUB_TCP_PORT_FIELD_NUMBER = 3;
  private int coreDataPubTcpPort_;
  /**
   * int32 core_data_pub_tcp_port = 3;
   * @return The coreDataPubTcpPort.
   */
  @java.lang.Override
  public int getCoreDataPubTcpPort() {
    return coreDataPubTcpPort_;
  }

  public static final int CORE_DATA_SUB_TCP_PORT_FIELD_NUMBER = 4;
  private int coreDataSubTcpPort_;
  /**
   * int32 core_data_sub_tcp_port = 4;
   * @return The coreDataSubTcpPort.
   */
  @java.lang.Override
  public int getCoreDataSubTcpPort() {
    return coreDataSubTcpPort_;
  }

  public static final int CORE_CONTROL_PUB_IPC_FILE_FIELD_NUMBER = 5;
  private volatile java.lang.Object coreControlPubIpcFile_;
  /**
   * string core_control_pub_ipc_file = 5;
   * @return The coreControlPubIpcFile.
   */
  @java.lang.Override
  public java.lang.String getCoreControlPubIpcFile() {
    java.lang.Object ref = coreControlPubIpcFile_;
    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();
      coreControlPubIpcFile_ = s;
      return s;
    }
  }
  /**
   * string core_control_pub_ipc_file = 5;
   * @return The bytes for coreControlPubIpcFile.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCoreControlPubIpcFileBytes() {
    java.lang.Object ref = coreControlPubIpcFile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      coreControlPubIpcFile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CORE_CONTROL_SUB_IPC_FILE_FIELD_NUMBER = 6;
  private volatile java.lang.Object coreControlSubIpcFile_;
  /**
   * string core_control_sub_ipc_file = 6;
   * @return The coreControlSubIpcFile.
   */
  @java.lang.Override
  public java.lang.String getCoreControlSubIpcFile() {
    java.lang.Object ref = coreControlSubIpcFile_;
    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();
      coreControlSubIpcFile_ = s;
      return s;
    }
  }
  /**
   * string core_control_sub_ipc_file = 6;
   * @return The bytes for coreControlSubIpcFile.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCoreControlSubIpcFileBytes() {
    java.lang.Object ref = coreControlSubIpcFile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      coreControlSubIpcFile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CORE_DATA_PUB_IPC_FILE_FIELD_NUMBER = 7;
  private volatile java.lang.Object coreDataPubIpcFile_;
  /**
   * string core_data_pub_ipc_file = 7;
   * @return The coreDataPubIpcFile.
   */
  @java.lang.Override
  public java.lang.String getCoreDataPubIpcFile() {
    java.lang.Object ref = coreDataPubIpcFile_;
    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();
      coreDataPubIpcFile_ = s;
      return s;
    }
  }
  /**
   * string core_data_pub_ipc_file = 7;
   * @return The bytes for coreDataPubIpcFile.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCoreDataPubIpcFileBytes() {
    java.lang.Object ref = coreDataPubIpcFile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      coreDataPubIpcFile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CORE_DATA_SUB_IPC_FILE_FIELD_NUMBER = 8;
  private volatile java.lang.Object coreDataSubIpcFile_;
  /**
   * string core_data_sub_ipc_file = 8;
   * @return The coreDataSubIpcFile.
   */
  @java.lang.Override
  public java.lang.String getCoreDataSubIpcFile() {
    java.lang.Object ref = coreDataSubIpcFile_;
    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();
      coreDataSubIpcFile_ = s;
      return s;
    }
  }
  /**
   * string core_data_sub_ipc_file = 8;
   * @return The bytes for coreDataSubIpcFile.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCoreDataSubIpcFileBytes() {
    java.lang.Object ref = coreDataSubIpcFile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      coreDataSubIpcFile_ = 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 (coreControlPubTcpPort_ != 0) {
      output.writeInt32(1, coreControlPubTcpPort_);
    }
    if (coreControlSubTcpPort_ != 0) {
      output.writeInt32(2, coreControlSubTcpPort_);
    }
    if (coreDataPubTcpPort_ != 0) {
      output.writeInt32(3, coreDataPubTcpPort_);
    }
    if (coreDataSubTcpPort_ != 0) {
      output.writeInt32(4, coreDataSubTcpPort_);
    }
    if (!getCoreControlPubIpcFileBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, coreControlPubIpcFile_);
    }
    if (!getCoreControlSubIpcFileBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, coreControlSubIpcFile_);
    }
    if (!getCoreDataPubIpcFileBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, coreDataPubIpcFile_);
    }
    if (!getCoreDataSubIpcFileBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, coreDataSubIpcFile_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (coreControlPubTcpPort_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, coreControlPubTcpPort_);
    }
    if (coreControlSubTcpPort_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, coreControlSubTcpPort_);
    }
    if (coreDataPubTcpPort_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, coreDataPubTcpPort_);
    }
    if (coreDataSubTcpPort_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, coreDataSubTcpPort_);
    }
    if (!getCoreControlPubIpcFileBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, coreControlPubIpcFile_);
    }
    if (!getCoreControlSubIpcFileBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, coreControlSubIpcFile_);
    }
    if (!getCoreDataPubIpcFileBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, coreDataPubIpcFile_);
    }
    if (!getCoreDataSubIpcFileBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, coreDataSubIpcFile_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage)) {
      return super.equals(obj);
    }
    de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage other = (de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage) obj;

    if (getCoreControlPubTcpPort()
        != other.getCoreControlPubTcpPort()) return false;
    if (getCoreControlSubTcpPort()
        != other.getCoreControlSubTcpPort()) return false;
    if (getCoreDataPubTcpPort()
        != other.getCoreDataPubTcpPort()) return false;
    if (getCoreDataSubTcpPort()
        != other.getCoreDataSubTcpPort()) return false;
    if (!getCoreControlPubIpcFile()
        .equals(other.getCoreControlPubIpcFile())) return false;
    if (!getCoreControlSubIpcFile()
        .equals(other.getCoreControlSubIpcFile())) return false;
    if (!getCoreDataPubIpcFile()
        .equals(other.getCoreDataPubIpcFile())) return false;
    if (!getCoreDataSubIpcFile()
        .equals(other.getCoreDataSubIpcFile())) return false;
    if (!unknownFields.equals(other.unknownFields)) 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) + CORE_CONTROL_PUB_TCP_PORT_FIELD_NUMBER;
    hash = (53 * hash) + getCoreControlPubTcpPort();
    hash = (37 * hash) + CORE_CONTROL_SUB_TCP_PORT_FIELD_NUMBER;
    hash = (53 * hash) + getCoreControlSubTcpPort();
    hash = (37 * hash) + CORE_DATA_PUB_TCP_PORT_FIELD_NUMBER;
    hash = (53 * hash) + getCoreDataPubTcpPort();
    hash = (37 * hash) + CORE_DATA_SUB_TCP_PORT_FIELD_NUMBER;
    hash = (53 * hash) + getCoreDataSubTcpPort();
    hash = (37 * hash) + CORE_CONTROL_PUB_IPC_FILE_FIELD_NUMBER;
    hash = (53 * hash) + getCoreControlPubIpcFile().hashCode();
    hash = (37 * hash) + CORE_CONTROL_SUB_IPC_FILE_FIELD_NUMBER;
    hash = (53 * hash) + getCoreControlSubIpcFile().hashCode();
    hash = (37 * hash) + CORE_DATA_PUB_IPC_FILE_FIELD_NUMBER;
    hash = (53 * hash) + getCoreDataPubIpcFile().hashCode();
    hash = (37 * hash) + CORE_DATA_SUB_IPC_FILE_FIELD_NUMBER;
    hash = (53 * hash) + getCoreDataSubIpcFile().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage 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.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage)
      de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessageOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.Bootstrap.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_bootstrap_BootstrapMessage_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.Bootstrap.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_bootstrap_BootstrapMessage_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage.class, de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage.Builder.class);
    }

    // Construct using de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      coreControlPubTcpPort_ = 0;

      coreControlSubTcpPort_ = 0;

      coreDataPubTcpPort_ = 0;

      coreDataSubTcpPort_ = 0;

      coreControlPubIpcFile_ = "";

      coreControlSubIpcFile_ = "";

      coreDataPubIpcFile_ = "";

      coreDataSubIpcFile_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.Bootstrap.internal_static_de_unistuttgart_isw_sfsc_clientserver_protocol_bootstrap_BootstrapMessage_descriptor;
    }

    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage getDefaultInstanceForType() {
      return de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage.getDefaultInstance();
    }

    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage build() {
      de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage buildPartial() {
      de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage result = new de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage(this);
      result.coreControlPubTcpPort_ = coreControlPubTcpPort_;
      result.coreControlSubTcpPort_ = coreControlSubTcpPort_;
      result.coreDataPubTcpPort_ = coreDataPubTcpPort_;
      result.coreDataSubTcpPort_ = coreDataSubTcpPort_;
      result.coreControlPubIpcFile_ = coreControlPubIpcFile_;
      result.coreControlSubIpcFile_ = coreControlSubIpcFile_;
      result.coreDataPubIpcFile_ = coreDataPubIpcFile_;
      result.coreDataSubIpcFile_ = coreDataSubIpcFile_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage) {
        return mergeFrom((de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage other) {
      if (other == de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage.getDefaultInstance()) return this;
      if (other.getCoreControlPubTcpPort() != 0) {
        setCoreControlPubTcpPort(other.getCoreControlPubTcpPort());
      }
      if (other.getCoreControlSubTcpPort() != 0) {
        setCoreControlSubTcpPort(other.getCoreControlSubTcpPort());
      }
      if (other.getCoreDataPubTcpPort() != 0) {
        setCoreDataPubTcpPort(other.getCoreDataPubTcpPort());
      }
      if (other.getCoreDataSubTcpPort() != 0) {
        setCoreDataSubTcpPort(other.getCoreDataSubTcpPort());
      }
      if (!other.getCoreControlPubIpcFile().isEmpty()) {
        coreControlPubIpcFile_ = other.coreControlPubIpcFile_;
        onChanged();
      }
      if (!other.getCoreControlSubIpcFile().isEmpty()) {
        coreControlSubIpcFile_ = other.coreControlSubIpcFile_;
        onChanged();
      }
      if (!other.getCoreDataPubIpcFile().isEmpty()) {
        coreDataPubIpcFile_ = other.coreDataPubIpcFile_;
        onChanged();
      }
      if (!other.getCoreDataSubIpcFile().isEmpty()) {
        coreDataSubIpcFile_ = other.coreDataSubIpcFile_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int coreControlPubTcpPort_ ;
    /**
     * int32 core_control_pub_tcp_port = 1;
     * @return The coreControlPubTcpPort.
     */
    @java.lang.Override
    public int getCoreControlPubTcpPort() {
      return coreControlPubTcpPort_;
    }
    /**
     * int32 core_control_pub_tcp_port = 1;
     * @param value The coreControlPubTcpPort to set.
     * @return This builder for chaining.
     */
    public Builder setCoreControlPubTcpPort(int value) {
      
      coreControlPubTcpPort_ = value;
      onChanged();
      return this;
    }
    /**
     * int32 core_control_pub_tcp_port = 1;
     * @return This builder for chaining.
     */
    public Builder clearCoreControlPubTcpPort() {
      
      coreControlPubTcpPort_ = 0;
      onChanged();
      return this;
    }

    private int coreControlSubTcpPort_ ;
    /**
     * int32 core_control_sub_tcp_port = 2;
     * @return The coreControlSubTcpPort.
     */
    @java.lang.Override
    public int getCoreControlSubTcpPort() {
      return coreControlSubTcpPort_;
    }
    /**
     * int32 core_control_sub_tcp_port = 2;
     * @param value The coreControlSubTcpPort to set.
     * @return This builder for chaining.
     */
    public Builder setCoreControlSubTcpPort(int value) {
      
      coreControlSubTcpPort_ = value;
      onChanged();
      return this;
    }
    /**
     * int32 core_control_sub_tcp_port = 2;
     * @return This builder for chaining.
     */
    public Builder clearCoreControlSubTcpPort() {
      
      coreControlSubTcpPort_ = 0;
      onChanged();
      return this;
    }

    private int coreDataPubTcpPort_ ;
    /**
     * int32 core_data_pub_tcp_port = 3;
     * @return The coreDataPubTcpPort.
     */
    @java.lang.Override
    public int getCoreDataPubTcpPort() {
      return coreDataPubTcpPort_;
    }
    /**
     * int32 core_data_pub_tcp_port = 3;
     * @param value The coreDataPubTcpPort to set.
     * @return This builder for chaining.
     */
    public Builder setCoreDataPubTcpPort(int value) {
      
      coreDataPubTcpPort_ = value;
      onChanged();
      return this;
    }
    /**
     * int32 core_data_pub_tcp_port = 3;
     * @return This builder for chaining.
     */
    public Builder clearCoreDataPubTcpPort() {
      
      coreDataPubTcpPort_ = 0;
      onChanged();
      return this;
    }

    private int coreDataSubTcpPort_ ;
    /**
     * int32 core_data_sub_tcp_port = 4;
     * @return The coreDataSubTcpPort.
     */
    @java.lang.Override
    public int getCoreDataSubTcpPort() {
      return coreDataSubTcpPort_;
    }
    /**
     * int32 core_data_sub_tcp_port = 4;
     * @param value The coreDataSubTcpPort to set.
     * @return This builder for chaining.
     */
    public Builder setCoreDataSubTcpPort(int value) {
      
      coreDataSubTcpPort_ = value;
      onChanged();
      return this;
    }
    /**
     * int32 core_data_sub_tcp_port = 4;
     * @return This builder for chaining.
     */
    public Builder clearCoreDataSubTcpPort() {
      
      coreDataSubTcpPort_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object coreControlPubIpcFile_ = "";
    /**
     * string core_control_pub_ipc_file = 5;
     * @return The coreControlPubIpcFile.
     */
    public java.lang.String getCoreControlPubIpcFile() {
      java.lang.Object ref = coreControlPubIpcFile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        coreControlPubIpcFile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string core_control_pub_ipc_file = 5;
     * @return The bytes for coreControlPubIpcFile.
     */
    public com.google.protobuf.ByteString
        getCoreControlPubIpcFileBytes() {
      java.lang.Object ref = coreControlPubIpcFile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        coreControlPubIpcFile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string core_control_pub_ipc_file = 5;
     * @param value The coreControlPubIpcFile to set.
     * @return This builder for chaining.
     */
    public Builder setCoreControlPubIpcFile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      coreControlPubIpcFile_ = value;
      onChanged();
      return this;
    }
    /**
     * string core_control_pub_ipc_file = 5;
     * @return This builder for chaining.
     */
    public Builder clearCoreControlPubIpcFile() {
      
      coreControlPubIpcFile_ = getDefaultInstance().getCoreControlPubIpcFile();
      onChanged();
      return this;
    }
    /**
     * string core_control_pub_ipc_file = 5;
     * @param value The bytes for coreControlPubIpcFile to set.
     * @return This builder for chaining.
     */
    public Builder setCoreControlPubIpcFileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      coreControlPubIpcFile_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object coreControlSubIpcFile_ = "";
    /**
     * string core_control_sub_ipc_file = 6;
     * @return The coreControlSubIpcFile.
     */
    public java.lang.String getCoreControlSubIpcFile() {
      java.lang.Object ref = coreControlSubIpcFile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        coreControlSubIpcFile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string core_control_sub_ipc_file = 6;
     * @return The bytes for coreControlSubIpcFile.
     */
    public com.google.protobuf.ByteString
        getCoreControlSubIpcFileBytes() {
      java.lang.Object ref = coreControlSubIpcFile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        coreControlSubIpcFile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string core_control_sub_ipc_file = 6;
     * @param value The coreControlSubIpcFile to set.
     * @return This builder for chaining.
     */
    public Builder setCoreControlSubIpcFile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      coreControlSubIpcFile_ = value;
      onChanged();
      return this;
    }
    /**
     * string core_control_sub_ipc_file = 6;
     * @return This builder for chaining.
     */
    public Builder clearCoreControlSubIpcFile() {
      
      coreControlSubIpcFile_ = getDefaultInstance().getCoreControlSubIpcFile();
      onChanged();
      return this;
    }
    /**
     * string core_control_sub_ipc_file = 6;
     * @param value The bytes for coreControlSubIpcFile to set.
     * @return This builder for chaining.
     */
    public Builder setCoreControlSubIpcFileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      coreControlSubIpcFile_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object coreDataPubIpcFile_ = "";
    /**
     * string core_data_pub_ipc_file = 7;
     * @return The coreDataPubIpcFile.
     */
    public java.lang.String getCoreDataPubIpcFile() {
      java.lang.Object ref = coreDataPubIpcFile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        coreDataPubIpcFile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string core_data_pub_ipc_file = 7;
     * @return The bytes for coreDataPubIpcFile.
     */
    public com.google.protobuf.ByteString
        getCoreDataPubIpcFileBytes() {
      java.lang.Object ref = coreDataPubIpcFile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        coreDataPubIpcFile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string core_data_pub_ipc_file = 7;
     * @param value The coreDataPubIpcFile to set.
     * @return This builder for chaining.
     */
    public Builder setCoreDataPubIpcFile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      coreDataPubIpcFile_ = value;
      onChanged();
      return this;
    }
    /**
     * string core_data_pub_ipc_file = 7;
     * @return This builder for chaining.
     */
    public Builder clearCoreDataPubIpcFile() {
      
      coreDataPubIpcFile_ = getDefaultInstance().getCoreDataPubIpcFile();
      onChanged();
      return this;
    }
    /**
     * string core_data_pub_ipc_file = 7;
     * @param value The bytes for coreDataPubIpcFile to set.
     * @return This builder for chaining.
     */
    public Builder setCoreDataPubIpcFileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      coreDataPubIpcFile_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object coreDataSubIpcFile_ = "";
    /**
     * string core_data_sub_ipc_file = 8;
     * @return The coreDataSubIpcFile.
     */
    public java.lang.String getCoreDataSubIpcFile() {
      java.lang.Object ref = coreDataSubIpcFile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        coreDataSubIpcFile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string core_data_sub_ipc_file = 8;
     * @return The bytes for coreDataSubIpcFile.
     */
    public com.google.protobuf.ByteString
        getCoreDataSubIpcFileBytes() {
      java.lang.Object ref = coreDataSubIpcFile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        coreDataSubIpcFile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string core_data_sub_ipc_file = 8;
     * @param value The coreDataSubIpcFile to set.
     * @return This builder for chaining.
     */
    public Builder setCoreDataSubIpcFile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      coreDataSubIpcFile_ = value;
      onChanged();
      return this;
    }
    /**
     * string core_data_sub_ipc_file = 8;
     * @return This builder for chaining.
     */
    public Builder clearCoreDataSubIpcFile() {
      
      coreDataSubIpcFile_ = getDefaultInstance().getCoreDataSubIpcFile();
      onChanged();
      return this;
    }
    /**
     * string core_data_sub_ipc_file = 8;
     * @param value The bytes for coreDataSubIpcFile to set.
     * @return This builder for chaining.
     */
    public Builder setCoreDataSubIpcFileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      coreDataSubIpcFile_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage)
  }

  // @@protoc_insertion_point(class_scope:de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage)
  private static final de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage();
  }

  public static de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public BootstrapMessage parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new BootstrapMessage(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public de.unistuttgart.isw.sfsc.clientserver.protocol.bootstrap.BootstrapMessage getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy