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

org.yamcs.protobuf.ProcessorInfo Maven / Gradle / Ivy

There is a newer version: 5.10.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yamcs/protobuf/yamcsManagement/yamcsManagement.proto

package org.yamcs.protobuf;

/**
 * Protobuf type {@code yamcs.protobuf.yamcsManagement.ProcessorInfo}
 */
public  final class ProcessorInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.yamcsManagement.ProcessorInfo)
    ProcessorInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ProcessorInfo.newBuilder() to construct.
  private ProcessorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ProcessorInfo() {
    instance_ = "";
    name_ = "";
    type_ = "";
    spec_ = "";
    creator_ = "";
    state_ = 0;
    replayState_ = 0;
    service_ = java.util.Collections.emptyList();
    time_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ProcessorInfo(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    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 10: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000001;
            instance_ = bs;
            break;
          }
          case 18: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000002;
            name_ = bs;
            break;
          }
          case 26: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000004;
            type_ = bs;
            break;
          }
          case 34: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000008;
            spec_ = bs;
            break;
          }
          case 42: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000010;
            creator_ = bs;
            break;
          }
          case 48: {
            bitField0_ |= 0x00000020;
            hasAlarms_ = input.readBool();
            break;
          }
          case 56: {
            bitField0_ |= 0x00000040;
            hasCommanding_ = input.readBool();
            break;
          }
          case 64: {
            int rawValue = input.readEnum();
              @SuppressWarnings("deprecation")
            org.yamcs.protobuf.ServiceState value = org.yamcs.protobuf.ServiceState.valueOf(rawValue);
            if (value == null) {
              unknownFields.mergeVarintField(8, rawValue);
            } else {
              bitField0_ |= 0x00000080;
              state_ = rawValue;
            }
            break;
          }
          case 74: {
            org.yamcs.protobuf.Yamcs.ReplayRequest.Builder subBuilder = null;
            if (((bitField0_ & 0x00000100) != 0)) {
              subBuilder = replayRequest_.toBuilder();
            }
            replayRequest_ = input.readMessage(org.yamcs.protobuf.Yamcs.ReplayRequest.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(replayRequest_);
              replayRequest_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000100;
            break;
          }
          case 80: {
            int rawValue = input.readEnum();
              @SuppressWarnings("deprecation")
            org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState value = org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.valueOf(rawValue);
            if (value == null) {
              unknownFields.mergeVarintField(10, rawValue);
            } else {
              bitField0_ |= 0x00000200;
              replayState_ = rawValue;
            }
            break;
          }
          case 130: {
            if (!((mutable_bitField0_ & 0x00000400) != 0)) {
              service_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000400;
            }
            service_.add(
                input.readMessage(org.yamcs.protobuf.ServiceInfo.PARSER, extensionRegistry));
            break;
          }
          case 136: {
            bitField0_ |= 0x00000400;
            persistent_ = input.readBool();
            break;
          }
          case 146: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000800;
            time_ = bs;
            break;
          }
          case 152: {
            bitField0_ |= 0x00001000;
            replay_ = input.readBool();
            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 {
      if (((mutable_bitField0_ & 0x00000400) != 0)) {
        service_ = java.util.Collections.unmodifiableList(service_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_ProcessorInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_ProcessorInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.yamcs.protobuf.ProcessorInfo.class, org.yamcs.protobuf.ProcessorInfo.Builder.class);
  }

  private int bitField0_;
  public static final int INSTANCE_FIELD_NUMBER = 1;
  private volatile java.lang.Object instance_;
  /**
   * 
   *yamcs instance
   * 
* * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
   *yamcs instance
   * 
* * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; 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(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
   *yamcs instance
   * 
* * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** * optional string type = 3; */ public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string type = 3; */ public java.lang.String getType() { java.lang.Object ref = type_; 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(); if (bs.isValidUtf8()) { type_ = s; } return s; } } /** * optional string type = 3; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SPEC_FIELD_NUMBER = 4; private volatile java.lang.Object spec_; /** * optional string spec = 4; */ public boolean hasSpec() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string spec = 4; */ public java.lang.String getSpec() { java.lang.Object ref = spec_; 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(); if (bs.isValidUtf8()) { spec_ = s; } return s; } } /** * optional string spec = 4; */ public com.google.protobuf.ByteString getSpecBytes() { java.lang.Object ref = spec_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); spec_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATOR_FIELD_NUMBER = 5; private volatile java.lang.Object creator_; /** * optional string creator = 5; */ public boolean hasCreator() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string creator = 5; */ public java.lang.String getCreator() { java.lang.Object ref = creator_; 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(); if (bs.isValidUtf8()) { creator_ = s; } return s; } } /** * optional string creator = 5; */ public com.google.protobuf.ByteString getCreatorBytes() { java.lang.Object ref = creator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HASALARMS_FIELD_NUMBER = 6; private boolean hasAlarms_; /** * optional bool hasAlarms = 6; */ public boolean hasHasAlarms() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bool hasAlarms = 6; */ public boolean getHasAlarms() { return hasAlarms_; } public static final int HASCOMMANDING_FIELD_NUMBER = 7; private boolean hasCommanding_; /** * optional bool hasCommanding = 7; */ public boolean hasHasCommanding() { return ((bitField0_ & 0x00000040) != 0); } /** * optional bool hasCommanding = 7; */ public boolean getHasCommanding() { return hasCommanding_; } public static final int STATE_FIELD_NUMBER = 8; private int state_; /** * optional .yamcs.protobuf.yamcsManagement.ServiceState state = 8; */ public boolean hasState() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.yamcsManagement.ServiceState state = 8; */ public org.yamcs.protobuf.ServiceState getState() { @SuppressWarnings("deprecation") org.yamcs.protobuf.ServiceState result = org.yamcs.protobuf.ServiceState.valueOf(state_); return result == null ? org.yamcs.protobuf.ServiceState.NEW : result; } public static final int REPLAYREQUEST_FIELD_NUMBER = 9; private org.yamcs.protobuf.Yamcs.ReplayRequest replayRequest_; /** *
   *in case of replay
   * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public boolean hasReplayRequest() { return ((bitField0_ & 0x00000100) != 0); } /** *
   *in case of replay
   * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public org.yamcs.protobuf.Yamcs.ReplayRequest getReplayRequest() { return replayRequest_ == null ? org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance() : replayRequest_; } /** *
   *in case of replay
   * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder getReplayRequestOrBuilder() { return replayRequest_ == null ? org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance() : replayRequest_; } public static final int REPLAYSTATE_FIELD_NUMBER = 10; private int replayState_; /** *
   *in case of replay
   * 
* * optional .yamcs.protobuf.ReplayStatus.ReplayState replayState = 10; */ public boolean hasReplayState() { return ((bitField0_ & 0x00000200) != 0); } /** *
   *in case of replay
   * 
* * optional .yamcs.protobuf.ReplayStatus.ReplayState replayState = 10; */ public org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState getReplayState() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState result = org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.valueOf(replayState_); return result == null ? org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.INITIALIZATION : result; } public static final int SERVICE_FIELD_NUMBER = 16; private java.util.List service_; /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public java.util.List getServiceList() { return service_; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public java.util.List getServiceOrBuilderList() { return service_; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public int getServiceCount() { return service_.size(); } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public org.yamcs.protobuf.ServiceInfo getService(int index) { return service_.get(index); } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public org.yamcs.protobuf.ServiceInfoOrBuilder getServiceOrBuilder( int index) { return service_.get(index); } public static final int PERSISTENT_FIELD_NUMBER = 17; private boolean persistent_; /** * optional bool persistent = 17; */ public boolean hasPersistent() { return ((bitField0_ & 0x00000400) != 0); } /** * optional bool persistent = 17; */ public boolean getPersistent() { return persistent_; } public static final int TIME_FIELD_NUMBER = 18; private volatile java.lang.Object time_; /** * optional string time = 18; */ public boolean hasTime() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string time = 18; */ public java.lang.String getTime() { java.lang.Object ref = time_; 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(); if (bs.isValidUtf8()) { time_ = s; } return s; } } /** * optional string time = 18; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REPLAY_FIELD_NUMBER = 19; private boolean replay_; /** * optional bool replay = 19; */ public boolean hasReplay() { return ((bitField0_ & 0x00001000) != 0); } /** * optional bool replay = 19; */ public boolean getReplay() { return replay_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasReplayRequest()) { if (!getReplayRequest().isInitialized()) { memoizedIsInitialized = 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spec_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, creator_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBool(6, hasAlarms_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(7, hasCommanding_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeEnum(8, state_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getReplayRequest()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeEnum(10, replayState_); } for (int i = 0; i < service_.size(); i++) { output.writeMessage(16, service_.get(i)); } if (((bitField0_ & 0x00000400) != 0)) { output.writeBool(17, persistent_); } if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, time_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeBool(19, replay_); } unknownFields.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.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, spec_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, creator_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, hasAlarms_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, hasCommanding_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, state_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getReplayRequest()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, replayState_); } for (int i = 0; i < service_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, service_.get(i)); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(17, persistent_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, time_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(19, replay_); } 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 org.yamcs.protobuf.ProcessorInfo)) { return super.equals(obj); } org.yamcs.protobuf.ProcessorInfo other = (org.yamcs.protobuf.ProcessorInfo) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (hasSpec() != other.hasSpec()) return false; if (hasSpec()) { if (!getSpec() .equals(other.getSpec())) return false; } if (hasCreator() != other.hasCreator()) return false; if (hasCreator()) { if (!getCreator() .equals(other.getCreator())) return false; } if (hasHasAlarms() != other.hasHasAlarms()) return false; if (hasHasAlarms()) { if (getHasAlarms() != other.getHasAlarms()) return false; } if (hasHasCommanding() != other.hasHasCommanding()) return false; if (hasHasCommanding()) { if (getHasCommanding() != other.getHasCommanding()) return false; } if (hasState() != other.hasState()) return false; if (hasState()) { if (state_ != other.state_) return false; } if (hasReplayRequest() != other.hasReplayRequest()) return false; if (hasReplayRequest()) { if (!getReplayRequest() .equals(other.getReplayRequest())) return false; } if (hasReplayState() != other.hasReplayState()) return false; if (hasReplayState()) { if (replayState_ != other.replayState_) return false; } if (!getServiceList() .equals(other.getServiceList())) return false; if (hasPersistent() != other.hasPersistent()) return false; if (hasPersistent()) { if (getPersistent() != other.getPersistent()) return false; } if (hasTime() != other.hasTime()) return false; if (hasTime()) { if (!getTime() .equals(other.getTime())) return false; } if (hasReplay() != other.hasReplay()) return false; if (hasReplay()) { if (getReplay() != other.getReplay()) 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(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } if (hasSpec()) { hash = (37 * hash) + SPEC_FIELD_NUMBER; hash = (53 * hash) + getSpec().hashCode(); } if (hasCreator()) { hash = (37 * hash) + CREATOR_FIELD_NUMBER; hash = (53 * hash) + getCreator().hashCode(); } if (hasHasAlarms()) { hash = (37 * hash) + HASALARMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasAlarms()); } if (hasHasCommanding()) { hash = (37 * hash) + HASCOMMANDING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasCommanding()); } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; } if (hasReplayRequest()) { hash = (37 * hash) + REPLAYREQUEST_FIELD_NUMBER; hash = (53 * hash) + getReplayRequest().hashCode(); } if (hasReplayState()) { hash = (37 * hash) + REPLAYSTATE_FIELD_NUMBER; hash = (53 * hash) + replayState_; } if (getServiceCount() > 0) { hash = (37 * hash) + SERVICE_FIELD_NUMBER; hash = (53 * hash) + getServiceList().hashCode(); } if (hasPersistent()) { hash = (37 * hash) + PERSISTENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPersistent()); } if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } if (hasReplay()) { hash = (37 * hash) + REPLAY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReplay()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.ProcessorInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ProcessorInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ProcessorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ProcessorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ProcessorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ProcessorInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ProcessorInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.ProcessorInfo 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 org.yamcs.protobuf.ProcessorInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.ProcessorInfo 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 org.yamcs.protobuf.ProcessorInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.ProcessorInfo 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(org.yamcs.protobuf.ProcessorInfo 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 yamcs.protobuf.yamcsManagement.ProcessorInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.yamcsManagement.ProcessorInfo) org.yamcs.protobuf.ProcessorInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_ProcessorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_ProcessorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.ProcessorInfo.class, org.yamcs.protobuf.ProcessorInfo.Builder.class); } // Construct using org.yamcs.protobuf.ProcessorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getReplayRequestFieldBuilder(); getServiceFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); type_ = ""; bitField0_ = (bitField0_ & ~0x00000004); spec_ = ""; bitField0_ = (bitField0_ & ~0x00000008); creator_ = ""; bitField0_ = (bitField0_ & ~0x00000010); hasAlarms_ = false; bitField0_ = (bitField0_ & ~0x00000020); hasCommanding_ = false; bitField0_ = (bitField0_ & ~0x00000040); state_ = 0; bitField0_ = (bitField0_ & ~0x00000080); if (replayRequestBuilder_ == null) { replayRequest_ = null; } else { replayRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); replayState_ = 0; bitField0_ = (bitField0_ & ~0x00000200); if (serviceBuilder_ == null) { service_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { serviceBuilder_.clear(); } persistent_ = false; bitField0_ = (bitField0_ & ~0x00000800); time_ = ""; bitField0_ = (bitField0_ & ~0x00001000); replay_ = false; bitField0_ = (bitField0_ & ~0x00002000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_ProcessorInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.ProcessorInfo getDefaultInstanceForType() { return org.yamcs.protobuf.ProcessorInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.ProcessorInfo build() { org.yamcs.protobuf.ProcessorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.ProcessorInfo buildPartial() { org.yamcs.protobuf.ProcessorInfo result = new org.yamcs.protobuf.ProcessorInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.type_ = type_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.spec_ = spec_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.creator_ = creator_; if (((from_bitField0_ & 0x00000020) != 0)) { result.hasAlarms_ = hasAlarms_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.hasCommanding_ = hasCommanding_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.state_ = state_; if (((from_bitField0_ & 0x00000100) != 0)) { if (replayRequestBuilder_ == null) { result.replayRequest_ = replayRequest_; } else { result.replayRequest_ = replayRequestBuilder_.build(); } to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000200; } result.replayState_ = replayState_; if (serviceBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { service_ = java.util.Collections.unmodifiableList(service_); bitField0_ = (bitField0_ & ~0x00000400); } result.service_ = service_; } else { result.service_ = serviceBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { result.persistent_ = persistent_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00000800; } result.time_ = time_; if (((from_bitField0_ & 0x00002000) != 0)) { result.replay_ = replay_; to_bitField0_ |= 0x00001000; } result.bitField0_ = to_bitField0_; 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 org.yamcs.protobuf.ProcessorInfo) { return mergeFrom((org.yamcs.protobuf.ProcessorInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.ProcessorInfo other) { if (other == org.yamcs.protobuf.ProcessorInfo.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasType()) { bitField0_ |= 0x00000004; type_ = other.type_; onChanged(); } if (other.hasSpec()) { bitField0_ |= 0x00000008; spec_ = other.spec_; onChanged(); } if (other.hasCreator()) { bitField0_ |= 0x00000010; creator_ = other.creator_; onChanged(); } if (other.hasHasAlarms()) { setHasAlarms(other.getHasAlarms()); } if (other.hasHasCommanding()) { setHasCommanding(other.getHasCommanding()); } if (other.hasState()) { setState(other.getState()); } if (other.hasReplayRequest()) { mergeReplayRequest(other.getReplayRequest()); } if (other.hasReplayState()) { setReplayState(other.getReplayState()); } if (serviceBuilder_ == null) { if (!other.service_.isEmpty()) { if (service_.isEmpty()) { service_ = other.service_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureServiceIsMutable(); service_.addAll(other.service_); } onChanged(); } } else { if (!other.service_.isEmpty()) { if (serviceBuilder_.isEmpty()) { serviceBuilder_.dispose(); serviceBuilder_ = null; service_ = other.service_; bitField0_ = (bitField0_ & ~0x00000400); serviceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getServiceFieldBuilder() : null; } else { serviceBuilder_.addAllMessages(other.service_); } } } if (other.hasPersistent()) { setPersistent(other.getPersistent()); } if (other.hasTime()) { bitField0_ |= 0x00001000; time_ = other.time_; onChanged(); } if (other.hasReplay()) { setReplay(other.getReplay()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasReplayRequest()) { if (!getReplayRequest().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.ProcessorInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.ProcessorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** *
     *yamcs instance
     * 
* * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     *yamcs instance
     * 
* * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     *yamcs instance
     * 
* * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *yamcs instance
     * 
* * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
     *yamcs instance
     * 
* * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
     *yamcs instance
     * 
* * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * optional string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private java.lang.Object type_ = ""; /** * optional string type = 3; */ public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string type = 3; */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string type = 3; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string type = 3; */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; type_ = value; onChanged(); return this; } /** * optional string type = 3; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000004); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * optional string type = 3; */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; type_ = value; onChanged(); return this; } private java.lang.Object spec_ = ""; /** * optional string spec = 4; */ public boolean hasSpec() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string spec = 4; */ public java.lang.String getSpec() { java.lang.Object ref = spec_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { spec_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string spec = 4; */ public com.google.protobuf.ByteString getSpecBytes() { java.lang.Object ref = spec_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); spec_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string spec = 4; */ public Builder setSpec( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; spec_ = value; onChanged(); return this; } /** * optional string spec = 4; */ public Builder clearSpec() { bitField0_ = (bitField0_ & ~0x00000008); spec_ = getDefaultInstance().getSpec(); onChanged(); return this; } /** * optional string spec = 4; */ public Builder setSpecBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; spec_ = value; onChanged(); return this; } private java.lang.Object creator_ = ""; /** * optional string creator = 5; */ public boolean hasCreator() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string creator = 5; */ public java.lang.String getCreator() { java.lang.Object ref = creator_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { creator_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string creator = 5; */ public com.google.protobuf.ByteString getCreatorBytes() { java.lang.Object ref = creator_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string creator = 5; */ public Builder setCreator( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; creator_ = value; onChanged(); return this; } /** * optional string creator = 5; */ public Builder clearCreator() { bitField0_ = (bitField0_ & ~0x00000010); creator_ = getDefaultInstance().getCreator(); onChanged(); return this; } /** * optional string creator = 5; */ public Builder setCreatorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; creator_ = value; onChanged(); return this; } private boolean hasAlarms_ ; /** * optional bool hasAlarms = 6; */ public boolean hasHasAlarms() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bool hasAlarms = 6; */ public boolean getHasAlarms() { return hasAlarms_; } /** * optional bool hasAlarms = 6; */ public Builder setHasAlarms(boolean value) { bitField0_ |= 0x00000020; hasAlarms_ = value; onChanged(); return this; } /** * optional bool hasAlarms = 6; */ public Builder clearHasAlarms() { bitField0_ = (bitField0_ & ~0x00000020); hasAlarms_ = false; onChanged(); return this; } private boolean hasCommanding_ ; /** * optional bool hasCommanding = 7; */ public boolean hasHasCommanding() { return ((bitField0_ & 0x00000040) != 0); } /** * optional bool hasCommanding = 7; */ public boolean getHasCommanding() { return hasCommanding_; } /** * optional bool hasCommanding = 7; */ public Builder setHasCommanding(boolean value) { bitField0_ |= 0x00000040; hasCommanding_ = value; onChanged(); return this; } /** * optional bool hasCommanding = 7; */ public Builder clearHasCommanding() { bitField0_ = (bitField0_ & ~0x00000040); hasCommanding_ = false; onChanged(); return this; } private int state_ = 0; /** * optional .yamcs.protobuf.yamcsManagement.ServiceState state = 8; */ public boolean hasState() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.yamcsManagement.ServiceState state = 8; */ public org.yamcs.protobuf.ServiceState getState() { @SuppressWarnings("deprecation") org.yamcs.protobuf.ServiceState result = org.yamcs.protobuf.ServiceState.valueOf(state_); return result == null ? org.yamcs.protobuf.ServiceState.NEW : result; } /** * optional .yamcs.protobuf.yamcsManagement.ServiceState state = 8; */ public Builder setState(org.yamcs.protobuf.ServiceState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; state_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.yamcsManagement.ServiceState state = 8; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000080); state_ = 0; onChanged(); return this; } private org.yamcs.protobuf.Yamcs.ReplayRequest replayRequest_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplayRequest, org.yamcs.protobuf.Yamcs.ReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder> replayRequestBuilder_; /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public boolean hasReplayRequest() { return ((bitField0_ & 0x00000100) != 0); } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public org.yamcs.protobuf.Yamcs.ReplayRequest getReplayRequest() { if (replayRequestBuilder_ == null) { return replayRequest_ == null ? org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance() : replayRequest_; } else { return replayRequestBuilder_.getMessage(); } } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public Builder setReplayRequest(org.yamcs.protobuf.Yamcs.ReplayRequest value) { if (replayRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } replayRequest_ = value; onChanged(); } else { replayRequestBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public Builder setReplayRequest( org.yamcs.protobuf.Yamcs.ReplayRequest.Builder builderForValue) { if (replayRequestBuilder_ == null) { replayRequest_ = builderForValue.build(); onChanged(); } else { replayRequestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public Builder mergeReplayRequest(org.yamcs.protobuf.Yamcs.ReplayRequest value) { if (replayRequestBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && replayRequest_ != null && replayRequest_ != org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance()) { replayRequest_ = org.yamcs.protobuf.Yamcs.ReplayRequest.newBuilder(replayRequest_).mergeFrom(value).buildPartial(); } else { replayRequest_ = value; } onChanged(); } else { replayRequestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public Builder clearReplayRequest() { if (replayRequestBuilder_ == null) { replayRequest_ = null; onChanged(); } else { replayRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public org.yamcs.protobuf.Yamcs.ReplayRequest.Builder getReplayRequestBuilder() { bitField0_ |= 0x00000100; onChanged(); return getReplayRequestFieldBuilder().getBuilder(); } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ public org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder getReplayRequestOrBuilder() { if (replayRequestBuilder_ != null) { return replayRequestBuilder_.getMessageOrBuilder(); } else { return replayRequest_ == null ? org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance() : replayRequest_; } } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayRequest replayRequest = 9; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplayRequest, org.yamcs.protobuf.Yamcs.ReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder> getReplayRequestFieldBuilder() { if (replayRequestBuilder_ == null) { replayRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplayRequest, org.yamcs.protobuf.Yamcs.ReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder>( getReplayRequest(), getParentForChildren(), isClean()); replayRequest_ = null; } return replayRequestBuilder_; } private int replayState_ = 0; /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayStatus.ReplayState replayState = 10; */ public boolean hasReplayState() { return ((bitField0_ & 0x00000200) != 0); } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayStatus.ReplayState replayState = 10; */ public org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState getReplayState() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState result = org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.valueOf(replayState_); return result == null ? org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.INITIALIZATION : result; } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayStatus.ReplayState replayState = 10; */ public Builder setReplayState(org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; replayState_ = value.getNumber(); onChanged(); return this; } /** *
     *in case of replay
     * 
* * optional .yamcs.protobuf.ReplayStatus.ReplayState replayState = 10; */ public Builder clearReplayState() { bitField0_ = (bitField0_ & ~0x00000200); replayState_ = 0; onChanged(); return this; } private java.util.List service_ = java.util.Collections.emptyList(); private void ensureServiceIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { service_ = new java.util.ArrayList(service_); bitField0_ |= 0x00000400; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.ServiceInfo, org.yamcs.protobuf.ServiceInfo.Builder, org.yamcs.protobuf.ServiceInfoOrBuilder> serviceBuilder_; /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public java.util.List getServiceList() { if (serviceBuilder_ == null) { return java.util.Collections.unmodifiableList(service_); } else { return serviceBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public int getServiceCount() { if (serviceBuilder_ == null) { return service_.size(); } else { return serviceBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public org.yamcs.protobuf.ServiceInfo getService(int index) { if (serviceBuilder_ == null) { return service_.get(index); } else { return serviceBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder setService( int index, org.yamcs.protobuf.ServiceInfo value) { if (serviceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.set(index, value); onChanged(); } else { serviceBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder setService( int index, org.yamcs.protobuf.ServiceInfo.Builder builderForValue) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); service_.set(index, builderForValue.build()); onChanged(); } else { serviceBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder addService(org.yamcs.protobuf.ServiceInfo value) { if (serviceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.add(value); onChanged(); } else { serviceBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder addService( int index, org.yamcs.protobuf.ServiceInfo value) { if (serviceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.add(index, value); onChanged(); } else { serviceBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder addService( org.yamcs.protobuf.ServiceInfo.Builder builderForValue) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); service_.add(builderForValue.build()); onChanged(); } else { serviceBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder addService( int index, org.yamcs.protobuf.ServiceInfo.Builder builderForValue) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); service_.add(index, builderForValue.build()); onChanged(); } else { serviceBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder addAllService( java.lang.Iterable values) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, service_); onChanged(); } else { serviceBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder clearService() { if (serviceBuilder_ == null) { service_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { serviceBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public Builder removeService(int index) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); service_.remove(index); onChanged(); } else { serviceBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public org.yamcs.protobuf.ServiceInfo.Builder getServiceBuilder( int index) { return getServiceFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public org.yamcs.protobuf.ServiceInfoOrBuilder getServiceOrBuilder( int index) { if (serviceBuilder_ == null) { return service_.get(index); } else { return serviceBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public java.util.List getServiceOrBuilderList() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(service_); } } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public org.yamcs.protobuf.ServiceInfo.Builder addServiceBuilder() { return getServiceFieldBuilder().addBuilder( org.yamcs.protobuf.ServiceInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public org.yamcs.protobuf.ServiceInfo.Builder addServiceBuilder( int index) { return getServiceFieldBuilder().addBuilder( index, org.yamcs.protobuf.ServiceInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.yamcsManagement.ServiceInfo service = 16; */ public java.util.List getServiceBuilderList() { return getServiceFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.ServiceInfo, org.yamcs.protobuf.ServiceInfo.Builder, org.yamcs.protobuf.ServiceInfoOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { serviceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.ServiceInfo, org.yamcs.protobuf.ServiceInfo.Builder, org.yamcs.protobuf.ServiceInfoOrBuilder>( service_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); service_ = null; } return serviceBuilder_; } private boolean persistent_ ; /** * optional bool persistent = 17; */ public boolean hasPersistent() { return ((bitField0_ & 0x00000800) != 0); } /** * optional bool persistent = 17; */ public boolean getPersistent() { return persistent_; } /** * optional bool persistent = 17; */ public Builder setPersistent(boolean value) { bitField0_ |= 0x00000800; persistent_ = value; onChanged(); return this; } /** * optional bool persistent = 17; */ public Builder clearPersistent() { bitField0_ = (bitField0_ & ~0x00000800); persistent_ = false; onChanged(); return this; } private java.lang.Object time_ = ""; /** * optional string time = 18; */ public boolean hasTime() { return ((bitField0_ & 0x00001000) != 0); } /** * optional string time = 18; */ public java.lang.String getTime() { java.lang.Object ref = time_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string time = 18; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string time = 18; */ public Builder setTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; time_ = value; onChanged(); return this; } /** * optional string time = 18; */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00001000); time_ = getDefaultInstance().getTime(); onChanged(); return this; } /** * optional string time = 18; */ public Builder setTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; time_ = value; onChanged(); return this; } private boolean replay_ ; /** * optional bool replay = 19; */ public boolean hasReplay() { return ((bitField0_ & 0x00002000) != 0); } /** * optional bool replay = 19; */ public boolean getReplay() { return replay_; } /** * optional bool replay = 19; */ public Builder setReplay(boolean value) { bitField0_ |= 0x00002000; replay_ = value; onChanged(); return this; } /** * optional bool replay = 19; */ public Builder clearReplay() { bitField0_ = (bitField0_ & ~0x00002000); replay_ = false; 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:yamcs.protobuf.yamcsManagement.ProcessorInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.yamcsManagement.ProcessorInfo) private static final org.yamcs.protobuf.ProcessorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.ProcessorInfo(); } public static org.yamcs.protobuf.ProcessorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProcessorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProcessorInfo(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 org.yamcs.protobuf.ProcessorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy