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

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

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

package org.yamcs.protobuf;

/**
 * Protobuf type {@code yamcs.protobuf.archive.SubscribeBackfillingData}
 */
public final class SubscribeBackfillingData extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.SubscribeBackfillingData)
    SubscribeBackfillingDataOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SubscribeBackfillingData.newBuilder() to construct.
  private SubscribeBackfillingData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private SubscribeBackfillingData() {
    finished_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SubscribeBackfillingData(
      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: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              finished_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            finished_.add(
                input.readMessage(org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.PARSER, extensionRegistry));
            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_ & 0x00000001) != 0)) {
        finished_ = java.util.Collections.unmodifiableList(finished_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_descriptor;
  }

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

  public interface BackfillFinishedInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Range start
     * 
* * optional .google.protobuf.Timestamp start = 1; * @return Whether the start field is set. */ boolean hasStart(); /** *
     * Range start
     * 
* * optional .google.protobuf.Timestamp start = 1; * @return The start. */ com.google.protobuf.Timestamp getStart(); /** *
     * Range start
     * 
* * optional .google.protobuf.Timestamp start = 1; */ com.google.protobuf.TimestampOrBuilder getStartOrBuilder(); /** *
     * Range stop
     * 
* * optional .google.protobuf.Timestamp stop = 2; * @return Whether the stop field is set. */ boolean hasStop(); /** *
     * Range stop
     * 
* * optional .google.protobuf.Timestamp stop = 2; * @return The stop. */ com.google.protobuf.Timestamp getStop(); /** *
     * Range stop
     * 
* * optional .google.protobuf.Timestamp stop = 2; */ com.google.protobuf.TimestampOrBuilder getStopOrBuilder(); /** *
     * Number of processed parameters
     * 
* * optional uint64 processedParameters = 3; * @return Whether the processedParameters field is set. */ boolean hasProcessedParameters(); /** *
     * Number of processed parameters
     * 
* * optional uint64 processedParameters = 3; * @return The processedParameters. */ long getProcessedParameters(); } /** *
   * Notification message when a backfill finished
   * 
* * Protobuf type {@code yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo} */ public static final class BackfillFinishedInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo) BackfillFinishedInfoOrBuilder { private static final long serialVersionUID = 0L; // Use BackfillFinishedInfo.newBuilder() to construct. private BackfillFinishedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BackfillFinishedInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BackfillFinishedInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BackfillFinishedInfo( 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.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = start_.toBuilder(); } start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(start_); start_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = stop_.toBuilder(); } stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(stop_); stop_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; processedParameters_ = input.readUInt64(); 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 org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_BackfillFinishedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_BackfillFinishedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.class, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder.class); } private int bitField0_; public static final int START_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp start_; /** *
     * Range start
     * 
* * optional .google.protobuf.Timestamp start = 1; * @return Whether the start field is set. */ @java.lang.Override public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Range start
     * 
* * optional .google.protobuf.Timestamp start = 1; * @return The start. */ @java.lang.Override public com.google.protobuf.Timestamp getStart() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } /** *
     * Range start
     * 
* * optional .google.protobuf.Timestamp start = 1; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } public static final int STOP_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp stop_; /** *
     * Range stop
     * 
* * optional .google.protobuf.Timestamp stop = 2; * @return Whether the stop field is set. */ @java.lang.Override public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Range stop
     * 
* * optional .google.protobuf.Timestamp stop = 2; * @return The stop. */ @java.lang.Override public com.google.protobuf.Timestamp getStop() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } /** *
     * Range stop
     * 
* * optional .google.protobuf.Timestamp stop = 2; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } public static final int PROCESSEDPARAMETERS_FIELD_NUMBER = 3; private long processedParameters_; /** *
     * Number of processed parameters
     * 
* * optional uint64 processedParameters = 3; * @return Whether the processedParameters field is set. */ @java.lang.Override public boolean hasProcessedParameters() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Number of processed parameters
     * 
* * optional uint64 processedParameters = 3; * @return The processedParameters. */ @java.lang.Override public long getProcessedParameters() { return processedParameters_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStart()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getStop()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt64(3, processedParameters_); } 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.CodedOutputStream .computeMessageSize(1, getStart()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStop()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, processedParameters_); } 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.SubscribeBackfillingData.BackfillFinishedInfo)) { return super.equals(obj); } org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo other = (org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo) obj; if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (!getStart() .equals(other.getStart())) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (!getStop() .equals(other.getStop())) return false; } if (hasProcessedParameters() != other.hasProcessedParameters()) return false; if (hasProcessedParameters()) { if (getProcessedParameters() != other.getProcessedParameters()) 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 (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + getStop().hashCode(); } if (hasProcessedParameters()) { hash = (37 * hash) + PROCESSEDPARAMETERS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProcessedParameters()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo 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.SubscribeBackfillingData.BackfillFinishedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo 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.SubscribeBackfillingData.BackfillFinishedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo 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.SubscribeBackfillingData.BackfillFinishedInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo 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.SubscribeBackfillingData.BackfillFinishedInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo 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.SubscribeBackfillingData.BackfillFinishedInfo 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; } /** *
     * Notification message when a backfill finished
     * 
* * Protobuf type {@code yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo) org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_BackfillFinishedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_BackfillFinishedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.class, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder.class); } // Construct using org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStartFieldBuilder(); getStopFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (startBuilder_ == null) { start_ = null; } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (stopBuilder_ == null) { stop_ = null; } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); processedParameters_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_BackfillFinishedInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo getDefaultInstanceForType() { return org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo build() { org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo buildPartial() { org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo result = new org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (startBuilder_ == null) { result.start_ = start_; } else { result.start_ = startBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (stopBuilder_ == null) { result.stop_ = stop_; } else { result.stop_ = stopBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.processedParameters_ = processedParameters_; to_bitField0_ |= 0x00000004; } 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.SubscribeBackfillingData.BackfillFinishedInfo) { return mergeFrom((org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo other) { if (other == org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.getDefaultInstance()) return this; if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasStop()) { mergeStop(other.getStop()); } if (other.hasProcessedParameters()) { setProcessedParameters(other.getProcessedParameters()); } 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 { org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Timestamp start_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_; /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; * @return Whether the start field is set. */ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; * @return The start. */ public com.google.protobuf.Timestamp getStart() { if (startBuilder_ == null) { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } else { return startBuilder_.getMessage(); } } /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; */ public Builder setStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (value == null) { throw new NullPointerException(); } start_ = value; onChanged(); } else { startBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; */ public Builder setStart( com.google.protobuf.Timestamp.Builder builderForValue) { if (startBuilder_ == null) { start_ = builderForValue.build(); onChanged(); } else { startBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; */ public Builder mergeStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && start_ != null && start_ != com.google.protobuf.Timestamp.getDefaultInstance()) { start_ = com.google.protobuf.Timestamp.newBuilder(start_).mergeFrom(value).buildPartial(); } else { start_ = value; } onChanged(); } else { startBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; */ public Builder clearStart() { if (startBuilder_ == null) { start_ = null; onChanged(); } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; */ public com.google.protobuf.Timestamp.Builder getStartBuilder() { bitField0_ |= 0x00000001; onChanged(); return getStartFieldBuilder().getBuilder(); } /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; */ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { if (startBuilder_ != null) { return startBuilder_.getMessageOrBuilder(); } else { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } } /** *
       * Range start
       * 
* * optional .google.protobuf.Timestamp start = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartFieldBuilder() { if (startBuilder_ == null) { startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStart(), getParentForChildren(), isClean()); start_ = null; } return startBuilder_; } private com.google.protobuf.Timestamp stop_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stopBuilder_; /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; * @return Whether the stop field is set. */ public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; * @return The stop. */ public com.google.protobuf.Timestamp getStop() { if (stopBuilder_ == null) { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } else { return stopBuilder_.getMessage(); } } /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; */ public Builder setStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stop_ = value; onChanged(); } else { stopBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; */ public Builder setStop( com.google.protobuf.Timestamp.Builder builderForValue) { if (stopBuilder_ == null) { stop_ = builderForValue.build(); onChanged(); } else { stopBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; */ public Builder mergeStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && stop_ != null && stop_ != com.google.protobuf.Timestamp.getDefaultInstance()) { stop_ = com.google.protobuf.Timestamp.newBuilder(stop_).mergeFrom(value).buildPartial(); } else { stop_ = value; } onChanged(); } else { stopBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; */ public Builder clearStop() { if (stopBuilder_ == null) { stop_ = null; onChanged(); } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; */ public com.google.protobuf.Timestamp.Builder getStopBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStopFieldBuilder().getBuilder(); } /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; */ public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { if (stopBuilder_ != null) { return stopBuilder_.getMessageOrBuilder(); } else { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } } /** *
       * Range stop
       * 
* * optional .google.protobuf.Timestamp stop = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStopFieldBuilder() { if (stopBuilder_ == null) { stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStop(), getParentForChildren(), isClean()); stop_ = null; } return stopBuilder_; } private long processedParameters_ ; /** *
       * Number of processed parameters
       * 
* * optional uint64 processedParameters = 3; * @return Whether the processedParameters field is set. */ @java.lang.Override public boolean hasProcessedParameters() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Number of processed parameters
       * 
* * optional uint64 processedParameters = 3; * @return The processedParameters. */ @java.lang.Override public long getProcessedParameters() { return processedParameters_; } /** *
       * Number of processed parameters
       * 
* * optional uint64 processedParameters = 3; * @param value The processedParameters to set. * @return This builder for chaining. */ public Builder setProcessedParameters(long value) { bitField0_ |= 0x00000004; processedParameters_ = value; onChanged(); return this; } /** *
       * Number of processed parameters
       * 
* * optional uint64 processedParameters = 3; * @return This builder for chaining. */ public Builder clearProcessedParameters() { bitField0_ = (bitField0_ & ~0x00000004); processedParameters_ = 0L; 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.archive.SubscribeBackfillingData.BackfillFinishedInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo) private static final org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo(); } public static org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BackfillFinishedInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BackfillFinishedInfo(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.SubscribeBackfillingData.BackfillFinishedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int FINISHED_FIELD_NUMBER = 1; private java.util.List finished_; /** *
   * Recently finished backfills (bundled over a 5 second interval)
   * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ @java.lang.Override public java.util.List getFinishedList() { return finished_; } /** *
   * Recently finished backfills (bundled over a 5 second interval)
   * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ @java.lang.Override public java.util.List getFinishedOrBuilderList() { return finished_; } /** *
   * Recently finished backfills (bundled over a 5 second interval)
   * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ @java.lang.Override public int getFinishedCount() { return finished_.size(); } /** *
   * Recently finished backfills (bundled over a 5 second interval)
   * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ @java.lang.Override public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo getFinished(int index) { return finished_.get(index); } /** *
   * Recently finished backfills (bundled over a 5 second interval)
   * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ @java.lang.Override public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfoOrBuilder getFinishedOrBuilder( int index) { return finished_.get(index); } 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 { for (int i = 0; i < finished_.size(); i++) { output.writeMessage(1, finished_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < finished_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, finished_.get(i)); } 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.SubscribeBackfillingData)) { return super.equals(obj); } org.yamcs.protobuf.SubscribeBackfillingData other = (org.yamcs.protobuf.SubscribeBackfillingData) obj; if (!getFinishedList() .equals(other.getFinishedList())) 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 (getFinishedCount() > 0) { hash = (37 * hash) + FINISHED_FIELD_NUMBER; hash = (53 * hash) + getFinishedList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.SubscribeBackfillingData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeBackfillingData 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.SubscribeBackfillingData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeBackfillingData 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.SubscribeBackfillingData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeBackfillingData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.SubscribeBackfillingData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeBackfillingData 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.SubscribeBackfillingData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeBackfillingData 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.SubscribeBackfillingData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeBackfillingData 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.SubscribeBackfillingData 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.archive.SubscribeBackfillingData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.SubscribeBackfillingData) org.yamcs.protobuf.SubscribeBackfillingDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.SubscribeBackfillingData.class, org.yamcs.protobuf.SubscribeBackfillingData.Builder.class); } // Construct using org.yamcs.protobuf.SubscribeBackfillingData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFinishedFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (finishedBuilder_ == null) { finished_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { finishedBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_SubscribeBackfillingData_descriptor; } @java.lang.Override public org.yamcs.protobuf.SubscribeBackfillingData getDefaultInstanceForType() { return org.yamcs.protobuf.SubscribeBackfillingData.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.SubscribeBackfillingData build() { org.yamcs.protobuf.SubscribeBackfillingData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.SubscribeBackfillingData buildPartial() { org.yamcs.protobuf.SubscribeBackfillingData result = new org.yamcs.protobuf.SubscribeBackfillingData(this); int from_bitField0_ = bitField0_; if (finishedBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { finished_ = java.util.Collections.unmodifiableList(finished_); bitField0_ = (bitField0_ & ~0x00000001); } result.finished_ = finished_; } else { result.finished_ = finishedBuilder_.build(); } 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.SubscribeBackfillingData) { return mergeFrom((org.yamcs.protobuf.SubscribeBackfillingData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.SubscribeBackfillingData other) { if (other == org.yamcs.protobuf.SubscribeBackfillingData.getDefaultInstance()) return this; if (finishedBuilder_ == null) { if (!other.finished_.isEmpty()) { if (finished_.isEmpty()) { finished_ = other.finished_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFinishedIsMutable(); finished_.addAll(other.finished_); } onChanged(); } } else { if (!other.finished_.isEmpty()) { if (finishedBuilder_.isEmpty()) { finishedBuilder_.dispose(); finishedBuilder_ = null; finished_ = other.finished_; bitField0_ = (bitField0_ & ~0x00000001); finishedBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFinishedFieldBuilder() : null; } else { finishedBuilder_.addAllMessages(other.finished_); } } } 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 { org.yamcs.protobuf.SubscribeBackfillingData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.SubscribeBackfillingData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List finished_ = java.util.Collections.emptyList(); private void ensureFinishedIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { finished_ = new java.util.ArrayList(finished_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfoOrBuilder> finishedBuilder_; /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public java.util.List getFinishedList() { if (finishedBuilder_ == null) { return java.util.Collections.unmodifiableList(finished_); } else { return finishedBuilder_.getMessageList(); } } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public int getFinishedCount() { if (finishedBuilder_ == null) { return finished_.size(); } else { return finishedBuilder_.getCount(); } } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo getFinished(int index) { if (finishedBuilder_ == null) { return finished_.get(index); } else { return finishedBuilder_.getMessage(index); } } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder setFinished( int index, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo value) { if (finishedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFinishedIsMutable(); finished_.set(index, value); onChanged(); } else { finishedBuilder_.setMessage(index, value); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder setFinished( int index, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder builderForValue) { if (finishedBuilder_ == null) { ensureFinishedIsMutable(); finished_.set(index, builderForValue.build()); onChanged(); } else { finishedBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder addFinished(org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo value) { if (finishedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFinishedIsMutable(); finished_.add(value); onChanged(); } else { finishedBuilder_.addMessage(value); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder addFinished( int index, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo value) { if (finishedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFinishedIsMutable(); finished_.add(index, value); onChanged(); } else { finishedBuilder_.addMessage(index, value); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder addFinished( org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder builderForValue) { if (finishedBuilder_ == null) { ensureFinishedIsMutable(); finished_.add(builderForValue.build()); onChanged(); } else { finishedBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder addFinished( int index, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder builderForValue) { if (finishedBuilder_ == null) { ensureFinishedIsMutable(); finished_.add(index, builderForValue.build()); onChanged(); } else { finishedBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder addAllFinished( java.lang.Iterable values) { if (finishedBuilder_ == null) { ensureFinishedIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, finished_); onChanged(); } else { finishedBuilder_.addAllMessages(values); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder clearFinished() { if (finishedBuilder_ == null) { finished_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { finishedBuilder_.clear(); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public Builder removeFinished(int index) { if (finishedBuilder_ == null) { ensureFinishedIsMutable(); finished_.remove(index); onChanged(); } else { finishedBuilder_.remove(index); } return this; } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder getFinishedBuilder( int index) { return getFinishedFieldBuilder().getBuilder(index); } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfoOrBuilder getFinishedOrBuilder( int index) { if (finishedBuilder_ == null) { return finished_.get(index); } else { return finishedBuilder_.getMessageOrBuilder(index); } } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public java.util.List getFinishedOrBuilderList() { if (finishedBuilder_ != null) { return finishedBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(finished_); } } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder addFinishedBuilder() { return getFinishedFieldBuilder().addBuilder( org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.getDefaultInstance()); } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder addFinishedBuilder( int index) { return getFinishedFieldBuilder().addBuilder( index, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.getDefaultInstance()); } /** *
     * Recently finished backfills (bundled over a 5 second interval)
     * 
* * repeated .yamcs.protobuf.archive.SubscribeBackfillingData.BackfillFinishedInfo finished = 1; */ public java.util.List getFinishedBuilderList() { return getFinishedFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfoOrBuilder> getFinishedFieldBuilder() { if (finishedBuilder_ == null) { finishedBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfo.Builder, org.yamcs.protobuf.SubscribeBackfillingData.BackfillFinishedInfoOrBuilder>( finished_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); finished_ = null; } return finishedBuilder_; } @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.archive.SubscribeBackfillingData) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.SubscribeBackfillingData) private static final org.yamcs.protobuf.SubscribeBackfillingData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.SubscribeBackfillingData(); } public static org.yamcs.protobuf.SubscribeBackfillingData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBackfillingData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBackfillingData(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.SubscribeBackfillingData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy