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

org.yamcs.protobuf.LeapSecondsTable 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.LeapSecondsTable}
 */
public  final class LeapSecondsTable extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.yamcsManagement.LeapSecondsTable)
    LeapSecondsTableOrBuilder {
private static final long serialVersionUID = 0L;
  // Use LeapSecondsTable.newBuilder() to construct.
  private LeapSecondsTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private LeapSecondsTable() {
    ranges_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private LeapSecondsTable(
      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)) {
              ranges_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            ranges_.add(
                input.readMessage(org.yamcs.protobuf.LeapSecondsTable.ValidityRange.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)) {
        ranges_ = java.util.Collections.unmodifiableList(ranges_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_descriptor;
  }

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

  public interface ValidityRangeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * UTC timestamp (unsmeared)
     * 
* * optional string start = 1; */ boolean hasStart(); /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string start = 1; */ java.lang.String getStart(); /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string start = 1; */ com.google.protobuf.ByteString getStartBytes(); /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string stop = 2; */ boolean hasStop(); /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string stop = 2; */ java.lang.String getStop(); /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string stop = 2; */ com.google.protobuf.ByteString getStopBytes(); /** * optional int32 leapSeconds = 3; */ boolean hasLeapSeconds(); /** * optional int32 leapSeconds = 3; */ int getLeapSeconds(); /** * optional int32 taiDifference = 4; */ boolean hasTaiDifference(); /** * optional int32 taiDifference = 4; */ int getTaiDifference(); } /** * Protobuf type {@code yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange} */ public static final class ValidityRange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange) ValidityRangeOrBuilder { private static final long serialVersionUID = 0L; // Use ValidityRange.newBuilder() to construct. private ValidityRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ValidityRange() { start_ = ""; stop_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ValidityRange( 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; start_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; stop_ = bs; break; } case 24: { bitField0_ |= 0x00000004; leapSeconds_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; taiDifference_ = input.readInt32(); 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.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_ValidityRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_ValidityRange_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.LeapSecondsTable.ValidityRange.class, org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder.class); } private int bitField0_; public static final int START_FIELD_NUMBER = 1; private volatile java.lang.Object start_; /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string start = 1; */ public java.lang.String getStart() { java.lang.Object ref = start_; 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()) { start_ = s; } return s; } } /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string start = 1; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STOP_FIELD_NUMBER = 2; private volatile java.lang.Object stop_; /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string stop = 2; */ public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string stop = 2; */ public java.lang.String getStop() { java.lang.Object ref = stop_; 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()) { stop_ = s; } return s; } } /** *
     * UTC timestamp (unsmeared)
     * 
* * optional string stop = 2; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LEAPSECONDS_FIELD_NUMBER = 3; private int leapSeconds_; /** * optional int32 leapSeconds = 3; */ public boolean hasLeapSeconds() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 leapSeconds = 3; */ public int getLeapSeconds() { return leapSeconds_; } public static final int TAIDIFFERENCE_FIELD_NUMBER = 4; private int taiDifference_; /** * optional int32 taiDifference = 4; */ public boolean hasTaiDifference() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 taiDifference = 4; */ public int getTaiDifference() { return taiDifference_; } 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, start_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stop_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, leapSeconds_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, taiDifference_); } 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, start_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stop_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, leapSeconds_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, taiDifference_); } 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.LeapSecondsTable.ValidityRange)) { return super.equals(obj); } org.yamcs.protobuf.LeapSecondsTable.ValidityRange other = (org.yamcs.protobuf.LeapSecondsTable.ValidityRange) 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 (hasLeapSeconds() != other.hasLeapSeconds()) return false; if (hasLeapSeconds()) { if (getLeapSeconds() != other.getLeapSeconds()) return false; } if (hasTaiDifference() != other.hasTaiDifference()) return false; if (hasTaiDifference()) { if (getTaiDifference() != other.getTaiDifference()) 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 (hasLeapSeconds()) { hash = (37 * hash) + LEAPSECONDS_FIELD_NUMBER; hash = (53 * hash) + getLeapSeconds(); } if (hasTaiDifference()) { hash = (37 * hash) + TAIDIFFERENCE_FIELD_NUMBER; hash = (53 * hash) + getTaiDifference(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange 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.LeapSecondsTable.ValidityRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange 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.LeapSecondsTable.ValidityRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange 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.LeapSecondsTable.ValidityRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange 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.LeapSecondsTable.ValidityRange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange 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.LeapSecondsTable.ValidityRange 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.LeapSecondsTable.ValidityRange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange) org.yamcs.protobuf.LeapSecondsTable.ValidityRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_ValidityRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_ValidityRange_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.LeapSecondsTable.ValidityRange.class, org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder.class); } // Construct using org.yamcs.protobuf.LeapSecondsTable.ValidityRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); start_ = ""; bitField0_ = (bitField0_ & ~0x00000001); stop_ = ""; bitField0_ = (bitField0_ & ~0x00000002); leapSeconds_ = 0; bitField0_ = (bitField0_ & ~0x00000004); taiDifference_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_ValidityRange_descriptor; } @java.lang.Override public org.yamcs.protobuf.LeapSecondsTable.ValidityRange getDefaultInstanceForType() { return org.yamcs.protobuf.LeapSecondsTable.ValidityRange.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.LeapSecondsTable.ValidityRange build() { org.yamcs.protobuf.LeapSecondsTable.ValidityRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.LeapSecondsTable.ValidityRange buildPartial() { org.yamcs.protobuf.LeapSecondsTable.ValidityRange result = new org.yamcs.protobuf.LeapSecondsTable.ValidityRange(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.start_ = start_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.stop_ = stop_; if (((from_bitField0_ & 0x00000004) != 0)) { result.leapSeconds_ = leapSeconds_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.taiDifference_ = taiDifference_; to_bitField0_ |= 0x00000008; } 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.LeapSecondsTable.ValidityRange) { return mergeFrom((org.yamcs.protobuf.LeapSecondsTable.ValidityRange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.LeapSecondsTable.ValidityRange other) { if (other == org.yamcs.protobuf.LeapSecondsTable.ValidityRange.getDefaultInstance()) return this; if (other.hasStart()) { bitField0_ |= 0x00000001; start_ = other.start_; onChanged(); } if (other.hasStop()) { bitField0_ |= 0x00000002; stop_ = other.stop_; onChanged(); } if (other.hasLeapSeconds()) { setLeapSeconds(other.getLeapSeconds()); } if (other.hasTaiDifference()) { setTaiDifference(other.getTaiDifference()); } 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.LeapSecondsTable.ValidityRange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.LeapSecondsTable.ValidityRange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object start_ = ""; /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string start = 1; */ public java.lang.String getStart() { java.lang.Object ref = start_; 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()) { start_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string start = 1; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string start = 1; */ public Builder setStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; start_ = value; onChanged(); return this; } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string start = 1; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = getDefaultInstance().getStart(); onChanged(); return this; } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string start = 1; */ public Builder setStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; start_ = value; onChanged(); return this; } private java.lang.Object stop_ = ""; /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string stop = 2; */ public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string stop = 2; */ public java.lang.String getStop() { java.lang.Object ref = stop_; 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()) { stop_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string stop = 2; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string stop = 2; */ public Builder setStop( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; stop_ = value; onChanged(); return this; } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string stop = 2; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000002); stop_ = getDefaultInstance().getStop(); onChanged(); return this; } /** *
       * UTC timestamp (unsmeared)
       * 
* * optional string stop = 2; */ public Builder setStopBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; stop_ = value; onChanged(); return this; } private int leapSeconds_ ; /** * optional int32 leapSeconds = 3; */ public boolean hasLeapSeconds() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 leapSeconds = 3; */ public int getLeapSeconds() { return leapSeconds_; } /** * optional int32 leapSeconds = 3; */ public Builder setLeapSeconds(int value) { bitField0_ |= 0x00000004; leapSeconds_ = value; onChanged(); return this; } /** * optional int32 leapSeconds = 3; */ public Builder clearLeapSeconds() { bitField0_ = (bitField0_ & ~0x00000004); leapSeconds_ = 0; onChanged(); return this; } private int taiDifference_ ; /** * optional int32 taiDifference = 4; */ public boolean hasTaiDifference() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 taiDifference = 4; */ public int getTaiDifference() { return taiDifference_; } /** * optional int32 taiDifference = 4; */ public Builder setTaiDifference(int value) { bitField0_ |= 0x00000008; taiDifference_ = value; onChanged(); return this; } /** * optional int32 taiDifference = 4; */ public Builder clearTaiDifference() { bitField0_ = (bitField0_ & ~0x00000008); taiDifference_ = 0; 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.LeapSecondsTable.ValidityRange) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange) private static final org.yamcs.protobuf.LeapSecondsTable.ValidityRange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.LeapSecondsTable.ValidityRange(); } public static org.yamcs.protobuf.LeapSecondsTable.ValidityRange getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ValidityRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ValidityRange(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.LeapSecondsTable.ValidityRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int RANGES_FIELD_NUMBER = 1; private java.util.List ranges_; /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public java.util.List getRangesList() { return ranges_; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public java.util.List getRangesOrBuilderList() { return ranges_; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public int getRangesCount() { return ranges_.size(); } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public org.yamcs.protobuf.LeapSecondsTable.ValidityRange getRanges(int index) { return ranges_.get(index); } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public org.yamcs.protobuf.LeapSecondsTable.ValidityRangeOrBuilder getRangesOrBuilder( int index) { return ranges_.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 < ranges_.size(); i++) { output.writeMessage(1, ranges_.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 < ranges_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, ranges_.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.LeapSecondsTable)) { return super.equals(obj); } org.yamcs.protobuf.LeapSecondsTable other = (org.yamcs.protobuf.LeapSecondsTable) obj; if (!getRangesList() .equals(other.getRangesList())) 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 (getRangesCount() > 0) { hash = (37 * hash) + RANGES_FIELD_NUMBER; hash = (53 * hash) + getRangesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.LeapSecondsTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.LeapSecondsTable 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.LeapSecondsTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.LeapSecondsTable 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.LeapSecondsTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.LeapSecondsTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.LeapSecondsTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.LeapSecondsTable 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.LeapSecondsTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.LeapSecondsTable 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.LeapSecondsTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.LeapSecondsTable 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.LeapSecondsTable 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.LeapSecondsTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.yamcsManagement.LeapSecondsTable) org.yamcs.protobuf.LeapSecondsTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.LeapSecondsTable.class, org.yamcs.protobuf.LeapSecondsTable.Builder.class); } // Construct using org.yamcs.protobuf.LeapSecondsTable.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRangesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (rangesBuilder_ == null) { ranges_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rangesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.YamcsManagementProto.internal_static_yamcs_protobuf_yamcsManagement_LeapSecondsTable_descriptor; } @java.lang.Override public org.yamcs.protobuf.LeapSecondsTable getDefaultInstanceForType() { return org.yamcs.protobuf.LeapSecondsTable.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.LeapSecondsTable build() { org.yamcs.protobuf.LeapSecondsTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.LeapSecondsTable buildPartial() { org.yamcs.protobuf.LeapSecondsTable result = new org.yamcs.protobuf.LeapSecondsTable(this); int from_bitField0_ = bitField0_; if (rangesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { ranges_ = java.util.Collections.unmodifiableList(ranges_); bitField0_ = (bitField0_ & ~0x00000001); } result.ranges_ = ranges_; } else { result.ranges_ = rangesBuilder_.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.LeapSecondsTable) { return mergeFrom((org.yamcs.protobuf.LeapSecondsTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.LeapSecondsTable other) { if (other == org.yamcs.protobuf.LeapSecondsTable.getDefaultInstance()) return this; if (rangesBuilder_ == null) { if (!other.ranges_.isEmpty()) { if (ranges_.isEmpty()) { ranges_ = other.ranges_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRangesIsMutable(); ranges_.addAll(other.ranges_); } onChanged(); } } else { if (!other.ranges_.isEmpty()) { if (rangesBuilder_.isEmpty()) { rangesBuilder_.dispose(); rangesBuilder_ = null; ranges_ = other.ranges_; bitField0_ = (bitField0_ & ~0x00000001); rangesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRangesFieldBuilder() : null; } else { rangesBuilder_.addAllMessages(other.ranges_); } } } 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.LeapSecondsTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.LeapSecondsTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List ranges_ = java.util.Collections.emptyList(); private void ensureRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ranges_ = new java.util.ArrayList(ranges_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.LeapSecondsTable.ValidityRange, org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder, org.yamcs.protobuf.LeapSecondsTable.ValidityRangeOrBuilder> rangesBuilder_; /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public java.util.List getRangesList() { if (rangesBuilder_ == null) { return java.util.Collections.unmodifiableList(ranges_); } else { return rangesBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public int getRangesCount() { if (rangesBuilder_ == null) { return ranges_.size(); } else { return rangesBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public org.yamcs.protobuf.LeapSecondsTable.ValidityRange getRanges(int index) { if (rangesBuilder_ == null) { return ranges_.get(index); } else { return rangesBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder setRanges( int index, org.yamcs.protobuf.LeapSecondsTable.ValidityRange value) { if (rangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRangesIsMutable(); ranges_.set(index, value); onChanged(); } else { rangesBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder setRanges( int index, org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder builderForValue) { if (rangesBuilder_ == null) { ensureRangesIsMutable(); ranges_.set(index, builderForValue.build()); onChanged(); } else { rangesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder addRanges(org.yamcs.protobuf.LeapSecondsTable.ValidityRange value) { if (rangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRangesIsMutable(); ranges_.add(value); onChanged(); } else { rangesBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder addRanges( int index, org.yamcs.protobuf.LeapSecondsTable.ValidityRange value) { if (rangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRangesIsMutable(); ranges_.add(index, value); onChanged(); } else { rangesBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder addRanges( org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder builderForValue) { if (rangesBuilder_ == null) { ensureRangesIsMutable(); ranges_.add(builderForValue.build()); onChanged(); } else { rangesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder addRanges( int index, org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder builderForValue) { if (rangesBuilder_ == null) { ensureRangesIsMutable(); ranges_.add(index, builderForValue.build()); onChanged(); } else { rangesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder addAllRanges( java.lang.Iterable values) { if (rangesBuilder_ == null) { ensureRangesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ranges_); onChanged(); } else { rangesBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder clearRanges() { if (rangesBuilder_ == null) { ranges_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rangesBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public Builder removeRanges(int index) { if (rangesBuilder_ == null) { ensureRangesIsMutable(); ranges_.remove(index); onChanged(); } else { rangesBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder getRangesBuilder( int index) { return getRangesFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public org.yamcs.protobuf.LeapSecondsTable.ValidityRangeOrBuilder getRangesOrBuilder( int index) { if (rangesBuilder_ == null) { return ranges_.get(index); } else { return rangesBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public java.util.List getRangesOrBuilderList() { if (rangesBuilder_ != null) { return rangesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(ranges_); } } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder addRangesBuilder() { return getRangesFieldBuilder().addBuilder( org.yamcs.protobuf.LeapSecondsTable.ValidityRange.getDefaultInstance()); } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder addRangesBuilder( int index) { return getRangesFieldBuilder().addBuilder( index, org.yamcs.protobuf.LeapSecondsTable.ValidityRange.getDefaultInstance()); } /** * repeated .yamcs.protobuf.yamcsManagement.LeapSecondsTable.ValidityRange ranges = 1; */ public java.util.List getRangesBuilderList() { return getRangesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.LeapSecondsTable.ValidityRange, org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder, org.yamcs.protobuf.LeapSecondsTable.ValidityRangeOrBuilder> getRangesFieldBuilder() { if (rangesBuilder_ == null) { rangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.LeapSecondsTable.ValidityRange, org.yamcs.protobuf.LeapSecondsTable.ValidityRange.Builder, org.yamcs.protobuf.LeapSecondsTable.ValidityRangeOrBuilder>( ranges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); ranges_ = null; } return rangesBuilder_; } @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.LeapSecondsTable) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.yamcsManagement.LeapSecondsTable) private static final org.yamcs.protobuf.LeapSecondsTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.LeapSecondsTable(); } public static org.yamcs.protobuf.LeapSecondsTable getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LeapSecondsTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LeapSecondsTable(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.LeapSecondsTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy