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

org.yamcs.protobuf.Yamcs 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/yamcs.proto

package org.yamcs.protobuf;

public final class Yamcs {
  private Yamcs() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * 
   ************************ Replays ***************
   * 
* * Protobuf enum {@code yamcs.protobuf.EndAction} */ public enum EndAction implements com.google.protobuf.ProtocolMessageEnum { /** * LOOP = 1; */ LOOP(1), /** * QUIT = 2; */ QUIT(2), /** * STOP = 3; */ STOP(3), ; /** * LOOP = 1; */ public static final int LOOP_VALUE = 1; /** * QUIT = 2; */ public static final int QUIT_VALUE = 2; /** * STOP = 3; */ public static final int STOP_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static EndAction valueOf(int value) { return forNumber(value); } public static EndAction forNumber(int value) { switch (value) { case 1: return LOOP; case 2: return QUIT; case 3: return STOP; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< EndAction> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EndAction findValueByNumber(int number) { return EndAction.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.getDescriptor().getEnumTypes().get(0); } private static final EndAction[] VALUES = values(); public static EndAction valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private EndAction(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.EndAction) } /** *
   *Integers from this enum are sent as values of the $Protocol.DATA_TYPE_HEADER_NAME to the artemis messages containing subscription data
   * the same ids are also part of for websocket subscriptions
   * 
* * Protobuf enum {@code yamcs.protobuf.ProtoDataType} */ public enum ProtoDataType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *error in replay
     * 
* * DT_ERROR = 1; */ DT_ERROR(1), /** *
     *the replay status has changed (e.g.  stopped or closed) the body contains a ReplayStatus
     * 
* * STATE_CHANGE = 2; */ STATE_CHANGE(2), /** * TM_PACKET = 3; */ TM_PACKET(3), /** * PP = 4; */ PP(4), /** * EVENT = 5; */ EVENT(5), /** * ARCHIVE_INDEX = 6; */ ARCHIVE_INDEX(6), /** * ARCHIVE_TAG = 7; */ ARCHIVE_TAG(7), /** * PARAMETER = 8; */ PARAMETER(8), /** * CMD_HISTORY = 9; */ CMD_HISTORY(9), /** * PROCESSOR_INFO = 10; */ PROCESSOR_INFO(10), /** * CLIENT_INFO = 11; */ CLIENT_INFO(11), /** * PROCESSING_STATISTICS = 12; */ PROCESSING_STATISTICS(12), /** * STREAM_DATA = 13; */ STREAM_DATA(13), /** * ALARM_DATA = 14; */ ALARM_DATA(14), /** * TIME_INFO = 15; */ TIME_INFO(15), /** * LINK_EVENT = 16; */ LINK_EVENT(16), /** * COMMAND_QUEUE_INFO = 17; */ COMMAND_QUEUE_INFO(17), /** * COMMAND_QUEUE_EVENT = 18; */ COMMAND_QUEUE_EVENT(18), /** * CONNECTION_INFO = 19; */ CONNECTION_INFO(19), /** * INSTANCE = 20; */ INSTANCE(20), /** * STREAM_EVENT = 21; */ STREAM_EVENT(21), /** * EXTENSION_DATA = 100; */ EXTENSION_DATA(100), ; /** *
     *error in replay
     * 
* * DT_ERROR = 1; */ public static final int DT_ERROR_VALUE = 1; /** *
     *the replay status has changed (e.g.  stopped or closed) the body contains a ReplayStatus
     * 
* * STATE_CHANGE = 2; */ public static final int STATE_CHANGE_VALUE = 2; /** * TM_PACKET = 3; */ public static final int TM_PACKET_VALUE = 3; /** * PP = 4; */ public static final int PP_VALUE = 4; /** * EVENT = 5; */ public static final int EVENT_VALUE = 5; /** * ARCHIVE_INDEX = 6; */ public static final int ARCHIVE_INDEX_VALUE = 6; /** * ARCHIVE_TAG = 7; */ public static final int ARCHIVE_TAG_VALUE = 7; /** * PARAMETER = 8; */ public static final int PARAMETER_VALUE = 8; /** * CMD_HISTORY = 9; */ public static final int CMD_HISTORY_VALUE = 9; /** * PROCESSOR_INFO = 10; */ public static final int PROCESSOR_INFO_VALUE = 10; /** * CLIENT_INFO = 11; */ public static final int CLIENT_INFO_VALUE = 11; /** * PROCESSING_STATISTICS = 12; */ public static final int PROCESSING_STATISTICS_VALUE = 12; /** * STREAM_DATA = 13; */ public static final int STREAM_DATA_VALUE = 13; /** * ALARM_DATA = 14; */ public static final int ALARM_DATA_VALUE = 14; /** * TIME_INFO = 15; */ public static final int TIME_INFO_VALUE = 15; /** * LINK_EVENT = 16; */ public static final int LINK_EVENT_VALUE = 16; /** * COMMAND_QUEUE_INFO = 17; */ public static final int COMMAND_QUEUE_INFO_VALUE = 17; /** * COMMAND_QUEUE_EVENT = 18; */ public static final int COMMAND_QUEUE_EVENT_VALUE = 18; /** * CONNECTION_INFO = 19; */ public static final int CONNECTION_INFO_VALUE = 19; /** * INSTANCE = 20; */ public static final int INSTANCE_VALUE = 20; /** * STREAM_EVENT = 21; */ public static final int STREAM_EVENT_VALUE = 21; /** * EXTENSION_DATA = 100; */ public static final int EXTENSION_DATA_VALUE = 100; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ProtoDataType valueOf(int value) { return forNumber(value); } public static ProtoDataType forNumber(int value) { switch (value) { case 1: return DT_ERROR; case 2: return STATE_CHANGE; case 3: return TM_PACKET; case 4: return PP; case 5: return EVENT; case 6: return ARCHIVE_INDEX; case 7: return ARCHIVE_TAG; case 8: return PARAMETER; case 9: return CMD_HISTORY; case 10: return PROCESSOR_INFO; case 11: return CLIENT_INFO; case 12: return PROCESSING_STATISTICS; case 13: return STREAM_DATA; case 14: return ALARM_DATA; case 15: return TIME_INFO; case 16: return LINK_EVENT; case 17: return COMMAND_QUEUE_INFO; case 18: return COMMAND_QUEUE_EVENT; case 19: return CONNECTION_INFO; case 20: return INSTANCE; case 21: return STREAM_EVENT; case 100: return EXTENSION_DATA; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ProtoDataType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ProtoDataType findValueByNumber(int number) { return ProtoDataType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.getDescriptor().getEnumTypes().get(1); } private static final ProtoDataType[] VALUES = values(); public static ProtoDataType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private ProtoDataType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.ProtoDataType) } public interface StringMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.StringMessage) com.google.protobuf.MessageOrBuilder { /** * required string message = 1; */ boolean hasMessage(); /** * required string message = 1; */ java.lang.String getMessage(); /** * required string message = 1; */ com.google.protobuf.ByteString getMessageBytes(); } /** * Protobuf type {@code yamcs.protobuf.StringMessage} */ public static final class StringMessage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.StringMessage) StringMessageOrBuilder { private static final long serialVersionUID = 0L; // Use StringMessage.newBuilder() to construct. private StringMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringMessage() { message_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringMessage( 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; message_ = bs; 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.Yamcs.internal_static_yamcs_protobuf_StringMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_StringMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.StringMessage.class, org.yamcs.protobuf.Yamcs.StringMessage.Builder.class); } private int bitField0_; public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** * required string message = 1; */ public boolean hasMessage() { return ((bitField0_ & 0x00000001) != 0); } /** * required string message = 1; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } } /** * required string message = 1; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasMessage()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } 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, message_); } 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.Yamcs.StringMessage)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.StringMessage other = (org.yamcs.protobuf.Yamcs.StringMessage) obj; if (hasMessage() != other.hasMessage()) return false; if (hasMessage()) { if (!getMessage() .equals(other.getMessage())) 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 (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.StringMessage parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.StringMessage 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.Yamcs.StringMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.StringMessage 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.Yamcs.StringMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.StringMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.StringMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.StringMessage 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.Yamcs.StringMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.StringMessage 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.Yamcs.StringMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.StringMessage 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.Yamcs.StringMessage 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.StringMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.StringMessage) org.yamcs.protobuf.Yamcs.StringMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_StringMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_StringMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.StringMessage.class, org.yamcs.protobuf.Yamcs.StringMessage.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.StringMessage.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(); message_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_StringMessage_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.StringMessage getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.StringMessage.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.StringMessage build() { org.yamcs.protobuf.Yamcs.StringMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.StringMessage buildPartial() { org.yamcs.protobuf.Yamcs.StringMessage result = new org.yamcs.protobuf.Yamcs.StringMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.message_ = message_; 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.Yamcs.StringMessage) { return mergeFrom((org.yamcs.protobuf.Yamcs.StringMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.StringMessage other) { if (other == org.yamcs.protobuf.Yamcs.StringMessage.getDefaultInstance()) return this; if (other.hasMessage()) { bitField0_ |= 0x00000001; message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasMessage()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.StringMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.StringMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object message_ = ""; /** * required string message = 1; */ public boolean hasMessage() { return ((bitField0_ & 0x00000001) != 0); } /** * required string message = 1; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string message = 1; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string message = 1; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; message_ = value; onChanged(); return this; } /** * required string message = 1; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000001); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * required string message = 1; */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; message_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.StringMessage) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.StringMessage) private static final org.yamcs.protobuf.Yamcs.StringMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.StringMessage(); } public static org.yamcs.protobuf.Yamcs.StringMessage getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StringMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StringMessage(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.Yamcs.StringMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InstantOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.Instant) com.google.protobuf.MessageOrBuilder { /** * required int64 instant = 1; */ boolean hasInstant(); /** * required int64 instant = 1; */ long getInstant(); } /** * Protobuf type {@code yamcs.protobuf.Instant} */ public static final class Instant extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.Instant) InstantOrBuilder { private static final long serialVersionUID = 0L; // Use Instant.newBuilder() to construct. private Instant(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Instant() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Instant( 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 8: { bitField0_ |= 0x00000001; instant_ = input.readInt64(); 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.Yamcs.internal_static_yamcs_protobuf_Instant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Instant_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.Instant.class, org.yamcs.protobuf.Yamcs.Instant.Builder.class); } private int bitField0_; public static final int INSTANT_FIELD_NUMBER = 1; private long instant_; /** * required int64 instant = 1; */ public boolean hasInstant() { return ((bitField0_ & 0x00000001) != 0); } /** * required int64 instant = 1; */ public long getInstant() { return instant_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasInstant()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, instant_); } 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 .computeInt64Size(1, instant_); } 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.Yamcs.Instant)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.Instant other = (org.yamcs.protobuf.Yamcs.Instant) obj; if (hasInstant() != other.hasInstant()) return false; if (hasInstant()) { if (getInstant() != other.getInstant()) 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 (hasInstant()) { hash = (37 * hash) + INSTANT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstant()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.Instant parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Instant 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.Yamcs.Instant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Instant 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.Yamcs.Instant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Instant parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.Instant parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Instant 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.Yamcs.Instant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Instant 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.Yamcs.Instant parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Instant 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.Yamcs.Instant 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.Instant} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.Instant) org.yamcs.protobuf.Yamcs.InstantOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Instant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Instant_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.Instant.class, org.yamcs.protobuf.Yamcs.Instant.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.Instant.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(); instant_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Instant_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.Instant getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.Instant.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.Instant build() { org.yamcs.protobuf.Yamcs.Instant result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.Instant buildPartial() { org.yamcs.protobuf.Yamcs.Instant result = new org.yamcs.protobuf.Yamcs.Instant(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.instant_ = instant_; to_bitField0_ |= 0x00000001; } 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.Yamcs.Instant) { return mergeFrom((org.yamcs.protobuf.Yamcs.Instant)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.Instant other) { if (other == org.yamcs.protobuf.Yamcs.Instant.getDefaultInstance()) return this; if (other.hasInstant()) { setInstant(other.getInstant()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasInstant()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.Instant parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.Instant) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long instant_ ; /** * required int64 instant = 1; */ public boolean hasInstant() { return ((bitField0_ & 0x00000001) != 0); } /** * required int64 instant = 1; */ public long getInstant() { return instant_; } /** * required int64 instant = 1; */ public Builder setInstant(long value) { bitField0_ |= 0x00000001; instant_ = value; onChanged(); return this; } /** * required int64 instant = 1; */ public Builder clearInstant() { bitField0_ = (bitField0_ & ~0x00000001); instant_ = 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.Instant) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.Instant) private static final org.yamcs.protobuf.Yamcs.Instant DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.Instant(); } public static org.yamcs.protobuf.Yamcs.Instant getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Instant parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Instant(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.Yamcs.Instant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MessagingAddressOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.MessagingAddress) com.google.protobuf.MessageOrBuilder { /** * required string address = 1; */ boolean hasAddress(); /** * required string address = 1; */ java.lang.String getAddress(); /** * required string address = 1; */ com.google.protobuf.ByteString getAddressBytes(); } /** * Protobuf type {@code yamcs.protobuf.MessagingAddress} */ public static final class MessagingAddress extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.MessagingAddress) MessagingAddressOrBuilder { private static final long serialVersionUID = 0L; // Use MessagingAddress.newBuilder() to construct. private MessagingAddress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MessagingAddress() { address_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MessagingAddress( 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; address_ = bs; 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.Yamcs.internal_static_yamcs_protobuf_MessagingAddress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_MessagingAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.MessagingAddress.class, org.yamcs.protobuf.Yamcs.MessagingAddress.Builder.class); } private int bitField0_; public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** * required string address = 1; */ public boolean hasAddress() { return ((bitField0_ & 0x00000001) != 0); } /** * required string address = 1; */ public java.lang.String getAddress() { java.lang.Object ref = address_; 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()) { address_ = s; } return s; } } /** * required string address = 1; */ public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasAddress()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } 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, address_); } 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.Yamcs.MessagingAddress)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.MessagingAddress other = (org.yamcs.protobuf.Yamcs.MessagingAddress) obj; if (hasAddress() != other.hasAddress()) return false; if (hasAddress()) { if (!getAddress() .equals(other.getAddress())) 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 (hasAddress()) { hash = (37 * hash) + ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getAddress().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.MessagingAddress parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.MessagingAddress 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.Yamcs.MessagingAddress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.MessagingAddress 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.Yamcs.MessagingAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.MessagingAddress parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.MessagingAddress parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.MessagingAddress 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.Yamcs.MessagingAddress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.MessagingAddress 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.Yamcs.MessagingAddress parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.MessagingAddress 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.Yamcs.MessagingAddress 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.MessagingAddress} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.MessagingAddress) org.yamcs.protobuf.Yamcs.MessagingAddressOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_MessagingAddress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_MessagingAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.MessagingAddress.class, org.yamcs.protobuf.Yamcs.MessagingAddress.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.MessagingAddress.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(); address_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_MessagingAddress_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.MessagingAddress getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.MessagingAddress.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.MessagingAddress build() { org.yamcs.protobuf.Yamcs.MessagingAddress result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.MessagingAddress buildPartial() { org.yamcs.protobuf.Yamcs.MessagingAddress result = new org.yamcs.protobuf.Yamcs.MessagingAddress(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.address_ = address_; 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.Yamcs.MessagingAddress) { return mergeFrom((org.yamcs.protobuf.Yamcs.MessagingAddress)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.MessagingAddress other) { if (other == org.yamcs.protobuf.Yamcs.MessagingAddress.getDefaultInstance()) return this; if (other.hasAddress()) { bitField0_ |= 0x00000001; address_ = other.address_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAddress()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.MessagingAddress parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.MessagingAddress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object address_ = ""; /** * required string address = 1; */ public boolean hasAddress() { return ((bitField0_ & 0x00000001) != 0); } /** * required string address = 1; */ public java.lang.String getAddress() { java.lang.Object ref = address_; 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()) { address_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string address = 1; */ public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string address = 1; */ public Builder setAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; address_ = value; onChanged(); return this; } /** * required string address = 1; */ public Builder clearAddress() { bitField0_ = (bitField0_ & ~0x00000001); address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** * required string address = 1; */ public Builder setAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; address_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.MessagingAddress) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.MessagingAddress) private static final org.yamcs.protobuf.Yamcs.MessagingAddress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.MessagingAddress(); } public static org.yamcs.protobuf.Yamcs.MessagingAddress getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MessagingAddress parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MessagingAddress(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.Yamcs.MessagingAddress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.Value) com.google.protobuf.MessageOrBuilder { /** * required .yamcs.protobuf.Value.Type type = 1; */ boolean hasType(); /** * required .yamcs.protobuf.Value.Type type = 1; */ org.yamcs.protobuf.Yamcs.Value.Type getType(); /** * optional float floatValue = 2; */ boolean hasFloatValue(); /** * optional float floatValue = 2; */ float getFloatValue(); /** * optional double doubleValue = 3; */ boolean hasDoubleValue(); /** * optional double doubleValue = 3; */ double getDoubleValue(); /** * optional sint32 sint32Value = 4; */ boolean hasSint32Value(); /** * optional sint32 sint32Value = 4; */ int getSint32Value(); /** * optional uint32 uint32Value = 5; */ boolean hasUint32Value(); /** * optional uint32 uint32Value = 5; */ int getUint32Value(); /** * optional bytes binaryValue = 6; */ boolean hasBinaryValue(); /** * optional bytes binaryValue = 6; */ com.google.protobuf.ByteString getBinaryValue(); /** * optional string stringValue = 7; */ boolean hasStringValue(); /** * optional string stringValue = 7; */ java.lang.String getStringValue(); /** * optional string stringValue = 7; */ com.google.protobuf.ByteString getStringValueBytes(); /** * optional int64 timestampValue = 8; */ boolean hasTimestampValue(); /** * optional int64 timestampValue = 8; */ long getTimestampValue(); /** * optional uint64 uint64Value = 9; */ boolean hasUint64Value(); /** * optional uint64 uint64Value = 9; */ long getUint64Value(); /** * optional sint64 sint64Value = 10; */ boolean hasSint64Value(); /** * optional sint64 sint64Value = 10; */ long getSint64Value(); /** * optional bool booleanValue = 11; */ boolean hasBooleanValue(); /** * optional bool booleanValue = 11; */ boolean getBooleanValue(); /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ boolean hasAggregateValue(); /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ org.yamcs.protobuf.Yamcs.AggregateValue getAggregateValue(); /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ org.yamcs.protobuf.Yamcs.AggregateValueOrBuilder getAggregateValueOrBuilder(); /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ java.util.List getArrayValueList(); /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ org.yamcs.protobuf.Yamcs.Value getArrayValue(int index); /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ int getArrayValueCount(); /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ java.util.List getArrayValueOrBuilderList(); /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ org.yamcs.protobuf.Yamcs.ValueOrBuilder getArrayValueOrBuilder( int index); } /** *
   *union type for storing a value
   * 
* * Protobuf type {@code yamcs.protobuf.Value} */ public static final class Value extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.Value) ValueOrBuilder { private static final long serialVersionUID = 0L; // Use Value.newBuilder() to construct. private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Value() { type_ = 0; binaryValue_ = com.google.protobuf.ByteString.EMPTY; stringValue_ = ""; arrayValue_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Value( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.Value.Type value = org.yamcs.protobuf.Yamcs.Value.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = rawValue; } break; } case 21: { bitField0_ |= 0x00000002; floatValue_ = input.readFloat(); break; } case 25: { bitField0_ |= 0x00000004; doubleValue_ = input.readDouble(); break; } case 32: { bitField0_ |= 0x00000008; sint32Value_ = input.readSInt32(); break; } case 40: { bitField0_ |= 0x00000010; uint32Value_ = input.readUInt32(); break; } case 50: { bitField0_ |= 0x00000020; binaryValue_ = input.readBytes(); break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; stringValue_ = bs; break; } case 64: { bitField0_ |= 0x00000080; timestampValue_ = input.readInt64(); break; } case 72: { bitField0_ |= 0x00000100; uint64Value_ = input.readUInt64(); break; } case 80: { bitField0_ |= 0x00000200; sint64Value_ = input.readSInt64(); break; } case 88: { bitField0_ |= 0x00000400; booleanValue_ = input.readBool(); break; } case 98: { org.yamcs.protobuf.Yamcs.AggregateValue.Builder subBuilder = null; if (((bitField0_ & 0x00000800) != 0)) { subBuilder = aggregateValue_.toBuilder(); } aggregateValue_ = input.readMessage(org.yamcs.protobuf.Yamcs.AggregateValue.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(aggregateValue_); aggregateValue_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000800; break; } case 106: { if (!((mutable_bitField0_ & 0x00001000) != 0)) { arrayValue_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } arrayValue_.add( input.readMessage(org.yamcs.protobuf.Yamcs.Value.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_ & 0x00001000) != 0)) { arrayValue_ = java.util.Collections.unmodifiableList(arrayValue_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.Value.class, org.yamcs.protobuf.Yamcs.Value.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.Value.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * FLOAT = 0; */ FLOAT(0), /** * DOUBLE = 1; */ DOUBLE(1), /** * UINT32 = 2; */ UINT32(2), /** * SINT32 = 3; */ SINT32(3), /** * BINARY = 4; */ BINARY(4), /** * STRING = 5; */ STRING(5), /** * TIMESTAMP = 6; */ TIMESTAMP(6), /** * UINT64 = 7; */ UINT64(7), /** * SINT64 = 8; */ SINT64(8), /** * BOOLEAN = 9; */ BOOLEAN(9), /** * AGGREGATE = 10; */ AGGREGATE(10), /** * ARRAY = 11; */ ARRAY(11), /** *
       *enumerated values have both an integer (sint64Value) and a string representation
       * 
* * ENUMERATED = 12; */ ENUMERATED(12), ; /** * FLOAT = 0; */ public static final int FLOAT_VALUE = 0; /** * DOUBLE = 1; */ public static final int DOUBLE_VALUE = 1; /** * UINT32 = 2; */ public static final int UINT32_VALUE = 2; /** * SINT32 = 3; */ public static final int SINT32_VALUE = 3; /** * BINARY = 4; */ public static final int BINARY_VALUE = 4; /** * STRING = 5; */ public static final int STRING_VALUE = 5; /** * TIMESTAMP = 6; */ public static final int TIMESTAMP_VALUE = 6; /** * UINT64 = 7; */ public static final int UINT64_VALUE = 7; /** * SINT64 = 8; */ public static final int SINT64_VALUE = 8; /** * BOOLEAN = 9; */ public static final int BOOLEAN_VALUE = 9; /** * AGGREGATE = 10; */ public static final int AGGREGATE_VALUE = 10; /** * ARRAY = 11; */ public static final int ARRAY_VALUE = 11; /** *
       *enumerated values have both an integer (sint64Value) and a string representation
       * 
* * ENUMERATED = 12; */ public static final int ENUMERATED_VALUE = 12; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } public static Type forNumber(int value) { switch (value) { case 0: return FLOAT; case 1: return DOUBLE; case 2: return UINT32; case 3: return SINT32; case 4: return BINARY; case 5: return STRING; case 6: return TIMESTAMP; case 7: return UINT64; case 8: return SINT64; case 9: return BOOLEAN; case 10: return AGGREGATE; case 11: return ARRAY; case 12: return ENUMERATED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Type> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.Value.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private Type(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.Value.Type) } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** * required .yamcs.protobuf.Value.Type type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * required .yamcs.protobuf.Value.Type type = 1; */ public org.yamcs.protobuf.Yamcs.Value.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.Value.Type result = org.yamcs.protobuf.Yamcs.Value.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Yamcs.Value.Type.FLOAT : result; } public static final int FLOATVALUE_FIELD_NUMBER = 2; private float floatValue_; /** * optional float floatValue = 2; */ public boolean hasFloatValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional float floatValue = 2; */ public float getFloatValue() { return floatValue_; } public static final int DOUBLEVALUE_FIELD_NUMBER = 3; private double doubleValue_; /** * optional double doubleValue = 3; */ public boolean hasDoubleValue() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double doubleValue = 3; */ public double getDoubleValue() { return doubleValue_; } public static final int SINT32VALUE_FIELD_NUMBER = 4; private int sint32Value_; /** * optional sint32 sint32Value = 4; */ public boolean hasSint32Value() { return ((bitField0_ & 0x00000008) != 0); } /** * optional sint32 sint32Value = 4; */ public int getSint32Value() { return sint32Value_; } public static final int UINT32VALUE_FIELD_NUMBER = 5; private int uint32Value_; /** * optional uint32 uint32Value = 5; */ public boolean hasUint32Value() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 uint32Value = 5; */ public int getUint32Value() { return uint32Value_; } public static final int BINARYVALUE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString binaryValue_; /** * optional bytes binaryValue = 6; */ public boolean hasBinaryValue() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bytes binaryValue = 6; */ public com.google.protobuf.ByteString getBinaryValue() { return binaryValue_; } public static final int STRINGVALUE_FIELD_NUMBER = 7; private volatile java.lang.Object stringValue_; /** * optional string stringValue = 7; */ public boolean hasStringValue() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string stringValue = 7; */ public java.lang.String getStringValue() { java.lang.Object ref = stringValue_; 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()) { stringValue_ = s; } return s; } } /** * optional string stringValue = 7; */ public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = stringValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMPVALUE_FIELD_NUMBER = 8; private long timestampValue_; /** * optional int64 timestampValue = 8; */ public boolean hasTimestampValue() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int64 timestampValue = 8; */ public long getTimestampValue() { return timestampValue_; } public static final int UINT64VALUE_FIELD_NUMBER = 9; private long uint64Value_; /** * optional uint64 uint64Value = 9; */ public boolean hasUint64Value() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint64 uint64Value = 9; */ public long getUint64Value() { return uint64Value_; } public static final int SINT64VALUE_FIELD_NUMBER = 10; private long sint64Value_; /** * optional sint64 sint64Value = 10; */ public boolean hasSint64Value() { return ((bitField0_ & 0x00000200) != 0); } /** * optional sint64 sint64Value = 10; */ public long getSint64Value() { return sint64Value_; } public static final int BOOLEANVALUE_FIELD_NUMBER = 11; private boolean booleanValue_; /** * optional bool booleanValue = 11; */ public boolean hasBooleanValue() { return ((bitField0_ & 0x00000400) != 0); } /** * optional bool booleanValue = 11; */ public boolean getBooleanValue() { return booleanValue_; } public static final int AGGREGATEVALUE_FIELD_NUMBER = 12; private org.yamcs.protobuf.Yamcs.AggregateValue aggregateValue_; /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public boolean hasAggregateValue() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public org.yamcs.protobuf.Yamcs.AggregateValue getAggregateValue() { return aggregateValue_ == null ? org.yamcs.protobuf.Yamcs.AggregateValue.getDefaultInstance() : aggregateValue_; } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public org.yamcs.protobuf.Yamcs.AggregateValueOrBuilder getAggregateValueOrBuilder() { return aggregateValue_ == null ? org.yamcs.protobuf.Yamcs.AggregateValue.getDefaultInstance() : aggregateValue_; } public static final int ARRAYVALUE_FIELD_NUMBER = 13; private java.util.List arrayValue_; /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public java.util.List getArrayValueList() { return arrayValue_; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public java.util.List getArrayValueOrBuilderList() { return arrayValue_; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public int getArrayValueCount() { return arrayValue_.size(); } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public org.yamcs.protobuf.Yamcs.Value getArrayValue(int index) { return arrayValue_.get(index); } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getArrayValueOrBuilder( int index) { return arrayValue_.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; if (!hasType()) { memoizedIsInitialized = 0; return false; } if (hasAggregateValue()) { if (!getAggregateValue().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getArrayValueCount(); i++) { if (!getArrayValue(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeFloat(2, floatValue_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, doubleValue_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeSInt32(4, sint32Value_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, uint32Value_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBytes(6, binaryValue_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, stringValue_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt64(8, timestampValue_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeUInt64(9, uint64Value_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeSInt64(10, sint64Value_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeBool(11, booleanValue_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(12, getAggregateValue()); } for (int i = 0; i < arrayValue_.size(); i++) { output.writeMessage(13, arrayValue_.get(i)); } 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 .computeEnumSize(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(2, floatValue_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, doubleValue_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(4, sint32Value_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, uint32Value_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, binaryValue_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, stringValue_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, timestampValue_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, uint64Value_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(10, sint64Value_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, booleanValue_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getAggregateValue()); } for (int i = 0; i < arrayValue_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, arrayValue_.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.Yamcs.Value)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.Value other = (org.yamcs.protobuf.Yamcs.Value) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasFloatValue() != other.hasFloatValue()) return false; if (hasFloatValue()) { if (java.lang.Float.floatToIntBits(getFloatValue()) != java.lang.Float.floatToIntBits( other.getFloatValue())) return false; } if (hasDoubleValue() != other.hasDoubleValue()) return false; if (hasDoubleValue()) { if (java.lang.Double.doubleToLongBits(getDoubleValue()) != java.lang.Double.doubleToLongBits( other.getDoubleValue())) return false; } if (hasSint32Value() != other.hasSint32Value()) return false; if (hasSint32Value()) { if (getSint32Value() != other.getSint32Value()) return false; } if (hasUint32Value() != other.hasUint32Value()) return false; if (hasUint32Value()) { if (getUint32Value() != other.getUint32Value()) return false; } if (hasBinaryValue() != other.hasBinaryValue()) return false; if (hasBinaryValue()) { if (!getBinaryValue() .equals(other.getBinaryValue())) return false; } if (hasStringValue() != other.hasStringValue()) return false; if (hasStringValue()) { if (!getStringValue() .equals(other.getStringValue())) return false; } if (hasTimestampValue() != other.hasTimestampValue()) return false; if (hasTimestampValue()) { if (getTimestampValue() != other.getTimestampValue()) return false; } if (hasUint64Value() != other.hasUint64Value()) return false; if (hasUint64Value()) { if (getUint64Value() != other.getUint64Value()) return false; } if (hasSint64Value() != other.hasSint64Value()) return false; if (hasSint64Value()) { if (getSint64Value() != other.getSint64Value()) return false; } if (hasBooleanValue() != other.hasBooleanValue()) return false; if (hasBooleanValue()) { if (getBooleanValue() != other.getBooleanValue()) return false; } if (hasAggregateValue() != other.hasAggregateValue()) return false; if (hasAggregateValue()) { if (!getAggregateValue() .equals(other.getAggregateValue())) return false; } if (!getArrayValueList() .equals(other.getArrayValueList())) 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } if (hasFloatValue()) { hash = (37 * hash) + FLOATVALUE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getFloatValue()); } if (hasDoubleValue()) { hash = (37 * hash) + DOUBLEVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDoubleValue())); } if (hasSint32Value()) { hash = (37 * hash) + SINT32VALUE_FIELD_NUMBER; hash = (53 * hash) + getSint32Value(); } if (hasUint32Value()) { hash = (37 * hash) + UINT32VALUE_FIELD_NUMBER; hash = (53 * hash) + getUint32Value(); } if (hasBinaryValue()) { hash = (37 * hash) + BINARYVALUE_FIELD_NUMBER; hash = (53 * hash) + getBinaryValue().hashCode(); } if (hasStringValue()) { hash = (37 * hash) + STRINGVALUE_FIELD_NUMBER; hash = (53 * hash) + getStringValue().hashCode(); } if (hasTimestampValue()) { hash = (37 * hash) + TIMESTAMPVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestampValue()); } if (hasUint64Value()) { hash = (37 * hash) + UINT64VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUint64Value()); } if (hasSint64Value()) { hash = (37 * hash) + SINT64VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSint64Value()); } if (hasBooleanValue()) { hash = (37 * hash) + BOOLEANVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBooleanValue()); } if (hasAggregateValue()) { hash = (37 * hash) + AGGREGATEVALUE_FIELD_NUMBER; hash = (53 * hash) + getAggregateValue().hashCode(); } if (getArrayValueCount() > 0) { hash = (37 * hash) + ARRAYVALUE_FIELD_NUMBER; hash = (53 * hash) + getArrayValueList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.Value parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Value 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.Yamcs.Value parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Value 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.Yamcs.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Value parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.Value parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Value 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.Yamcs.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Value 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.Yamcs.Value parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Value 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.Yamcs.Value 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; } /** *
     *union type for storing a value
     * 
* * Protobuf type {@code yamcs.protobuf.Value} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.Value) org.yamcs.protobuf.Yamcs.ValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.Value.class, org.yamcs.protobuf.Yamcs.Value.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.Value.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAggregateValueFieldBuilder(); getArrayValueFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); floatValue_ = 0F; bitField0_ = (bitField0_ & ~0x00000002); doubleValue_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); sint32Value_ = 0; bitField0_ = (bitField0_ & ~0x00000008); uint32Value_ = 0; bitField0_ = (bitField0_ & ~0x00000010); binaryValue_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); stringValue_ = ""; bitField0_ = (bitField0_ & ~0x00000040); timestampValue_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); uint64Value_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); sint64Value_ = 0L; bitField0_ = (bitField0_ & ~0x00000200); booleanValue_ = false; bitField0_ = (bitField0_ & ~0x00000400); if (aggregateValueBuilder_ == null) { aggregateValue_ = null; } else { aggregateValueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); if (arrayValueBuilder_ == null) { arrayValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); } else { arrayValueBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Value_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.Value getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.Value build() { org.yamcs.protobuf.Yamcs.Value result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.Value buildPartial() { org.yamcs.protobuf.Yamcs.Value result = new org.yamcs.protobuf.Yamcs.Value(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) != 0)) { result.floatValue_ = floatValue_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.doubleValue_ = doubleValue_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.sint32Value_ = sint32Value_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.uint32Value_ = uint32Value_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.binaryValue_ = binaryValue_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.stringValue_ = stringValue_; if (((from_bitField0_ & 0x00000080) != 0)) { result.timestampValue_ = timestampValue_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.uint64Value_ = uint64Value_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.sint64Value_ = sint64Value_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.booleanValue_ = booleanValue_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { if (aggregateValueBuilder_ == null) { result.aggregateValue_ = aggregateValue_; } else { result.aggregateValue_ = aggregateValueBuilder_.build(); } to_bitField0_ |= 0x00000800; } if (arrayValueBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { arrayValue_ = java.util.Collections.unmodifiableList(arrayValue_); bitField0_ = (bitField0_ & ~0x00001000); } result.arrayValue_ = arrayValue_; } else { result.arrayValue_ = arrayValueBuilder_.build(); } 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.Yamcs.Value) { return mergeFrom((org.yamcs.protobuf.Yamcs.Value)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.Value other) { if (other == org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasFloatValue()) { setFloatValue(other.getFloatValue()); } if (other.hasDoubleValue()) { setDoubleValue(other.getDoubleValue()); } if (other.hasSint32Value()) { setSint32Value(other.getSint32Value()); } if (other.hasUint32Value()) { setUint32Value(other.getUint32Value()); } if (other.hasBinaryValue()) { setBinaryValue(other.getBinaryValue()); } if (other.hasStringValue()) { bitField0_ |= 0x00000040; stringValue_ = other.stringValue_; onChanged(); } if (other.hasTimestampValue()) { setTimestampValue(other.getTimestampValue()); } if (other.hasUint64Value()) { setUint64Value(other.getUint64Value()); } if (other.hasSint64Value()) { setSint64Value(other.getSint64Value()); } if (other.hasBooleanValue()) { setBooleanValue(other.getBooleanValue()); } if (other.hasAggregateValue()) { mergeAggregateValue(other.getAggregateValue()); } if (arrayValueBuilder_ == null) { if (!other.arrayValue_.isEmpty()) { if (arrayValue_.isEmpty()) { arrayValue_ = other.arrayValue_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureArrayValueIsMutable(); arrayValue_.addAll(other.arrayValue_); } onChanged(); } } else { if (!other.arrayValue_.isEmpty()) { if (arrayValueBuilder_.isEmpty()) { arrayValueBuilder_.dispose(); arrayValueBuilder_ = null; arrayValue_ = other.arrayValue_; bitField0_ = (bitField0_ & ~0x00001000); arrayValueBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArrayValueFieldBuilder() : null; } else { arrayValueBuilder_.addAllMessages(other.arrayValue_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasType()) { return false; } if (hasAggregateValue()) { if (!getAggregateValue().isInitialized()) { return false; } } for (int i = 0; i < getArrayValueCount(); i++) { if (!getArrayValue(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.Value parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.Value) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ = 0; /** * required .yamcs.protobuf.Value.Type type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * required .yamcs.protobuf.Value.Type type = 1; */ public org.yamcs.protobuf.Yamcs.Value.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.Value.Type result = org.yamcs.protobuf.Yamcs.Value.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Yamcs.Value.Type.FLOAT : result; } /** * required .yamcs.protobuf.Value.Type type = 1; */ public Builder setType(org.yamcs.protobuf.Yamcs.Value.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** * required .yamcs.protobuf.Value.Type type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private float floatValue_ ; /** * optional float floatValue = 2; */ public boolean hasFloatValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional float floatValue = 2; */ public float getFloatValue() { return floatValue_; } /** * optional float floatValue = 2; */ public Builder setFloatValue(float value) { bitField0_ |= 0x00000002; floatValue_ = value; onChanged(); return this; } /** * optional float floatValue = 2; */ public Builder clearFloatValue() { bitField0_ = (bitField0_ & ~0x00000002); floatValue_ = 0F; onChanged(); return this; } private double doubleValue_ ; /** * optional double doubleValue = 3; */ public boolean hasDoubleValue() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double doubleValue = 3; */ public double getDoubleValue() { return doubleValue_; } /** * optional double doubleValue = 3; */ public Builder setDoubleValue(double value) { bitField0_ |= 0x00000004; doubleValue_ = value; onChanged(); return this; } /** * optional double doubleValue = 3; */ public Builder clearDoubleValue() { bitField0_ = (bitField0_ & ~0x00000004); doubleValue_ = 0D; onChanged(); return this; } private int sint32Value_ ; /** * optional sint32 sint32Value = 4; */ public boolean hasSint32Value() { return ((bitField0_ & 0x00000008) != 0); } /** * optional sint32 sint32Value = 4; */ public int getSint32Value() { return sint32Value_; } /** * optional sint32 sint32Value = 4; */ public Builder setSint32Value(int value) { bitField0_ |= 0x00000008; sint32Value_ = value; onChanged(); return this; } /** * optional sint32 sint32Value = 4; */ public Builder clearSint32Value() { bitField0_ = (bitField0_ & ~0x00000008); sint32Value_ = 0; onChanged(); return this; } private int uint32Value_ ; /** * optional uint32 uint32Value = 5; */ public boolean hasUint32Value() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 uint32Value = 5; */ public int getUint32Value() { return uint32Value_; } /** * optional uint32 uint32Value = 5; */ public Builder setUint32Value(int value) { bitField0_ |= 0x00000010; uint32Value_ = value; onChanged(); return this; } /** * optional uint32 uint32Value = 5; */ public Builder clearUint32Value() { bitField0_ = (bitField0_ & ~0x00000010); uint32Value_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString binaryValue_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes binaryValue = 6; */ public boolean hasBinaryValue() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bytes binaryValue = 6; */ public com.google.protobuf.ByteString getBinaryValue() { return binaryValue_; } /** * optional bytes binaryValue = 6; */ public Builder setBinaryValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; binaryValue_ = value; onChanged(); return this; } /** * optional bytes binaryValue = 6; */ public Builder clearBinaryValue() { bitField0_ = (bitField0_ & ~0x00000020); binaryValue_ = getDefaultInstance().getBinaryValue(); onChanged(); return this; } private java.lang.Object stringValue_ = ""; /** * optional string stringValue = 7; */ public boolean hasStringValue() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string stringValue = 7; */ public java.lang.String getStringValue() { java.lang.Object ref = stringValue_; 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()) { stringValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stringValue = 7; */ public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = stringValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stringValue = 7; */ public Builder setStringValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; stringValue_ = value; onChanged(); return this; } /** * optional string stringValue = 7; */ public Builder clearStringValue() { bitField0_ = (bitField0_ & ~0x00000040); stringValue_ = getDefaultInstance().getStringValue(); onChanged(); return this; } /** * optional string stringValue = 7; */ public Builder setStringValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; stringValue_ = value; onChanged(); return this; } private long timestampValue_ ; /** * optional int64 timestampValue = 8; */ public boolean hasTimestampValue() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int64 timestampValue = 8; */ public long getTimestampValue() { return timestampValue_; } /** * optional int64 timestampValue = 8; */ public Builder setTimestampValue(long value) { bitField0_ |= 0x00000080; timestampValue_ = value; onChanged(); return this; } /** * optional int64 timestampValue = 8; */ public Builder clearTimestampValue() { bitField0_ = (bitField0_ & ~0x00000080); timestampValue_ = 0L; onChanged(); return this; } private long uint64Value_ ; /** * optional uint64 uint64Value = 9; */ public boolean hasUint64Value() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint64 uint64Value = 9; */ public long getUint64Value() { return uint64Value_; } /** * optional uint64 uint64Value = 9; */ public Builder setUint64Value(long value) { bitField0_ |= 0x00000100; uint64Value_ = value; onChanged(); return this; } /** * optional uint64 uint64Value = 9; */ public Builder clearUint64Value() { bitField0_ = (bitField0_ & ~0x00000100); uint64Value_ = 0L; onChanged(); return this; } private long sint64Value_ ; /** * optional sint64 sint64Value = 10; */ public boolean hasSint64Value() { return ((bitField0_ & 0x00000200) != 0); } /** * optional sint64 sint64Value = 10; */ public long getSint64Value() { return sint64Value_; } /** * optional sint64 sint64Value = 10; */ public Builder setSint64Value(long value) { bitField0_ |= 0x00000200; sint64Value_ = value; onChanged(); return this; } /** * optional sint64 sint64Value = 10; */ public Builder clearSint64Value() { bitField0_ = (bitField0_ & ~0x00000200); sint64Value_ = 0L; onChanged(); return this; } private boolean booleanValue_ ; /** * optional bool booleanValue = 11; */ public boolean hasBooleanValue() { return ((bitField0_ & 0x00000400) != 0); } /** * optional bool booleanValue = 11; */ public boolean getBooleanValue() { return booleanValue_; } /** * optional bool booleanValue = 11; */ public Builder setBooleanValue(boolean value) { bitField0_ |= 0x00000400; booleanValue_ = value; onChanged(); return this; } /** * optional bool booleanValue = 11; */ public Builder clearBooleanValue() { bitField0_ = (bitField0_ & ~0x00000400); booleanValue_ = false; onChanged(); return this; } private org.yamcs.protobuf.Yamcs.AggregateValue aggregateValue_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.AggregateValue, org.yamcs.protobuf.Yamcs.AggregateValue.Builder, org.yamcs.protobuf.Yamcs.AggregateValueOrBuilder> aggregateValueBuilder_; /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public boolean hasAggregateValue() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public org.yamcs.protobuf.Yamcs.AggregateValue getAggregateValue() { if (aggregateValueBuilder_ == null) { return aggregateValue_ == null ? org.yamcs.protobuf.Yamcs.AggregateValue.getDefaultInstance() : aggregateValue_; } else { return aggregateValueBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public Builder setAggregateValue(org.yamcs.protobuf.Yamcs.AggregateValue value) { if (aggregateValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } aggregateValue_ = value; onChanged(); } else { aggregateValueBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public Builder setAggregateValue( org.yamcs.protobuf.Yamcs.AggregateValue.Builder builderForValue) { if (aggregateValueBuilder_ == null) { aggregateValue_ = builderForValue.build(); onChanged(); } else { aggregateValueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public Builder mergeAggregateValue(org.yamcs.protobuf.Yamcs.AggregateValue value) { if (aggregateValueBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && aggregateValue_ != null && aggregateValue_ != org.yamcs.protobuf.Yamcs.AggregateValue.getDefaultInstance()) { aggregateValue_ = org.yamcs.protobuf.Yamcs.AggregateValue.newBuilder(aggregateValue_).mergeFrom(value).buildPartial(); } else { aggregateValue_ = value; } onChanged(); } else { aggregateValueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public Builder clearAggregateValue() { if (aggregateValueBuilder_ == null) { aggregateValue_ = null; onChanged(); } else { aggregateValueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public org.yamcs.protobuf.Yamcs.AggregateValue.Builder getAggregateValueBuilder() { bitField0_ |= 0x00000800; onChanged(); return getAggregateValueFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ public org.yamcs.protobuf.Yamcs.AggregateValueOrBuilder getAggregateValueOrBuilder() { if (aggregateValueBuilder_ != null) { return aggregateValueBuilder_.getMessageOrBuilder(); } else { return aggregateValue_ == null ? org.yamcs.protobuf.Yamcs.AggregateValue.getDefaultInstance() : aggregateValue_; } } /** * optional .yamcs.protobuf.AggregateValue aggregateValue = 12; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.AggregateValue, org.yamcs.protobuf.Yamcs.AggregateValue.Builder, org.yamcs.protobuf.Yamcs.AggregateValueOrBuilder> getAggregateValueFieldBuilder() { if (aggregateValueBuilder_ == null) { aggregateValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.AggregateValue, org.yamcs.protobuf.Yamcs.AggregateValue.Builder, org.yamcs.protobuf.Yamcs.AggregateValueOrBuilder>( getAggregateValue(), getParentForChildren(), isClean()); aggregateValue_ = null; } return aggregateValueBuilder_; } private java.util.List arrayValue_ = java.util.Collections.emptyList(); private void ensureArrayValueIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { arrayValue_ = new java.util.ArrayList(arrayValue_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> arrayValueBuilder_; /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public java.util.List getArrayValueList() { if (arrayValueBuilder_ == null) { return java.util.Collections.unmodifiableList(arrayValue_); } else { return arrayValueBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public int getArrayValueCount() { if (arrayValueBuilder_ == null) { return arrayValue_.size(); } else { return arrayValueBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public org.yamcs.protobuf.Yamcs.Value getArrayValue(int index) { if (arrayValueBuilder_ == null) { return arrayValue_.get(index); } else { return arrayValueBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder setArrayValue( int index, org.yamcs.protobuf.Yamcs.Value value) { if (arrayValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArrayValueIsMutable(); arrayValue_.set(index, value); onChanged(); } else { arrayValueBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder setArrayValue( int index, org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (arrayValueBuilder_ == null) { ensureArrayValueIsMutable(); arrayValue_.set(index, builderForValue.build()); onChanged(); } else { arrayValueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder addArrayValue(org.yamcs.protobuf.Yamcs.Value value) { if (arrayValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArrayValueIsMutable(); arrayValue_.add(value); onChanged(); } else { arrayValueBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder addArrayValue( int index, org.yamcs.protobuf.Yamcs.Value value) { if (arrayValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArrayValueIsMutable(); arrayValue_.add(index, value); onChanged(); } else { arrayValueBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder addArrayValue( org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (arrayValueBuilder_ == null) { ensureArrayValueIsMutable(); arrayValue_.add(builderForValue.build()); onChanged(); } else { arrayValueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder addArrayValue( int index, org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (arrayValueBuilder_ == null) { ensureArrayValueIsMutable(); arrayValue_.add(index, builderForValue.build()); onChanged(); } else { arrayValueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder addAllArrayValue( java.lang.Iterable values) { if (arrayValueBuilder_ == null) { ensureArrayValueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, arrayValue_); onChanged(); } else { arrayValueBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder clearArrayValue() { if (arrayValueBuilder_ == null) { arrayValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { arrayValueBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public Builder removeArrayValue(int index) { if (arrayValueBuilder_ == null) { ensureArrayValueIsMutable(); arrayValue_.remove(index); onChanged(); } else { arrayValueBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public org.yamcs.protobuf.Yamcs.Value.Builder getArrayValueBuilder( int index) { return getArrayValueFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getArrayValueOrBuilder( int index) { if (arrayValueBuilder_ == null) { return arrayValue_.get(index); } else { return arrayValueBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public java.util.List getArrayValueOrBuilderList() { if (arrayValueBuilder_ != null) { return arrayValueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(arrayValue_); } } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public org.yamcs.protobuf.Yamcs.Value.Builder addArrayValueBuilder() { return getArrayValueFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()); } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public org.yamcs.protobuf.Yamcs.Value.Builder addArrayValueBuilder( int index) { return getArrayValueFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()); } /** * repeated .yamcs.protobuf.Value arrayValue = 13; */ public java.util.List getArrayValueBuilderList() { return getArrayValueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> getArrayValueFieldBuilder() { if (arrayValueBuilder_ == null) { arrayValueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder>( arrayValue_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); arrayValue_ = null; } return arrayValueBuilder_; } @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.Value) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.Value) private static final org.yamcs.protobuf.Yamcs.Value DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.Value(); } public static org.yamcs.protobuf.Yamcs.Value getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Value parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Value(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.Yamcs.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AggregateValueOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.AggregateValue) com.google.protobuf.MessageOrBuilder { /** * repeated string name = 1; */ java.util.List getNameList(); /** * repeated string name = 1; */ int getNameCount(); /** * repeated string name = 1; */ java.lang.String getName(int index); /** * repeated string name = 1; */ com.google.protobuf.ByteString getNameBytes(int index); /** * repeated .yamcs.protobuf.Value value = 2; */ java.util.List getValueList(); /** * repeated .yamcs.protobuf.Value value = 2; */ org.yamcs.protobuf.Yamcs.Value getValue(int index); /** * repeated .yamcs.protobuf.Value value = 2; */ int getValueCount(); /** * repeated .yamcs.protobuf.Value value = 2; */ java.util.List getValueOrBuilderList(); /** * repeated .yamcs.protobuf.Value value = 2; */ org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder( int index); } /** *
   *an aggregate value is an ordered list of (member name, member value)
   *we use two arrays in order to be able to send just the values (since the names will not change)
   * 
* * Protobuf type {@code yamcs.protobuf.AggregateValue} */ public static final class AggregateValue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.AggregateValue) AggregateValueOrBuilder { private static final long serialVersionUID = 0L; // Use AggregateValue.newBuilder() to construct. private AggregateValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregateValue() { name_ = com.google.protobuf.LazyStringArrayList.EMPTY; value_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AggregateValue( 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(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { name_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } name_.add(bs); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { value_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } value_.add( input.readMessage(org.yamcs.protobuf.Yamcs.Value.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)) { name_ = name_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { value_ = java.util.Collections.unmodifiableList(value_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_AggregateValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_AggregateValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.AggregateValue.class, org.yamcs.protobuf.Yamcs.AggregateValue.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList name_; /** * repeated string name = 1; */ public com.google.protobuf.ProtocolStringList getNameList() { return name_; } /** * repeated string name = 1; */ public int getNameCount() { return name_.size(); } /** * repeated string name = 1; */ public java.lang.String getName(int index) { return name_.get(index); } /** * repeated string name = 1; */ public com.google.protobuf.ByteString getNameBytes(int index) { return name_.getByteString(index); } public static final int VALUE_FIELD_NUMBER = 2; private java.util.List value_; /** * repeated .yamcs.protobuf.Value value = 2; */ public java.util.List getValueList() { return value_; } /** * repeated .yamcs.protobuf.Value value = 2; */ public java.util.List getValueOrBuilderList() { return value_; } /** * repeated .yamcs.protobuf.Value value = 2; */ public int getValueCount() { return value_.size(); } /** * repeated .yamcs.protobuf.Value value = 2; */ public org.yamcs.protobuf.Yamcs.Value getValue(int index) { return value_.get(index); } /** * repeated .yamcs.protobuf.Value value = 2; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder( int index) { return value_.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; for (int i = 0; i < getValueCount(); i++) { if (!getValue(i).isInitialized()) { memoizedIsInitialized = 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 < name_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_.getRaw(i)); } for (int i = 0; i < value_.size(); i++) { output.writeMessage(2, value_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < name_.size(); i++) { dataSize += computeStringSizeNoTag(name_.getRaw(i)); } size += dataSize; size += 1 * getNameList().size(); } for (int i = 0; i < value_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, value_.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.Yamcs.AggregateValue)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.AggregateValue other = (org.yamcs.protobuf.Yamcs.AggregateValue) obj; if (!getNameList() .equals(other.getNameList())) return false; if (!getValueList() .equals(other.getValueList())) 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 (getNameCount() > 0) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getNameList().hashCode(); } if (getValueCount() > 0) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValueList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.AggregateValue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.AggregateValue 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.Yamcs.AggregateValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.AggregateValue 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.Yamcs.AggregateValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.AggregateValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.AggregateValue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.AggregateValue 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.Yamcs.AggregateValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.AggregateValue 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.Yamcs.AggregateValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.AggregateValue 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.Yamcs.AggregateValue 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; } /** *
     *an aggregate value is an ordered list of (member name, member value)
     *we use two arrays in order to be able to send just the values (since the names will not change)
     * 
* * Protobuf type {@code yamcs.protobuf.AggregateValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.AggregateValue) org.yamcs.protobuf.Yamcs.AggregateValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_AggregateValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_AggregateValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.AggregateValue.class, org.yamcs.protobuf.Yamcs.AggregateValue.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.AggregateValue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValueFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { valueBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_AggregateValue_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.AggregateValue getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.AggregateValue.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.AggregateValue build() { org.yamcs.protobuf.Yamcs.AggregateValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.AggregateValue buildPartial() { org.yamcs.protobuf.Yamcs.AggregateValue result = new org.yamcs.protobuf.Yamcs.AggregateValue(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { name_ = name_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.name_ = name_; if (valueBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { value_ = java.util.Collections.unmodifiableList(value_); bitField0_ = (bitField0_ & ~0x00000002); } result.value_ = value_; } else { result.value_ = valueBuilder_.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.Yamcs.AggregateValue) { return mergeFrom((org.yamcs.protobuf.Yamcs.AggregateValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.AggregateValue other) { if (other == org.yamcs.protobuf.Yamcs.AggregateValue.getDefaultInstance()) return this; if (!other.name_.isEmpty()) { if (name_.isEmpty()) { name_ = other.name_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNameIsMutable(); name_.addAll(other.name_); } onChanged(); } if (valueBuilder_ == null) { if (!other.value_.isEmpty()) { if (value_.isEmpty()) { value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureValueIsMutable(); value_.addAll(other.value_); } onChanged(); } } else { if (!other.value_.isEmpty()) { if (valueBuilder_.isEmpty()) { valueBuilder_.dispose(); valueBuilder_ = null; value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000002); valueBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValueFieldBuilder() : null; } else { valueBuilder_.addAllMessages(other.value_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getValueCount(); i++) { if (!getValue(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.AggregateValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.AggregateValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList name_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNameIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { name_ = new com.google.protobuf.LazyStringArrayList(name_); bitField0_ |= 0x00000001; } } /** * repeated string name = 1; */ public com.google.protobuf.ProtocolStringList getNameList() { return name_.getUnmodifiableView(); } /** * repeated string name = 1; */ public int getNameCount() { return name_.size(); } /** * repeated string name = 1; */ public java.lang.String getName(int index) { return name_.get(index); } /** * repeated string name = 1; */ public com.google.protobuf.ByteString getNameBytes(int index) { return name_.getByteString(index); } /** * repeated string name = 1; */ public Builder setName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNameIsMutable(); name_.set(index, value); onChanged(); return this; } /** * repeated string name = 1; */ public Builder addName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNameIsMutable(); name_.add(value); onChanged(); return this; } /** * repeated string name = 1; */ public Builder addAllName( java.lang.Iterable values) { ensureNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, name_); onChanged(); return this; } /** * repeated string name = 1; */ public Builder clearName() { name_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string name = 1; */ public Builder addNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureNameIsMutable(); name_.add(value); onChanged(); return this; } private java.util.List value_ = java.util.Collections.emptyList(); private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { value_ = new java.util.ArrayList(value_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> valueBuilder_; /** * repeated .yamcs.protobuf.Value value = 2; */ public java.util.List getValueList() { if (valueBuilder_ == null) { return java.util.Collections.unmodifiableList(value_); } else { return valueBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.Value value = 2; */ public int getValueCount() { if (valueBuilder_ == null) { return value_.size(); } else { return valueBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.Value value = 2; */ public org.yamcs.protobuf.Yamcs.Value getValue(int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder setValue( int index, org.yamcs.protobuf.Yamcs.Value value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.set(index, value); onChanged(); } else { valueBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder setValue( int index, org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.set(index, builderForValue.build()); onChanged(); } else { valueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder addValue(org.yamcs.protobuf.Yamcs.Value value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(value); onChanged(); } else { valueBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder addValue( int index, org.yamcs.protobuf.Yamcs.Value value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(index, value); onChanged(); } else { valueBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder addValue( org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(builderForValue.build()); onChanged(); } else { valueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder addValue( int index, org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(index, builderForValue.build()); onChanged(); } else { valueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder addAllValue( java.lang.Iterable values) { if (valueBuilder_ == null) { ensureValueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); onChanged(); } else { valueBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { valueBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public Builder removeValue(int index) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.remove(index); onChanged(); } else { valueBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.Value value = 2; */ public org.yamcs.protobuf.Yamcs.Value.Builder getValueBuilder( int index) { return getValueFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.Value value = 2; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder( int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.Value value = 2; */ public java.util.List getValueOrBuilderList() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(value_); } } /** * repeated .yamcs.protobuf.Value value = 2; */ public org.yamcs.protobuf.Yamcs.Value.Builder addValueBuilder() { return getValueFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()); } /** * repeated .yamcs.protobuf.Value value = 2; */ public org.yamcs.protobuf.Yamcs.Value.Builder addValueBuilder( int index) { return getValueFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()); } /** * repeated .yamcs.protobuf.Value value = 2; */ public java.util.List getValueBuilderList() { return getValueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder>( value_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } @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.AggregateValue) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.AggregateValue) private static final org.yamcs.protobuf.Yamcs.AggregateValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.AggregateValue(); } public static org.yamcs.protobuf.Yamcs.AggregateValue getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AggregateValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AggregateValue(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.Yamcs.AggregateValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NamedObjectIdOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.NamedObjectId) com.google.protobuf.MessageOrBuilder { /** * required string name = 1; */ boolean hasName(); /** * required string name = 1; */ java.lang.String getName(); /** * required string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string namespace = 2; */ boolean hasNamespace(); /** * optional string namespace = 2; */ java.lang.String getNamespace(); /** * optional string namespace = 2; */ com.google.protobuf.ByteString getNamespaceBytes(); } /** *
   *this is used by external clients to identify a parameter or a container (e.g. when subscribing to it)
   * if namespace is set, then the corresponding alias is looked up
   * 
* * Protobuf type {@code yamcs.protobuf.NamedObjectId} */ public static final class NamedObjectId extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.NamedObjectId) NamedObjectIdOrBuilder { private static final long serialVersionUID = 0L; // Use NamedObjectId.newBuilder() to construct. private NamedObjectId(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NamedObjectId() { name_ = ""; namespace_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NamedObjectId( 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; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; namespace_ = bs; 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.Yamcs.internal_static_yamcs_protobuf_NamedObjectId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectId_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.NamedObjectId.class, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * required string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * required string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAMESPACE_FIELD_NUMBER = 2; private volatile java.lang.Object namespace_; /** * optional string namespace = 2; */ public boolean hasNamespace() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string namespace = 2; */ public java.lang.String getNamespace() { java.lang.Object ref = namespace_; 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()) { namespace_ = s; } return s; } } /** * optional string namespace = 2; */ public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); namespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_); } 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, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_); } 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.Yamcs.NamedObjectId)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.NamedObjectId other = (org.yamcs.protobuf.Yamcs.NamedObjectId) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasNamespace() != other.hasNamespace()) return false; if (hasNamespace()) { if (!getNamespace() .equals(other.getNamespace())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasNamespace()) { hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; hash = (53 * hash) + getNamespace().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.NamedObjectId parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.NamedObjectId 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.Yamcs.NamedObjectId parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.NamedObjectId 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.Yamcs.NamedObjectId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.NamedObjectId parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.NamedObjectId parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.NamedObjectId 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.Yamcs.NamedObjectId parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.NamedObjectId 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.Yamcs.NamedObjectId parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.NamedObjectId 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.Yamcs.NamedObjectId 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; } /** *
     *this is used by external clients to identify a parameter or a container (e.g. when subscribing to it)
     * if namespace is set, then the corresponding alias is looked up
     * 
* * Protobuf type {@code yamcs.protobuf.NamedObjectId} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.NamedObjectId) org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectId_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.NamedObjectId.class, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.NamedObjectId.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(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); namespace_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectId_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId build() { org.yamcs.protobuf.Yamcs.NamedObjectId result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId buildPartial() { org.yamcs.protobuf.Yamcs.NamedObjectId result = new org.yamcs.protobuf.Yamcs.NamedObjectId(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.namespace_ = namespace_; 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.Yamcs.NamedObjectId) { return mergeFrom((org.yamcs.protobuf.Yamcs.NamedObjectId)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.NamedObjectId other) { if (other == org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasNamespace()) { bitField0_ |= 0x00000002; namespace_ = other.namespace_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasName()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.NamedObjectId parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.NamedObjectId) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * required string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * required string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * required string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object namespace_ = ""; /** * optional string namespace = 2; */ public boolean hasNamespace() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string namespace = 2; */ public java.lang.String getNamespace() { java.lang.Object ref = namespace_; 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()) { namespace_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string namespace = 2; */ public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); namespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string namespace = 2; */ public Builder setNamespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; namespace_ = value; onChanged(); return this; } /** * optional string namespace = 2; */ public Builder clearNamespace() { bitField0_ = (bitField0_ & ~0x00000002); namespace_ = getDefaultInstance().getNamespace(); onChanged(); return this; } /** * optional string namespace = 2; */ public Builder setNamespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; namespace_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.NamedObjectId) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.NamedObjectId) private static final org.yamcs.protobuf.Yamcs.NamedObjectId DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.NamedObjectId(); } public static org.yamcs.protobuf.Yamcs.NamedObjectId getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NamedObjectId parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NamedObjectId(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.Yamcs.NamedObjectId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NamedObjectListOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.NamedObjectList) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ java.util.List getListList(); /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectId getList(int index); /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ int getListCount(); /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ java.util.List getListOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getListOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.NamedObjectList} */ public static final class NamedObjectList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.NamedObjectList) NamedObjectListOrBuilder { private static final long serialVersionUID = 0L; // Use NamedObjectList.newBuilder() to construct. private NamedObjectList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NamedObjectList() { list_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NamedObjectList( 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)) { list_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } list_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.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)) { list_ = java.util.Collections.unmodifiableList(list_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectList_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.NamedObjectList.class, org.yamcs.protobuf.Yamcs.NamedObjectList.Builder.class); } public static final int LIST_FIELD_NUMBER = 1; private java.util.List list_; /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public java.util.List getListList() { return list_; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public java.util.List getListOrBuilderList() { return list_; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public int getListCount() { return list_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getList(int index) { return list_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getListOrBuilder( int index) { return list_.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; for (int i = 0; i < getListCount(); i++) { if (!getList(i).isInitialized()) { memoizedIsInitialized = 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 < list_.size(); i++) { output.writeMessage(1, list_.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 < list_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, list_.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.Yamcs.NamedObjectList)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.NamedObjectList other = (org.yamcs.protobuf.Yamcs.NamedObjectList) obj; if (!getListList() .equals(other.getListList())) 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 (getListCount() > 0) { hash = (37 * hash) + LIST_FIELD_NUMBER; hash = (53 * hash) + getListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.NamedObjectList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.NamedObjectList 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.Yamcs.NamedObjectList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.NamedObjectList 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.Yamcs.NamedObjectList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.NamedObjectList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.NamedObjectList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.NamedObjectList 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.Yamcs.NamedObjectList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.NamedObjectList 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.Yamcs.NamedObjectList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.NamedObjectList 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.Yamcs.NamedObjectList 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.NamedObjectList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.NamedObjectList) org.yamcs.protobuf.Yamcs.NamedObjectListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectList_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.NamedObjectList.class, org.yamcs.protobuf.Yamcs.NamedObjectList.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.NamedObjectList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { listBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_NamedObjectList_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectList getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.NamedObjectList.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectList build() { org.yamcs.protobuf.Yamcs.NamedObjectList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectList buildPartial() { org.yamcs.protobuf.Yamcs.NamedObjectList result = new org.yamcs.protobuf.Yamcs.NamedObjectList(this); int from_bitField0_ = bitField0_; if (listBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { list_ = java.util.Collections.unmodifiableList(list_); bitField0_ = (bitField0_ & ~0x00000001); } result.list_ = list_; } else { result.list_ = listBuilder_.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.Yamcs.NamedObjectList) { return mergeFrom((org.yamcs.protobuf.Yamcs.NamedObjectList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.NamedObjectList other) { if (other == org.yamcs.protobuf.Yamcs.NamedObjectList.getDefaultInstance()) return this; if (listBuilder_ == null) { if (!other.list_.isEmpty()) { if (list_.isEmpty()) { list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListIsMutable(); list_.addAll(other.list_); } onChanged(); } } else { if (!other.list_.isEmpty()) { if (listBuilder_.isEmpty()) { listBuilder_.dispose(); listBuilder_ = null; list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000001); listBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListFieldBuilder() : null; } else { listBuilder_.addAllMessages(other.list_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getListCount(); i++) { if (!getList(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.NamedObjectList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.NamedObjectList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List list_ = java.util.Collections.emptyList(); private void ensureListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { list_ = new java.util.ArrayList(list_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> listBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public java.util.List getListList() { if (listBuilder_ == null) { return java.util.Collections.unmodifiableList(list_); } else { return listBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public int getListCount() { if (listBuilder_ == null) { return list_.size(); } else { return listBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getList(int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder setList( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.set(index, value); onChanged(); } else { listBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder setList( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.set(index, builderForValue.build()); onChanged(); } else { listBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder addList(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.add(value); onChanged(); } else { listBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder addList( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.add(index, value); onChanged(); } else { listBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder addList( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder addList( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(index, builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder addAllList( java.lang.Iterable values) { if (listBuilder_ == null) { ensureListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, list_); onChanged(); } else { listBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder clearList() { if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public Builder removeList(int index) { if (listBuilder_ == null) { ensureListIsMutable(); list_.remove(index); onChanged(); } else { listBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getListBuilder( int index) { return getListFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getListOrBuilder( int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public java.util.List getListOrBuilderList() { if (listBuilder_ != null) { return listBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(list_); } } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addListBuilder() { return getListFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addListBuilder( int index) { return getListFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId list = 1; */ public java.util.List getListBuilderList() { return getListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getListFieldBuilder() { if (listBuilder_ == null) { listBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( list_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); list_ = null; } return listBuilder_; } @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.NamedObjectList) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.NamedObjectList) private static final org.yamcs.protobuf.Yamcs.NamedObjectList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.NamedObjectList(); } public static org.yamcs.protobuf.Yamcs.NamedObjectList getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NamedObjectList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NamedObjectList(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.Yamcs.NamedObjectList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IndexRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.IndexRequest) com.google.protobuf.MessageOrBuilder { /** * required string instance = 1; */ boolean hasInstance(); /** * required string instance = 1; */ java.lang.String getInstance(); /** * required string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional int64 start = 2; */ boolean hasStart(); /** * optional int64 start = 2; */ long getStart(); /** * optional int64 stop = 3; */ boolean hasStop(); /** * optional int64 stop = 3; */ long getStop(); /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
     * 
* * optional string utcStart = 14; */ boolean hasUtcStart(); /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
     * 
* * optional string utcStart = 14; */ java.lang.String getUtcStart(); /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
     * 
* * optional string utcStart = 14; */ com.google.protobuf.ByteString getUtcStartBytes(); /** * optional string utcStop = 15; */ boolean hasUtcStop(); /** * optional string utcStop = 15; */ java.lang.String getUtcStop(); /** * optional string utcStop = 15; */ com.google.protobuf.ByteString getUtcStopBytes(); /** *
     *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
     *if not specified, the fully qualified canonical names will be sent
     * 
* * optional string defaultNamespace = 4; */ boolean hasDefaultNamespace(); /** *
     *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
     *if not specified, the fully qualified canonical names will be sent
     * 
* * optional string defaultNamespace = 4; */ java.lang.String getDefaultNamespace(); /** *
     *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
     *if not specified, the fully qualified canonical names will be sent
     * 
* * optional string defaultNamespace = 4; */ com.google.protobuf.ByteString getDefaultNamespaceBytes(); /** *
     *if sendAllTm is true, then all tm packets are sent, otherwise those in the tmPacket list (which can be empty)
     * 
* * optional bool sendAllTm = 5 [default = false]; */ boolean hasSendAllTm(); /** *
     *if sendAllTm is true, then all tm packets are sent, otherwise those in the tmPacket list (which can be empty)
     * 
* * optional bool sendAllTm = 5 [default = false]; */ boolean getSendAllTm(); /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ java.util.List getTmPacketList(); /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ org.yamcs.protobuf.Yamcs.NamedObjectId getTmPacket(int index); /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ int getTmPacketCount(); /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ java.util.List getTmPacketOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getTmPacketOrBuilder( int index); /** *
     *if sendAllPp is true, then all PP groups are sent, otherwise those in the ppGroup list (which can be empty)
     * 
* * optional bool sendAllPp = 7 [default = false]; */ boolean hasSendAllPp(); /** *
     *if sendAllPp is true, then all PP groups are sent, otherwise those in the ppGroup list (which can be empty)
     * 
* * optional bool sendAllPp = 7 [default = false]; */ boolean getSendAllPp(); /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ java.util.List getPpGroupList(); /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ org.yamcs.protobuf.Yamcs.NamedObjectId getPpGroup(int index); /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ int getPpGroupCount(); /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ java.util.List getPpGroupOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getPpGroupOrBuilder( int index); /** * optional bool sendCompletenessIndex = 9 [default = false]; */ boolean hasSendCompletenessIndex(); /** * optional bool sendCompletenessIndex = 9 [default = false]; */ boolean getSendCompletenessIndex(); /** *
     *if sendAllCmd is true, then all command names  are sent, otherwise those in the cmdName list (which can be empty)
     * 
* * optional bool sendAllCmd = 10 [default = false]; */ boolean hasSendAllCmd(); /** *
     *if sendAllCmd is true, then all command names  are sent, otherwise those in the cmdName list (which can be empty)
     * 
* * optional bool sendAllCmd = 10 [default = false]; */ boolean getSendAllCmd(); /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ java.util.List getCmdNameList(); /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ org.yamcs.protobuf.Yamcs.NamedObjectId getCmdName(int index); /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ int getCmdNameCount(); /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ java.util.List getCmdNameOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getCmdNameOrBuilder( int index); /** *
     *if sendAllEvent is true, then all events are sent, otherwise those in the eventSource list (which can be empty)
     * 
* * optional bool sendAllEvent = 12 [default = false]; */ boolean hasSendAllEvent(); /** *
     *if sendAllEvent is true, then all events are sent, otherwise those in the eventSource list (which can be empty)
     * 
* * optional bool sendAllEvent = 12 [default = false]; */ boolean getSendAllEvent(); /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ java.util.List getEventSourceList(); /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ org.yamcs.protobuf.Yamcs.NamedObjectId getEventSource(int index); /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ int getEventSourceCount(); /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ java.util.List getEventSourceOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getEventSourceOrBuilder( int index); /** * optional uint32 mergeTime = 16; */ boolean hasMergeTime(); /** * optional uint32 mergeTime = 16; */ int getMergeTime(); } /** *
   *requesting index (histogram) information about tm packets, pp groups and commands
   * 
* * Protobuf type {@code yamcs.protobuf.IndexRequest} */ public static final class IndexRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.IndexRequest) IndexRequestOrBuilder { private static final long serialVersionUID = 0L; // Use IndexRequest.newBuilder() to construct. private IndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IndexRequest() { instance_ = ""; utcStart_ = ""; utcStop_ = ""; defaultNamespace_ = ""; tmPacket_ = java.util.Collections.emptyList(); ppGroup_ = java.util.Collections.emptyList(); cmdName_ = java.util.Collections.emptyList(); eventSource_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IndexRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 16: { bitField0_ |= 0x00000002; start_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; stop_ = input.readInt64(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; defaultNamespace_ = bs; break; } case 40: { bitField0_ |= 0x00000040; sendAllTm_ = input.readBool(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { tmPacket_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } tmPacket_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 56: { bitField0_ |= 0x00000080; sendAllPp_ = input.readBool(); break; } case 66: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { ppGroup_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } ppGroup_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 72: { bitField0_ |= 0x00000100; sendCompletenessIndex_ = input.readBool(); break; } case 80: { bitField0_ |= 0x00000200; sendAllCmd_ = input.readBool(); break; } case 90: { if (!((mutable_bitField0_ & 0x00001000) != 0)) { cmdName_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } cmdName_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 96: { bitField0_ |= 0x00000400; sendAllEvent_ = input.readBool(); break; } case 106: { if (!((mutable_bitField0_ & 0x00004000) != 0)) { eventSource_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00004000; } eventSource_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; utcStart_ = bs; break; } case 122: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; utcStop_ = bs; break; } case 128: { bitField0_ |= 0x00000800; mergeTime_ = input.readUInt32(); 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_ & 0x00000080) != 0)) { tmPacket_ = java.util.Collections.unmodifiableList(tmPacket_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { ppGroup_ = java.util.Collections.unmodifiableList(ppGroup_); } if (((mutable_bitField0_ & 0x00001000) != 0)) { cmdName_ = java.util.Collections.unmodifiableList(cmdName_); } if (((mutable_bitField0_ & 0x00004000) != 0)) { eventSource_ = java.util.Collections.unmodifiableList(eventSource_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.IndexRequest.class, org.yamcs.protobuf.Yamcs.IndexRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * required string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * required string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * required string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 2; private long start_; /** * optional int64 start = 2; */ public boolean hasStart() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 start = 2; */ public long getStart() { return start_; } public static final int STOP_FIELD_NUMBER = 3; private long stop_; /** * optional int64 stop = 3; */ public boolean hasStop() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 stop = 3; */ public long getStop() { return stop_; } public static final int UTCSTART_FIELD_NUMBER = 14; private volatile java.lang.Object utcStart_; /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
     * 
* * optional string utcStart = 14; */ public boolean hasUtcStart() { return ((bitField0_ & 0x00000008) != 0); } /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
     * 
* * optional string utcStart = 14; */ public java.lang.String getUtcStart() { java.lang.Object ref = utcStart_; 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()) { utcStart_ = s; } return s; } } /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
     * 
* * optional string utcStart = 14; */ public com.google.protobuf.ByteString getUtcStartBytes() { java.lang.Object ref = utcStart_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); utcStart_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UTCSTOP_FIELD_NUMBER = 15; private volatile java.lang.Object utcStop_; /** * optional string utcStop = 15; */ public boolean hasUtcStop() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string utcStop = 15; */ public java.lang.String getUtcStop() { java.lang.Object ref = utcStop_; 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()) { utcStop_ = s; } return s; } } /** * optional string utcStop = 15; */ public com.google.protobuf.ByteString getUtcStopBytes() { java.lang.Object ref = utcStop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); utcStop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTNAMESPACE_FIELD_NUMBER = 4; private volatile java.lang.Object defaultNamespace_; /** *
     *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
     *if not specified, the fully qualified canonical names will be sent
     * 
* * optional string defaultNamespace = 4; */ public boolean hasDefaultNamespace() { return ((bitField0_ & 0x00000020) != 0); } /** *
     *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
     *if not specified, the fully qualified canonical names will be sent
     * 
* * optional string defaultNamespace = 4; */ public java.lang.String getDefaultNamespace() { java.lang.Object ref = defaultNamespace_; 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()) { defaultNamespace_ = s; } return s; } } /** *
     *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
     *if not specified, the fully qualified canonical names will be sent
     * 
* * optional string defaultNamespace = 4; */ public com.google.protobuf.ByteString getDefaultNamespaceBytes() { java.lang.Object ref = defaultNamespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultNamespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SENDALLTM_FIELD_NUMBER = 5; private boolean sendAllTm_; /** *
     *if sendAllTm is true, then all tm packets are sent, otherwise those in the tmPacket list (which can be empty)
     * 
* * optional bool sendAllTm = 5 [default = false]; */ public boolean hasSendAllTm() { return ((bitField0_ & 0x00000040) != 0); } /** *
     *if sendAllTm is true, then all tm packets are sent, otherwise those in the tmPacket list (which can be empty)
     * 
* * optional bool sendAllTm = 5 [default = false]; */ public boolean getSendAllTm() { return sendAllTm_; } public static final int TMPACKET_FIELD_NUMBER = 6; private java.util.List tmPacket_; /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public java.util.List getTmPacketList() { return tmPacket_; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public java.util.List getTmPacketOrBuilderList() { return tmPacket_; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public int getTmPacketCount() { return tmPacket_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getTmPacket(int index) { return tmPacket_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getTmPacketOrBuilder( int index) { return tmPacket_.get(index); } public static final int SENDALLPP_FIELD_NUMBER = 7; private boolean sendAllPp_; /** *
     *if sendAllPp is true, then all PP groups are sent, otherwise those in the ppGroup list (which can be empty)
     * 
* * optional bool sendAllPp = 7 [default = false]; */ public boolean hasSendAllPp() { return ((bitField0_ & 0x00000080) != 0); } /** *
     *if sendAllPp is true, then all PP groups are sent, otherwise those in the ppGroup list (which can be empty)
     * 
* * optional bool sendAllPp = 7 [default = false]; */ public boolean getSendAllPp() { return sendAllPp_; } public static final int PPGROUP_FIELD_NUMBER = 8; private java.util.List ppGroup_; /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public java.util.List getPpGroupList() { return ppGroup_; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public java.util.List getPpGroupOrBuilderList() { return ppGroup_; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public int getPpGroupCount() { return ppGroup_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getPpGroup(int index) { return ppGroup_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getPpGroupOrBuilder( int index) { return ppGroup_.get(index); } public static final int SENDCOMPLETENESSINDEX_FIELD_NUMBER = 9; private boolean sendCompletenessIndex_; /** * optional bool sendCompletenessIndex = 9 [default = false]; */ public boolean hasSendCompletenessIndex() { return ((bitField0_ & 0x00000100) != 0); } /** * optional bool sendCompletenessIndex = 9 [default = false]; */ public boolean getSendCompletenessIndex() { return sendCompletenessIndex_; } public static final int SENDALLCMD_FIELD_NUMBER = 10; private boolean sendAllCmd_; /** *
     *if sendAllCmd is true, then all command names  are sent, otherwise those in the cmdName list (which can be empty)
     * 
* * optional bool sendAllCmd = 10 [default = false]; */ public boolean hasSendAllCmd() { return ((bitField0_ & 0x00000200) != 0); } /** *
     *if sendAllCmd is true, then all command names  are sent, otherwise those in the cmdName list (which can be empty)
     * 
* * optional bool sendAllCmd = 10 [default = false]; */ public boolean getSendAllCmd() { return sendAllCmd_; } public static final int CMDNAME_FIELD_NUMBER = 11; private java.util.List cmdName_; /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public java.util.List getCmdNameList() { return cmdName_; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public java.util.List getCmdNameOrBuilderList() { return cmdName_; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public int getCmdNameCount() { return cmdName_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getCmdName(int index) { return cmdName_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getCmdNameOrBuilder( int index) { return cmdName_.get(index); } public static final int SENDALLEVENT_FIELD_NUMBER = 12; private boolean sendAllEvent_; /** *
     *if sendAllEvent is true, then all events are sent, otherwise those in the eventSource list (which can be empty)
     * 
* * optional bool sendAllEvent = 12 [default = false]; */ public boolean hasSendAllEvent() { return ((bitField0_ & 0x00000400) != 0); } /** *
     *if sendAllEvent is true, then all events are sent, otherwise those in the eventSource list (which can be empty)
     * 
* * optional bool sendAllEvent = 12 [default = false]; */ public boolean getSendAllEvent() { return sendAllEvent_; } public static final int EVENTSOURCE_FIELD_NUMBER = 13; private java.util.List eventSource_; /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public java.util.List getEventSourceList() { return eventSource_; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public java.util.List getEventSourceOrBuilderList() { return eventSource_; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public int getEventSourceCount() { return eventSource_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getEventSource(int index) { return eventSource_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getEventSourceOrBuilder( int index) { return eventSource_.get(index); } public static final int MERGETIME_FIELD_NUMBER = 16; private int mergeTime_; /** * optional uint32 mergeTime = 16; */ public boolean hasMergeTime() { return ((bitField0_ & 0x00000800) != 0); } /** * optional uint32 mergeTime = 16; */ public int getMergeTime() { return mergeTime_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasInstance()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getTmPacketCount(); i++) { if (!getTmPacket(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getPpGroupCount(); i++) { if (!getPpGroup(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getCmdNameCount(); i++) { if (!getCmdName(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getEventSourceCount(); i++) { if (!getEventSource(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, start_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, stop_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, defaultNamespace_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(5, sendAllTm_); } for (int i = 0; i < tmPacket_.size(); i++) { output.writeMessage(6, tmPacket_.get(i)); } if (((bitField0_ & 0x00000080) != 0)) { output.writeBool(7, sendAllPp_); } for (int i = 0; i < ppGroup_.size(); i++) { output.writeMessage(8, ppGroup_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { output.writeBool(9, sendCompletenessIndex_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeBool(10, sendAllCmd_); } for (int i = 0; i < cmdName_.size(); i++) { output.writeMessage(11, cmdName_.get(i)); } if (((bitField0_ & 0x00000400) != 0)) { output.writeBool(12, sendAllEvent_); } for (int i = 0; i < eventSource_.size(); i++) { output.writeMessage(13, eventSource_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, utcStart_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, utcStop_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeUInt32(16, mergeTime_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, start_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, stop_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, defaultNamespace_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, sendAllTm_); } for (int i = 0; i < tmPacket_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, tmPacket_.get(i)); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, sendAllPp_); } for (int i = 0; i < ppGroup_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, ppGroup_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, sendCompletenessIndex_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, sendAllCmd_); } for (int i = 0; i < cmdName_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, cmdName_.get(i)); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, sendAllEvent_); } for (int i = 0; i < eventSource_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, eventSource_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, utcStart_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, utcStop_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, mergeTime_); } 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.Yamcs.IndexRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.IndexRequest other = (org.yamcs.protobuf.Yamcs.IndexRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (getStart() != other.getStart()) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (getStop() != other.getStop()) return false; } if (hasUtcStart() != other.hasUtcStart()) return false; if (hasUtcStart()) { if (!getUtcStart() .equals(other.getUtcStart())) return false; } if (hasUtcStop() != other.hasUtcStop()) return false; if (hasUtcStop()) { if (!getUtcStop() .equals(other.getUtcStop())) return false; } if (hasDefaultNamespace() != other.hasDefaultNamespace()) return false; if (hasDefaultNamespace()) { if (!getDefaultNamespace() .equals(other.getDefaultNamespace())) return false; } if (hasSendAllTm() != other.hasSendAllTm()) return false; if (hasSendAllTm()) { if (getSendAllTm() != other.getSendAllTm()) return false; } if (!getTmPacketList() .equals(other.getTmPacketList())) return false; if (hasSendAllPp() != other.hasSendAllPp()) return false; if (hasSendAllPp()) { if (getSendAllPp() != other.getSendAllPp()) return false; } if (!getPpGroupList() .equals(other.getPpGroupList())) return false; if (hasSendCompletenessIndex() != other.hasSendCompletenessIndex()) return false; if (hasSendCompletenessIndex()) { if (getSendCompletenessIndex() != other.getSendCompletenessIndex()) return false; } if (hasSendAllCmd() != other.hasSendAllCmd()) return false; if (hasSendAllCmd()) { if (getSendAllCmd() != other.getSendAllCmd()) return false; } if (!getCmdNameList() .equals(other.getCmdNameList())) return false; if (hasSendAllEvent() != other.hasSendAllEvent()) return false; if (hasSendAllEvent()) { if (getSendAllEvent() != other.getSendAllEvent()) return false; } if (!getEventSourceList() .equals(other.getEventSourceList())) return false; if (hasMergeTime() != other.hasMergeTime()) return false; if (hasMergeTime()) { if (getMergeTime() != other.getMergeTime()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStart()); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStop()); } if (hasUtcStart()) { hash = (37 * hash) + UTCSTART_FIELD_NUMBER; hash = (53 * hash) + getUtcStart().hashCode(); } if (hasUtcStop()) { hash = (37 * hash) + UTCSTOP_FIELD_NUMBER; hash = (53 * hash) + getUtcStop().hashCode(); } if (hasDefaultNamespace()) { hash = (37 * hash) + DEFAULTNAMESPACE_FIELD_NUMBER; hash = (53 * hash) + getDefaultNamespace().hashCode(); } if (hasSendAllTm()) { hash = (37 * hash) + SENDALLTM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSendAllTm()); } if (getTmPacketCount() > 0) { hash = (37 * hash) + TMPACKET_FIELD_NUMBER; hash = (53 * hash) + getTmPacketList().hashCode(); } if (hasSendAllPp()) { hash = (37 * hash) + SENDALLPP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSendAllPp()); } if (getPpGroupCount() > 0) { hash = (37 * hash) + PPGROUP_FIELD_NUMBER; hash = (53 * hash) + getPpGroupList().hashCode(); } if (hasSendCompletenessIndex()) { hash = (37 * hash) + SENDCOMPLETENESSINDEX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSendCompletenessIndex()); } if (hasSendAllCmd()) { hash = (37 * hash) + SENDALLCMD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSendAllCmd()); } if (getCmdNameCount() > 0) { hash = (37 * hash) + CMDNAME_FIELD_NUMBER; hash = (53 * hash) + getCmdNameList().hashCode(); } if (hasSendAllEvent()) { hash = (37 * hash) + SENDALLEVENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSendAllEvent()); } if (getEventSourceCount() > 0) { hash = (37 * hash) + EVENTSOURCE_FIELD_NUMBER; hash = (53 * hash) + getEventSourceList().hashCode(); } if (hasMergeTime()) { hash = (37 * hash) + MERGETIME_FIELD_NUMBER; hash = (53 * hash) + getMergeTime(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.IndexRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.IndexRequest 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.Yamcs.IndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.IndexRequest 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.Yamcs.IndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.IndexRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.IndexRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.IndexRequest 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.Yamcs.IndexRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.IndexRequest 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.Yamcs.IndexRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.IndexRequest 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.Yamcs.IndexRequest 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; } /** *
     *requesting index (histogram) information about tm packets, pp groups and commands
     * 
* * Protobuf type {@code yamcs.protobuf.IndexRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.IndexRequest) org.yamcs.protobuf.Yamcs.IndexRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.IndexRequest.class, org.yamcs.protobuf.Yamcs.IndexRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.IndexRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTmPacketFieldBuilder(); getPpGroupFieldBuilder(); getCmdNameFieldBuilder(); getEventSourceFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); start_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); stop_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); utcStart_ = ""; bitField0_ = (bitField0_ & ~0x00000008); utcStop_ = ""; bitField0_ = (bitField0_ & ~0x00000010); defaultNamespace_ = ""; bitField0_ = (bitField0_ & ~0x00000020); sendAllTm_ = false; bitField0_ = (bitField0_ & ~0x00000040); if (tmPacketBuilder_ == null) { tmPacket_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { tmPacketBuilder_.clear(); } sendAllPp_ = false; bitField0_ = (bitField0_ & ~0x00000100); if (ppGroupBuilder_ == null) { ppGroup_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { ppGroupBuilder_.clear(); } sendCompletenessIndex_ = false; bitField0_ = (bitField0_ & ~0x00000400); sendAllCmd_ = false; bitField0_ = (bitField0_ & ~0x00000800); if (cmdNameBuilder_ == null) { cmdName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); } else { cmdNameBuilder_.clear(); } sendAllEvent_ = false; bitField0_ = (bitField0_ & ~0x00002000); if (eventSourceBuilder_ == null) { eventSource_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); } else { eventSourceBuilder_.clear(); } mergeTime_ = 0; bitField0_ = (bitField0_ & ~0x00008000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.IndexRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.IndexRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.IndexRequest build() { org.yamcs.protobuf.Yamcs.IndexRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.IndexRequest buildPartial() { org.yamcs.protobuf.Yamcs.IndexRequest result = new org.yamcs.protobuf.Yamcs.IndexRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { result.start_ = start_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.stop_ = stop_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.utcStart_ = utcStart_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.utcStop_ = utcStop_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.defaultNamespace_ = defaultNamespace_; if (((from_bitField0_ & 0x00000040) != 0)) { result.sendAllTm_ = sendAllTm_; to_bitField0_ |= 0x00000040; } if (tmPacketBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { tmPacket_ = java.util.Collections.unmodifiableList(tmPacket_); bitField0_ = (bitField0_ & ~0x00000080); } result.tmPacket_ = tmPacket_; } else { result.tmPacket_ = tmPacketBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { result.sendAllPp_ = sendAllPp_; to_bitField0_ |= 0x00000080; } if (ppGroupBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { ppGroup_ = java.util.Collections.unmodifiableList(ppGroup_); bitField0_ = (bitField0_ & ~0x00000200); } result.ppGroup_ = ppGroup_; } else { result.ppGroup_ = ppGroupBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.sendCompletenessIndex_ = sendCompletenessIndex_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000800) != 0)) { result.sendAllCmd_ = sendAllCmd_; to_bitField0_ |= 0x00000200; } if (cmdNameBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { cmdName_ = java.util.Collections.unmodifiableList(cmdName_); bitField0_ = (bitField0_ & ~0x00001000); } result.cmdName_ = cmdName_; } else { result.cmdName_ = cmdNameBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { result.sendAllEvent_ = sendAllEvent_; to_bitField0_ |= 0x00000400; } if (eventSourceBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0)) { eventSource_ = java.util.Collections.unmodifiableList(eventSource_); bitField0_ = (bitField0_ & ~0x00004000); } result.eventSource_ = eventSource_; } else { result.eventSource_ = eventSourceBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.mergeTime_ = mergeTime_; to_bitField0_ |= 0x00000800; } 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.Yamcs.IndexRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.IndexRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.IndexRequest other) { if (other == org.yamcs.protobuf.Yamcs.IndexRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasStart()) { setStart(other.getStart()); } if (other.hasStop()) { setStop(other.getStop()); } if (other.hasUtcStart()) { bitField0_ |= 0x00000008; utcStart_ = other.utcStart_; onChanged(); } if (other.hasUtcStop()) { bitField0_ |= 0x00000010; utcStop_ = other.utcStop_; onChanged(); } if (other.hasDefaultNamespace()) { bitField0_ |= 0x00000020; defaultNamespace_ = other.defaultNamespace_; onChanged(); } if (other.hasSendAllTm()) { setSendAllTm(other.getSendAllTm()); } if (tmPacketBuilder_ == null) { if (!other.tmPacket_.isEmpty()) { if (tmPacket_.isEmpty()) { tmPacket_ = other.tmPacket_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureTmPacketIsMutable(); tmPacket_.addAll(other.tmPacket_); } onChanged(); } } else { if (!other.tmPacket_.isEmpty()) { if (tmPacketBuilder_.isEmpty()) { tmPacketBuilder_.dispose(); tmPacketBuilder_ = null; tmPacket_ = other.tmPacket_; bitField0_ = (bitField0_ & ~0x00000080); tmPacketBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTmPacketFieldBuilder() : null; } else { tmPacketBuilder_.addAllMessages(other.tmPacket_); } } } if (other.hasSendAllPp()) { setSendAllPp(other.getSendAllPp()); } if (ppGroupBuilder_ == null) { if (!other.ppGroup_.isEmpty()) { if (ppGroup_.isEmpty()) { ppGroup_ = other.ppGroup_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensurePpGroupIsMutable(); ppGroup_.addAll(other.ppGroup_); } onChanged(); } } else { if (!other.ppGroup_.isEmpty()) { if (ppGroupBuilder_.isEmpty()) { ppGroupBuilder_.dispose(); ppGroupBuilder_ = null; ppGroup_ = other.ppGroup_; bitField0_ = (bitField0_ & ~0x00000200); ppGroupBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPpGroupFieldBuilder() : null; } else { ppGroupBuilder_.addAllMessages(other.ppGroup_); } } } if (other.hasSendCompletenessIndex()) { setSendCompletenessIndex(other.getSendCompletenessIndex()); } if (other.hasSendAllCmd()) { setSendAllCmd(other.getSendAllCmd()); } if (cmdNameBuilder_ == null) { if (!other.cmdName_.isEmpty()) { if (cmdName_.isEmpty()) { cmdName_ = other.cmdName_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureCmdNameIsMutable(); cmdName_.addAll(other.cmdName_); } onChanged(); } } else { if (!other.cmdName_.isEmpty()) { if (cmdNameBuilder_.isEmpty()) { cmdNameBuilder_.dispose(); cmdNameBuilder_ = null; cmdName_ = other.cmdName_; bitField0_ = (bitField0_ & ~0x00001000); cmdNameBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCmdNameFieldBuilder() : null; } else { cmdNameBuilder_.addAllMessages(other.cmdName_); } } } if (other.hasSendAllEvent()) { setSendAllEvent(other.getSendAllEvent()); } if (eventSourceBuilder_ == null) { if (!other.eventSource_.isEmpty()) { if (eventSource_.isEmpty()) { eventSource_ = other.eventSource_; bitField0_ = (bitField0_ & ~0x00004000); } else { ensureEventSourceIsMutable(); eventSource_.addAll(other.eventSource_); } onChanged(); } } else { if (!other.eventSource_.isEmpty()) { if (eventSourceBuilder_.isEmpty()) { eventSourceBuilder_.dispose(); eventSourceBuilder_ = null; eventSource_ = other.eventSource_; bitField0_ = (bitField0_ & ~0x00004000); eventSourceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEventSourceFieldBuilder() : null; } else { eventSourceBuilder_.addAllMessages(other.eventSource_); } } } if (other.hasMergeTime()) { setMergeTime(other.getMergeTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasInstance()) { return false; } for (int i = 0; i < getTmPacketCount(); i++) { if (!getTmPacket(i).isInitialized()) { return false; } } for (int i = 0; i < getPpGroupCount(); i++) { if (!getPpGroup(i).isInitialized()) { return false; } } for (int i = 0; i < getCmdNameCount(); i++) { if (!getCmdName(i).isInitialized()) { return false; } } for (int i = 0; i < getEventSourceCount(); i++) { if (!getEventSource(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.IndexRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.IndexRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * required string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * required string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * required string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * required string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private long start_ ; /** * optional int64 start = 2; */ public boolean hasStart() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 start = 2; */ public long getStart() { return start_; } /** * optional int64 start = 2; */ public Builder setStart(long value) { bitField0_ |= 0x00000002; start_ = value; onChanged(); return this; } /** * optional int64 start = 2; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000002); start_ = 0L; onChanged(); return this; } private long stop_ ; /** * optional int64 stop = 3; */ public boolean hasStop() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 stop = 3; */ public long getStop() { return stop_; } /** * optional int64 stop = 3; */ public Builder setStop(long value) { bitField0_ |= 0x00000004; stop_ = value; onChanged(); return this; } /** * optional int64 stop = 3; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000004); stop_ = 0L; onChanged(); return this; } private java.lang.Object utcStart_ = ""; /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
       * 
* * optional string utcStart = 14; */ public boolean hasUtcStart() { return ((bitField0_ & 0x00000008) != 0); } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
       * 
* * optional string utcStart = 14; */ public java.lang.String getUtcStart() { java.lang.Object ref = utcStart_; 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()) { utcStart_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
       * 
* * optional string utcStart = 14; */ public com.google.protobuf.ByteString getUtcStartBytes() { java.lang.Object ref = utcStart_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); utcStart_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
       * 
* * optional string utcStart = 14; */ public Builder setUtcStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; utcStart_ = value; onChanged(); return this; } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
       * 
* * optional string utcStart = 14; */ public Builder clearUtcStart() { bitField0_ = (bitField0_ & ~0x00000008); utcStart_ = getDefaultInstance().getUtcStart(); onChanged(); return this; } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323 (no timezone!)
       * 
* * optional string utcStart = 14; */ public Builder setUtcStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; utcStart_ = value; onChanged(); return this; } private java.lang.Object utcStop_ = ""; /** * optional string utcStop = 15; */ public boolean hasUtcStop() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string utcStop = 15; */ public java.lang.String getUtcStop() { java.lang.Object ref = utcStop_; 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()) { utcStop_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string utcStop = 15; */ public com.google.protobuf.ByteString getUtcStopBytes() { java.lang.Object ref = utcStop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); utcStop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string utcStop = 15; */ public Builder setUtcStop( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; utcStop_ = value; onChanged(); return this; } /** * optional string utcStop = 15; */ public Builder clearUtcStop() { bitField0_ = (bitField0_ & ~0x00000010); utcStop_ = getDefaultInstance().getUtcStop(); onChanged(); return this; } /** * optional string utcStop = 15; */ public Builder setUtcStopBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; utcStop_ = value; onChanged(); return this; } private java.lang.Object defaultNamespace_ = ""; /** *
       *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
       *if not specified, the fully qualified canonical names will be sent
       * 
* * optional string defaultNamespace = 4; */ public boolean hasDefaultNamespace() { return ((bitField0_ & 0x00000020) != 0); } /** *
       *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
       *if not specified, the fully qualified canonical names will be sent
       * 
* * optional string defaultNamespace = 4; */ public java.lang.String getDefaultNamespace() { java.lang.Object ref = defaultNamespace_; 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()) { defaultNamespace_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
       *if not specified, the fully qualified canonical names will be sent
       * 
* * optional string defaultNamespace = 4; */ public com.google.protobuf.ByteString getDefaultNamespaceBytes() { java.lang.Object ref = defaultNamespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultNamespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
       *if not specified, the fully qualified canonical names will be sent
       * 
* * optional string defaultNamespace = 4; */ public Builder setDefaultNamespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; defaultNamespace_ = value; onChanged(); return this; } /** *
       *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
       *if not specified, the fully qualified canonical names will be sent
       * 
* * optional string defaultNamespace = 4; */ public Builder clearDefaultNamespace() { bitField0_ = (bitField0_ & ~0x00000020); defaultNamespace_ = getDefaultInstance().getDefaultNamespace(); onChanged(); return this; } /** *
       *namespace to use when sending all tm, pp or cmd (when using a filter, the namespace specified in the filter will be used)
       *if not specified, the fully qualified canonical names will be sent
       * 
* * optional string defaultNamespace = 4; */ public Builder setDefaultNamespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; defaultNamespace_ = value; onChanged(); return this; } private boolean sendAllTm_ ; /** *
       *if sendAllTm is true, then all tm packets are sent, otherwise those in the tmPacket list (which can be empty)
       * 
* * optional bool sendAllTm = 5 [default = false]; */ public boolean hasSendAllTm() { return ((bitField0_ & 0x00000040) != 0); } /** *
       *if sendAllTm is true, then all tm packets are sent, otherwise those in the tmPacket list (which can be empty)
       * 
* * optional bool sendAllTm = 5 [default = false]; */ public boolean getSendAllTm() { return sendAllTm_; } /** *
       *if sendAllTm is true, then all tm packets are sent, otherwise those in the tmPacket list (which can be empty)
       * 
* * optional bool sendAllTm = 5 [default = false]; */ public Builder setSendAllTm(boolean value) { bitField0_ |= 0x00000040; sendAllTm_ = value; onChanged(); return this; } /** *
       *if sendAllTm is true, then all tm packets are sent, otherwise those in the tmPacket list (which can be empty)
       * 
* * optional bool sendAllTm = 5 [default = false]; */ public Builder clearSendAllTm() { bitField0_ = (bitField0_ & ~0x00000040); sendAllTm_ = false; onChanged(); return this; } private java.util.List tmPacket_ = java.util.Collections.emptyList(); private void ensureTmPacketIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { tmPacket_ = new java.util.ArrayList(tmPacket_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> tmPacketBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public java.util.List getTmPacketList() { if (tmPacketBuilder_ == null) { return java.util.Collections.unmodifiableList(tmPacket_); } else { return tmPacketBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public int getTmPacketCount() { if (tmPacketBuilder_ == null) { return tmPacket_.size(); } else { return tmPacketBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getTmPacket(int index) { if (tmPacketBuilder_ == null) { return tmPacket_.get(index); } else { return tmPacketBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder setTmPacket( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (tmPacketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTmPacketIsMutable(); tmPacket_.set(index, value); onChanged(); } else { tmPacketBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder setTmPacket( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (tmPacketBuilder_ == null) { ensureTmPacketIsMutable(); tmPacket_.set(index, builderForValue.build()); onChanged(); } else { tmPacketBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder addTmPacket(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (tmPacketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTmPacketIsMutable(); tmPacket_.add(value); onChanged(); } else { tmPacketBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder addTmPacket( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (tmPacketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTmPacketIsMutable(); tmPacket_.add(index, value); onChanged(); } else { tmPacketBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder addTmPacket( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (tmPacketBuilder_ == null) { ensureTmPacketIsMutable(); tmPacket_.add(builderForValue.build()); onChanged(); } else { tmPacketBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder addTmPacket( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (tmPacketBuilder_ == null) { ensureTmPacketIsMutable(); tmPacket_.add(index, builderForValue.build()); onChanged(); } else { tmPacketBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder addAllTmPacket( java.lang.Iterable values) { if (tmPacketBuilder_ == null) { ensureTmPacketIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tmPacket_); onChanged(); } else { tmPacketBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder clearTmPacket() { if (tmPacketBuilder_ == null) { tmPacket_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { tmPacketBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public Builder removeTmPacket(int index) { if (tmPacketBuilder_ == null) { ensureTmPacketIsMutable(); tmPacket_.remove(index); onChanged(); } else { tmPacketBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getTmPacketBuilder( int index) { return getTmPacketFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getTmPacketOrBuilder( int index) { if (tmPacketBuilder_ == null) { return tmPacket_.get(index); } else { return tmPacketBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public java.util.List getTmPacketOrBuilderList() { if (tmPacketBuilder_ != null) { return tmPacketBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tmPacket_); } } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addTmPacketBuilder() { return getTmPacketFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addTmPacketBuilder( int index) { return getTmPacketFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId tmPacket = 6; */ public java.util.List getTmPacketBuilderList() { return getTmPacketFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getTmPacketFieldBuilder() { if (tmPacketBuilder_ == null) { tmPacketBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( tmPacket_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); tmPacket_ = null; } return tmPacketBuilder_; } private boolean sendAllPp_ ; /** *
       *if sendAllPp is true, then all PP groups are sent, otherwise those in the ppGroup list (which can be empty)
       * 
* * optional bool sendAllPp = 7 [default = false]; */ public boolean hasSendAllPp() { return ((bitField0_ & 0x00000100) != 0); } /** *
       *if sendAllPp is true, then all PP groups are sent, otherwise those in the ppGroup list (which can be empty)
       * 
* * optional bool sendAllPp = 7 [default = false]; */ public boolean getSendAllPp() { return sendAllPp_; } /** *
       *if sendAllPp is true, then all PP groups are sent, otherwise those in the ppGroup list (which can be empty)
       * 
* * optional bool sendAllPp = 7 [default = false]; */ public Builder setSendAllPp(boolean value) { bitField0_ |= 0x00000100; sendAllPp_ = value; onChanged(); return this; } /** *
       *if sendAllPp is true, then all PP groups are sent, otherwise those in the ppGroup list (which can be empty)
       * 
* * optional bool sendAllPp = 7 [default = false]; */ public Builder clearSendAllPp() { bitField0_ = (bitField0_ & ~0x00000100); sendAllPp_ = false; onChanged(); return this; } private java.util.List ppGroup_ = java.util.Collections.emptyList(); private void ensurePpGroupIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { ppGroup_ = new java.util.ArrayList(ppGroup_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> ppGroupBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public java.util.List getPpGroupList() { if (ppGroupBuilder_ == null) { return java.util.Collections.unmodifiableList(ppGroup_); } else { return ppGroupBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public int getPpGroupCount() { if (ppGroupBuilder_ == null) { return ppGroup_.size(); } else { return ppGroupBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getPpGroup(int index) { if (ppGroupBuilder_ == null) { return ppGroup_.get(index); } else { return ppGroupBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder setPpGroup( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (ppGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePpGroupIsMutable(); ppGroup_.set(index, value); onChanged(); } else { ppGroupBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder setPpGroup( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (ppGroupBuilder_ == null) { ensurePpGroupIsMutable(); ppGroup_.set(index, builderForValue.build()); onChanged(); } else { ppGroupBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder addPpGroup(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (ppGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePpGroupIsMutable(); ppGroup_.add(value); onChanged(); } else { ppGroupBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder addPpGroup( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (ppGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePpGroupIsMutable(); ppGroup_.add(index, value); onChanged(); } else { ppGroupBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder addPpGroup( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (ppGroupBuilder_ == null) { ensurePpGroupIsMutable(); ppGroup_.add(builderForValue.build()); onChanged(); } else { ppGroupBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder addPpGroup( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (ppGroupBuilder_ == null) { ensurePpGroupIsMutable(); ppGroup_.add(index, builderForValue.build()); onChanged(); } else { ppGroupBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder addAllPpGroup( java.lang.Iterable values) { if (ppGroupBuilder_ == null) { ensurePpGroupIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ppGroup_); onChanged(); } else { ppGroupBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder clearPpGroup() { if (ppGroupBuilder_ == null) { ppGroup_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { ppGroupBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public Builder removePpGroup(int index) { if (ppGroupBuilder_ == null) { ensurePpGroupIsMutable(); ppGroup_.remove(index); onChanged(); } else { ppGroupBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getPpGroupBuilder( int index) { return getPpGroupFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getPpGroupOrBuilder( int index) { if (ppGroupBuilder_ == null) { return ppGroup_.get(index); } else { return ppGroupBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public java.util.List getPpGroupOrBuilderList() { if (ppGroupBuilder_ != null) { return ppGroupBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(ppGroup_); } } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addPpGroupBuilder() { return getPpGroupFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addPpGroupBuilder( int index) { return getPpGroupFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId ppGroup = 8; */ public java.util.List getPpGroupBuilderList() { return getPpGroupFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getPpGroupFieldBuilder() { if (ppGroupBuilder_ == null) { ppGroupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( ppGroup_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); ppGroup_ = null; } return ppGroupBuilder_; } private boolean sendCompletenessIndex_ ; /** * optional bool sendCompletenessIndex = 9 [default = false]; */ public boolean hasSendCompletenessIndex() { return ((bitField0_ & 0x00000400) != 0); } /** * optional bool sendCompletenessIndex = 9 [default = false]; */ public boolean getSendCompletenessIndex() { return sendCompletenessIndex_; } /** * optional bool sendCompletenessIndex = 9 [default = false]; */ public Builder setSendCompletenessIndex(boolean value) { bitField0_ |= 0x00000400; sendCompletenessIndex_ = value; onChanged(); return this; } /** * optional bool sendCompletenessIndex = 9 [default = false]; */ public Builder clearSendCompletenessIndex() { bitField0_ = (bitField0_ & ~0x00000400); sendCompletenessIndex_ = false; onChanged(); return this; } private boolean sendAllCmd_ ; /** *
       *if sendAllCmd is true, then all command names  are sent, otherwise those in the cmdName list (which can be empty)
       * 
* * optional bool sendAllCmd = 10 [default = false]; */ public boolean hasSendAllCmd() { return ((bitField0_ & 0x00000800) != 0); } /** *
       *if sendAllCmd is true, then all command names  are sent, otherwise those in the cmdName list (which can be empty)
       * 
* * optional bool sendAllCmd = 10 [default = false]; */ public boolean getSendAllCmd() { return sendAllCmd_; } /** *
       *if sendAllCmd is true, then all command names  are sent, otherwise those in the cmdName list (which can be empty)
       * 
* * optional bool sendAllCmd = 10 [default = false]; */ public Builder setSendAllCmd(boolean value) { bitField0_ |= 0x00000800; sendAllCmd_ = value; onChanged(); return this; } /** *
       *if sendAllCmd is true, then all command names  are sent, otherwise those in the cmdName list (which can be empty)
       * 
* * optional bool sendAllCmd = 10 [default = false]; */ public Builder clearSendAllCmd() { bitField0_ = (bitField0_ & ~0x00000800); sendAllCmd_ = false; onChanged(); return this; } private java.util.List cmdName_ = java.util.Collections.emptyList(); private void ensureCmdNameIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { cmdName_ = new java.util.ArrayList(cmdName_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> cmdNameBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public java.util.List getCmdNameList() { if (cmdNameBuilder_ == null) { return java.util.Collections.unmodifiableList(cmdName_); } else { return cmdNameBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public int getCmdNameCount() { if (cmdNameBuilder_ == null) { return cmdName_.size(); } else { return cmdNameBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getCmdName(int index) { if (cmdNameBuilder_ == null) { return cmdName_.get(index); } else { return cmdNameBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder setCmdName( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (cmdNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCmdNameIsMutable(); cmdName_.set(index, value); onChanged(); } else { cmdNameBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder setCmdName( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (cmdNameBuilder_ == null) { ensureCmdNameIsMutable(); cmdName_.set(index, builderForValue.build()); onChanged(); } else { cmdNameBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder addCmdName(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (cmdNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCmdNameIsMutable(); cmdName_.add(value); onChanged(); } else { cmdNameBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder addCmdName( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (cmdNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCmdNameIsMutable(); cmdName_.add(index, value); onChanged(); } else { cmdNameBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder addCmdName( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (cmdNameBuilder_ == null) { ensureCmdNameIsMutable(); cmdName_.add(builderForValue.build()); onChanged(); } else { cmdNameBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder addCmdName( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (cmdNameBuilder_ == null) { ensureCmdNameIsMutable(); cmdName_.add(index, builderForValue.build()); onChanged(); } else { cmdNameBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder addAllCmdName( java.lang.Iterable values) { if (cmdNameBuilder_ == null) { ensureCmdNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, cmdName_); onChanged(); } else { cmdNameBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder clearCmdName() { if (cmdNameBuilder_ == null) { cmdName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { cmdNameBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public Builder removeCmdName(int index) { if (cmdNameBuilder_ == null) { ensureCmdNameIsMutable(); cmdName_.remove(index); onChanged(); } else { cmdNameBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getCmdNameBuilder( int index) { return getCmdNameFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getCmdNameOrBuilder( int index) { if (cmdNameBuilder_ == null) { return cmdName_.get(index); } else { return cmdNameBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public java.util.List getCmdNameOrBuilderList() { if (cmdNameBuilder_ != null) { return cmdNameBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(cmdName_); } } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addCmdNameBuilder() { return getCmdNameFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addCmdNameBuilder( int index) { return getCmdNameFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId cmdName = 11; */ public java.util.List getCmdNameBuilderList() { return getCmdNameFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getCmdNameFieldBuilder() { if (cmdNameBuilder_ == null) { cmdNameBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( cmdName_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); cmdName_ = null; } return cmdNameBuilder_; } private boolean sendAllEvent_ ; /** *
       *if sendAllEvent is true, then all events are sent, otherwise those in the eventSource list (which can be empty)
       * 
* * optional bool sendAllEvent = 12 [default = false]; */ public boolean hasSendAllEvent() { return ((bitField0_ & 0x00002000) != 0); } /** *
       *if sendAllEvent is true, then all events are sent, otherwise those in the eventSource list (which can be empty)
       * 
* * optional bool sendAllEvent = 12 [default = false]; */ public boolean getSendAllEvent() { return sendAllEvent_; } /** *
       *if sendAllEvent is true, then all events are sent, otherwise those in the eventSource list (which can be empty)
       * 
* * optional bool sendAllEvent = 12 [default = false]; */ public Builder setSendAllEvent(boolean value) { bitField0_ |= 0x00002000; sendAllEvent_ = value; onChanged(); return this; } /** *
       *if sendAllEvent is true, then all events are sent, otherwise those in the eventSource list (which can be empty)
       * 
* * optional bool sendAllEvent = 12 [default = false]; */ public Builder clearSendAllEvent() { bitField0_ = (bitField0_ & ~0x00002000); sendAllEvent_ = false; onChanged(); return this; } private java.util.List eventSource_ = java.util.Collections.emptyList(); private void ensureEventSourceIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { eventSource_ = new java.util.ArrayList(eventSource_); bitField0_ |= 0x00004000; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> eventSourceBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public java.util.List getEventSourceList() { if (eventSourceBuilder_ == null) { return java.util.Collections.unmodifiableList(eventSource_); } else { return eventSourceBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public int getEventSourceCount() { if (eventSourceBuilder_ == null) { return eventSource_.size(); } else { return eventSourceBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getEventSource(int index) { if (eventSourceBuilder_ == null) { return eventSource_.get(index); } else { return eventSourceBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder setEventSource( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (eventSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventSourceIsMutable(); eventSource_.set(index, value); onChanged(); } else { eventSourceBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder setEventSource( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (eventSourceBuilder_ == null) { ensureEventSourceIsMutable(); eventSource_.set(index, builderForValue.build()); onChanged(); } else { eventSourceBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder addEventSource(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (eventSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventSourceIsMutable(); eventSource_.add(value); onChanged(); } else { eventSourceBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder addEventSource( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (eventSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventSourceIsMutable(); eventSource_.add(index, value); onChanged(); } else { eventSourceBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder addEventSource( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (eventSourceBuilder_ == null) { ensureEventSourceIsMutable(); eventSource_.add(builderForValue.build()); onChanged(); } else { eventSourceBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder addEventSource( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (eventSourceBuilder_ == null) { ensureEventSourceIsMutable(); eventSource_.add(index, builderForValue.build()); onChanged(); } else { eventSourceBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder addAllEventSource( java.lang.Iterable values) { if (eventSourceBuilder_ == null) { ensureEventSourceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, eventSource_); onChanged(); } else { eventSourceBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder clearEventSource() { if (eventSourceBuilder_ == null) { eventSource_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); } else { eventSourceBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public Builder removeEventSource(int index) { if (eventSourceBuilder_ == null) { ensureEventSourceIsMutable(); eventSource_.remove(index); onChanged(); } else { eventSourceBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getEventSourceBuilder( int index) { return getEventSourceFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getEventSourceOrBuilder( int index) { if (eventSourceBuilder_ == null) { return eventSource_.get(index); } else { return eventSourceBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public java.util.List getEventSourceOrBuilderList() { if (eventSourceBuilder_ != null) { return eventSourceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(eventSource_); } } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addEventSourceBuilder() { return getEventSourceFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addEventSourceBuilder( int index) { return getEventSourceFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId eventSource = 13; */ public java.util.List getEventSourceBuilderList() { return getEventSourceFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getEventSourceFieldBuilder() { if (eventSourceBuilder_ == null) { eventSourceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( eventSource_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); eventSource_ = null; } return eventSourceBuilder_; } private int mergeTime_ ; /** * optional uint32 mergeTime = 16; */ public boolean hasMergeTime() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 mergeTime = 16; */ public int getMergeTime() { return mergeTime_; } /** * optional uint32 mergeTime = 16; */ public Builder setMergeTime(int value) { bitField0_ |= 0x00008000; mergeTime_ = value; onChanged(); return this; } /** * optional uint32 mergeTime = 16; */ public Builder clearMergeTime() { bitField0_ = (bitField0_ & ~0x00008000); mergeTime_ = 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.IndexRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.IndexRequest) private static final org.yamcs.protobuf.Yamcs.IndexRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.IndexRequest(); } public static org.yamcs.protobuf.Yamcs.IndexRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IndexRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IndexRequest(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.Yamcs.IndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ArchiveRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.ArchiveRecord) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ boolean hasId(); /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectId getId(); /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(); /** * optional int64 yamcsFirst = 2 [deprecated = true]; */ @java.lang.Deprecated boolean hasYamcsFirst(); /** * optional int64 yamcsFirst = 2 [deprecated = true]; */ @java.lang.Deprecated long getYamcsFirst(); /** * optional int64 yamcsLast = 3 [deprecated = true]; */ @java.lang.Deprecated boolean hasYamcsLast(); /** * optional int64 yamcsLast = 3 [deprecated = true]; */ @java.lang.Deprecated long getYamcsLast(); /** * optional int32 num = 4; */ boolean hasNum(); /** * optional int32 num = 4; */ int getNum(); /** * optional string info = 5; */ boolean hasInfo(); /** * optional string info = 5; */ java.lang.String getInfo(); /** * optional string info = 5; */ com.google.protobuf.ByteString getInfoBytes(); /** * optional int64 seqFirst = 6; */ boolean hasSeqFirst(); /** * optional int64 seqFirst = 6; */ long getSeqFirst(); /** * optional int64 seqLast = 7; */ boolean hasSeqLast(); /** * optional int64 seqLast = 7; */ long getSeqLast(); /** * optional .google.protobuf.Timestamp first = 8; */ boolean hasFirst(); /** * optional .google.protobuf.Timestamp first = 8; */ com.google.protobuf.Timestamp getFirst(); /** * optional .google.protobuf.Timestamp first = 8; */ com.google.protobuf.TimestampOrBuilder getFirstOrBuilder(); /** * optional .google.protobuf.Timestamp last = 9; */ boolean hasLast(); /** * optional .google.protobuf.Timestamp last = 9; */ com.google.protobuf.Timestamp getLast(); /** * optional .google.protobuf.Timestamp last = 9; */ com.google.protobuf.TimestampOrBuilder getLastOrBuilder(); } /** *
   *contains histogram data
   * 
* * Protobuf type {@code yamcs.protobuf.ArchiveRecord} */ public static final class ArchiveRecord extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.ArchiveRecord) ArchiveRecordOrBuilder { private static final long serialVersionUID = 0L; // Use ArchiveRecord.newBuilder() to construct. private ArchiveRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ArchiveRecord() { info_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArchiveRecord( 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: { org.yamcs.protobuf.Yamcs.NamedObjectId.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = id_.toBuilder(); } id_ = input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(id_); id_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000002; yamcsFirst_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; yamcsLast_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; num_ = input.readInt32(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; info_ = bs; break; } case 48: { bitField0_ |= 0x00000020; seqFirst_ = input.readInt64(); break; } case 56: { bitField0_ |= 0x00000040; seqLast_ = input.readInt64(); break; } case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = first_.toBuilder(); } first_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(first_); first_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = last_.toBuilder(); } last_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(last_); last_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; 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.Yamcs.internal_static_yamcs_protobuf_ArchiveRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ArchiveRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ArchiveRecord.class, org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private org.yamcs.protobuf.Yamcs.NamedObjectId id_; /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } public static final int YAMCSFIRST_FIELD_NUMBER = 2; private long yamcsFirst_; /** * optional int64 yamcsFirst = 2 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsFirst() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 yamcsFirst = 2 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsFirst() { return yamcsFirst_; } public static final int YAMCSLAST_FIELD_NUMBER = 3; private long yamcsLast_; /** * optional int64 yamcsLast = 3 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsLast() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 yamcsLast = 3 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsLast() { return yamcsLast_; } public static final int NUM_FIELD_NUMBER = 4; private int num_; /** * optional int32 num = 4; */ public boolean hasNum() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 num = 4; */ public int getNum() { return num_; } public static final int INFO_FIELD_NUMBER = 5; private volatile java.lang.Object info_; /** * optional string info = 5; */ public boolean hasInfo() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string info = 5; */ public java.lang.String getInfo() { java.lang.Object ref = info_; 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()) { info_ = s; } return s; } } /** * optional string info = 5; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEQFIRST_FIELD_NUMBER = 6; private long seqFirst_; /** * optional int64 seqFirst = 6; */ public boolean hasSeqFirst() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int64 seqFirst = 6; */ public long getSeqFirst() { return seqFirst_; } public static final int SEQLAST_FIELD_NUMBER = 7; private long seqLast_; /** * optional int64 seqLast = 7; */ public boolean hasSeqLast() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int64 seqLast = 7; */ public long getSeqLast() { return seqLast_; } public static final int FIRST_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp first_; /** * optional .google.protobuf.Timestamp first = 8; */ public boolean hasFirst() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .google.protobuf.Timestamp first = 8; */ public com.google.protobuf.Timestamp getFirst() { return first_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : first_; } /** * optional .google.protobuf.Timestamp first = 8; */ public com.google.protobuf.TimestampOrBuilder getFirstOrBuilder() { return first_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : first_; } public static final int LAST_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp last_; /** * optional .google.protobuf.Timestamp last = 9; */ public boolean hasLast() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .google.protobuf.Timestamp last = 9; */ public com.google.protobuf.Timestamp getLast() { return last_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : last_; } /** * optional .google.protobuf.Timestamp last = 9; */ public com.google.protobuf.TimestampOrBuilder getLastOrBuilder() { return last_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : last_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasId()) { if (!getId().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getId()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, yamcsFirst_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, yamcsLast_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, num_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, info_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt64(6, seqFirst_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt64(7, seqLast_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getFirst()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getLast()); } 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, getId()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, yamcsFirst_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, yamcsLast_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, num_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, info_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, seqFirst_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, seqLast_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getFirst()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getLast()); } 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.Yamcs.ArchiveRecord)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.ArchiveRecord other = (org.yamcs.protobuf.Yamcs.ArchiveRecord) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (!getId() .equals(other.getId())) return false; } if (hasYamcsFirst() != other.hasYamcsFirst()) return false; if (hasYamcsFirst()) { if (getYamcsFirst() != other.getYamcsFirst()) return false; } if (hasYamcsLast() != other.hasYamcsLast()) return false; if (hasYamcsLast()) { if (getYamcsLast() != other.getYamcsLast()) return false; } if (hasNum() != other.hasNum()) return false; if (hasNum()) { if (getNum() != other.getNum()) return false; } if (hasInfo() != other.hasInfo()) return false; if (hasInfo()) { if (!getInfo() .equals(other.getInfo())) return false; } if (hasSeqFirst() != other.hasSeqFirst()) return false; if (hasSeqFirst()) { if (getSeqFirst() != other.getSeqFirst()) return false; } if (hasSeqLast() != other.hasSeqLast()) return false; if (hasSeqLast()) { if (getSeqLast() != other.getSeqLast()) return false; } if (hasFirst() != other.hasFirst()) return false; if (hasFirst()) { if (!getFirst() .equals(other.getFirst())) return false; } if (hasLast() != other.hasLast()) return false; if (hasLast()) { if (!getLast() .equals(other.getLast())) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } if (hasYamcsFirst()) { hash = (37 * hash) + YAMCSFIRST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getYamcsFirst()); } if (hasYamcsLast()) { hash = (37 * hash) + YAMCSLAST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getYamcsLast()); } if (hasNum()) { hash = (37 * hash) + NUM_FIELD_NUMBER; hash = (53 * hash) + getNum(); } if (hasInfo()) { hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); } if (hasSeqFirst()) { hash = (37 * hash) + SEQFIRST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSeqFirst()); } if (hasSeqLast()) { hash = (37 * hash) + SEQLAST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSeqLast()); } if (hasFirst()) { hash = (37 * hash) + FIRST_FIELD_NUMBER; hash = (53 * hash) + getFirst().hashCode(); } if (hasLast()) { hash = (37 * hash) + LAST_FIELD_NUMBER; hash = (53 * hash) + getLast().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.ArchiveRecord parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ArchiveRecord 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.Yamcs.ArchiveRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ArchiveRecord 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.Yamcs.ArchiveRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ArchiveRecord parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.ArchiveRecord parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ArchiveRecord 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.Yamcs.ArchiveRecord parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ArchiveRecord 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.Yamcs.ArchiveRecord parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ArchiveRecord 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.Yamcs.ArchiveRecord 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; } /** *
     *contains histogram data
     * 
* * Protobuf type {@code yamcs.protobuf.ArchiveRecord} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.ArchiveRecord) org.yamcs.protobuf.Yamcs.ArchiveRecordOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ArchiveRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ArchiveRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ArchiveRecord.class, org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.ArchiveRecord.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIdFieldBuilder(); getFirstFieldBuilder(); getLastFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = null; } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); yamcsFirst_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); yamcsLast_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); num_ = 0; bitField0_ = (bitField0_ & ~0x00000008); info_ = ""; bitField0_ = (bitField0_ & ~0x00000010); seqFirst_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); seqLast_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); if (firstBuilder_ == null) { first_ = null; } else { firstBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (lastBuilder_ == null) { last_ = null; } else { lastBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ArchiveRecord_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ArchiveRecord getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.ArchiveRecord.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.ArchiveRecord build() { org.yamcs.protobuf.Yamcs.ArchiveRecord result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ArchiveRecord buildPartial() { org.yamcs.protobuf.Yamcs.ArchiveRecord result = new org.yamcs.protobuf.Yamcs.ArchiveRecord(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (idBuilder_ == null) { result.id_ = id_; } else { result.id_ = idBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.yamcsFirst_ = yamcsFirst_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.yamcsLast_ = yamcsLast_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.num_ = num_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.info_ = info_; if (((from_bitField0_ & 0x00000020) != 0)) { result.seqFirst_ = seqFirst_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.seqLast_ = seqLast_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { if (firstBuilder_ == null) { result.first_ = first_; } else { result.first_ = firstBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { if (lastBuilder_ == null) { result.last_ = last_; } else { result.last_ = lastBuilder_.build(); } to_bitField0_ |= 0x00000100; } 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.Yamcs.ArchiveRecord) { return mergeFrom((org.yamcs.protobuf.Yamcs.ArchiveRecord)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.ArchiveRecord other) { if (other == org.yamcs.protobuf.Yamcs.ArchiveRecord.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId()); } if (other.hasYamcsFirst()) { setYamcsFirst(other.getYamcsFirst()); } if (other.hasYamcsLast()) { setYamcsLast(other.getYamcsLast()); } if (other.hasNum()) { setNum(other.getNum()); } if (other.hasInfo()) { bitField0_ |= 0x00000010; info_ = other.info_; onChanged(); } if (other.hasSeqFirst()) { setSeqFirst(other.getSeqFirst()); } if (other.hasSeqLast()) { setSeqLast(other.getSeqLast()); } if (other.hasFirst()) { mergeFirst(other.getFirst()); } if (other.hasLast()) { mergeLast(other.getLast()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasId()) { if (!getId().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.ArchiveRecord parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.ArchiveRecord) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Yamcs.NamedObjectId id_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_; /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { if (idBuilder_ == null) { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder setId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); } else { idBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder setId( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { id_ = builderForValue.build(); onChanged(); } else { idBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder mergeId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && id_ != null && id_ != org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()) { id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = null; onChanged(); } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getIdFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilder(); } else { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( getId(), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } private long yamcsFirst_ ; /** * optional int64 yamcsFirst = 2 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsFirst() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 yamcsFirst = 2 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsFirst() { return yamcsFirst_; } /** * optional int64 yamcsFirst = 2 [deprecated = true]; */ @java.lang.Deprecated public Builder setYamcsFirst(long value) { bitField0_ |= 0x00000002; yamcsFirst_ = value; onChanged(); return this; } /** * optional int64 yamcsFirst = 2 [deprecated = true]; */ @java.lang.Deprecated public Builder clearYamcsFirst() { bitField0_ = (bitField0_ & ~0x00000002); yamcsFirst_ = 0L; onChanged(); return this; } private long yamcsLast_ ; /** * optional int64 yamcsLast = 3 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsLast() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 yamcsLast = 3 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsLast() { return yamcsLast_; } /** * optional int64 yamcsLast = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder setYamcsLast(long value) { bitField0_ |= 0x00000004; yamcsLast_ = value; onChanged(); return this; } /** * optional int64 yamcsLast = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder clearYamcsLast() { bitField0_ = (bitField0_ & ~0x00000004); yamcsLast_ = 0L; onChanged(); return this; } private int num_ ; /** * optional int32 num = 4; */ public boolean hasNum() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 num = 4; */ public int getNum() { return num_; } /** * optional int32 num = 4; */ public Builder setNum(int value) { bitField0_ |= 0x00000008; num_ = value; onChanged(); return this; } /** * optional int32 num = 4; */ public Builder clearNum() { bitField0_ = (bitField0_ & ~0x00000008); num_ = 0; onChanged(); return this; } private java.lang.Object info_ = ""; /** * optional string info = 5; */ public boolean hasInfo() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string info = 5; */ public java.lang.String getInfo() { java.lang.Object ref = info_; 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()) { info_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string info = 5; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string info = 5; */ public Builder setInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; info_ = value; onChanged(); return this; } /** * optional string info = 5; */ public Builder clearInfo() { bitField0_ = (bitField0_ & ~0x00000010); info_ = getDefaultInstance().getInfo(); onChanged(); return this; } /** * optional string info = 5; */ public Builder setInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; info_ = value; onChanged(); return this; } private long seqFirst_ ; /** * optional int64 seqFirst = 6; */ public boolean hasSeqFirst() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int64 seqFirst = 6; */ public long getSeqFirst() { return seqFirst_; } /** * optional int64 seqFirst = 6; */ public Builder setSeqFirst(long value) { bitField0_ |= 0x00000020; seqFirst_ = value; onChanged(); return this; } /** * optional int64 seqFirst = 6; */ public Builder clearSeqFirst() { bitField0_ = (bitField0_ & ~0x00000020); seqFirst_ = 0L; onChanged(); return this; } private long seqLast_ ; /** * optional int64 seqLast = 7; */ public boolean hasSeqLast() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int64 seqLast = 7; */ public long getSeqLast() { return seqLast_; } /** * optional int64 seqLast = 7; */ public Builder setSeqLast(long value) { bitField0_ |= 0x00000040; seqLast_ = value; onChanged(); return this; } /** * optional int64 seqLast = 7; */ public Builder clearSeqLast() { bitField0_ = (bitField0_ & ~0x00000040); seqLast_ = 0L; onChanged(); return this; } private com.google.protobuf.Timestamp first_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> firstBuilder_; /** * optional .google.protobuf.Timestamp first = 8; */ public boolean hasFirst() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .google.protobuf.Timestamp first = 8; */ public com.google.protobuf.Timestamp getFirst() { if (firstBuilder_ == null) { return first_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : first_; } else { return firstBuilder_.getMessage(); } } /** * optional .google.protobuf.Timestamp first = 8; */ public Builder setFirst(com.google.protobuf.Timestamp value) { if (firstBuilder_ == null) { if (value == null) { throw new NullPointerException(); } first_ = value; onChanged(); } else { firstBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .google.protobuf.Timestamp first = 8; */ public Builder setFirst( com.google.protobuf.Timestamp.Builder builderForValue) { if (firstBuilder_ == null) { first_ = builderForValue.build(); onChanged(); } else { firstBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .google.protobuf.Timestamp first = 8; */ public Builder mergeFirst(com.google.protobuf.Timestamp value) { if (firstBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && first_ != null && first_ != com.google.protobuf.Timestamp.getDefaultInstance()) { first_ = com.google.protobuf.Timestamp.newBuilder(first_).mergeFrom(value).buildPartial(); } else { first_ = value; } onChanged(); } else { firstBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .google.protobuf.Timestamp first = 8; */ public Builder clearFirst() { if (firstBuilder_ == null) { first_ = null; onChanged(); } else { firstBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .google.protobuf.Timestamp first = 8; */ public com.google.protobuf.Timestamp.Builder getFirstBuilder() { bitField0_ |= 0x00000080; onChanged(); return getFirstFieldBuilder().getBuilder(); } /** * optional .google.protobuf.Timestamp first = 8; */ public com.google.protobuf.TimestampOrBuilder getFirstOrBuilder() { if (firstBuilder_ != null) { return firstBuilder_.getMessageOrBuilder(); } else { return first_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : first_; } } /** * optional .google.protobuf.Timestamp first = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFirstFieldBuilder() { if (firstBuilder_ == null) { firstBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getFirst(), getParentForChildren(), isClean()); first_ = null; } return firstBuilder_; } private com.google.protobuf.Timestamp last_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastBuilder_; /** * optional .google.protobuf.Timestamp last = 9; */ public boolean hasLast() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .google.protobuf.Timestamp last = 9; */ public com.google.protobuf.Timestamp getLast() { if (lastBuilder_ == null) { return last_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : last_; } else { return lastBuilder_.getMessage(); } } /** * optional .google.protobuf.Timestamp last = 9; */ public Builder setLast(com.google.protobuf.Timestamp value) { if (lastBuilder_ == null) { if (value == null) { throw new NullPointerException(); } last_ = value; onChanged(); } else { lastBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .google.protobuf.Timestamp last = 9; */ public Builder setLast( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastBuilder_ == null) { last_ = builderForValue.build(); onChanged(); } else { lastBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .google.protobuf.Timestamp last = 9; */ public Builder mergeLast(com.google.protobuf.Timestamp value) { if (lastBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && last_ != null && last_ != com.google.protobuf.Timestamp.getDefaultInstance()) { last_ = com.google.protobuf.Timestamp.newBuilder(last_).mergeFrom(value).buildPartial(); } else { last_ = value; } onChanged(); } else { lastBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .google.protobuf.Timestamp last = 9; */ public Builder clearLast() { if (lastBuilder_ == null) { last_ = null; onChanged(); } else { lastBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .google.protobuf.Timestamp last = 9; */ public com.google.protobuf.Timestamp.Builder getLastBuilder() { bitField0_ |= 0x00000100; onChanged(); return getLastFieldBuilder().getBuilder(); } /** * optional .google.protobuf.Timestamp last = 9; */ public com.google.protobuf.TimestampOrBuilder getLastOrBuilder() { if (lastBuilder_ != null) { return lastBuilder_.getMessageOrBuilder(); } else { return last_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : last_; } } /** * optional .google.protobuf.Timestamp last = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastFieldBuilder() { if (lastBuilder_ == null) { lastBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLast(), getParentForChildren(), isClean()); last_ = null; } return lastBuilder_; } @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.ArchiveRecord) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.ArchiveRecord) private static final org.yamcs.protobuf.Yamcs.ArchiveRecord DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.ArchiveRecord(); } public static org.yamcs.protobuf.Yamcs.ArchiveRecord getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ArchiveRecord parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ArchiveRecord(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.Yamcs.ArchiveRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IndexResultOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.IndexResult) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated boolean hasInstance(); /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getInstance(); /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getInstanceBytes(); /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ java.util.List getRecordsList(); /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ org.yamcs.protobuf.Yamcs.ArchiveRecord getRecords(int index); /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ int getRecordsCount(); /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ java.util.List getRecordsOrBuilderList(); /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ org.yamcs.protobuf.Yamcs.ArchiveRecordOrBuilder getRecordsOrBuilder( int index); /** *
     *type can be histogram or completenss
     * 
* * optional string type = 3; */ boolean hasType(); /** *
     *type can be histogram or completenss
     * 
* * optional string type = 3; */ java.lang.String getType(); /** *
     *type can be histogram or completenss
     * 
* * optional string type = 3; */ com.google.protobuf.ByteString getTypeBytes(); /** *
     *if type=histogram, the tableName is the table for which the histogram is sent
     * 
* * optional string tableName = 4; */ boolean hasTableName(); /** *
     *if type=histogram, the tableName is the table for which the histogram is sent
     * 
* * optional string tableName = 4; */ java.lang.String getTableName(); /** *
     *if type=histogram, the tableName is the table for which the histogram is sent
     * 
* * optional string tableName = 4; */ com.google.protobuf.ByteString getTableNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.IndexResult} */ public static final class IndexResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.IndexResult) IndexResultOrBuilder { private static final long serialVersionUID = 0L; // Use IndexResult.newBuilder() to construct. private IndexResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IndexResult() { instance_ = ""; records_ = java.util.Collections.emptyList(); type_ = ""; tableName_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IndexResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { records_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } records_.add( input.readMessage(org.yamcs.protobuf.Yamcs.ArchiveRecord.PARSER, extensionRegistry)); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; type_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; tableName_ = bs; 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_ & 0x00000002) != 0)) { records_ = java.util.Collections.unmodifiableList(records_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.IndexResult.class, org.yamcs.protobuf.Yamcs.IndexResult.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECORDS_FIELD_NUMBER = 2; private java.util.List records_; /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public java.util.List getRecordsList() { return records_; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public java.util.List getRecordsOrBuilderList() { return records_; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public int getRecordsCount() { return records_.size(); } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveRecord getRecords(int index) { return records_.get(index); } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveRecordOrBuilder getRecordsOrBuilder( int index) { return records_.get(index); } public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** *
     *type can be histogram or completenss
     * 
* * optional string type = 3; */ public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *type can be histogram or completenss
     * 
* * optional string type = 3; */ public java.lang.String getType() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } } /** *
     *type can be histogram or completenss
     * 
* * optional string type = 3; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLENAME_FIELD_NUMBER = 4; private volatile java.lang.Object tableName_; /** *
     *if type=histogram, the tableName is the table for which the histogram is sent
     * 
* * optional string tableName = 4; */ public boolean hasTableName() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *if type=histogram, the tableName is the table for which the histogram is sent
     * 
* * optional string tableName = 4; */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; 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()) { tableName_ = s; } return s; } } /** *
     *if type=histogram, the tableName is the table for which the histogram is sent
     * 
* * optional string tableName = 4; */ public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getRecordsCount(); i++) { if (!getRecords(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } for (int i = 0; i < records_.size(); i++) { output.writeMessage(2, records_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tableName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } for (int i = 0; i < records_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, records_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tableName_); } 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.Yamcs.IndexResult)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.IndexResult other = (org.yamcs.protobuf.Yamcs.IndexResult) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (!getRecordsList() .equals(other.getRecordsList())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (hasTableName() != other.hasTableName()) return false; if (hasTableName()) { if (!getTableName() .equals(other.getTableName())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (getRecordsCount() > 0) { hash = (37 * hash) + RECORDS_FIELD_NUMBER; hash = (53 * hash) + getRecordsList().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } if (hasTableName()) { hash = (37 * hash) + TABLENAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.IndexResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.IndexResult 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.Yamcs.IndexResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.IndexResult 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.Yamcs.IndexResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.IndexResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.IndexResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.IndexResult 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.Yamcs.IndexResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.IndexResult 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.Yamcs.IndexResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.IndexResult 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.Yamcs.IndexResult 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.IndexResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.IndexResult) org.yamcs.protobuf.Yamcs.IndexResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.IndexResult.class, org.yamcs.protobuf.Yamcs.IndexResult.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.IndexResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRecordsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (recordsBuilder_ == null) { records_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { recordsBuilder_.clear(); } type_ = ""; bitField0_ = (bitField0_ & ~0x00000004); tableName_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_IndexResult_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.IndexResult getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.IndexResult.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.IndexResult build() { org.yamcs.protobuf.Yamcs.IndexResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.IndexResult buildPartial() { org.yamcs.protobuf.Yamcs.IndexResult result = new org.yamcs.protobuf.Yamcs.IndexResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (recordsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { records_ = java.util.Collections.unmodifiableList(records_); bitField0_ = (bitField0_ & ~0x00000002); } result.records_ = records_; } else { result.records_ = recordsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000002; } result.type_ = type_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000004; } result.tableName_ = tableName_; 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.Yamcs.IndexResult) { return mergeFrom((org.yamcs.protobuf.Yamcs.IndexResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.IndexResult other) { if (other == org.yamcs.protobuf.Yamcs.IndexResult.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (recordsBuilder_ == null) { if (!other.records_.isEmpty()) { if (records_.isEmpty()) { records_ = other.records_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRecordsIsMutable(); records_.addAll(other.records_); } onChanged(); } } else { if (!other.records_.isEmpty()) { if (recordsBuilder_.isEmpty()) { recordsBuilder_.dispose(); recordsBuilder_ = null; records_ = other.records_; bitField0_ = (bitField0_ & ~0x00000002); recordsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRecordsFieldBuilder() : null; } else { recordsBuilder_.addAllMessages(other.records_); } } } if (other.hasType()) { bitField0_ |= 0x00000004; type_ = other.type_; onChanged(); } if (other.hasTableName()) { bitField0_ |= 0x00000008; tableName_ = other.tableName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getRecordsCount(); i++) { if (!getRecords(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.IndexResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.IndexResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.util.List records_ = java.util.Collections.emptyList(); private void ensureRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { records_ = new java.util.ArrayList(records_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveRecord, org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder, org.yamcs.protobuf.Yamcs.ArchiveRecordOrBuilder> recordsBuilder_; /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public java.util.List getRecordsList() { if (recordsBuilder_ == null) { return java.util.Collections.unmodifiableList(records_); } else { return recordsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public int getRecordsCount() { if (recordsBuilder_ == null) { return records_.size(); } else { return recordsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveRecord getRecords(int index) { if (recordsBuilder_ == null) { return records_.get(index); } else { return recordsBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder setRecords( int index, org.yamcs.protobuf.Yamcs.ArchiveRecord value) { if (recordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecordsIsMutable(); records_.set(index, value); onChanged(); } else { recordsBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder setRecords( int index, org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder builderForValue) { if (recordsBuilder_ == null) { ensureRecordsIsMutable(); records_.set(index, builderForValue.build()); onChanged(); } else { recordsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder addRecords(org.yamcs.protobuf.Yamcs.ArchiveRecord value) { if (recordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecordsIsMutable(); records_.add(value); onChanged(); } else { recordsBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder addRecords( int index, org.yamcs.protobuf.Yamcs.ArchiveRecord value) { if (recordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecordsIsMutable(); records_.add(index, value); onChanged(); } else { recordsBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder addRecords( org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder builderForValue) { if (recordsBuilder_ == null) { ensureRecordsIsMutable(); records_.add(builderForValue.build()); onChanged(); } else { recordsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder addRecords( int index, org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder builderForValue) { if (recordsBuilder_ == null) { ensureRecordsIsMutable(); records_.add(index, builderForValue.build()); onChanged(); } else { recordsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder addAllRecords( java.lang.Iterable values) { if (recordsBuilder_ == null) { ensureRecordsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, records_); onChanged(); } else { recordsBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder clearRecords() { if (recordsBuilder_ == null) { records_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { recordsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public Builder removeRecords(int index) { if (recordsBuilder_ == null) { ensureRecordsIsMutable(); records_.remove(index); onChanged(); } else { recordsBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder getRecordsBuilder( int index) { return getRecordsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveRecordOrBuilder getRecordsOrBuilder( int index) { if (recordsBuilder_ == null) { return records_.get(index); } else { return recordsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public java.util.List getRecordsOrBuilderList() { if (recordsBuilder_ != null) { return recordsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(records_); } } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder addRecordsBuilder() { return getRecordsFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.ArchiveRecord.getDefaultInstance()); } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder addRecordsBuilder( int index) { return getRecordsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.ArchiveRecord.getDefaultInstance()); } /** * repeated .yamcs.protobuf.ArchiveRecord records = 2; */ public java.util.List getRecordsBuilderList() { return getRecordsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveRecord, org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder, org.yamcs.protobuf.Yamcs.ArchiveRecordOrBuilder> getRecordsFieldBuilder() { if (recordsBuilder_ == null) { recordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveRecord, org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder, org.yamcs.protobuf.Yamcs.ArchiveRecordOrBuilder>( records_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); records_ = null; } return recordsBuilder_; } private java.lang.Object type_ = ""; /** *
       *type can be histogram or completenss
       * 
* * optional string type = 3; */ public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *type can be histogram or completenss
       * 
* * optional string type = 3; */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *type can be histogram or completenss
       * 
* * optional string type = 3; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *type can be histogram or completenss
       * 
* * optional string type = 3; */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; type_ = value; onChanged(); return this; } /** *
       *type can be histogram or completenss
       * 
* * optional string type = 3; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000004); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** *
       *type can be histogram or completenss
       * 
* * optional string type = 3; */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; type_ = value; onChanged(); return this; } private java.lang.Object tableName_ = ""; /** *
       *if type=histogram, the tableName is the table for which the histogram is sent
       * 
* * optional string tableName = 4; */ public boolean hasTableName() { return ((bitField0_ & 0x00000008) != 0); } /** *
       *if type=histogram, the tableName is the table for which the histogram is sent
       * 
* * optional string tableName = 4; */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; 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()) { tableName_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *if type=histogram, the tableName is the table for which the histogram is sent
       * 
* * optional string tableName = 4; */ public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *if type=histogram, the tableName is the table for which the histogram is sent
       * 
* * optional string tableName = 4; */ public Builder setTableName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; tableName_ = value; onChanged(); return this; } /** *
       *if type=histogram, the tableName is the table for which the histogram is sent
       * 
* * optional string tableName = 4; */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000008); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** *
       *if type=histogram, the tableName is the table for which the histogram is sent
       * 
* * optional string tableName = 4; */ public Builder setTableNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; tableName_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.IndexResult) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.IndexResult) private static final org.yamcs.protobuf.Yamcs.IndexResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.IndexResult(); } public static org.yamcs.protobuf.Yamcs.IndexResult getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IndexResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IndexResult(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.Yamcs.IndexResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.TagRequest) com.google.protobuf.MessageOrBuilder { /** * required string instance = 1; */ boolean hasInstance(); /** * required string instance = 1; */ java.lang.String getInstance(); /** * required string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional int64 start = 2; */ boolean hasStart(); /** * optional int64 start = 2; */ long getStart(); /** * optional int64 stop = 3; */ boolean hasStop(); /** * optional int64 stop = 3; */ long getStop(); } /** * Protobuf type {@code yamcs.protobuf.TagRequest} */ public static final class TagRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.TagRequest) TagRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TagRequest.newBuilder() to construct. private TagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TagRequest() { instance_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 16: { bitField0_ |= 0x00000002; start_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; stop_ = input.readInt64(); 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.Yamcs.internal_static_yamcs_protobuf_TagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.TagRequest.class, org.yamcs.protobuf.Yamcs.TagRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * required string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * required string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * required string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 2; private long start_; /** * optional int64 start = 2; */ public boolean hasStart() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 start = 2; */ public long getStart() { return start_; } public static final int STOP_FIELD_NUMBER = 3; private long stop_; /** * optional int64 stop = 3; */ public boolean hasStop() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 stop = 3; */ public long getStop() { return stop_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasInstance()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, start_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, stop_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, start_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, stop_); } 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.Yamcs.TagRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.TagRequest other = (org.yamcs.protobuf.Yamcs.TagRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (getStart() != other.getStart()) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (getStop() != other.getStop()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStart()); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStop()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.TagRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TagRequest 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.Yamcs.TagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TagRequest 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.Yamcs.TagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TagRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.TagRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TagRequest 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.Yamcs.TagRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TagRequest 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.Yamcs.TagRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TagRequest 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.Yamcs.TagRequest 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.TagRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.TagRequest) org.yamcs.protobuf.Yamcs.TagRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.TagRequest.class, org.yamcs.protobuf.Yamcs.TagRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.TagRequest.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(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); start_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); stop_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.TagRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.TagRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.TagRequest build() { org.yamcs.protobuf.Yamcs.TagRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.TagRequest buildPartial() { org.yamcs.protobuf.Yamcs.TagRequest result = new org.yamcs.protobuf.Yamcs.TagRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { result.start_ = start_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.stop_ = stop_; 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.Yamcs.TagRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.TagRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.TagRequest other) { if (other == org.yamcs.protobuf.Yamcs.TagRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasStart()) { setStart(other.getStart()); } if (other.hasStop()) { setStop(other.getStop()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasInstance()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.TagRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.TagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * required string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * required string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * required string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * required string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private long start_ ; /** * optional int64 start = 2; */ public boolean hasStart() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 start = 2; */ public long getStart() { return start_; } /** * optional int64 start = 2; */ public Builder setStart(long value) { bitField0_ |= 0x00000002; start_ = value; onChanged(); return this; } /** * optional int64 start = 2; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000002); start_ = 0L; onChanged(); return this; } private long stop_ ; /** * optional int64 stop = 3; */ public boolean hasStop() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 stop = 3; */ public long getStop() { return stop_; } /** * optional int64 stop = 3; */ public Builder setStop(long value) { bitField0_ |= 0x00000004; stop_ = value; onChanged(); return this; } /** * optional int64 stop = 3; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000004); stop_ = 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.TagRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.TagRequest) private static final org.yamcs.protobuf.Yamcs.TagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.TagRequest(); } public static org.yamcs.protobuf.Yamcs.TagRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TagRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TagRequest(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.Yamcs.TagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ArchiveTagOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.ArchiveTag) com.google.protobuf.MessageOrBuilder { /** * optional int32 id = 1; */ boolean hasId(); /** * optional int32 id = 1; */ int getId(); /** * required string name = 2; */ boolean hasName(); /** * required string name = 2; */ java.lang.String getName(); /** * required string name = 2; */ com.google.protobuf.ByteString getNameBytes(); /** * optional int64 start = 3; */ boolean hasStart(); /** * optional int64 start = 3; */ long getStart(); /** * optional int64 stop = 4; */ boolean hasStop(); /** * optional int64 stop = 4; */ long getStop(); /** * optional string description = 5; */ boolean hasDescription(); /** * optional string description = 5; */ java.lang.String getDescription(); /** * optional string description = 5; */ com.google.protobuf.ByteString getDescriptionBytes(); /** * optional string color = 6; */ boolean hasColor(); /** * optional string color = 6; */ java.lang.String getColor(); /** * optional string color = 6; */ com.google.protobuf.ByteString getColorBytes(); /** * optional string startUTC = 7; */ boolean hasStartUTC(); /** * optional string startUTC = 7; */ java.lang.String getStartUTC(); /** * optional string startUTC = 7; */ com.google.protobuf.ByteString getStartUTCBytes(); /** * optional string stopUTC = 8; */ boolean hasStopUTC(); /** * optional string stopUTC = 8; */ java.lang.String getStopUTC(); /** * optional string stopUTC = 8; */ com.google.protobuf.ByteString getStopUTCBytes(); } /** * Protobuf type {@code yamcs.protobuf.ArchiveTag} */ public static final class ArchiveTag extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.ArchiveTag) ArchiveTagOrBuilder { private static final long serialVersionUID = 0L; // Use ArchiveTag.newBuilder() to construct. private ArchiveTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ArchiveTag() { name_ = ""; description_ = ""; color_ = ""; startUTC_ = ""; stopUTC_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArchiveTag( 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 8: { bitField0_ |= 0x00000001; id_ = input.readInt32(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } case 24: { bitField0_ |= 0x00000004; start_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; stop_ = input.readInt64(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; description_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; color_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; startUTC_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; stopUTC_ = bs; 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.Yamcs.internal_static_yamcs_protobuf_ArchiveTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ArchiveTag_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ArchiveTag.class, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private int id_; /** * optional int32 id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 id = 1; */ public int getId() { return id_; } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * required string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * required string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * required string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 3; private long start_; /** * optional int64 start = 3; */ public boolean hasStart() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 start = 3; */ public long getStart() { return start_; } public static final int STOP_FIELD_NUMBER = 4; private long stop_; /** * optional int64 stop = 4; */ public boolean hasStop() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 stop = 4; */ public long getStop() { return stop_; } public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** * optional string description = 5; */ public boolean hasDescription() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string description = 5; */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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()) { description_ = s; } return s; } } /** * optional string description = 5; */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLOR_FIELD_NUMBER = 6; private volatile java.lang.Object color_; /** * optional string color = 6; */ public boolean hasColor() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string color = 6; */ public java.lang.String getColor() { java.lang.Object ref = color_; 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()) { color_ = s; } return s; } } /** * optional string color = 6; */ public com.google.protobuf.ByteString getColorBytes() { java.lang.Object ref = color_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); color_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STARTUTC_FIELD_NUMBER = 7; private volatile java.lang.Object startUTC_; /** * optional string startUTC = 7; */ public boolean hasStartUTC() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string startUTC = 7; */ public java.lang.String getStartUTC() { java.lang.Object ref = startUTC_; 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()) { startUTC_ = s; } return s; } } /** * optional string startUTC = 7; */ public com.google.protobuf.ByteString getStartUTCBytes() { java.lang.Object ref = startUTC_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STOPUTC_FIELD_NUMBER = 8; private volatile java.lang.Object stopUTC_; /** * optional string stopUTC = 8; */ public boolean hasStopUTC() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string stopUTC = 8; */ public java.lang.String getStopUTC() { java.lang.Object ref = stopUTC_; 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()) { stopUTC_ = s; } return s; } } /** * optional string stopUTC = 8; */ public com.google.protobuf.ByteString getStopUTCBytes() { java.lang.Object ref = stopUTC_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stopUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, start_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, stop_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, color_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, startUTC_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, stopUTC_); } 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 .computeInt32Size(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, start_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, stop_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, color_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, startUTC_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, stopUTC_); } 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.Yamcs.ArchiveTag)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.ArchiveTag other = (org.yamcs.protobuf.Yamcs.ArchiveTag) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (getStart() != other.getStart()) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (getStop() != other.getStop()) return false; } if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (hasColor() != other.hasColor()) return false; if (hasColor()) { if (!getColor() .equals(other.getColor())) return false; } if (hasStartUTC() != other.hasStartUTC()) return false; if (hasStartUTC()) { if (!getStartUTC() .equals(other.getStartUTC())) return false; } if (hasStopUTC() != other.hasStopUTC()) return false; if (hasStopUTC()) { if (!getStopUTC() .equals(other.getStopUTC())) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStart()); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStop()); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (hasColor()) { hash = (37 * hash) + COLOR_FIELD_NUMBER; hash = (53 * hash) + getColor().hashCode(); } if (hasStartUTC()) { hash = (37 * hash) + STARTUTC_FIELD_NUMBER; hash = (53 * hash) + getStartUTC().hashCode(); } if (hasStopUTC()) { hash = (37 * hash) + STOPUTC_FIELD_NUMBER; hash = (53 * hash) + getStopUTC().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.ArchiveTag parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ArchiveTag 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.Yamcs.ArchiveTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ArchiveTag 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.Yamcs.ArchiveTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ArchiveTag parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.ArchiveTag parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ArchiveTag 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.Yamcs.ArchiveTag parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ArchiveTag 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.Yamcs.ArchiveTag parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ArchiveTag 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.Yamcs.ArchiveTag 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.ArchiveTag} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.ArchiveTag) org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ArchiveTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ArchiveTag_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ArchiveTag.class, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.ArchiveTag.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(); id_ = 0; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); start_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); stop_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); description_ = ""; bitField0_ = (bitField0_ & ~0x00000010); color_ = ""; bitField0_ = (bitField0_ & ~0x00000020); startUTC_ = ""; bitField0_ = (bitField0_ & ~0x00000040); stopUTC_ = ""; bitField0_ = (bitField0_ & ~0x00000080); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ArchiveTag_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ArchiveTag getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.ArchiveTag build() { org.yamcs.protobuf.Yamcs.ArchiveTag result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ArchiveTag buildPartial() { org.yamcs.protobuf.Yamcs.ArchiveTag result = new org.yamcs.protobuf.Yamcs.ArchiveTag(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) != 0)) { result.start_ = start_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.stop_ = stop_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.description_ = description_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.color_ = color_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.startUTC_ = startUTC_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.stopUTC_ = stopUTC_; 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.Yamcs.ArchiveTag) { return mergeFrom((org.yamcs.protobuf.Yamcs.ArchiveTag)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.ArchiveTag other) { if (other == org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasStart()) { setStart(other.getStart()); } if (other.hasStop()) { setStop(other.getStop()); } if (other.hasDescription()) { bitField0_ |= 0x00000010; description_ = other.description_; onChanged(); } if (other.hasColor()) { bitField0_ |= 0x00000020; color_ = other.color_; onChanged(); } if (other.hasStartUTC()) { bitField0_ |= 0x00000040; startUTC_ = other.startUTC_; onChanged(); } if (other.hasStopUTC()) { bitField0_ |= 0x00000080; stopUTC_ = other.stopUTC_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasName()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.ArchiveTag parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.ArchiveTag) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int id_ ; /** * optional int32 id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 id = 1; */ public int getId() { return id_; } /** * optional int32 id = 1; */ public Builder setId(int value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional int32 id = 1; */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0; onChanged(); return this; } private java.lang.Object name_ = ""; /** * required string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * required string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * required string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * required string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private long start_ ; /** * optional int64 start = 3; */ public boolean hasStart() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 start = 3; */ public long getStart() { return start_; } /** * optional int64 start = 3; */ public Builder setStart(long value) { bitField0_ |= 0x00000004; start_ = value; onChanged(); return this; } /** * optional int64 start = 3; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000004); start_ = 0L; onChanged(); return this; } private long stop_ ; /** * optional int64 stop = 4; */ public boolean hasStop() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 stop = 4; */ public long getStop() { return stop_; } /** * optional int64 stop = 4; */ public Builder setStop(long value) { bitField0_ |= 0x00000008; stop_ = value; onChanged(); return this; } /** * optional int64 stop = 4; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000008); stop_ = 0L; onChanged(); return this; } private java.lang.Object description_ = ""; /** * optional string description = 5; */ public boolean hasDescription() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string description = 5; */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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()) { description_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string description = 5; */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string description = 5; */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; description_ = value; onChanged(); return this; } /** * optional string description = 5; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000010); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * optional string description = 5; */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; description_ = value; onChanged(); return this; } private java.lang.Object color_ = ""; /** * optional string color = 6; */ public boolean hasColor() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string color = 6; */ public java.lang.String getColor() { java.lang.Object ref = color_; 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()) { color_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string color = 6; */ public com.google.protobuf.ByteString getColorBytes() { java.lang.Object ref = color_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); color_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string color = 6; */ public Builder setColor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; color_ = value; onChanged(); return this; } /** * optional string color = 6; */ public Builder clearColor() { bitField0_ = (bitField0_ & ~0x00000020); color_ = getDefaultInstance().getColor(); onChanged(); return this; } /** * optional string color = 6; */ public Builder setColorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; color_ = value; onChanged(); return this; } private java.lang.Object startUTC_ = ""; /** * optional string startUTC = 7; */ public boolean hasStartUTC() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string startUTC = 7; */ public java.lang.String getStartUTC() { java.lang.Object ref = startUTC_; 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()) { startUTC_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string startUTC = 7; */ public com.google.protobuf.ByteString getStartUTCBytes() { java.lang.Object ref = startUTC_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string startUTC = 7; */ public Builder setStartUTC( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; startUTC_ = value; onChanged(); return this; } /** * optional string startUTC = 7; */ public Builder clearStartUTC() { bitField0_ = (bitField0_ & ~0x00000040); startUTC_ = getDefaultInstance().getStartUTC(); onChanged(); return this; } /** * optional string startUTC = 7; */ public Builder setStartUTCBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; startUTC_ = value; onChanged(); return this; } private java.lang.Object stopUTC_ = ""; /** * optional string stopUTC = 8; */ public boolean hasStopUTC() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string stopUTC = 8; */ public java.lang.String getStopUTC() { java.lang.Object ref = stopUTC_; 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()) { stopUTC_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stopUTC = 8; */ public com.google.protobuf.ByteString getStopUTCBytes() { java.lang.Object ref = stopUTC_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stopUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stopUTC = 8; */ public Builder setStopUTC( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; stopUTC_ = value; onChanged(); return this; } /** * optional string stopUTC = 8; */ public Builder clearStopUTC() { bitField0_ = (bitField0_ & ~0x00000080); stopUTC_ = getDefaultInstance().getStopUTC(); onChanged(); return this; } /** * optional string stopUTC = 8; */ public Builder setStopUTCBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; stopUTC_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.ArchiveTag) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.ArchiveTag) private static final org.yamcs.protobuf.Yamcs.ArchiveTag DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.ArchiveTag(); } public static org.yamcs.protobuf.Yamcs.ArchiveTag getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ArchiveTag parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ArchiveTag(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.Yamcs.ArchiveTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TagResultOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.TagResult) com.google.protobuf.MessageOrBuilder { /** * required string instance = 1; */ boolean hasInstance(); /** * required string instance = 1; */ java.lang.String getInstance(); /** * required string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ java.util.List getTagList(); /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ org.yamcs.protobuf.Yamcs.ArchiveTag getTag(int index); /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ int getTagCount(); /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ java.util.List getTagOrBuilderList(); /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.TagResult} */ public static final class TagResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.TagResult) TagResultOrBuilder { private static final long serialVersionUID = 0L; // Use TagResult.newBuilder() to construct. private TagResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TagResult() { instance_ = ""; tag_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TagResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { tag_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } tag_.add( input.readMessage(org.yamcs.protobuf.Yamcs.ArchiveTag.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_ & 0x00000002) != 0)) { tag_ = java.util.Collections.unmodifiableList(tag_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.TagResult.class, org.yamcs.protobuf.Yamcs.TagResult.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * required string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * required string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * required string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TAG_FIELD_NUMBER = 2; private java.util.List tag_; /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public java.util.List getTagList() { return tag_; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public java.util.List getTagOrBuilderList() { return tag_; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public int getTagCount() { return tag_.size(); } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getTag(int index) { return tag_.get(index); } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder( int index) { return tag_.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; if (!hasInstance()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getTagCount(); i++) { if (!getTag(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } for (int i = 0; i < tag_.size(); i++) { output.writeMessage(2, tag_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } for (int i = 0; i < tag_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, tag_.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.Yamcs.TagResult)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.TagResult other = (org.yamcs.protobuf.Yamcs.TagResult) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (!getTagList() .equals(other.getTagList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (getTagCount() > 0) { hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTagList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.TagResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TagResult 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.Yamcs.TagResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TagResult 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.Yamcs.TagResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TagResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.TagResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TagResult 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.Yamcs.TagResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TagResult 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.Yamcs.TagResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TagResult 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.Yamcs.TagResult 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.TagResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.TagResult) org.yamcs.protobuf.Yamcs.TagResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.TagResult.class, org.yamcs.protobuf.Yamcs.TagResult.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.TagResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTagFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (tagBuilder_ == null) { tag_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { tagBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TagResult_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.TagResult getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.TagResult.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.TagResult build() { org.yamcs.protobuf.Yamcs.TagResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.TagResult buildPartial() { org.yamcs.protobuf.Yamcs.TagResult result = new org.yamcs.protobuf.Yamcs.TagResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (tagBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { tag_ = java.util.Collections.unmodifiableList(tag_); bitField0_ = (bitField0_ & ~0x00000002); } result.tag_ = tag_; } else { result.tag_ = tagBuilder_.build(); } 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.Yamcs.TagResult) { return mergeFrom((org.yamcs.protobuf.Yamcs.TagResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.TagResult other) { if (other == org.yamcs.protobuf.Yamcs.TagResult.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (tagBuilder_ == null) { if (!other.tag_.isEmpty()) { if (tag_.isEmpty()) { tag_ = other.tag_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTagIsMutable(); tag_.addAll(other.tag_); } onChanged(); } } else { if (!other.tag_.isEmpty()) { if (tagBuilder_.isEmpty()) { tagBuilder_.dispose(); tagBuilder_ = null; tag_ = other.tag_; bitField0_ = (bitField0_ & ~0x00000002); tagBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTagFieldBuilder() : null; } else { tagBuilder_.addAllMessages(other.tag_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasInstance()) { return false; } for (int i = 0; i < getTagCount(); i++) { if (!getTag(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.TagResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.TagResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * required string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * required string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * required string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * required string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.util.List tag_ = java.util.Collections.emptyList(); private void ensureTagIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tag_ = new java.util.ArrayList(tag_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> tagBuilder_; /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public java.util.List getTagList() { if (tagBuilder_ == null) { return java.util.Collections.unmodifiableList(tag_); } else { return tagBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public int getTagCount() { if (tagBuilder_ == null) { return tag_.size(); } else { return tagBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getTag(int index) { if (tagBuilder_ == null) { return tag_.get(index); } else { return tagBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder setTag( int index, org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagIsMutable(); tag_.set(index, value); onChanged(); } else { tagBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder setTag( int index, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.set(index, builderForValue.build()); onChanged(); } else { tagBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder addTag(org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagIsMutable(); tag_.add(value); onChanged(); } else { tagBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder addTag( int index, org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagIsMutable(); tag_.add(index, value); onChanged(); } else { tagBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder addTag( org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.add(builderForValue.build()); onChanged(); } else { tagBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder addTag( int index, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.add(index, builderForValue.build()); onChanged(); } else { tagBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder addAllTag( java.lang.Iterable values) { if (tagBuilder_ == null) { ensureTagIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tag_); onChanged(); } else { tagBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder clearTag() { if (tagBuilder_ == null) { tag_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { tagBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public Builder removeTag(int index) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.remove(index); onChanged(); } else { tagBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder getTagBuilder( int index) { return getTagFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder( int index) { if (tagBuilder_ == null) { return tag_.get(index); } else { return tagBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public java.util.List getTagOrBuilderList() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tag_); } } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder addTagBuilder() { return getTagFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance()); } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder addTagBuilder( int index) { return getTagFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance()); } /** * repeated .yamcs.protobuf.ArchiveTag tag = 2; */ public java.util.List getTagBuilderList() { return getTagFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { tagBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder>( tag_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } @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.TagResult) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.TagResult) private static final org.yamcs.protobuf.Yamcs.TagResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.TagResult(); } public static org.yamcs.protobuf.Yamcs.TagResult getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TagResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TagResult(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.Yamcs.TagResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpsertTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.UpsertTagRequest) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ boolean hasOldTag(); /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ org.yamcs.protobuf.Yamcs.ArchiveTag getOldTag(); /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getOldTagOrBuilder(); /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ boolean hasNewTag(); /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ org.yamcs.protobuf.Yamcs.ArchiveTag getNewTag(); /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getNewTagOrBuilder(); } /** *
   *insert (if no oldTag) or update tag
   * 
* * Protobuf type {@code yamcs.protobuf.UpsertTagRequest} */ public static final class UpsertTagRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.UpsertTagRequest) UpsertTagRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UpsertTagRequest.newBuilder() to construct. private UpsertTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpsertTagRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpsertTagRequest( 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: { org.yamcs.protobuf.Yamcs.ArchiveTag.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = oldTag_.toBuilder(); } oldTag_ = input.readMessage(org.yamcs.protobuf.Yamcs.ArchiveTag.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(oldTag_); oldTag_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.yamcs.protobuf.Yamcs.ArchiveTag.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = newTag_.toBuilder(); } newTag_ = input.readMessage(org.yamcs.protobuf.Yamcs.ArchiveTag.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(newTag_); newTag_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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.Yamcs.internal_static_yamcs_protobuf_UpsertTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_UpsertTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.UpsertTagRequest.class, org.yamcs.protobuf.Yamcs.UpsertTagRequest.Builder.class); } private int bitField0_; public static final int OLDTAG_FIELD_NUMBER = 1; private org.yamcs.protobuf.Yamcs.ArchiveTag oldTag_; /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public boolean hasOldTag() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getOldTag() { return oldTag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : oldTag_; } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getOldTagOrBuilder() { return oldTag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : oldTag_; } public static final int NEWTAG_FIELD_NUMBER = 2; private org.yamcs.protobuf.Yamcs.ArchiveTag newTag_; /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public boolean hasNewTag() { return ((bitField0_ & 0x00000002) != 0); } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getNewTag() { return newTag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : newTag_; } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getNewTagOrBuilder() { return newTag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : newTag_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasNewTag()) { memoizedIsInitialized = 0; return false; } if (hasOldTag()) { if (!getOldTag().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (!getNewTag().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOldTag()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getNewTag()); } 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, getOldTag()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getNewTag()); } 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.Yamcs.UpsertTagRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.UpsertTagRequest other = (org.yamcs.protobuf.Yamcs.UpsertTagRequest) obj; if (hasOldTag() != other.hasOldTag()) return false; if (hasOldTag()) { if (!getOldTag() .equals(other.getOldTag())) return false; } if (hasNewTag() != other.hasNewTag()) return false; if (hasNewTag()) { if (!getNewTag() .equals(other.getNewTag())) 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 (hasOldTag()) { hash = (37 * hash) + OLDTAG_FIELD_NUMBER; hash = (53 * hash) + getOldTag().hashCode(); } if (hasNewTag()) { hash = (37 * hash) + NEWTAG_FIELD_NUMBER; hash = (53 * hash) + getNewTag().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest 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.Yamcs.UpsertTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest 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.Yamcs.UpsertTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest 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.Yamcs.UpsertTagRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest 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.Yamcs.UpsertTagRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest 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.Yamcs.UpsertTagRequest 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; } /** *
     *insert (if no oldTag) or update tag
     * 
* * Protobuf type {@code yamcs.protobuf.UpsertTagRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.UpsertTagRequest) org.yamcs.protobuf.Yamcs.UpsertTagRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_UpsertTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_UpsertTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.UpsertTagRequest.class, org.yamcs.protobuf.Yamcs.UpsertTagRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.UpsertTagRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOldTagFieldBuilder(); getNewTagFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (oldTagBuilder_ == null) { oldTag_ = null; } else { oldTagBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (newTagBuilder_ == null) { newTag_ = null; } else { newTagBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_UpsertTagRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.UpsertTagRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.UpsertTagRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.UpsertTagRequest build() { org.yamcs.protobuf.Yamcs.UpsertTagRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.UpsertTagRequest buildPartial() { org.yamcs.protobuf.Yamcs.UpsertTagRequest result = new org.yamcs.protobuf.Yamcs.UpsertTagRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (oldTagBuilder_ == null) { result.oldTag_ = oldTag_; } else { result.oldTag_ = oldTagBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (newTagBuilder_ == null) { result.newTag_ = newTag_; } else { result.newTag_ = newTagBuilder_.build(); } to_bitField0_ |= 0x00000002; } 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.Yamcs.UpsertTagRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.UpsertTagRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.UpsertTagRequest other) { if (other == org.yamcs.protobuf.Yamcs.UpsertTagRequest.getDefaultInstance()) return this; if (other.hasOldTag()) { mergeOldTag(other.getOldTag()); } if (other.hasNewTag()) { mergeNewTag(other.getNewTag()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasNewTag()) { return false; } if (hasOldTag()) { if (!getOldTag().isInitialized()) { return false; } } if (!getNewTag().isInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.UpsertTagRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.UpsertTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Yamcs.ArchiveTag oldTag_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> oldTagBuilder_; /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public boolean hasOldTag() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getOldTag() { if (oldTagBuilder_ == null) { return oldTag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : oldTag_; } else { return oldTagBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public Builder setOldTag(org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (oldTagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } oldTag_ = value; onChanged(); } else { oldTagBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public Builder setOldTag( org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (oldTagBuilder_ == null) { oldTag_ = builderForValue.build(); onChanged(); } else { oldTagBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public Builder mergeOldTag(org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (oldTagBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && oldTag_ != null && oldTag_ != org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance()) { oldTag_ = org.yamcs.protobuf.Yamcs.ArchiveTag.newBuilder(oldTag_).mergeFrom(value).buildPartial(); } else { oldTag_ = value; } onChanged(); } else { oldTagBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public Builder clearOldTag() { if (oldTagBuilder_ == null) { oldTag_ = null; onChanged(); } else { oldTagBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder getOldTagBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOldTagFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getOldTagOrBuilder() { if (oldTagBuilder_ != null) { return oldTagBuilder_.getMessageOrBuilder(); } else { return oldTag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : oldTag_; } } /** * optional .yamcs.protobuf.ArchiveTag oldTag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> getOldTagFieldBuilder() { if (oldTagBuilder_ == null) { oldTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder>( getOldTag(), getParentForChildren(), isClean()); oldTag_ = null; } return oldTagBuilder_; } private org.yamcs.protobuf.Yamcs.ArchiveTag newTag_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> newTagBuilder_; /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public boolean hasNewTag() { return ((bitField0_ & 0x00000002) != 0); } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getNewTag() { if (newTagBuilder_ == null) { return newTag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : newTag_; } else { return newTagBuilder_.getMessage(); } } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public Builder setNewTag(org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (newTagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } newTag_ = value; onChanged(); } else { newTagBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public Builder setNewTag( org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (newTagBuilder_ == null) { newTag_ = builderForValue.build(); onChanged(); } else { newTagBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public Builder mergeNewTag(org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (newTagBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && newTag_ != null && newTag_ != org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance()) { newTag_ = org.yamcs.protobuf.Yamcs.ArchiveTag.newBuilder(newTag_).mergeFrom(value).buildPartial(); } else { newTag_ = value; } onChanged(); } else { newTagBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public Builder clearNewTag() { if (newTagBuilder_ == null) { newTag_ = null; onChanged(); } else { newTagBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder getNewTagBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNewTagFieldBuilder().getBuilder(); } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getNewTagOrBuilder() { if (newTagBuilder_ != null) { return newTagBuilder_.getMessageOrBuilder(); } else { return newTag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : newTag_; } } /** * required .yamcs.protobuf.ArchiveTag newTag = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> getNewTagFieldBuilder() { if (newTagBuilder_ == null) { newTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder>( getNewTag(), getParentForChildren(), isClean()); newTag_ = null; } return newTagBuilder_; } @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.UpsertTagRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.UpsertTagRequest) private static final org.yamcs.protobuf.Yamcs.UpsertTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.UpsertTagRequest(); } public static org.yamcs.protobuf.Yamcs.UpsertTagRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpsertTagRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpsertTagRequest(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.Yamcs.UpsertTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.DeleteTagRequest) com.google.protobuf.MessageOrBuilder { /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ boolean hasTag(); /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ org.yamcs.protobuf.Yamcs.ArchiveTag getTag(); /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.DeleteTagRequest} */ public static final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.DeleteTagRequest) DeleteTagRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteTagRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteTagRequest( 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 26: { org.yamcs.protobuf.Yamcs.ArchiveTag.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = tag_.toBuilder(); } tag_ = input.readMessage(org.yamcs.protobuf.Yamcs.ArchiveTag.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tag_); tag_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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.Yamcs.internal_static_yamcs_protobuf_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.DeleteTagRequest.class, org.yamcs.protobuf.Yamcs.DeleteTagRequest.Builder.class); } private int bitField0_; public static final int TAG_FIELD_NUMBER = 3; private org.yamcs.protobuf.Yamcs.ArchiveTag tag_; /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public boolean hasTag() { return ((bitField0_ & 0x00000001) != 0); } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getTag() { return tag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : tag_; } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder() { return tag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : tag_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTag()) { memoizedIsInitialized = 0; return false; } if (!getTag().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getTag()); } 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(3, getTag()); } 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.Yamcs.DeleteTagRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.DeleteTagRequest other = (org.yamcs.protobuf.Yamcs.DeleteTagRequest) obj; if (hasTag() != other.hasTag()) return false; if (hasTag()) { if (!getTag() .equals(other.getTag())) 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 (hasTag()) { hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest 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.Yamcs.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest 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.Yamcs.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest 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.Yamcs.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest 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.Yamcs.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest 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.Yamcs.DeleteTagRequest 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.DeleteTagRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.DeleteTagRequest) org.yamcs.protobuf.Yamcs.DeleteTagRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.DeleteTagRequest.class, org.yamcs.protobuf.Yamcs.DeleteTagRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.DeleteTagRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTagFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (tagBuilder_ == null) { tag_ = null; } else { tagBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_DeleteTagRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.DeleteTagRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.DeleteTagRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.DeleteTagRequest build() { org.yamcs.protobuf.Yamcs.DeleteTagRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.DeleteTagRequest buildPartial() { org.yamcs.protobuf.Yamcs.DeleteTagRequest result = new org.yamcs.protobuf.Yamcs.DeleteTagRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (tagBuilder_ == null) { result.tag_ = tag_; } else { result.tag_ = tagBuilder_.build(); } to_bitField0_ |= 0x00000001; } 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.Yamcs.DeleteTagRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.DeleteTagRequest other) { if (other == org.yamcs.protobuf.Yamcs.DeleteTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasTag()) { return false; } if (!getTag().isInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.DeleteTagRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Yamcs.ArchiveTag tag_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> tagBuilder_; /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public boolean hasTag() { return ((bitField0_ & 0x00000001) != 0); } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getTag() { if (tagBuilder_ == null) { return tag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public Builder setTag(org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); } else { tagBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public Builder setTag( org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); } else { tagBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public Builder mergeTag(org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (tagBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && tag_ != null && tag_ != org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance()) { tag_ = org.yamcs.protobuf.Yamcs.ArchiveTag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } onChanged(); } else { tagBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public Builder clearTag() { if (tagBuilder_ == null) { tag_ = null; onChanged(); } else { tagBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder getTagBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTagFieldBuilder().getBuilder(); } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { return tag_ == null ? org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance() : tag_; } } /** * required .yamcs.protobuf.ArchiveTag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder>( getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } @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.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.DeleteTagRequest) private static final org.yamcs.protobuf.Yamcs.DeleteTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.DeleteTagRequest(); } public static org.yamcs.protobuf.Yamcs.DeleteTagRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteTagRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteTagRequest(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.Yamcs.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReplaySpeedOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.ReplaySpeed) com.google.protobuf.MessageOrBuilder { /** * required .yamcs.protobuf.ReplaySpeed.ReplaySpeedType type = 1; */ boolean hasType(); /** * required .yamcs.protobuf.ReplaySpeed.ReplaySpeedType type = 1; */ org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType getType(); /** * optional float param = 2; */ boolean hasParam(); /** * optional float param = 2; */ float getParam(); } /** * Protobuf type {@code yamcs.protobuf.ReplaySpeed} */ public static final class ReplaySpeed extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.ReplaySpeed) ReplaySpeedOrBuilder { private static final long serialVersionUID = 0L; // Use ReplaySpeed.newBuilder() to construct. private ReplaySpeed(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReplaySpeed() { type_ = 1; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReplaySpeed( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType value = org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = rawValue; } break; } case 21: { bitField0_ |= 0x00000002; param_ = input.readFloat(); 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.Yamcs.internal_static_yamcs_protobuf_ReplaySpeed_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplaySpeed_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ReplaySpeed.class, org.yamcs.protobuf.Yamcs.ReplaySpeed.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.ReplaySpeed.ReplaySpeedType} */ public enum ReplaySpeedType implements com.google.protobuf.ProtocolMessageEnum { /** * AFAP = 1; */ AFAP(1), /** * FIXED_DELAY = 2; */ FIXED_DELAY(2), /** * REALTIME = 3; */ REALTIME(3), /** * STEP_BY_STEP = 4; */ STEP_BY_STEP(4), ; /** * AFAP = 1; */ public static final int AFAP_VALUE = 1; /** * FIXED_DELAY = 2; */ public static final int FIXED_DELAY_VALUE = 2; /** * REALTIME = 3; */ public static final int REALTIME_VALUE = 3; /** * STEP_BY_STEP = 4; */ public static final int STEP_BY_STEP_VALUE = 4; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ReplaySpeedType valueOf(int value) { return forNumber(value); } public static ReplaySpeedType forNumber(int value) { switch (value) { case 1: return AFAP; case 2: return FIXED_DELAY; case 3: return REALTIME; case 4: return STEP_BY_STEP; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ReplaySpeedType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ReplaySpeedType findValueByNumber(int number) { return ReplaySpeedType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.ReplaySpeed.getDescriptor().getEnumTypes().get(0); } private static final ReplaySpeedType[] VALUES = values(); public static ReplaySpeedType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private ReplaySpeedType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.ReplaySpeed.ReplaySpeedType) } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** * required .yamcs.protobuf.ReplaySpeed.ReplaySpeedType type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * required .yamcs.protobuf.ReplaySpeed.ReplaySpeedType type = 1; */ public org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType result = org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType.valueOf(type_); return result == null ? org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType.AFAP : result; } public static final int PARAM_FIELD_NUMBER = 2; private float param_; /** * optional float param = 2; */ public boolean hasParam() { return ((bitField0_ & 0x00000002) != 0); } /** * optional float param = 2; */ public float getParam() { return param_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeFloat(2, param_); } 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 .computeEnumSize(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(2, param_); } 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.Yamcs.ReplaySpeed)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.ReplaySpeed other = (org.yamcs.protobuf.Yamcs.ReplaySpeed) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasParam() != other.hasParam()) return false; if (hasParam()) { if (java.lang.Float.floatToIntBits(getParam()) != java.lang.Float.floatToIntBits( other.getParam())) 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } if (hasParam()) { hash = (37 * hash) + PARAM_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getParam()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.ReplaySpeed parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplaySpeed 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.Yamcs.ReplaySpeed parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplaySpeed 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.Yamcs.ReplaySpeed parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplaySpeed parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.ReplaySpeed parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplaySpeed 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.Yamcs.ReplaySpeed parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplaySpeed 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.Yamcs.ReplaySpeed parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplaySpeed 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.Yamcs.ReplaySpeed 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.ReplaySpeed} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.ReplaySpeed) org.yamcs.protobuf.Yamcs.ReplaySpeedOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplaySpeed_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplaySpeed_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ReplaySpeed.class, org.yamcs.protobuf.Yamcs.ReplaySpeed.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.ReplaySpeed.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(); type_ = 1; bitField0_ = (bitField0_ & ~0x00000001); param_ = 0F; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplaySpeed_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplaySpeed getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.ReplaySpeed.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplaySpeed build() { org.yamcs.protobuf.Yamcs.ReplaySpeed result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplaySpeed buildPartial() { org.yamcs.protobuf.Yamcs.ReplaySpeed result = new org.yamcs.protobuf.Yamcs.ReplaySpeed(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) != 0)) { result.param_ = param_; to_bitField0_ |= 0x00000002; } 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.Yamcs.ReplaySpeed) { return mergeFrom((org.yamcs.protobuf.Yamcs.ReplaySpeed)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.ReplaySpeed other) { if (other == org.yamcs.protobuf.Yamcs.ReplaySpeed.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasParam()) { setParam(other.getParam()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasType()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.ReplaySpeed parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.ReplaySpeed) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ = 1; /** * required .yamcs.protobuf.ReplaySpeed.ReplaySpeedType type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * required .yamcs.protobuf.ReplaySpeed.ReplaySpeedType type = 1; */ public org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType result = org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType.valueOf(type_); return result == null ? org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType.AFAP : result; } /** * required .yamcs.protobuf.ReplaySpeed.ReplaySpeedType type = 1; */ public Builder setType(org.yamcs.protobuf.Yamcs.ReplaySpeed.ReplaySpeedType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** * required .yamcs.protobuf.ReplaySpeed.ReplaySpeedType type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 1; onChanged(); return this; } private float param_ ; /** * optional float param = 2; */ public boolean hasParam() { return ((bitField0_ & 0x00000002) != 0); } /** * optional float param = 2; */ public float getParam() { return param_; } /** * optional float param = 2; */ public Builder setParam(float value) { bitField0_ |= 0x00000002; param_ = value; onChanged(); return this; } /** * optional float param = 2; */ public Builder clearParam() { bitField0_ = (bitField0_ & ~0x00000002); param_ = 0F; 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.ReplaySpeed) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.ReplaySpeed) private static final org.yamcs.protobuf.Yamcs.ReplaySpeed DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.ReplaySpeed(); } public static org.yamcs.protobuf.Yamcs.ReplaySpeed getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReplaySpeed parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ReplaySpeed(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.Yamcs.ReplaySpeed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReplayRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.ReplayRequest) com.google.protobuf.MessageOrBuilder { /** *
     *time specification
     * 
* * optional int64 start = 1; */ boolean hasStart(); /** *
     *time specification
     * 
* * optional int64 start = 1; */ long getStart(); /** * optional int64 stop = 2; */ boolean hasStop(); /** * optional int64 stop = 2; */ long getStop(); /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
     * 
* * optional string utcStart = 13; */ boolean hasUtcStart(); /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
     * 
* * optional string utcStart = 13; */ java.lang.String getUtcStart(); /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
     * 
* * optional string utcStart = 13; */ com.google.protobuf.ByteString getUtcStartBytes(); /** * optional string utcStop = 14; */ boolean hasUtcStop(); /** * optional string utcStop = 14; */ java.lang.String getUtcStop(); /** * optional string utcStop = 14; */ com.google.protobuf.ByteString getUtcStopBytes(); /** *
     *what should happen at the end of the replay
     * 
* * optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT]; */ boolean hasEndAction(); /** *
     *what should happen at the end of the replay
     * 
* * optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT]; */ org.yamcs.protobuf.Yamcs.EndAction getEndAction(); /** *
     *how fast the replay should go
     * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ boolean hasSpeed(); /** *
     *how fast the replay should go
     * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ org.yamcs.protobuf.Yamcs.ReplaySpeed getSpeed(); /** *
     *how fast the replay should go
     * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ org.yamcs.protobuf.Yamcs.ReplaySpeedOrBuilder getSpeedOrBuilder(); /** *
     * Reverse the direction of the replay
     * 
* * optional bool reverse = 15; */ boolean hasReverse(); /** *
     * Reverse the direction of the replay
     * 
* * optional bool reverse = 15; */ boolean getReverse(); /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ boolean hasParameterRequest(); /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ org.yamcs.protobuf.Yamcs.ParameterReplayRequest getParameterRequest(); /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ org.yamcs.protobuf.Yamcs.ParameterReplayRequestOrBuilder getParameterRequestOrBuilder(); /** *
     * By default all Packets, Events, CommandHistory are part of the replay
     * Unless one or more of the below requests are specified.
     * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ boolean hasPacketRequest(); /** *
     * By default all Packets, Events, CommandHistory are part of the replay
     * Unless one or more of the below requests are specified.
     * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ org.yamcs.protobuf.Yamcs.PacketReplayRequest getPacketRequest(); /** *
     * By default all Packets, Events, CommandHistory are part of the replay
     * Unless one or more of the below requests are specified.
     * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ org.yamcs.protobuf.Yamcs.PacketReplayRequestOrBuilder getPacketRequestOrBuilder(); /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ boolean hasEventRequest(); /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ org.yamcs.protobuf.Yamcs.EventReplayRequest getEventRequest(); /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ org.yamcs.protobuf.Yamcs.EventReplayRequestOrBuilder getEventRequestOrBuilder(); /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ boolean hasCommandHistoryRequest(); /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest getCommandHistoryRequest(); /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequestOrBuilder getCommandHistoryRequestOrBuilder(); /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ boolean hasPpRequest(); /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ org.yamcs.protobuf.Yamcs.PpReplayRequest getPpRequest(); /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ org.yamcs.protobuf.Yamcs.PpReplayRequestOrBuilder getPpRequestOrBuilder(); } /** *
   *used to replay (concurrently) TM packets, parameters and events
   * 
* * Protobuf type {@code yamcs.protobuf.ReplayRequest} */ public static final class ReplayRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.ReplayRequest) ReplayRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ReplayRequest.newBuilder() to construct. private ReplayRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReplayRequest() { utcStart_ = ""; utcStop_ = ""; endAction_ = 2; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReplayRequest( 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 8: { bitField0_ |= 0x00000001; start_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; stop_ = input.readInt64(); break; } case 24: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.EndAction value = org.yamcs.protobuf.Yamcs.EndAction.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000010; endAction_ = rawValue; } break; } case 34: { org.yamcs.protobuf.Yamcs.ReplaySpeed.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = speed_.toBuilder(); } speed_ = input.readMessage(org.yamcs.protobuf.Yamcs.ReplaySpeed.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(speed_); speed_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 66: { org.yamcs.protobuf.Yamcs.ParameterReplayRequest.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = parameterRequest_.toBuilder(); } parameterRequest_ = input.readMessage(org.yamcs.protobuf.Yamcs.ParameterReplayRequest.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parameterRequest_); parameterRequest_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { org.yamcs.protobuf.Yamcs.PacketReplayRequest.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = packetRequest_.toBuilder(); } packetRequest_ = input.readMessage(org.yamcs.protobuf.Yamcs.PacketReplayRequest.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(packetRequest_); packetRequest_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 82: { org.yamcs.protobuf.Yamcs.EventReplayRequest.Builder subBuilder = null; if (((bitField0_ & 0x00000200) != 0)) { subBuilder = eventRequest_.toBuilder(); } eventRequest_ = input.readMessage(org.yamcs.protobuf.Yamcs.EventReplayRequest.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(eventRequest_); eventRequest_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000200; break; } case 90: { org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.Builder subBuilder = null; if (((bitField0_ & 0x00000400) != 0)) { subBuilder = commandHistoryRequest_.toBuilder(); } commandHistoryRequest_ = input.readMessage(org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(commandHistoryRequest_); commandHistoryRequest_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000400; break; } case 98: { org.yamcs.protobuf.Yamcs.PpReplayRequest.Builder subBuilder = null; if (((bitField0_ & 0x00000800) != 0)) { subBuilder = ppRequest_.toBuilder(); } ppRequest_ = input.readMessage(org.yamcs.protobuf.Yamcs.PpReplayRequest.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ppRequest_); ppRequest_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000800; break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; utcStart_ = bs; break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; utcStop_ = bs; break; } case 120: { bitField0_ |= 0x00000040; reverse_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ReplayRequest.class, org.yamcs.protobuf.Yamcs.ReplayRequest.Builder.class); } private int bitField0_; public static final int START_FIELD_NUMBER = 1; private long start_; /** *
     *time specification
     * 
* * optional int64 start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** *
     *time specification
     * 
* * optional int64 start = 1; */ public long getStart() { return start_; } public static final int STOP_FIELD_NUMBER = 2; private long stop_; /** * optional int64 stop = 2; */ public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 stop = 2; */ public long getStop() { return stop_; } public static final int UTCSTART_FIELD_NUMBER = 13; private volatile java.lang.Object utcStart_; /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
     * 
* * optional string utcStart = 13; */ public boolean hasUtcStart() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
     * 
* * optional string utcStart = 13; */ public java.lang.String getUtcStart() { java.lang.Object ref = utcStart_; 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()) { utcStart_ = s; } return s; } } /** *
     *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
     * 
* * optional string utcStart = 13; */ public com.google.protobuf.ByteString getUtcStartBytes() { java.lang.Object ref = utcStart_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); utcStart_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UTCSTOP_FIELD_NUMBER = 14; private volatile java.lang.Object utcStop_; /** * optional string utcStop = 14; */ public boolean hasUtcStop() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string utcStop = 14; */ public java.lang.String getUtcStop() { java.lang.Object ref = utcStop_; 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()) { utcStop_ = s; } return s; } } /** * optional string utcStop = 14; */ public com.google.protobuf.ByteString getUtcStopBytes() { java.lang.Object ref = utcStop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); utcStop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENDACTION_FIELD_NUMBER = 3; private int endAction_; /** *
     *what should happen at the end of the replay
     * 
* * optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT]; */ public boolean hasEndAction() { return ((bitField0_ & 0x00000010) != 0); } /** *
     *what should happen at the end of the replay
     * 
* * optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT]; */ public org.yamcs.protobuf.Yamcs.EndAction getEndAction() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.EndAction result = org.yamcs.protobuf.Yamcs.EndAction.valueOf(endAction_); return result == null ? org.yamcs.protobuf.Yamcs.EndAction.QUIT : result; } public static final int SPEED_FIELD_NUMBER = 4; private org.yamcs.protobuf.Yamcs.ReplaySpeed speed_; /** *
     *how fast the replay should go
     * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public boolean hasSpeed() { return ((bitField0_ & 0x00000020) != 0); } /** *
     *how fast the replay should go
     * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public org.yamcs.protobuf.Yamcs.ReplaySpeed getSpeed() { return speed_ == null ? org.yamcs.protobuf.Yamcs.ReplaySpeed.getDefaultInstance() : speed_; } /** *
     *how fast the replay should go
     * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public org.yamcs.protobuf.Yamcs.ReplaySpeedOrBuilder getSpeedOrBuilder() { return speed_ == null ? org.yamcs.protobuf.Yamcs.ReplaySpeed.getDefaultInstance() : speed_; } public static final int REVERSE_FIELD_NUMBER = 15; private boolean reverse_; /** *
     * Reverse the direction of the replay
     * 
* * optional bool reverse = 15; */ public boolean hasReverse() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Reverse the direction of the replay
     * 
* * optional bool reverse = 15; */ public boolean getReverse() { return reverse_; } public static final int PARAMETERREQUEST_FIELD_NUMBER = 8; private org.yamcs.protobuf.Yamcs.ParameterReplayRequest parameterRequest_; /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public boolean hasParameterRequest() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public org.yamcs.protobuf.Yamcs.ParameterReplayRequest getParameterRequest() { return parameterRequest_ == null ? org.yamcs.protobuf.Yamcs.ParameterReplayRequest.getDefaultInstance() : parameterRequest_; } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public org.yamcs.protobuf.Yamcs.ParameterReplayRequestOrBuilder getParameterRequestOrBuilder() { return parameterRequest_ == null ? org.yamcs.protobuf.Yamcs.ParameterReplayRequest.getDefaultInstance() : parameterRequest_; } public static final int PACKETREQUEST_FIELD_NUMBER = 9; private org.yamcs.protobuf.Yamcs.PacketReplayRequest packetRequest_; /** *
     * By default all Packets, Events, CommandHistory are part of the replay
     * Unless one or more of the below requests are specified.
     * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public boolean hasPacketRequest() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * By default all Packets, Events, CommandHistory are part of the replay
     * Unless one or more of the below requests are specified.
     * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public org.yamcs.protobuf.Yamcs.PacketReplayRequest getPacketRequest() { return packetRequest_ == null ? org.yamcs.protobuf.Yamcs.PacketReplayRequest.getDefaultInstance() : packetRequest_; } /** *
     * By default all Packets, Events, CommandHistory are part of the replay
     * Unless one or more of the below requests are specified.
     * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public org.yamcs.protobuf.Yamcs.PacketReplayRequestOrBuilder getPacketRequestOrBuilder() { return packetRequest_ == null ? org.yamcs.protobuf.Yamcs.PacketReplayRequest.getDefaultInstance() : packetRequest_; } public static final int EVENTREQUEST_FIELD_NUMBER = 10; private org.yamcs.protobuf.Yamcs.EventReplayRequest eventRequest_; /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public boolean hasEventRequest() { return ((bitField0_ & 0x00000200) != 0); } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public org.yamcs.protobuf.Yamcs.EventReplayRequest getEventRequest() { return eventRequest_ == null ? org.yamcs.protobuf.Yamcs.EventReplayRequest.getDefaultInstance() : eventRequest_; } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public org.yamcs.protobuf.Yamcs.EventReplayRequestOrBuilder getEventRequestOrBuilder() { return eventRequest_ == null ? org.yamcs.protobuf.Yamcs.EventReplayRequest.getDefaultInstance() : eventRequest_; } public static final int COMMANDHISTORYREQUEST_FIELD_NUMBER = 11; private org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest commandHistoryRequest_; /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public boolean hasCommandHistoryRequest() { return ((bitField0_ & 0x00000400) != 0); } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest getCommandHistoryRequest() { return commandHistoryRequest_ == null ? org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.getDefaultInstance() : commandHistoryRequest_; } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequestOrBuilder getCommandHistoryRequestOrBuilder() { return commandHistoryRequest_ == null ? org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.getDefaultInstance() : commandHistoryRequest_; } public static final int PPREQUEST_FIELD_NUMBER = 12; private org.yamcs.protobuf.Yamcs.PpReplayRequest ppRequest_; /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public boolean hasPpRequest() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public org.yamcs.protobuf.Yamcs.PpReplayRequest getPpRequest() { return ppRequest_ == null ? org.yamcs.protobuf.Yamcs.PpReplayRequest.getDefaultInstance() : ppRequest_; } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public org.yamcs.protobuf.Yamcs.PpReplayRequestOrBuilder getPpRequestOrBuilder() { return ppRequest_ == null ? org.yamcs.protobuf.Yamcs.PpReplayRequest.getDefaultInstance() : ppRequest_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasSpeed()) { if (!getSpeed().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasParameterRequest()) { if (!getParameterRequest().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasPacketRequest()) { if (!getPacketRequest().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasCommandHistoryRequest()) { if (!getCommandHistoryRequest().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, start_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, stop_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(3, endAction_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(4, getSpeed()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getParameterRequest()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getPacketRequest()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(10, getEventRequest()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeMessage(11, getCommandHistoryRequest()); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(12, getPpRequest()); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, utcStart_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, utcStop_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(15, reverse_); } 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 .computeInt64Size(1, start_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, stop_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, endAction_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getSpeed()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getParameterRequest()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getPacketRequest()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getEventRequest()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getCommandHistoryRequest()); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getPpRequest()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, utcStart_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, utcStop_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, reverse_); } 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.Yamcs.ReplayRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.ReplayRequest other = (org.yamcs.protobuf.Yamcs.ReplayRequest) obj; if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (getStart() != other.getStart()) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (getStop() != other.getStop()) return false; } if (hasUtcStart() != other.hasUtcStart()) return false; if (hasUtcStart()) { if (!getUtcStart() .equals(other.getUtcStart())) return false; } if (hasUtcStop() != other.hasUtcStop()) return false; if (hasUtcStop()) { if (!getUtcStop() .equals(other.getUtcStop())) return false; } if (hasEndAction() != other.hasEndAction()) return false; if (hasEndAction()) { if (endAction_ != other.endAction_) return false; } if (hasSpeed() != other.hasSpeed()) return false; if (hasSpeed()) { if (!getSpeed() .equals(other.getSpeed())) return false; } if (hasReverse() != other.hasReverse()) return false; if (hasReverse()) { if (getReverse() != other.getReverse()) return false; } if (hasParameterRequest() != other.hasParameterRequest()) return false; if (hasParameterRequest()) { if (!getParameterRequest() .equals(other.getParameterRequest())) return false; } if (hasPacketRequest() != other.hasPacketRequest()) return false; if (hasPacketRequest()) { if (!getPacketRequest() .equals(other.getPacketRequest())) return false; } if (hasEventRequest() != other.hasEventRequest()) return false; if (hasEventRequest()) { if (!getEventRequest() .equals(other.getEventRequest())) return false; } if (hasCommandHistoryRequest() != other.hasCommandHistoryRequest()) return false; if (hasCommandHistoryRequest()) { if (!getCommandHistoryRequest() .equals(other.getCommandHistoryRequest())) return false; } if (hasPpRequest() != other.hasPpRequest()) return false; if (hasPpRequest()) { if (!getPpRequest() .equals(other.getPpRequest())) 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) + com.google.protobuf.Internal.hashLong( getStart()); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStop()); } if (hasUtcStart()) { hash = (37 * hash) + UTCSTART_FIELD_NUMBER; hash = (53 * hash) + getUtcStart().hashCode(); } if (hasUtcStop()) { hash = (37 * hash) + UTCSTOP_FIELD_NUMBER; hash = (53 * hash) + getUtcStop().hashCode(); } if (hasEndAction()) { hash = (37 * hash) + ENDACTION_FIELD_NUMBER; hash = (53 * hash) + endAction_; } if (hasSpeed()) { hash = (37 * hash) + SPEED_FIELD_NUMBER; hash = (53 * hash) + getSpeed().hashCode(); } if (hasReverse()) { hash = (37 * hash) + REVERSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReverse()); } if (hasParameterRequest()) { hash = (37 * hash) + PARAMETERREQUEST_FIELD_NUMBER; hash = (53 * hash) + getParameterRequest().hashCode(); } if (hasPacketRequest()) { hash = (37 * hash) + PACKETREQUEST_FIELD_NUMBER; hash = (53 * hash) + getPacketRequest().hashCode(); } if (hasEventRequest()) { hash = (37 * hash) + EVENTREQUEST_FIELD_NUMBER; hash = (53 * hash) + getEventRequest().hashCode(); } if (hasCommandHistoryRequest()) { hash = (37 * hash) + COMMANDHISTORYREQUEST_FIELD_NUMBER; hash = (53 * hash) + getCommandHistoryRequest().hashCode(); } if (hasPpRequest()) { hash = (37 * hash) + PPREQUEST_FIELD_NUMBER; hash = (53 * hash) + getPpRequest().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.ReplayRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplayRequest 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.Yamcs.ReplayRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplayRequest 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.Yamcs.ReplayRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplayRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.ReplayRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplayRequest 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.Yamcs.ReplayRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplayRequest 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.Yamcs.ReplayRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplayRequest 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.Yamcs.ReplayRequest 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; } /** *
     *used to replay (concurrently) TM packets, parameters and events
     * 
* * Protobuf type {@code yamcs.protobuf.ReplayRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.ReplayRequest) org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ReplayRequest.class, org.yamcs.protobuf.Yamcs.ReplayRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.ReplayRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSpeedFieldBuilder(); getParameterRequestFieldBuilder(); getPacketRequestFieldBuilder(); getEventRequestFieldBuilder(); getCommandHistoryRequestFieldBuilder(); getPpRequestFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); start_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); stop_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); utcStart_ = ""; bitField0_ = (bitField0_ & ~0x00000004); utcStop_ = ""; bitField0_ = (bitField0_ & ~0x00000008); endAction_ = 2; bitField0_ = (bitField0_ & ~0x00000010); if (speedBuilder_ == null) { speed_ = null; } else { speedBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); reverse_ = false; bitField0_ = (bitField0_ & ~0x00000040); if (parameterRequestBuilder_ == null) { parameterRequest_ = null; } else { parameterRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (packetRequestBuilder_ == null) { packetRequest_ = null; } else { packetRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (eventRequestBuilder_ == null) { eventRequest_ = null; } else { eventRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); if (commandHistoryRequestBuilder_ == null) { commandHistoryRequest_ = null; } else { commandHistoryRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); if (ppRequestBuilder_ == null) { ppRequest_ = null; } else { ppRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplayRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplayRequest build() { org.yamcs.protobuf.Yamcs.ReplayRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplayRequest buildPartial() { org.yamcs.protobuf.Yamcs.ReplayRequest result = new org.yamcs.protobuf.Yamcs.ReplayRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.start_ = start_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.stop_ = stop_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.utcStart_ = utcStart_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.utcStop_ = utcStop_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.endAction_ = endAction_; if (((from_bitField0_ & 0x00000020) != 0)) { if (speedBuilder_ == null) { result.speed_ = speed_; } else { result.speed_ = speedBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.reverse_ = reverse_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { if (parameterRequestBuilder_ == null) { result.parameterRequest_ = parameterRequest_; } else { result.parameterRequest_ = parameterRequestBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { if (packetRequestBuilder_ == null) { result.packetRequest_ = packetRequest_; } else { result.packetRequest_ = packetRequestBuilder_.build(); } to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { if (eventRequestBuilder_ == null) { result.eventRequest_ = eventRequest_; } else { result.eventRequest_ = eventRequestBuilder_.build(); } to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { if (commandHistoryRequestBuilder_ == null) { result.commandHistoryRequest_ = commandHistoryRequest_; } else { result.commandHistoryRequest_ = commandHistoryRequestBuilder_.build(); } to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { if (ppRequestBuilder_ == null) { result.ppRequest_ = ppRequest_; } else { result.ppRequest_ = ppRequestBuilder_.build(); } to_bitField0_ |= 0x00000800; } 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.Yamcs.ReplayRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.ReplayRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.ReplayRequest other) { if (other == org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance()) return this; if (other.hasStart()) { setStart(other.getStart()); } if (other.hasStop()) { setStop(other.getStop()); } if (other.hasUtcStart()) { bitField0_ |= 0x00000004; utcStart_ = other.utcStart_; onChanged(); } if (other.hasUtcStop()) { bitField0_ |= 0x00000008; utcStop_ = other.utcStop_; onChanged(); } if (other.hasEndAction()) { setEndAction(other.getEndAction()); } if (other.hasSpeed()) { mergeSpeed(other.getSpeed()); } if (other.hasReverse()) { setReverse(other.getReverse()); } if (other.hasParameterRequest()) { mergeParameterRequest(other.getParameterRequest()); } if (other.hasPacketRequest()) { mergePacketRequest(other.getPacketRequest()); } if (other.hasEventRequest()) { mergeEventRequest(other.getEventRequest()); } if (other.hasCommandHistoryRequest()) { mergeCommandHistoryRequest(other.getCommandHistoryRequest()); } if (other.hasPpRequest()) { mergePpRequest(other.getPpRequest()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasSpeed()) { if (!getSpeed().isInitialized()) { return false; } } if (hasParameterRequest()) { if (!getParameterRequest().isInitialized()) { return false; } } if (hasPacketRequest()) { if (!getPacketRequest().isInitialized()) { return false; } } if (hasCommandHistoryRequest()) { if (!getCommandHistoryRequest().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.ReplayRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.ReplayRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long start_ ; /** *
       *time specification
       * 
* * optional int64 start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** *
       *time specification
       * 
* * optional int64 start = 1; */ public long getStart() { return start_; } /** *
       *time specification
       * 
* * optional int64 start = 1; */ public Builder setStart(long value) { bitField0_ |= 0x00000001; start_ = value; onChanged(); return this; } /** *
       *time specification
       * 
* * optional int64 start = 1; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = 0L; onChanged(); return this; } private long stop_ ; /** * optional int64 stop = 2; */ public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 stop = 2; */ public long getStop() { return stop_; } /** * optional int64 stop = 2; */ public Builder setStop(long value) { bitField0_ |= 0x00000002; stop_ = value; onChanged(); return this; } /** * optional int64 stop = 2; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000002); stop_ = 0L; onChanged(); return this; } private java.lang.Object utcStart_ = ""; /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
       * 
* * optional string utcStart = 13; */ public boolean hasUtcStart() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
       * 
* * optional string utcStart = 13; */ public java.lang.String getUtcStart() { java.lang.Object ref = utcStart_; 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()) { utcStart_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
       * 
* * optional string utcStart = 13; */ public com.google.protobuf.ByteString getUtcStartBytes() { java.lang.Object ref = utcStart_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); utcStart_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
       * 
* * optional string utcStart = 13; */ public Builder setUtcStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; utcStart_ = value; onChanged(); return this; } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
       * 
* * optional string utcStart = 13; */ public Builder clearUtcStart() { bitField0_ = (bitField0_ & ~0x00000004); utcStart_ = getDefaultInstance().getUtcStart(); onChanged(); return this; } /** *
       *alternative time specification: ISO 8061 time of shape 2012-11-03T07:36:33.323Z (UTC only)
       * 
* * optional string utcStart = 13; */ public Builder setUtcStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; utcStart_ = value; onChanged(); return this; } private java.lang.Object utcStop_ = ""; /** * optional string utcStop = 14; */ public boolean hasUtcStop() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string utcStop = 14; */ public java.lang.String getUtcStop() { java.lang.Object ref = utcStop_; 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()) { utcStop_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string utcStop = 14; */ public com.google.protobuf.ByteString getUtcStopBytes() { java.lang.Object ref = utcStop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); utcStop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string utcStop = 14; */ public Builder setUtcStop( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; utcStop_ = value; onChanged(); return this; } /** * optional string utcStop = 14; */ public Builder clearUtcStop() { bitField0_ = (bitField0_ & ~0x00000008); utcStop_ = getDefaultInstance().getUtcStop(); onChanged(); return this; } /** * optional string utcStop = 14; */ public Builder setUtcStopBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; utcStop_ = value; onChanged(); return this; } private int endAction_ = 2; /** *
       *what should happen at the end of the replay
       * 
* * optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT]; */ public boolean hasEndAction() { return ((bitField0_ & 0x00000010) != 0); } /** *
       *what should happen at the end of the replay
       * 
* * optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT]; */ public org.yamcs.protobuf.Yamcs.EndAction getEndAction() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.EndAction result = org.yamcs.protobuf.Yamcs.EndAction.valueOf(endAction_); return result == null ? org.yamcs.protobuf.Yamcs.EndAction.QUIT : result; } /** *
       *what should happen at the end of the replay
       * 
* * optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT]; */ public Builder setEndAction(org.yamcs.protobuf.Yamcs.EndAction value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; endAction_ = value.getNumber(); onChanged(); return this; } /** *
       *what should happen at the end of the replay
       * 
* * optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT]; */ public Builder clearEndAction() { bitField0_ = (bitField0_ & ~0x00000010); endAction_ = 2; onChanged(); return this; } private org.yamcs.protobuf.Yamcs.ReplaySpeed speed_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplaySpeed, org.yamcs.protobuf.Yamcs.ReplaySpeed.Builder, org.yamcs.protobuf.Yamcs.ReplaySpeedOrBuilder> speedBuilder_; /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public boolean hasSpeed() { return ((bitField0_ & 0x00000020) != 0); } /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public org.yamcs.protobuf.Yamcs.ReplaySpeed getSpeed() { if (speedBuilder_ == null) { return speed_ == null ? org.yamcs.protobuf.Yamcs.ReplaySpeed.getDefaultInstance() : speed_; } else { return speedBuilder_.getMessage(); } } /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public Builder setSpeed(org.yamcs.protobuf.Yamcs.ReplaySpeed value) { if (speedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } speed_ = value; onChanged(); } else { speedBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public Builder setSpeed( org.yamcs.protobuf.Yamcs.ReplaySpeed.Builder builderForValue) { if (speedBuilder_ == null) { speed_ = builderForValue.build(); onChanged(); } else { speedBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public Builder mergeSpeed(org.yamcs.protobuf.Yamcs.ReplaySpeed value) { if (speedBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && speed_ != null && speed_ != org.yamcs.protobuf.Yamcs.ReplaySpeed.getDefaultInstance()) { speed_ = org.yamcs.protobuf.Yamcs.ReplaySpeed.newBuilder(speed_).mergeFrom(value).buildPartial(); } else { speed_ = value; } onChanged(); } else { speedBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public Builder clearSpeed() { if (speedBuilder_ == null) { speed_ = null; onChanged(); } else { speedBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public org.yamcs.protobuf.Yamcs.ReplaySpeed.Builder getSpeedBuilder() { bitField0_ |= 0x00000020; onChanged(); return getSpeedFieldBuilder().getBuilder(); } /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ public org.yamcs.protobuf.Yamcs.ReplaySpeedOrBuilder getSpeedOrBuilder() { if (speedBuilder_ != null) { return speedBuilder_.getMessageOrBuilder(); } else { return speed_ == null ? org.yamcs.protobuf.Yamcs.ReplaySpeed.getDefaultInstance() : speed_; } } /** *
       *how fast the replay should go
       * 
* * optional .yamcs.protobuf.ReplaySpeed speed = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplaySpeed, org.yamcs.protobuf.Yamcs.ReplaySpeed.Builder, org.yamcs.protobuf.Yamcs.ReplaySpeedOrBuilder> getSpeedFieldBuilder() { if (speedBuilder_ == null) { speedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplaySpeed, org.yamcs.protobuf.Yamcs.ReplaySpeed.Builder, org.yamcs.protobuf.Yamcs.ReplaySpeedOrBuilder>( getSpeed(), getParentForChildren(), isClean()); speed_ = null; } return speedBuilder_; } private boolean reverse_ ; /** *
       * Reverse the direction of the replay
       * 
* * optional bool reverse = 15; */ public boolean hasReverse() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Reverse the direction of the replay
       * 
* * optional bool reverse = 15; */ public boolean getReverse() { return reverse_; } /** *
       * Reverse the direction of the replay
       * 
* * optional bool reverse = 15; */ public Builder setReverse(boolean value) { bitField0_ |= 0x00000040; reverse_ = value; onChanged(); return this; } /** *
       * Reverse the direction of the replay
       * 
* * optional bool reverse = 15; */ public Builder clearReverse() { bitField0_ = (bitField0_ & ~0x00000040); reverse_ = false; onChanged(); return this; } private org.yamcs.protobuf.Yamcs.ParameterReplayRequest parameterRequest_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ParameterReplayRequest, org.yamcs.protobuf.Yamcs.ParameterReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ParameterReplayRequestOrBuilder> parameterRequestBuilder_; /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public boolean hasParameterRequest() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public org.yamcs.protobuf.Yamcs.ParameterReplayRequest getParameterRequest() { if (parameterRequestBuilder_ == null) { return parameterRequest_ == null ? org.yamcs.protobuf.Yamcs.ParameterReplayRequest.getDefaultInstance() : parameterRequest_; } else { return parameterRequestBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public Builder setParameterRequest(org.yamcs.protobuf.Yamcs.ParameterReplayRequest value) { if (parameterRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parameterRequest_ = value; onChanged(); } else { parameterRequestBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public Builder setParameterRequest( org.yamcs.protobuf.Yamcs.ParameterReplayRequest.Builder builderForValue) { if (parameterRequestBuilder_ == null) { parameterRequest_ = builderForValue.build(); onChanged(); } else { parameterRequestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public Builder mergeParameterRequest(org.yamcs.protobuf.Yamcs.ParameterReplayRequest value) { if (parameterRequestBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && parameterRequest_ != null && parameterRequest_ != org.yamcs.protobuf.Yamcs.ParameterReplayRequest.getDefaultInstance()) { parameterRequest_ = org.yamcs.protobuf.Yamcs.ParameterReplayRequest.newBuilder(parameterRequest_).mergeFrom(value).buildPartial(); } else { parameterRequest_ = value; } onChanged(); } else { parameterRequestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public Builder clearParameterRequest() { if (parameterRequestBuilder_ == null) { parameterRequest_ = null; onChanged(); } else { parameterRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public org.yamcs.protobuf.Yamcs.ParameterReplayRequest.Builder getParameterRequestBuilder() { bitField0_ |= 0x00000080; onChanged(); return getParameterRequestFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ public org.yamcs.protobuf.Yamcs.ParameterReplayRequestOrBuilder getParameterRequestOrBuilder() { if (parameterRequestBuilder_ != null) { return parameterRequestBuilder_.getMessageOrBuilder(); } else { return parameterRequest_ == null ? org.yamcs.protobuf.Yamcs.ParameterReplayRequest.getDefaultInstance() : parameterRequest_; } } /** * optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ParameterReplayRequest, org.yamcs.protobuf.Yamcs.ParameterReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ParameterReplayRequestOrBuilder> getParameterRequestFieldBuilder() { if (parameterRequestBuilder_ == null) { parameterRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ParameterReplayRequest, org.yamcs.protobuf.Yamcs.ParameterReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ParameterReplayRequestOrBuilder>( getParameterRequest(), getParentForChildren(), isClean()); parameterRequest_ = null; } return parameterRequestBuilder_; } private org.yamcs.protobuf.Yamcs.PacketReplayRequest packetRequest_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.PacketReplayRequest, org.yamcs.protobuf.Yamcs.PacketReplayRequest.Builder, org.yamcs.protobuf.Yamcs.PacketReplayRequestOrBuilder> packetRequestBuilder_; /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public boolean hasPacketRequest() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public org.yamcs.protobuf.Yamcs.PacketReplayRequest getPacketRequest() { if (packetRequestBuilder_ == null) { return packetRequest_ == null ? org.yamcs.protobuf.Yamcs.PacketReplayRequest.getDefaultInstance() : packetRequest_; } else { return packetRequestBuilder_.getMessage(); } } /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public Builder setPacketRequest(org.yamcs.protobuf.Yamcs.PacketReplayRequest value) { if (packetRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } packetRequest_ = value; onChanged(); } else { packetRequestBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public Builder setPacketRequest( org.yamcs.protobuf.Yamcs.PacketReplayRequest.Builder builderForValue) { if (packetRequestBuilder_ == null) { packetRequest_ = builderForValue.build(); onChanged(); } else { packetRequestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public Builder mergePacketRequest(org.yamcs.protobuf.Yamcs.PacketReplayRequest value) { if (packetRequestBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && packetRequest_ != null && packetRequest_ != org.yamcs.protobuf.Yamcs.PacketReplayRequest.getDefaultInstance()) { packetRequest_ = org.yamcs.protobuf.Yamcs.PacketReplayRequest.newBuilder(packetRequest_).mergeFrom(value).buildPartial(); } else { packetRequest_ = value; } onChanged(); } else { packetRequestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public Builder clearPacketRequest() { if (packetRequestBuilder_ == null) { packetRequest_ = null; onChanged(); } else { packetRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public org.yamcs.protobuf.Yamcs.PacketReplayRequest.Builder getPacketRequestBuilder() { bitField0_ |= 0x00000100; onChanged(); return getPacketRequestFieldBuilder().getBuilder(); } /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ public org.yamcs.protobuf.Yamcs.PacketReplayRequestOrBuilder getPacketRequestOrBuilder() { if (packetRequestBuilder_ != null) { return packetRequestBuilder_.getMessageOrBuilder(); } else { return packetRequest_ == null ? org.yamcs.protobuf.Yamcs.PacketReplayRequest.getDefaultInstance() : packetRequest_; } } /** *
       * By default all Packets, Events, CommandHistory are part of the replay
       * Unless one or more of the below requests are specified.
       * 
* * optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.PacketReplayRequest, org.yamcs.protobuf.Yamcs.PacketReplayRequest.Builder, org.yamcs.protobuf.Yamcs.PacketReplayRequestOrBuilder> getPacketRequestFieldBuilder() { if (packetRequestBuilder_ == null) { packetRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.PacketReplayRequest, org.yamcs.protobuf.Yamcs.PacketReplayRequest.Builder, org.yamcs.protobuf.Yamcs.PacketReplayRequestOrBuilder>( getPacketRequest(), getParentForChildren(), isClean()); packetRequest_ = null; } return packetRequestBuilder_; } private org.yamcs.protobuf.Yamcs.EventReplayRequest eventRequest_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.EventReplayRequest, org.yamcs.protobuf.Yamcs.EventReplayRequest.Builder, org.yamcs.protobuf.Yamcs.EventReplayRequestOrBuilder> eventRequestBuilder_; /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public boolean hasEventRequest() { return ((bitField0_ & 0x00000200) != 0); } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public org.yamcs.protobuf.Yamcs.EventReplayRequest getEventRequest() { if (eventRequestBuilder_ == null) { return eventRequest_ == null ? org.yamcs.protobuf.Yamcs.EventReplayRequest.getDefaultInstance() : eventRequest_; } else { return eventRequestBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public Builder setEventRequest(org.yamcs.protobuf.Yamcs.EventReplayRequest value) { if (eventRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } eventRequest_ = value; onChanged(); } else { eventRequestBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public Builder setEventRequest( org.yamcs.protobuf.Yamcs.EventReplayRequest.Builder builderForValue) { if (eventRequestBuilder_ == null) { eventRequest_ = builderForValue.build(); onChanged(); } else { eventRequestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public Builder mergeEventRequest(org.yamcs.protobuf.Yamcs.EventReplayRequest value) { if (eventRequestBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && eventRequest_ != null && eventRequest_ != org.yamcs.protobuf.Yamcs.EventReplayRequest.getDefaultInstance()) { eventRequest_ = org.yamcs.protobuf.Yamcs.EventReplayRequest.newBuilder(eventRequest_).mergeFrom(value).buildPartial(); } else { eventRequest_ = value; } onChanged(); } else { eventRequestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public Builder clearEventRequest() { if (eventRequestBuilder_ == null) { eventRequest_ = null; onChanged(); } else { eventRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public org.yamcs.protobuf.Yamcs.EventReplayRequest.Builder getEventRequestBuilder() { bitField0_ |= 0x00000200; onChanged(); return getEventRequestFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ public org.yamcs.protobuf.Yamcs.EventReplayRequestOrBuilder getEventRequestOrBuilder() { if (eventRequestBuilder_ != null) { return eventRequestBuilder_.getMessageOrBuilder(); } else { return eventRequest_ == null ? org.yamcs.protobuf.Yamcs.EventReplayRequest.getDefaultInstance() : eventRequest_; } } /** * optional .yamcs.protobuf.EventReplayRequest eventRequest = 10; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.EventReplayRequest, org.yamcs.protobuf.Yamcs.EventReplayRequest.Builder, org.yamcs.protobuf.Yamcs.EventReplayRequestOrBuilder> getEventRequestFieldBuilder() { if (eventRequestBuilder_ == null) { eventRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.EventReplayRequest, org.yamcs.protobuf.Yamcs.EventReplayRequest.Builder, org.yamcs.protobuf.Yamcs.EventReplayRequestOrBuilder>( getEventRequest(), getParentForChildren(), isClean()); eventRequest_ = null; } return eventRequestBuilder_; } private org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest commandHistoryRequest_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest, org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.Builder, org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequestOrBuilder> commandHistoryRequestBuilder_; /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public boolean hasCommandHistoryRequest() { return ((bitField0_ & 0x00000400) != 0); } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest getCommandHistoryRequest() { if (commandHistoryRequestBuilder_ == null) { return commandHistoryRequest_ == null ? org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.getDefaultInstance() : commandHistoryRequest_; } else { return commandHistoryRequestBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public Builder setCommandHistoryRequest(org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest value) { if (commandHistoryRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commandHistoryRequest_ = value; onChanged(); } else { commandHistoryRequestBuilder_.setMessage(value); } bitField0_ |= 0x00000400; return this; } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public Builder setCommandHistoryRequest( org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.Builder builderForValue) { if (commandHistoryRequestBuilder_ == null) { commandHistoryRequest_ = builderForValue.build(); onChanged(); } else { commandHistoryRequestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public Builder mergeCommandHistoryRequest(org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest value) { if (commandHistoryRequestBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && commandHistoryRequest_ != null && commandHistoryRequest_ != org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.getDefaultInstance()) { commandHistoryRequest_ = org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.newBuilder(commandHistoryRequest_).mergeFrom(value).buildPartial(); } else { commandHistoryRequest_ = value; } onChanged(); } else { commandHistoryRequestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public Builder clearCommandHistoryRequest() { if (commandHistoryRequestBuilder_ == null) { commandHistoryRequest_ = null; onChanged(); } else { commandHistoryRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.Builder getCommandHistoryRequestBuilder() { bitField0_ |= 0x00000400; onChanged(); return getCommandHistoryRequestFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ public org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequestOrBuilder getCommandHistoryRequestOrBuilder() { if (commandHistoryRequestBuilder_ != null) { return commandHistoryRequestBuilder_.getMessageOrBuilder(); } else { return commandHistoryRequest_ == null ? org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.getDefaultInstance() : commandHistoryRequest_; } } /** * optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest, org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.Builder, org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequestOrBuilder> getCommandHistoryRequestFieldBuilder() { if (commandHistoryRequestBuilder_ == null) { commandHistoryRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest, org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.Builder, org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequestOrBuilder>( getCommandHistoryRequest(), getParentForChildren(), isClean()); commandHistoryRequest_ = null; } return commandHistoryRequestBuilder_; } private org.yamcs.protobuf.Yamcs.PpReplayRequest ppRequest_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.PpReplayRequest, org.yamcs.protobuf.Yamcs.PpReplayRequest.Builder, org.yamcs.protobuf.Yamcs.PpReplayRequestOrBuilder> ppRequestBuilder_; /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public boolean hasPpRequest() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public org.yamcs.protobuf.Yamcs.PpReplayRequest getPpRequest() { if (ppRequestBuilder_ == null) { return ppRequest_ == null ? org.yamcs.protobuf.Yamcs.PpReplayRequest.getDefaultInstance() : ppRequest_; } else { return ppRequestBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public Builder setPpRequest(org.yamcs.protobuf.Yamcs.PpReplayRequest value) { if (ppRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ppRequest_ = value; onChanged(); } else { ppRequestBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public Builder setPpRequest( org.yamcs.protobuf.Yamcs.PpReplayRequest.Builder builderForValue) { if (ppRequestBuilder_ == null) { ppRequest_ = builderForValue.build(); onChanged(); } else { ppRequestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public Builder mergePpRequest(org.yamcs.protobuf.Yamcs.PpReplayRequest value) { if (ppRequestBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && ppRequest_ != null && ppRequest_ != org.yamcs.protobuf.Yamcs.PpReplayRequest.getDefaultInstance()) { ppRequest_ = org.yamcs.protobuf.Yamcs.PpReplayRequest.newBuilder(ppRequest_).mergeFrom(value).buildPartial(); } else { ppRequest_ = value; } onChanged(); } else { ppRequestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public Builder clearPpRequest() { if (ppRequestBuilder_ == null) { ppRequest_ = null; onChanged(); } else { ppRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public org.yamcs.protobuf.Yamcs.PpReplayRequest.Builder getPpRequestBuilder() { bitField0_ |= 0x00000800; onChanged(); return getPpRequestFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ public org.yamcs.protobuf.Yamcs.PpReplayRequestOrBuilder getPpRequestOrBuilder() { if (ppRequestBuilder_ != null) { return ppRequestBuilder_.getMessageOrBuilder(); } else { return ppRequest_ == null ? org.yamcs.protobuf.Yamcs.PpReplayRequest.getDefaultInstance() : ppRequest_; } } /** * optional .yamcs.protobuf.PpReplayRequest ppRequest = 12; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.PpReplayRequest, org.yamcs.protobuf.Yamcs.PpReplayRequest.Builder, org.yamcs.protobuf.Yamcs.PpReplayRequestOrBuilder> getPpRequestFieldBuilder() { if (ppRequestBuilder_ == null) { ppRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.PpReplayRequest, org.yamcs.protobuf.Yamcs.PpReplayRequest.Builder, org.yamcs.protobuf.Yamcs.PpReplayRequestOrBuilder>( getPpRequest(), getParentForChildren(), isClean()); ppRequest_ = null; } return ppRequestBuilder_; } @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.ReplayRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.ReplayRequest) private static final org.yamcs.protobuf.Yamcs.ReplayRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.ReplayRequest(); } public static org.yamcs.protobuf.Yamcs.ReplayRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReplayRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ReplayRequest(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.Yamcs.ReplayRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParameterReplayRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.ParameterReplayRequest) com.google.protobuf.MessageOrBuilder { /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ java.util.List getNameFilterList(); /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index); /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ int getNameFilterCount(); /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ java.util.List getNameFilterOrBuilderList(); /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index); /** * optional bool sendRaw = 2 [default = false]; */ boolean hasSendRaw(); /** * optional bool sendRaw = 2 [default = false]; */ boolean getSendRaw(); /** *
     *i.e. out of limit checking
     * 
* * optional bool performMonitoring = 3 [default = false]; */ boolean hasPerformMonitoring(); /** *
     *i.e. out of limit checking
     * 
* * optional bool performMonitoring = 3 [default = false]; */ boolean getPerformMonitoring(); } /** * Protobuf type {@code yamcs.protobuf.ParameterReplayRequest} */ public static final class ParameterReplayRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.ParameterReplayRequest) ParameterReplayRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ParameterReplayRequest.newBuilder() to construct. private ParameterReplayRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ParameterReplayRequest() { nameFilter_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ParameterReplayRequest( 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)) { nameFilter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } nameFilter_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; sendRaw_ = input.readBool(); break; } case 24: { bitField0_ |= 0x00000002; performMonitoring_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameFilter_ = java.util.Collections.unmodifiableList(nameFilter_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ParameterReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ParameterReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ParameterReplayRequest.class, org.yamcs.protobuf.Yamcs.ParameterReplayRequest.Builder.class); } private int bitField0_; public static final int NAMEFILTER_FIELD_NUMBER = 1; private java.util.List nameFilter_; /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterList() { return nameFilter_; } /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterOrBuilderList() { return nameFilter_; } /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public int getNameFilterCount() { return nameFilter_.size(); } /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index) { return nameFilter_.get(index); } /** *
     * At least 1 filter is required
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index) { return nameFilter_.get(index); } public static final int SENDRAW_FIELD_NUMBER = 2; private boolean sendRaw_; /** * optional bool sendRaw = 2 [default = false]; */ public boolean hasSendRaw() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bool sendRaw = 2 [default = false]; */ public boolean getSendRaw() { return sendRaw_; } public static final int PERFORMMONITORING_FIELD_NUMBER = 3; private boolean performMonitoring_; /** *
     *i.e. out of limit checking
     * 
* * optional bool performMonitoring = 3 [default = false]; */ public boolean hasPerformMonitoring() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *i.e. out of limit checking
     * 
* * optional bool performMonitoring = 3 [default = false]; */ public boolean getPerformMonitoring() { return performMonitoring_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getNameFilterCount(); i++) { if (!getNameFilter(i).isInitialized()) { memoizedIsInitialized = 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 < nameFilter_.size(); i++) { output.writeMessage(1, nameFilter_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, sendRaw_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(3, performMonitoring_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < nameFilter_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, nameFilter_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, sendRaw_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, performMonitoring_); } 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.Yamcs.ParameterReplayRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.ParameterReplayRequest other = (org.yamcs.protobuf.Yamcs.ParameterReplayRequest) obj; if (!getNameFilterList() .equals(other.getNameFilterList())) return false; if (hasSendRaw() != other.hasSendRaw()) return false; if (hasSendRaw()) { if (getSendRaw() != other.getSendRaw()) return false; } if (hasPerformMonitoring() != other.hasPerformMonitoring()) return false; if (hasPerformMonitoring()) { if (getPerformMonitoring() != other.getPerformMonitoring()) 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 (getNameFilterCount() > 0) { hash = (37 * hash) + NAMEFILTER_FIELD_NUMBER; hash = (53 * hash) + getNameFilterList().hashCode(); } if (hasSendRaw()) { hash = (37 * hash) + SENDRAW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSendRaw()); } if (hasPerformMonitoring()) { hash = (37 * hash) + PERFORMMONITORING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPerformMonitoring()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest 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.Yamcs.ParameterReplayRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest 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.Yamcs.ParameterReplayRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest 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.Yamcs.ParameterReplayRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest 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.Yamcs.ParameterReplayRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest 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.Yamcs.ParameterReplayRequest 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.ParameterReplayRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.ParameterReplayRequest) org.yamcs.protobuf.Yamcs.ParameterReplayRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ParameterReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ParameterReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ParameterReplayRequest.class, org.yamcs.protobuf.Yamcs.ParameterReplayRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.ParameterReplayRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNameFilterFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (nameFilterBuilder_ == null) { nameFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { nameFilterBuilder_.clear(); } sendRaw_ = false; bitField0_ = (bitField0_ & ~0x00000002); performMonitoring_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ParameterReplayRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ParameterReplayRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.ParameterReplayRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.ParameterReplayRequest build() { org.yamcs.protobuf.Yamcs.ParameterReplayRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ParameterReplayRequest buildPartial() { org.yamcs.protobuf.Yamcs.ParameterReplayRequest result = new org.yamcs.protobuf.Yamcs.ParameterReplayRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (nameFilterBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { nameFilter_ = java.util.Collections.unmodifiableList(nameFilter_); bitField0_ = (bitField0_ & ~0x00000001); } result.nameFilter_ = nameFilter_; } else { result.nameFilter_ = nameFilterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.sendRaw_ = sendRaw_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.performMonitoring_ = performMonitoring_; to_bitField0_ |= 0x00000002; } 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.Yamcs.ParameterReplayRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.ParameterReplayRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.ParameterReplayRequest other) { if (other == org.yamcs.protobuf.Yamcs.ParameterReplayRequest.getDefaultInstance()) return this; if (nameFilterBuilder_ == null) { if (!other.nameFilter_.isEmpty()) { if (nameFilter_.isEmpty()) { nameFilter_ = other.nameFilter_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNameFilterIsMutable(); nameFilter_.addAll(other.nameFilter_); } onChanged(); } } else { if (!other.nameFilter_.isEmpty()) { if (nameFilterBuilder_.isEmpty()) { nameFilterBuilder_.dispose(); nameFilterBuilder_ = null; nameFilter_ = other.nameFilter_; bitField0_ = (bitField0_ & ~0x00000001); nameFilterBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNameFilterFieldBuilder() : null; } else { nameFilterBuilder_.addAllMessages(other.nameFilter_); } } } if (other.hasSendRaw()) { setSendRaw(other.getSendRaw()); } if (other.hasPerformMonitoring()) { setPerformMonitoring(other.getPerformMonitoring()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getNameFilterCount(); i++) { if (!getNameFilter(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.ParameterReplayRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.ParameterReplayRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List nameFilter_ = java.util.Collections.emptyList(); private void ensureNameFilterIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameFilter_ = new java.util.ArrayList(nameFilter_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> nameFilterBuilder_; /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterList() { if (nameFilterBuilder_ == null) { return java.util.Collections.unmodifiableList(nameFilter_); } else { return nameFilterBuilder_.getMessageList(); } } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public int getNameFilterCount() { if (nameFilterBuilder_ == null) { return nameFilter_.size(); } else { return nameFilterBuilder_.getCount(); } } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index) { if (nameFilterBuilder_ == null) { return nameFilter_.get(index); } else { return nameFilterBuilder_.getMessage(index); } } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder setNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.set(index, value); onChanged(); } else { nameFilterBuilder_.setMessage(index, value); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder setNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.set(index, builderForValue.build()); onChanged(); } else { nameFilterBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.add(value); onChanged(); } else { nameFilterBuilder_.addMessage(value); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.add(index, value); onChanged(); } else { nameFilterBuilder_.addMessage(index, value); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.add(builderForValue.build()); onChanged(); } else { nameFilterBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.add(index, builderForValue.build()); onChanged(); } else { nameFilterBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addAllNameFilter( java.lang.Iterable values) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nameFilter_); onChanged(); } else { nameFilterBuilder_.addAllMessages(values); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder clearNameFilter() { if (nameFilterBuilder_ == null) { nameFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { nameFilterBuilder_.clear(); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder removeNameFilter(int index) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.remove(index); onChanged(); } else { nameFilterBuilder_.remove(index); } return this; } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getNameFilterBuilder( int index) { return getNameFilterFieldBuilder().getBuilder(index); } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index) { if (nameFilterBuilder_ == null) { return nameFilter_.get(index); } else { return nameFilterBuilder_.getMessageOrBuilder(index); } } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterOrBuilderList() { if (nameFilterBuilder_ != null) { return nameFilterBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nameFilter_); } } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addNameFilterBuilder() { return getNameFilterFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addNameFilterBuilder( int index) { return getNameFilterFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** *
       * At least 1 filter is required
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterBuilderList() { return getNameFilterFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getNameFilterFieldBuilder() { if (nameFilterBuilder_ == null) { nameFilterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( nameFilter_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nameFilter_ = null; } return nameFilterBuilder_; } private boolean sendRaw_ ; /** * optional bool sendRaw = 2 [default = false]; */ public boolean hasSendRaw() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool sendRaw = 2 [default = false]; */ public boolean getSendRaw() { return sendRaw_; } /** * optional bool sendRaw = 2 [default = false]; */ public Builder setSendRaw(boolean value) { bitField0_ |= 0x00000002; sendRaw_ = value; onChanged(); return this; } /** * optional bool sendRaw = 2 [default = false]; */ public Builder clearSendRaw() { bitField0_ = (bitField0_ & ~0x00000002); sendRaw_ = false; onChanged(); return this; } private boolean performMonitoring_ ; /** *
       *i.e. out of limit checking
       * 
* * optional bool performMonitoring = 3 [default = false]; */ public boolean hasPerformMonitoring() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *i.e. out of limit checking
       * 
* * optional bool performMonitoring = 3 [default = false]; */ public boolean getPerformMonitoring() { return performMonitoring_; } /** *
       *i.e. out of limit checking
       * 
* * optional bool performMonitoring = 3 [default = false]; */ public Builder setPerformMonitoring(boolean value) { bitField0_ |= 0x00000004; performMonitoring_ = value; onChanged(); return this; } /** *
       *i.e. out of limit checking
       * 
* * optional bool performMonitoring = 3 [default = false]; */ public Builder clearPerformMonitoring() { bitField0_ = (bitField0_ & ~0x00000004); performMonitoring_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.ParameterReplayRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.ParameterReplayRequest) private static final org.yamcs.protobuf.Yamcs.ParameterReplayRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.ParameterReplayRequest(); } public static org.yamcs.protobuf.Yamcs.ParameterReplayRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ParameterReplayRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ParameterReplayRequest(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.Yamcs.ParameterReplayRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PacketReplayRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.PacketReplayRequest) com.google.protobuf.MessageOrBuilder { /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ java.util.List getNameFilterList(); /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index); /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ int getNameFilterCount(); /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ java.util.List getNameFilterOrBuilderList(); /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.PacketReplayRequest} */ public static final class PacketReplayRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.PacketReplayRequest) PacketReplayRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PacketReplayRequest.newBuilder() to construct. private PacketReplayRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PacketReplayRequest() { nameFilter_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PacketReplayRequest( 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)) { nameFilter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } nameFilter_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.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)) { nameFilter_ = java.util.Collections.unmodifiableList(nameFilter_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PacketReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PacketReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.PacketReplayRequest.class, org.yamcs.protobuf.Yamcs.PacketReplayRequest.Builder.class); } public static final int NAMEFILTER_FIELD_NUMBER = 1; private java.util.List nameFilter_; /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterList() { return nameFilter_; } /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterOrBuilderList() { return nameFilter_; } /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public int getNameFilterCount() { return nameFilter_.size(); } /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index) { return nameFilter_.get(index); } /** *
     * No filter, means all packets for which privileges exist, are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index) { return nameFilter_.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; for (int i = 0; i < getNameFilterCount(); i++) { if (!getNameFilter(i).isInitialized()) { memoizedIsInitialized = 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 < nameFilter_.size(); i++) { output.writeMessage(1, nameFilter_.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 < nameFilter_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, nameFilter_.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.Yamcs.PacketReplayRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.PacketReplayRequest other = (org.yamcs.protobuf.Yamcs.PacketReplayRequest) obj; if (!getNameFilterList() .equals(other.getNameFilterList())) 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 (getNameFilterCount() > 0) { hash = (37 * hash) + NAMEFILTER_FIELD_NUMBER; hash = (53 * hash) + getNameFilterList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest 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.Yamcs.PacketReplayRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest 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.Yamcs.PacketReplayRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest 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.Yamcs.PacketReplayRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest 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.Yamcs.PacketReplayRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest 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.Yamcs.PacketReplayRequest 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.PacketReplayRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.PacketReplayRequest) org.yamcs.protobuf.Yamcs.PacketReplayRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PacketReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PacketReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.PacketReplayRequest.class, org.yamcs.protobuf.Yamcs.PacketReplayRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.PacketReplayRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNameFilterFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (nameFilterBuilder_ == null) { nameFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { nameFilterBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PacketReplayRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.PacketReplayRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.PacketReplayRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.PacketReplayRequest build() { org.yamcs.protobuf.Yamcs.PacketReplayRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.PacketReplayRequest buildPartial() { org.yamcs.protobuf.Yamcs.PacketReplayRequest result = new org.yamcs.protobuf.Yamcs.PacketReplayRequest(this); int from_bitField0_ = bitField0_; if (nameFilterBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { nameFilter_ = java.util.Collections.unmodifiableList(nameFilter_); bitField0_ = (bitField0_ & ~0x00000001); } result.nameFilter_ = nameFilter_; } else { result.nameFilter_ = nameFilterBuilder_.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.Yamcs.PacketReplayRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.PacketReplayRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.PacketReplayRequest other) { if (other == org.yamcs.protobuf.Yamcs.PacketReplayRequest.getDefaultInstance()) return this; if (nameFilterBuilder_ == null) { if (!other.nameFilter_.isEmpty()) { if (nameFilter_.isEmpty()) { nameFilter_ = other.nameFilter_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNameFilterIsMutable(); nameFilter_.addAll(other.nameFilter_); } onChanged(); } } else { if (!other.nameFilter_.isEmpty()) { if (nameFilterBuilder_.isEmpty()) { nameFilterBuilder_.dispose(); nameFilterBuilder_ = null; nameFilter_ = other.nameFilter_; bitField0_ = (bitField0_ & ~0x00000001); nameFilterBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNameFilterFieldBuilder() : null; } else { nameFilterBuilder_.addAllMessages(other.nameFilter_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getNameFilterCount(); i++) { if (!getNameFilter(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.PacketReplayRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.PacketReplayRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List nameFilter_ = java.util.Collections.emptyList(); private void ensureNameFilterIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameFilter_ = new java.util.ArrayList(nameFilter_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> nameFilterBuilder_; /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterList() { if (nameFilterBuilder_ == null) { return java.util.Collections.unmodifiableList(nameFilter_); } else { return nameFilterBuilder_.getMessageList(); } } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public int getNameFilterCount() { if (nameFilterBuilder_ == null) { return nameFilter_.size(); } else { return nameFilterBuilder_.getCount(); } } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index) { if (nameFilterBuilder_ == null) { return nameFilter_.get(index); } else { return nameFilterBuilder_.getMessage(index); } } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder setNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.set(index, value); onChanged(); } else { nameFilterBuilder_.setMessage(index, value); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder setNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.set(index, builderForValue.build()); onChanged(); } else { nameFilterBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.add(value); onChanged(); } else { nameFilterBuilder_.addMessage(value); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.add(index, value); onChanged(); } else { nameFilterBuilder_.addMessage(index, value); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.add(builderForValue.build()); onChanged(); } else { nameFilterBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.add(index, builderForValue.build()); onChanged(); } else { nameFilterBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addAllNameFilter( java.lang.Iterable values) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nameFilter_); onChanged(); } else { nameFilterBuilder_.addAllMessages(values); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder clearNameFilter() { if (nameFilterBuilder_ == null) { nameFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { nameFilterBuilder_.clear(); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder removeNameFilter(int index) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.remove(index); onChanged(); } else { nameFilterBuilder_.remove(index); } return this; } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getNameFilterBuilder( int index) { return getNameFilterFieldBuilder().getBuilder(index); } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index) { if (nameFilterBuilder_ == null) { return nameFilter_.get(index); } else { return nameFilterBuilder_.getMessageOrBuilder(index); } } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterOrBuilderList() { if (nameFilterBuilder_ != null) { return nameFilterBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nameFilter_); } } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addNameFilterBuilder() { return getNameFilterFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addNameFilterBuilder( int index) { return getNameFilterFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** *
       * No filter, means all packets for which privileges exist, are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterBuilderList() { return getNameFilterFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getNameFilterFieldBuilder() { if (nameFilterBuilder_ == null) { nameFilterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( nameFilter_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nameFilter_ = null; } return nameFilterBuilder_; } @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.PacketReplayRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.PacketReplayRequest) private static final org.yamcs.protobuf.Yamcs.PacketReplayRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.PacketReplayRequest(); } public static org.yamcs.protobuf.Yamcs.PacketReplayRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PacketReplayRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PacketReplayRequest(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.Yamcs.PacketReplayRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EventReplayRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.EventReplayRequest) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code yamcs.protobuf.EventReplayRequest} */ public static final class EventReplayRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.EventReplayRequest) EventReplayRequestOrBuilder { private static final long serialVersionUID = 0L; // Use EventReplayRequest.newBuilder() to construct. private EventReplayRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EventReplayRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EventReplayRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; 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.Yamcs.internal_static_yamcs_protobuf_EventReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_EventReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.EventReplayRequest.class, org.yamcs.protobuf.Yamcs.EventReplayRequest.Builder.class); } 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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.Yamcs.EventReplayRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.EventReplayRequest other = (org.yamcs.protobuf.Yamcs.EventReplayRequest) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.EventReplayRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.EventReplayRequest 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.Yamcs.EventReplayRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.EventReplayRequest 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.Yamcs.EventReplayRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.EventReplayRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.EventReplayRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.EventReplayRequest 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.Yamcs.EventReplayRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.EventReplayRequest 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.Yamcs.EventReplayRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.EventReplayRequest 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.Yamcs.EventReplayRequest 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.EventReplayRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.EventReplayRequest) org.yamcs.protobuf.Yamcs.EventReplayRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_EventReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_EventReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.EventReplayRequest.class, org.yamcs.protobuf.Yamcs.EventReplayRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.EventReplayRequest.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_EventReplayRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.EventReplayRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.EventReplayRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.EventReplayRequest build() { org.yamcs.protobuf.Yamcs.EventReplayRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.EventReplayRequest buildPartial() { org.yamcs.protobuf.Yamcs.EventReplayRequest result = new org.yamcs.protobuf.Yamcs.EventReplayRequest(this); 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.Yamcs.EventReplayRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.EventReplayRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.EventReplayRequest other) { if (other == org.yamcs.protobuf.Yamcs.EventReplayRequest.getDefaultInstance()) return this; 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.Yamcs.EventReplayRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.EventReplayRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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.EventReplayRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.EventReplayRequest) private static final org.yamcs.protobuf.Yamcs.EventReplayRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.EventReplayRequest(); } public static org.yamcs.protobuf.Yamcs.EventReplayRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EventReplayRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EventReplayRequest(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.Yamcs.EventReplayRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommandHistoryReplayRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.CommandHistoryReplayRequest) com.google.protobuf.MessageOrBuilder { /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ java.util.List getNameFilterList(); /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index); /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ int getNameFilterCount(); /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ java.util.List getNameFilterOrBuilderList(); /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.CommandHistoryReplayRequest} */ public static final class CommandHistoryReplayRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.CommandHistoryReplayRequest) CommandHistoryReplayRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CommandHistoryReplayRequest.newBuilder() to construct. private CommandHistoryReplayRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommandHistoryReplayRequest() { nameFilter_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandHistoryReplayRequest( 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)) { nameFilter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } nameFilter_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.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)) { nameFilter_ = java.util.Collections.unmodifiableList(nameFilter_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_CommandHistoryReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_CommandHistoryReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.class, org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.Builder.class); } public static final int NAMEFILTER_FIELD_NUMBER = 1; private java.util.List nameFilter_; /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterList() { return nameFilter_; } /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterOrBuilderList() { return nameFilter_; } /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public int getNameFilterCount() { return nameFilter_.size(); } /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index) { return nameFilter_.get(index); } /** *
     * No filter, means all command history entries are sent
     * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index) { return nameFilter_.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; for (int i = 0; i < getNameFilterCount(); i++) { if (!getNameFilter(i).isInitialized()) { memoizedIsInitialized = 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 < nameFilter_.size(); i++) { output.writeMessage(1, nameFilter_.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 < nameFilter_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, nameFilter_.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.Yamcs.CommandHistoryReplayRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest other = (org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest) obj; if (!getNameFilterList() .equals(other.getNameFilterList())) 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 (getNameFilterCount() > 0) { hash = (37 * hash) + NAMEFILTER_FIELD_NUMBER; hash = (53 * hash) + getNameFilterList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest 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.Yamcs.CommandHistoryReplayRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest 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.Yamcs.CommandHistoryReplayRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest 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.Yamcs.CommandHistoryReplayRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest 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.Yamcs.CommandHistoryReplayRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest 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.Yamcs.CommandHistoryReplayRequest 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.CommandHistoryReplayRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.CommandHistoryReplayRequest) org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_CommandHistoryReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_CommandHistoryReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.class, org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNameFilterFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (nameFilterBuilder_ == null) { nameFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { nameFilterBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_CommandHistoryReplayRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest build() { org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest buildPartial() { org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest result = new org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest(this); int from_bitField0_ = bitField0_; if (nameFilterBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { nameFilter_ = java.util.Collections.unmodifiableList(nameFilter_); bitField0_ = (bitField0_ & ~0x00000001); } result.nameFilter_ = nameFilter_; } else { result.nameFilter_ = nameFilterBuilder_.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.Yamcs.CommandHistoryReplayRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest other) { if (other == org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest.getDefaultInstance()) return this; if (nameFilterBuilder_ == null) { if (!other.nameFilter_.isEmpty()) { if (nameFilter_.isEmpty()) { nameFilter_ = other.nameFilter_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNameFilterIsMutable(); nameFilter_.addAll(other.nameFilter_); } onChanged(); } } else { if (!other.nameFilter_.isEmpty()) { if (nameFilterBuilder_.isEmpty()) { nameFilterBuilder_.dispose(); nameFilterBuilder_ = null; nameFilter_ = other.nameFilter_; bitField0_ = (bitField0_ & ~0x00000001); nameFilterBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNameFilterFieldBuilder() : null; } else { nameFilterBuilder_.addAllMessages(other.nameFilter_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getNameFilterCount(); i++) { if (!getNameFilter(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List nameFilter_ = java.util.Collections.emptyList(); private void ensureNameFilterIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameFilter_ = new java.util.ArrayList(nameFilter_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> nameFilterBuilder_; /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterList() { if (nameFilterBuilder_ == null) { return java.util.Collections.unmodifiableList(nameFilter_); } else { return nameFilterBuilder_.getMessageList(); } } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public int getNameFilterCount() { if (nameFilterBuilder_ == null) { return nameFilter_.size(); } else { return nameFilterBuilder_.getCount(); } } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getNameFilter(int index) { if (nameFilterBuilder_ == null) { return nameFilter_.get(index); } else { return nameFilterBuilder_.getMessage(index); } } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder setNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.set(index, value); onChanged(); } else { nameFilterBuilder_.setMessage(index, value); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder setNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.set(index, builderForValue.build()); onChanged(); } else { nameFilterBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.add(value); onChanged(); } else { nameFilterBuilder_.addMessage(value); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (nameFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNameFilterIsMutable(); nameFilter_.add(index, value); onChanged(); } else { nameFilterBuilder_.addMessage(index, value); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.add(builderForValue.build()); onChanged(); } else { nameFilterBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addNameFilter( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.add(index, builderForValue.build()); onChanged(); } else { nameFilterBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder addAllNameFilter( java.lang.Iterable values) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nameFilter_); onChanged(); } else { nameFilterBuilder_.addAllMessages(values); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder clearNameFilter() { if (nameFilterBuilder_ == null) { nameFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { nameFilterBuilder_.clear(); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public Builder removeNameFilter(int index) { if (nameFilterBuilder_ == null) { ensureNameFilterIsMutable(); nameFilter_.remove(index); onChanged(); } else { nameFilterBuilder_.remove(index); } return this; } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getNameFilterBuilder( int index) { return getNameFilterFieldBuilder().getBuilder(index); } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getNameFilterOrBuilder( int index) { if (nameFilterBuilder_ == null) { return nameFilter_.get(index); } else { return nameFilterBuilder_.getMessageOrBuilder(index); } } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterOrBuilderList() { if (nameFilterBuilder_ != null) { return nameFilterBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nameFilter_); } } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addNameFilterBuilder() { return getNameFilterFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addNameFilterBuilder( int index) { return getNameFilterFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** *
       * No filter, means all command history entries are sent
       * 
* * repeated .yamcs.protobuf.NamedObjectId nameFilter = 1; */ public java.util.List getNameFilterBuilderList() { return getNameFilterFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getNameFilterFieldBuilder() { if (nameFilterBuilder_ == null) { nameFilterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( nameFilter_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nameFilter_ = null; } return nameFilterBuilder_; } @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.CommandHistoryReplayRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.CommandHistoryReplayRequest) private static final org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest(); } public static org.yamcs.protobuf.Yamcs.CommandHistoryReplayRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommandHistoryReplayRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandHistoryReplayRequest(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.Yamcs.CommandHistoryReplayRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PpReplayRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.PpReplayRequest) com.google.protobuf.MessageOrBuilder { /** *
     * No filter, means all pp groups are sent
     * 
* * repeated string groupNameFilter = 1; */ java.util.List getGroupNameFilterList(); /** *
     * No filter, means all pp groups are sent
     * 
* * repeated string groupNameFilter = 1; */ int getGroupNameFilterCount(); /** *
     * No filter, means all pp groups are sent
     * 
* * repeated string groupNameFilter = 1; */ java.lang.String getGroupNameFilter(int index); /** *
     * No filter, means all pp groups are sent
     * 
* * repeated string groupNameFilter = 1; */ com.google.protobuf.ByteString getGroupNameFilterBytes(int index); /** *
     * exclude the parameters from these groups
     *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
     * 
* * repeated string groupNameExclude = 2; */ java.util.List getGroupNameExcludeList(); /** *
     * exclude the parameters from these groups
     *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
     * 
* * repeated string groupNameExclude = 2; */ int getGroupNameExcludeCount(); /** *
     * exclude the parameters from these groups
     *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
     * 
* * repeated string groupNameExclude = 2; */ java.lang.String getGroupNameExclude(int index); /** *
     * exclude the parameters from these groups
     *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
     * 
* * repeated string groupNameExclude = 2; */ com.google.protobuf.ByteString getGroupNameExcludeBytes(int index); } /** *
   *Request to replay parameters - they can be filtered by the parameter group
   * 
* * Protobuf type {@code yamcs.protobuf.PpReplayRequest} */ public static final class PpReplayRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.PpReplayRequest) PpReplayRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PpReplayRequest.newBuilder() to construct. private PpReplayRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PpReplayRequest() { groupNameFilter_ = com.google.protobuf.LazyStringArrayList.EMPTY; groupNameExclude_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PpReplayRequest( 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(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { groupNameFilter_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } groupNameFilter_.add(bs); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { groupNameExclude_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } groupNameExclude_.add(bs); 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)) { groupNameFilter_ = groupNameFilter_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { groupNameExclude_ = groupNameExclude_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PpReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PpReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.PpReplayRequest.class, org.yamcs.protobuf.Yamcs.PpReplayRequest.Builder.class); } public static final int GROUPNAMEFILTER_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList groupNameFilter_; /** *
     * No filter, means all pp groups are sent
     * 
* * repeated string groupNameFilter = 1; */ public com.google.protobuf.ProtocolStringList getGroupNameFilterList() { return groupNameFilter_; } /** *
     * No filter, means all pp groups are sent
     * 
* * repeated string groupNameFilter = 1; */ public int getGroupNameFilterCount() { return groupNameFilter_.size(); } /** *
     * No filter, means all pp groups are sent
     * 
* * repeated string groupNameFilter = 1; */ public java.lang.String getGroupNameFilter(int index) { return groupNameFilter_.get(index); } /** *
     * No filter, means all pp groups are sent
     * 
* * repeated string groupNameFilter = 1; */ public com.google.protobuf.ByteString getGroupNameFilterBytes(int index) { return groupNameFilter_.getByteString(index); } public static final int GROUPNAMEEXCLUDE_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList groupNameExclude_; /** *
     * exclude the parameters from these groups
     *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
     * 
* * repeated string groupNameExclude = 2; */ public com.google.protobuf.ProtocolStringList getGroupNameExcludeList() { return groupNameExclude_; } /** *
     * exclude the parameters from these groups
     *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
     * 
* * repeated string groupNameExclude = 2; */ public int getGroupNameExcludeCount() { return groupNameExclude_.size(); } /** *
     * exclude the parameters from these groups
     *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
     * 
* * repeated string groupNameExclude = 2; */ public java.lang.String getGroupNameExclude(int index) { return groupNameExclude_.get(index); } /** *
     * exclude the parameters from these groups
     *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
     * 
* * repeated string groupNameExclude = 2; */ public com.google.protobuf.ByteString getGroupNameExcludeBytes(int index) { return groupNameExclude_.getByteString(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 < groupNameFilter_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupNameFilter_.getRaw(i)); } for (int i = 0; i < groupNameExclude_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groupNameExclude_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < groupNameFilter_.size(); i++) { dataSize += computeStringSizeNoTag(groupNameFilter_.getRaw(i)); } size += dataSize; size += 1 * getGroupNameFilterList().size(); } { int dataSize = 0; for (int i = 0; i < groupNameExclude_.size(); i++) { dataSize += computeStringSizeNoTag(groupNameExclude_.getRaw(i)); } size += dataSize; size += 1 * getGroupNameExcludeList().size(); } 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.Yamcs.PpReplayRequest)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.PpReplayRequest other = (org.yamcs.protobuf.Yamcs.PpReplayRequest) obj; if (!getGroupNameFilterList() .equals(other.getGroupNameFilterList())) return false; if (!getGroupNameExcludeList() .equals(other.getGroupNameExcludeList())) 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 (getGroupNameFilterCount() > 0) { hash = (37 * hash) + GROUPNAMEFILTER_FIELD_NUMBER; hash = (53 * hash) + getGroupNameFilterList().hashCode(); } if (getGroupNameExcludeCount() > 0) { hash = (37 * hash) + GROUPNAMEEXCLUDE_FIELD_NUMBER; hash = (53 * hash) + getGroupNameExcludeList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.PpReplayRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.PpReplayRequest 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.Yamcs.PpReplayRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.PpReplayRequest 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.Yamcs.PpReplayRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.PpReplayRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.PpReplayRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.PpReplayRequest 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.Yamcs.PpReplayRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.PpReplayRequest 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.Yamcs.PpReplayRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.PpReplayRequest 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.Yamcs.PpReplayRequest 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; } /** *
     *Request to replay parameters - they can be filtered by the parameter group
     * 
* * Protobuf type {@code yamcs.protobuf.PpReplayRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.PpReplayRequest) org.yamcs.protobuf.Yamcs.PpReplayRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PpReplayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PpReplayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.PpReplayRequest.class, org.yamcs.protobuf.Yamcs.PpReplayRequest.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.PpReplayRequest.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(); groupNameFilter_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); groupNameExclude_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_PpReplayRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.PpReplayRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.PpReplayRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.PpReplayRequest build() { org.yamcs.protobuf.Yamcs.PpReplayRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.PpReplayRequest buildPartial() { org.yamcs.protobuf.Yamcs.PpReplayRequest result = new org.yamcs.protobuf.Yamcs.PpReplayRequest(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { groupNameFilter_ = groupNameFilter_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.groupNameFilter_ = groupNameFilter_; if (((bitField0_ & 0x00000002) != 0)) { groupNameExclude_ = groupNameExclude_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.groupNameExclude_ = groupNameExclude_; 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.Yamcs.PpReplayRequest) { return mergeFrom((org.yamcs.protobuf.Yamcs.PpReplayRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.PpReplayRequest other) { if (other == org.yamcs.protobuf.Yamcs.PpReplayRequest.getDefaultInstance()) return this; if (!other.groupNameFilter_.isEmpty()) { if (groupNameFilter_.isEmpty()) { groupNameFilter_ = other.groupNameFilter_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureGroupNameFilterIsMutable(); groupNameFilter_.addAll(other.groupNameFilter_); } onChanged(); } if (!other.groupNameExclude_.isEmpty()) { if (groupNameExclude_.isEmpty()) { groupNameExclude_ = other.groupNameExclude_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureGroupNameExcludeIsMutable(); groupNameExclude_.addAll(other.groupNameExclude_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.PpReplayRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.PpReplayRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList groupNameFilter_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGroupNameFilterIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groupNameFilter_ = new com.google.protobuf.LazyStringArrayList(groupNameFilter_); bitField0_ |= 0x00000001; } } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public com.google.protobuf.ProtocolStringList getGroupNameFilterList() { return groupNameFilter_.getUnmodifiableView(); } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public int getGroupNameFilterCount() { return groupNameFilter_.size(); } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public java.lang.String getGroupNameFilter(int index) { return groupNameFilter_.get(index); } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public com.google.protobuf.ByteString getGroupNameFilterBytes(int index) { return groupNameFilter_.getByteString(index); } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public Builder setGroupNameFilter( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureGroupNameFilterIsMutable(); groupNameFilter_.set(index, value); onChanged(); return this; } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public Builder addGroupNameFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureGroupNameFilterIsMutable(); groupNameFilter_.add(value); onChanged(); return this; } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public Builder addAllGroupNameFilter( java.lang.Iterable values) { ensureGroupNameFilterIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groupNameFilter_); onChanged(); return this; } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public Builder clearGroupNameFilter() { groupNameFilter_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * No filter, means all pp groups are sent
       * 
* * repeated string groupNameFilter = 1; */ public Builder addGroupNameFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureGroupNameFilterIsMutable(); groupNameFilter_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList groupNameExclude_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGroupNameExcludeIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { groupNameExclude_ = new com.google.protobuf.LazyStringArrayList(groupNameExclude_); bitField0_ |= 0x00000002; } } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public com.google.protobuf.ProtocolStringList getGroupNameExcludeList() { return groupNameExclude_.getUnmodifiableView(); } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public int getGroupNameExcludeCount() { return groupNameExclude_.size(); } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public java.lang.String getGroupNameExclude(int index) { return groupNameExclude_.get(index); } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public com.google.protobuf.ByteString getGroupNameExcludeBytes(int index) { return groupNameExclude_.getByteString(index); } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public Builder setGroupNameExclude( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureGroupNameExcludeIsMutable(); groupNameExclude_.set(index, value); onChanged(); return this; } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public Builder addGroupNameExclude( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureGroupNameExcludeIsMutable(); groupNameExclude_.add(value); onChanged(); return this; } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public Builder addAllGroupNameExclude( java.lang.Iterable values) { ensureGroupNameExcludeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groupNameExclude_); onChanged(); return this; } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public Builder clearGroupNameExclude() { groupNameExclude_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * exclude the parameters from these groups
       *   this takes precedence over the filter above (i.e. if a group is part of both, it will be excluded)
       * 
* * repeated string groupNameExclude = 2; */ public Builder addGroupNameExcludeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureGroupNameExcludeIsMutable(); groupNameExclude_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.PpReplayRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.PpReplayRequest) private static final org.yamcs.protobuf.Yamcs.PpReplayRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.PpReplayRequest(); } public static org.yamcs.protobuf.Yamcs.PpReplayRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PpReplayRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PpReplayRequest(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.Yamcs.PpReplayRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReplayStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.ReplayStatus) com.google.protobuf.MessageOrBuilder { /** * required .yamcs.protobuf.ReplayStatus.ReplayState state = 1; */ boolean hasState(); /** * required .yamcs.protobuf.ReplayStatus.ReplayState state = 1; */ org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState getState(); /** *
     *this is send only when answering getReplayStatus
     * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ boolean hasRequest(); /** *
     *this is send only when answering getReplayStatus
     * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ org.yamcs.protobuf.Yamcs.ReplayRequest getRequest(); /** *
     *this is send only when answering getReplayStatus
     * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder getRequestOrBuilder(); /** *
     *in case state is ERROR
     * 
* * optional string errorMessage = 3; */ boolean hasErrorMessage(); /** *
     *in case state is ERROR
     * 
* * optional string errorMessage = 3; */ java.lang.String getErrorMessage(); /** *
     *in case state is ERROR
     * 
* * optional string errorMessage = 3; */ com.google.protobuf.ByteString getErrorMessageBytes(); } /** * Protobuf type {@code yamcs.protobuf.ReplayStatus} */ public static final class ReplayStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.ReplayStatus) ReplayStatusOrBuilder { private static final long serialVersionUID = 0L; // Use ReplayStatus.newBuilder() to construct. private ReplayStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReplayStatus() { state_ = 0; errorMessage_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReplayStatus( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState value = org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; state_ = rawValue; } break; } case 18: { org.yamcs.protobuf.Yamcs.ReplayRequest.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = request_.toBuilder(); } request_ = input.readMessage(org.yamcs.protobuf.Yamcs.ReplayRequest.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; errorMessage_ = bs; 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.Yamcs.internal_static_yamcs_protobuf_ReplayStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ReplayStatus.class, org.yamcs.protobuf.Yamcs.ReplayStatus.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.ReplayStatus.ReplayState} */ public enum ReplayState implements com.google.protobuf.ProtocolMessageEnum { /** *
       * just at the beginning or when the replay request (start, stop or packet selection) changes
       * 
* * INITIALIZATION = 0; */ INITIALIZATION(0), /** * RUNNING = 1; */ RUNNING(1), /** *
       *the replay has reached the end with the endaction stop
       * 
* * STOPPED = 2; */ STOPPED(2), /** *
       *the replay stopped due to an error.
       * 
* * ERROR = 3; */ ERROR(3), /** * PAUSED = 4; */ PAUSED(4), /** *
       *the replay is finished and closed
       * 
* * CLOSED = 5; */ CLOSED(5), ; /** *
       * just at the beginning or when the replay request (start, stop or packet selection) changes
       * 
* * INITIALIZATION = 0; */ public static final int INITIALIZATION_VALUE = 0; /** * RUNNING = 1; */ public static final int RUNNING_VALUE = 1; /** *
       *the replay has reached the end with the endaction stop
       * 
* * STOPPED = 2; */ public static final int STOPPED_VALUE = 2; /** *
       *the replay stopped due to an error.
       * 
* * ERROR = 3; */ public static final int ERROR_VALUE = 3; /** * PAUSED = 4; */ public static final int PAUSED_VALUE = 4; /** *
       *the replay is finished and closed
       * 
* * CLOSED = 5; */ public static final int CLOSED_VALUE = 5; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ReplayState valueOf(int value) { return forNumber(value); } public static ReplayState forNumber(int value) { switch (value) { case 0: return INITIALIZATION; case 1: return RUNNING; case 2: return STOPPED; case 3: return ERROR; case 4: return PAUSED; case 5: return CLOSED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ReplayState> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ReplayState findValueByNumber(int number) { return ReplayState.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.ReplayStatus.getDescriptor().getEnumTypes().get(0); } private static final ReplayState[] VALUES = values(); public static ReplayState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private ReplayState(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.ReplayStatus.ReplayState) } private int bitField0_; public static final int STATE_FIELD_NUMBER = 1; private int state_; /** * required .yamcs.protobuf.ReplayStatus.ReplayState state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) != 0); } /** * required .yamcs.protobuf.ReplayStatus.ReplayState state = 1; */ public org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState getState() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState result = org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.valueOf(state_); return result == null ? org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.INITIALIZATION : result; } public static final int REQUEST_FIELD_NUMBER = 2; private org.yamcs.protobuf.Yamcs.ReplayRequest request_; /** *
     *this is send only when answering getReplayStatus
     * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public boolean hasRequest() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *this is send only when answering getReplayStatus
     * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public org.yamcs.protobuf.Yamcs.ReplayRequest getRequest() { return request_ == null ? org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance() : request_; } /** *
     *this is send only when answering getReplayStatus
     * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder getRequestOrBuilder() { return request_ == null ? org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance() : request_; } public static final int ERRORMESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object errorMessage_; /** *
     *in case state is ERROR
     * 
* * optional string errorMessage = 3; */ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *in case state is ERROR
     * 
* * optional string errorMessage = 3; */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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()) { errorMessage_ = s; } return s; } } /** *
     *in case state is ERROR
     * 
* * optional string errorMessage = 3; */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasState()) { memoizedIsInitialized = 0; return false; } if (hasRequest()) { if (!getRequest().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, state_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getRequest()); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorMessage_); } 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 .computeEnumSize(1, state_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRequest()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorMessage_); } 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.Yamcs.ReplayStatus)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.ReplayStatus other = (org.yamcs.protobuf.Yamcs.ReplayStatus) obj; if (hasState() != other.hasState()) return false; if (hasState()) { if (state_ != other.state_) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { if (!getRequest() .equals(other.getRequest())) return false; } if (hasErrorMessage() != other.hasErrorMessage()) return false; if (hasErrorMessage()) { if (!getErrorMessage() .equals(other.getErrorMessage())) 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 (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; } if (hasRequest()) { hash = (37 * hash) + REQUEST_FIELD_NUMBER; hash = (53 * hash) + getRequest().hashCode(); } if (hasErrorMessage()) { hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.ReplayStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplayStatus 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.Yamcs.ReplayStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplayStatus 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.Yamcs.ReplayStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ReplayStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.ReplayStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplayStatus 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.Yamcs.ReplayStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplayStatus 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.Yamcs.ReplayStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ReplayStatus 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.Yamcs.ReplayStatus 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.ReplayStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.ReplayStatus) org.yamcs.protobuf.Yamcs.ReplayStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ReplayStatus.class, org.yamcs.protobuf.Yamcs.ReplayStatus.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.ReplayStatus.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRequestFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); state_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (requestBuilder_ == null) { request_ = null; } else { requestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); errorMessage_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ReplayStatus_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplayStatus getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.ReplayStatus.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplayStatus build() { org.yamcs.protobuf.Yamcs.ReplayStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ReplayStatus buildPartial() { org.yamcs.protobuf.Yamcs.ReplayStatus result = new org.yamcs.protobuf.Yamcs.ReplayStatus(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.state_ = state_; if (((from_bitField0_ & 0x00000002) != 0)) { if (requestBuilder_ == null) { result.request_ = request_; } else { result.request_ = requestBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.errorMessage_ = errorMessage_; 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.Yamcs.ReplayStatus) { return mergeFrom((org.yamcs.protobuf.Yamcs.ReplayStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.ReplayStatus other) { if (other == org.yamcs.protobuf.Yamcs.ReplayStatus.getDefaultInstance()) return this; if (other.hasState()) { setState(other.getState()); } if (other.hasRequest()) { mergeRequest(other.getRequest()); } if (other.hasErrorMessage()) { bitField0_ |= 0x00000004; errorMessage_ = other.errorMessage_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasState()) { return false; } if (hasRequest()) { if (!getRequest().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.ReplayStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.ReplayStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int state_ = 0; /** * required .yamcs.protobuf.ReplayStatus.ReplayState state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) != 0); } /** * required .yamcs.protobuf.ReplayStatus.ReplayState state = 1; */ public org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState getState() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState result = org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.valueOf(state_); return result == null ? org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState.INITIALIZATION : result; } /** * required .yamcs.protobuf.ReplayStatus.ReplayState state = 1; */ public Builder setState(org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value.getNumber(); onChanged(); return this; } /** * required .yamcs.protobuf.ReplayStatus.ReplayState state = 1; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = 0; onChanged(); return this; } private org.yamcs.protobuf.Yamcs.ReplayRequest request_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplayRequest, org.yamcs.protobuf.Yamcs.ReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder> requestBuilder_; /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public boolean hasRequest() { return ((bitField0_ & 0x00000002) != 0); } /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public org.yamcs.protobuf.Yamcs.ReplayRequest getRequest() { if (requestBuilder_ == null) { return request_ == null ? org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public Builder setRequest(org.yamcs.protobuf.Yamcs.ReplayRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { requestBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public Builder setRequest( org.yamcs.protobuf.Yamcs.ReplayRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { requestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public Builder mergeRequest(org.yamcs.protobuf.Yamcs.ReplayRequest value) { if (requestBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && request_ != null && request_ != org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance()) { request_ = org.yamcs.protobuf.Yamcs.ReplayRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { requestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public Builder clearRequest() { if (requestBuilder_ == null) { request_ = null; onChanged(); } else { requestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public org.yamcs.protobuf.Yamcs.ReplayRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ public org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null ? org.yamcs.protobuf.Yamcs.ReplayRequest.getDefaultInstance() : request_; } } /** *
       *this is send only when answering getReplayStatus
       * 
* * optional .yamcs.protobuf.ReplayRequest request = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplayRequest, org.yamcs.protobuf.Yamcs.ReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.ReplayRequest, org.yamcs.protobuf.Yamcs.ReplayRequest.Builder, org.yamcs.protobuf.Yamcs.ReplayRequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } private java.lang.Object errorMessage_ = ""; /** *
       *in case state is ERROR
       * 
* * optional string errorMessage = 3; */ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *in case state is ERROR
       * 
* * optional string errorMessage = 3; */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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()) { errorMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *in case state is ERROR
       * 
* * optional string errorMessage = 3; */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *in case state is ERROR
       * 
* * optional string errorMessage = 3; */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; errorMessage_ = value; onChanged(); return this; } /** *
       *in case state is ERROR
       * 
* * optional string errorMessage = 3; */ public Builder clearErrorMessage() { bitField0_ = (bitField0_ & ~0x00000004); errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** *
       *in case state is ERROR
       * 
* * optional string errorMessage = 3; */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; errorMessage_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.ReplayStatus) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.ReplayStatus) private static final org.yamcs.protobuf.Yamcs.ReplayStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.ReplayStatus(); } public static org.yamcs.protobuf.Yamcs.ReplayStatus getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReplayStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ReplayStatus(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.Yamcs.ReplayStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TmPacketDataOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.TmPacketData) com.google.protobuf.MessageOrBuilder { /** * optional int64 yamcsReceptionTime = 1 [deprecated = true]; */ @java.lang.Deprecated boolean hasYamcsReceptionTime(); /** * optional int64 yamcsReceptionTime = 1 [deprecated = true]; */ @java.lang.Deprecated long getYamcsReceptionTime(); /** * required bytes packet = 2; */ boolean hasPacket(); /** * required bytes packet = 2; */ com.google.protobuf.ByteString getPacket(); /** * optional int64 yamcsGenerationTime = 3 [deprecated = true]; */ @java.lang.Deprecated boolean hasYamcsGenerationTime(); /** * optional int64 yamcsGenerationTime = 3 [deprecated = true]; */ @java.lang.Deprecated long getYamcsGenerationTime(); /** * optional int32 sequenceNumber = 4; */ boolean hasSequenceNumber(); /** * optional int32 sequenceNumber = 4; */ int getSequenceNumber(); /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ boolean hasId(); /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectId getId(); /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(); /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated boolean hasGenerationTimeUTC(); /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getGenerationTimeUTC(); /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getGenerationTimeUTCBytes(); /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated boolean hasReceptionTimeUTC(); /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getReceptionTimeUTC(); /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getReceptionTimeUTCBytes(); /** * optional .google.protobuf.Timestamp receptionTime = 8; */ boolean hasReceptionTime(); /** * optional .google.protobuf.Timestamp receptionTime = 8; */ com.google.protobuf.Timestamp getReceptionTime(); /** * optional .google.protobuf.Timestamp receptionTime = 8; */ com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder(); /** * optional .google.protobuf.Timestamp generationTime = 9; */ boolean hasGenerationTime(); /** * optional .google.protobuf.Timestamp generationTime = 9; */ com.google.protobuf.Timestamp getGenerationTime(); /** * optional .google.protobuf.Timestamp generationTime = 9; */ com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.TmPacketData} */ public static final class TmPacketData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.TmPacketData) TmPacketDataOrBuilder { private static final long serialVersionUID = 0L; // Use TmPacketData.newBuilder() to construct. private TmPacketData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TmPacketData() { packet_ = com.google.protobuf.ByteString.EMPTY; generationTimeUTC_ = ""; receptionTimeUTC_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TmPacketData( 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 8: { bitField0_ |= 0x00000001; yamcsReceptionTime_ = input.readInt64(); break; } case 18: { bitField0_ |= 0x00000002; packet_ = input.readBytes(); break; } case 24: { bitField0_ |= 0x00000004; yamcsGenerationTime_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; sequenceNumber_ = input.readInt32(); break; } case 42: { org.yamcs.protobuf.Yamcs.NamedObjectId.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = id_.toBuilder(); } id_ = input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(id_); id_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; generationTimeUTC_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; receptionTimeUTC_ = bs; break; } case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = receptionTime_.toBuilder(); } receptionTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(receptionTime_); receptionTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = generationTime_.toBuilder(); } generationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(generationTime_); generationTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; 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.Yamcs.internal_static_yamcs_protobuf_TmPacketData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TmPacketData_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.TmPacketData.class, org.yamcs.protobuf.Yamcs.TmPacketData.Builder.class); } private int bitField0_; public static final int YAMCSRECEPTIONTIME_FIELD_NUMBER = 1; private long yamcsReceptionTime_; /** * optional int64 yamcsReceptionTime = 1 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsReceptionTime() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 yamcsReceptionTime = 1 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsReceptionTime() { return yamcsReceptionTime_; } public static final int PACKET_FIELD_NUMBER = 2; private com.google.protobuf.ByteString packet_; /** * required bytes packet = 2; */ public boolean hasPacket() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes packet = 2; */ public com.google.protobuf.ByteString getPacket() { return packet_; } public static final int YAMCSGENERATIONTIME_FIELD_NUMBER = 3; private long yamcsGenerationTime_; /** * optional int64 yamcsGenerationTime = 3 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsGenerationTime() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 yamcsGenerationTime = 3 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsGenerationTime() { return yamcsGenerationTime_; } public static final int SEQUENCENUMBER_FIELD_NUMBER = 4; private int sequenceNumber_; /** * optional int32 sequenceNumber = 4; */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 sequenceNumber = 4; */ public int getSequenceNumber() { return sequenceNumber_; } public static final int ID_FIELD_NUMBER = 5; private org.yamcs.protobuf.Yamcs.NamedObjectId id_; /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public boolean hasId() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } public static final int GENERATIONTIMEUTC_FIELD_NUMBER = 6; private volatile java.lang.Object generationTimeUTC_; /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public boolean hasGenerationTimeUTC() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getGenerationTimeUTC() { java.lang.Object ref = generationTimeUTC_; 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()) { generationTimeUTC_ = s; } return s; } } /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getGenerationTimeUTCBytes() { java.lang.Object ref = generationTimeUTC_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); generationTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECEPTIONTIMEUTC_FIELD_NUMBER = 7; private volatile java.lang.Object receptionTimeUTC_; /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public boolean hasReceptionTimeUTC() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getReceptionTimeUTC() { java.lang.Object ref = receptionTimeUTC_; 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()) { receptionTimeUTC_ = s; } return s; } } /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getReceptionTimeUTCBytes() { java.lang.Object ref = receptionTimeUTC_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); receptionTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECEPTIONTIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp receptionTime_; /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public boolean hasReceptionTime() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public com.google.protobuf.Timestamp getReceptionTime() { return receptionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : receptionTime_; } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder() { return receptionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : receptionTime_; } public static final int GENERATIONTIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp generationTime_; /** * optional .google.protobuf.Timestamp generationTime = 9; */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public com.google.protobuf.Timestamp getGenerationTime() { return generationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : generationTime_; } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder() { return generationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : generationTime_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPacket()) { memoizedIsInitialized = 0; return false; } if (hasId()) { if (!getId().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, yamcsReceptionTime_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, packet_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, yamcsGenerationTime_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, sequenceNumber_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getId()); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, generationTimeUTC_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, receptionTimeUTC_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getReceptionTime()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getGenerationTime()); } 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 .computeInt64Size(1, yamcsReceptionTime_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, packet_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, yamcsGenerationTime_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, sequenceNumber_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getId()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, generationTimeUTC_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, receptionTimeUTC_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getReceptionTime()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getGenerationTime()); } 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.Yamcs.TmPacketData)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.TmPacketData other = (org.yamcs.protobuf.Yamcs.TmPacketData) obj; if (hasYamcsReceptionTime() != other.hasYamcsReceptionTime()) return false; if (hasYamcsReceptionTime()) { if (getYamcsReceptionTime() != other.getYamcsReceptionTime()) return false; } if (hasPacket() != other.hasPacket()) return false; if (hasPacket()) { if (!getPacket() .equals(other.getPacket())) return false; } if (hasYamcsGenerationTime() != other.hasYamcsGenerationTime()) return false; if (hasYamcsGenerationTime()) { if (getYamcsGenerationTime() != other.getYamcsGenerationTime()) return false; } if (hasSequenceNumber() != other.hasSequenceNumber()) return false; if (hasSequenceNumber()) { if (getSequenceNumber() != other.getSequenceNumber()) return false; } if (hasId() != other.hasId()) return false; if (hasId()) { if (!getId() .equals(other.getId())) return false; } if (hasGenerationTimeUTC() != other.hasGenerationTimeUTC()) return false; if (hasGenerationTimeUTC()) { if (!getGenerationTimeUTC() .equals(other.getGenerationTimeUTC())) return false; } if (hasReceptionTimeUTC() != other.hasReceptionTimeUTC()) return false; if (hasReceptionTimeUTC()) { if (!getReceptionTimeUTC() .equals(other.getReceptionTimeUTC())) return false; } if (hasReceptionTime() != other.hasReceptionTime()) return false; if (hasReceptionTime()) { if (!getReceptionTime() .equals(other.getReceptionTime())) return false; } if (hasGenerationTime() != other.hasGenerationTime()) return false; if (hasGenerationTime()) { if (!getGenerationTime() .equals(other.getGenerationTime())) 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 (hasYamcsReceptionTime()) { hash = (37 * hash) + YAMCSRECEPTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getYamcsReceptionTime()); } if (hasPacket()) { hash = (37 * hash) + PACKET_FIELD_NUMBER; hash = (53 * hash) + getPacket().hashCode(); } if (hasYamcsGenerationTime()) { hash = (37 * hash) + YAMCSGENERATIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getYamcsGenerationTime()); } if (hasSequenceNumber()) { hash = (37 * hash) + SEQUENCENUMBER_FIELD_NUMBER; hash = (53 * hash) + getSequenceNumber(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } if (hasGenerationTimeUTC()) { hash = (37 * hash) + GENERATIONTIMEUTC_FIELD_NUMBER; hash = (53 * hash) + getGenerationTimeUTC().hashCode(); } if (hasReceptionTimeUTC()) { hash = (37 * hash) + RECEPTIONTIMEUTC_FIELD_NUMBER; hash = (53 * hash) + getReceptionTimeUTC().hashCode(); } if (hasReceptionTime()) { hash = (37 * hash) + RECEPTIONTIME_FIELD_NUMBER; hash = (53 * hash) + getReceptionTime().hashCode(); } if (hasGenerationTime()) { hash = (37 * hash) + GENERATIONTIME_FIELD_NUMBER; hash = (53 * hash) + getGenerationTime().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.TmPacketData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TmPacketData 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.Yamcs.TmPacketData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TmPacketData 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.Yamcs.TmPacketData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TmPacketData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.TmPacketData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TmPacketData 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.Yamcs.TmPacketData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TmPacketData 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.Yamcs.TmPacketData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TmPacketData 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.Yamcs.TmPacketData 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.TmPacketData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.TmPacketData) org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TmPacketData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TmPacketData_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.TmPacketData.class, org.yamcs.protobuf.Yamcs.TmPacketData.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.TmPacketData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIdFieldBuilder(); getReceptionTimeFieldBuilder(); getGenerationTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); yamcsReceptionTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); packet_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); yamcsGenerationTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); sequenceNumber_ = 0; bitField0_ = (bitField0_ & ~0x00000008); if (idBuilder_ == null) { id_ = null; } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); generationTimeUTC_ = ""; bitField0_ = (bitField0_ & ~0x00000020); receptionTimeUTC_ = ""; bitField0_ = (bitField0_ & ~0x00000040); if (receptionTimeBuilder_ == null) { receptionTime_ = null; } else { receptionTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (generationTimeBuilder_ == null) { generationTime_ = null; } else { generationTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TmPacketData_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.TmPacketData getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.TmPacketData build() { org.yamcs.protobuf.Yamcs.TmPacketData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.TmPacketData buildPartial() { org.yamcs.protobuf.Yamcs.TmPacketData result = new org.yamcs.protobuf.Yamcs.TmPacketData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.yamcsReceptionTime_ = yamcsReceptionTime_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.packet_ = packet_; if (((from_bitField0_ & 0x00000004) != 0)) { result.yamcsGenerationTime_ = yamcsGenerationTime_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.sequenceNumber_ = sequenceNumber_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (idBuilder_ == null) { result.id_ = id_; } else { result.id_ = idBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.generationTimeUTC_ = generationTimeUTC_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.receptionTimeUTC_ = receptionTimeUTC_; if (((from_bitField0_ & 0x00000080) != 0)) { if (receptionTimeBuilder_ == null) { result.receptionTime_ = receptionTime_; } else { result.receptionTime_ = receptionTimeBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { if (generationTimeBuilder_ == null) { result.generationTime_ = generationTime_; } else { result.generationTime_ = generationTimeBuilder_.build(); } to_bitField0_ |= 0x00000100; } 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.Yamcs.TmPacketData) { return mergeFrom((org.yamcs.protobuf.Yamcs.TmPacketData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.TmPacketData other) { if (other == org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance()) return this; if (other.hasYamcsReceptionTime()) { setYamcsReceptionTime(other.getYamcsReceptionTime()); } if (other.hasPacket()) { setPacket(other.getPacket()); } if (other.hasYamcsGenerationTime()) { setYamcsGenerationTime(other.getYamcsGenerationTime()); } if (other.hasSequenceNumber()) { setSequenceNumber(other.getSequenceNumber()); } if (other.hasId()) { mergeId(other.getId()); } if (other.hasGenerationTimeUTC()) { bitField0_ |= 0x00000020; generationTimeUTC_ = other.generationTimeUTC_; onChanged(); } if (other.hasReceptionTimeUTC()) { bitField0_ |= 0x00000040; receptionTimeUTC_ = other.receptionTimeUTC_; onChanged(); } if (other.hasReceptionTime()) { mergeReceptionTime(other.getReceptionTime()); } if (other.hasGenerationTime()) { mergeGenerationTime(other.getGenerationTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasPacket()) { return false; } if (hasId()) { if (!getId().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.TmPacketData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.TmPacketData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long yamcsReceptionTime_ ; /** * optional int64 yamcsReceptionTime = 1 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsReceptionTime() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 yamcsReceptionTime = 1 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsReceptionTime() { return yamcsReceptionTime_; } /** * optional int64 yamcsReceptionTime = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder setYamcsReceptionTime(long value) { bitField0_ |= 0x00000001; yamcsReceptionTime_ = value; onChanged(); return this; } /** * optional int64 yamcsReceptionTime = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder clearYamcsReceptionTime() { bitField0_ = (bitField0_ & ~0x00000001); yamcsReceptionTime_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString packet_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes packet = 2; */ public boolean hasPacket() { return ((bitField0_ & 0x00000002) != 0); } /** * required bytes packet = 2; */ public com.google.protobuf.ByteString getPacket() { return packet_; } /** * required bytes packet = 2; */ public Builder setPacket(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; packet_ = value; onChanged(); return this; } /** * required bytes packet = 2; */ public Builder clearPacket() { bitField0_ = (bitField0_ & ~0x00000002); packet_ = getDefaultInstance().getPacket(); onChanged(); return this; } private long yamcsGenerationTime_ ; /** * optional int64 yamcsGenerationTime = 3 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsGenerationTime() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 yamcsGenerationTime = 3 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsGenerationTime() { return yamcsGenerationTime_; } /** * optional int64 yamcsGenerationTime = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder setYamcsGenerationTime(long value) { bitField0_ |= 0x00000004; yamcsGenerationTime_ = value; onChanged(); return this; } /** * optional int64 yamcsGenerationTime = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder clearYamcsGenerationTime() { bitField0_ = (bitField0_ & ~0x00000004); yamcsGenerationTime_ = 0L; onChanged(); return this; } private int sequenceNumber_ ; /** * optional int32 sequenceNumber = 4; */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 sequenceNumber = 4; */ public int getSequenceNumber() { return sequenceNumber_; } /** * optional int32 sequenceNumber = 4; */ public Builder setSequenceNumber(int value) { bitField0_ |= 0x00000008; sequenceNumber_ = value; onChanged(); return this; } /** * optional int32 sequenceNumber = 4; */ public Builder clearSequenceNumber() { bitField0_ = (bitField0_ & ~0x00000008); sequenceNumber_ = 0; onChanged(); return this; } private org.yamcs.protobuf.Yamcs.NamedObjectId id_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_; /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public boolean hasId() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { if (idBuilder_ == null) { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public Builder setId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); } else { idBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public Builder setId( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { id_ = builderForValue.build(); onChanged(); } else { idBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public Builder mergeId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && id_ != null && id_ != org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()) { id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public Builder clearId() { if (idBuilder_ == null) { id_ = null; onChanged(); } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder() { bitField0_ |= 0x00000010; onChanged(); return getIdFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilder(); } else { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } } /** * optional .yamcs.protobuf.NamedObjectId id = 5; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( getId(), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } private java.lang.Object generationTimeUTC_ = ""; /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public boolean hasGenerationTimeUTC() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getGenerationTimeUTC() { java.lang.Object ref = generationTimeUTC_; 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()) { generationTimeUTC_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getGenerationTimeUTCBytes() { java.lang.Object ref = generationTimeUTC_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); generationTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public Builder setGenerationTimeUTC( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; generationTimeUTC_ = value; onChanged(); return this; } /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public Builder clearGenerationTimeUTC() { bitField0_ = (bitField0_ & ~0x00000020); generationTimeUTC_ = getDefaultInstance().getGenerationTimeUTC(); onChanged(); return this; } /** * optional string generationTimeUTC = 6 [deprecated = true]; */ @java.lang.Deprecated public Builder setGenerationTimeUTCBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; generationTimeUTC_ = value; onChanged(); return this; } private java.lang.Object receptionTimeUTC_ = ""; /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public boolean hasReceptionTimeUTC() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getReceptionTimeUTC() { java.lang.Object ref = receptionTimeUTC_; 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()) { receptionTimeUTC_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getReceptionTimeUTCBytes() { java.lang.Object ref = receptionTimeUTC_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); receptionTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder setReceptionTimeUTC( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; receptionTimeUTC_ = value; onChanged(); return this; } /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder clearReceptionTimeUTC() { bitField0_ = (bitField0_ & ~0x00000040); receptionTimeUTC_ = getDefaultInstance().getReceptionTimeUTC(); onChanged(); return this; } /** * optional string receptionTimeUTC = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder setReceptionTimeUTCBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; receptionTimeUTC_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp receptionTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> receptionTimeBuilder_; /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public boolean hasReceptionTime() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public com.google.protobuf.Timestamp getReceptionTime() { if (receptionTimeBuilder_ == null) { return receptionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : receptionTime_; } else { return receptionTimeBuilder_.getMessage(); } } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public Builder setReceptionTime(com.google.protobuf.Timestamp value) { if (receptionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } receptionTime_ = value; onChanged(); } else { receptionTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public Builder setReceptionTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (receptionTimeBuilder_ == null) { receptionTime_ = builderForValue.build(); onChanged(); } else { receptionTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public Builder mergeReceptionTime(com.google.protobuf.Timestamp value) { if (receptionTimeBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && receptionTime_ != null && receptionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { receptionTime_ = com.google.protobuf.Timestamp.newBuilder(receptionTime_).mergeFrom(value).buildPartial(); } else { receptionTime_ = value; } onChanged(); } else { receptionTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public Builder clearReceptionTime() { if (receptionTimeBuilder_ == null) { receptionTime_ = null; onChanged(); } else { receptionTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public com.google.protobuf.Timestamp.Builder getReceptionTimeBuilder() { bitField0_ |= 0x00000080; onChanged(); return getReceptionTimeFieldBuilder().getBuilder(); } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ public com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder() { if (receptionTimeBuilder_ != null) { return receptionTimeBuilder_.getMessageOrBuilder(); } else { return receptionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : receptionTime_; } } /** * optional .google.protobuf.Timestamp receptionTime = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getReceptionTimeFieldBuilder() { if (receptionTimeBuilder_ == null) { receptionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getReceptionTime(), getParentForChildren(), isClean()); receptionTime_ = null; } return receptionTimeBuilder_; } private com.google.protobuf.Timestamp generationTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> generationTimeBuilder_; /** * optional .google.protobuf.Timestamp generationTime = 9; */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public com.google.protobuf.Timestamp getGenerationTime() { if (generationTimeBuilder_ == null) { return generationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : generationTime_; } else { return generationTimeBuilder_.getMessage(); } } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public Builder setGenerationTime(com.google.protobuf.Timestamp value) { if (generationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } generationTime_ = value; onChanged(); } else { generationTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public Builder setGenerationTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (generationTimeBuilder_ == null) { generationTime_ = builderForValue.build(); onChanged(); } else { generationTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public Builder mergeGenerationTime(com.google.protobuf.Timestamp value) { if (generationTimeBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && generationTime_ != null && generationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { generationTime_ = com.google.protobuf.Timestamp.newBuilder(generationTime_).mergeFrom(value).buildPartial(); } else { generationTime_ = value; } onChanged(); } else { generationTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public Builder clearGenerationTime() { if (generationTimeBuilder_ == null) { generationTime_ = null; onChanged(); } else { generationTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public com.google.protobuf.Timestamp.Builder getGenerationTimeBuilder() { bitField0_ |= 0x00000100; onChanged(); return getGenerationTimeFieldBuilder().getBuilder(); } /** * optional .google.protobuf.Timestamp generationTime = 9; */ public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder() { if (generationTimeBuilder_ != null) { return generationTimeBuilder_.getMessageOrBuilder(); } else { return generationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : generationTime_; } } /** * optional .google.protobuf.Timestamp generationTime = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getGenerationTimeFieldBuilder() { if (generationTimeBuilder_ == null) { generationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getGenerationTime(), getParentForChildren(), isClean()); generationTime_ = null; } return generationTimeBuilder_; } @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.TmPacketData) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.TmPacketData) private static final org.yamcs.protobuf.Yamcs.TmPacketData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.TmPacketData(); } public static org.yamcs.protobuf.Yamcs.TmPacketData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TmPacketData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TmPacketData(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.Yamcs.TmPacketData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.TimeInfo) com.google.protobuf.MessageOrBuilder { /** * optional int64 yamcsCurrentTime = 1 [deprecated = true]; */ @java.lang.Deprecated boolean hasYamcsCurrentTime(); /** * optional int64 yamcsCurrentTime = 1 [deprecated = true]; */ @java.lang.Deprecated long getYamcsCurrentTime(); /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated boolean hasCurrentTimeUTC(); /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getCurrentTimeUTC(); /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getCurrentTimeUTCBytes(); /** * optional .google.protobuf.Timestamp currentTime = 3; */ boolean hasCurrentTime(); /** * optional .google.protobuf.Timestamp currentTime = 3; */ com.google.protobuf.Timestamp getCurrentTime(); /** * optional .google.protobuf.Timestamp currentTime = 3; */ com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.TimeInfo} */ public static final class TimeInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.TimeInfo) TimeInfoOrBuilder { private static final long serialVersionUID = 0L; // Use TimeInfo.newBuilder() to construct. private TimeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimeInfo() { currentTimeUTC_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimeInfo( 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 8: { bitField0_ |= 0x00000001; yamcsCurrentTime_ = input.readInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; currentTimeUTC_ = bs; break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = currentTime_.toBuilder(); } currentTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(currentTime_); currentTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; 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.Yamcs.internal_static_yamcs_protobuf_TimeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TimeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.TimeInfo.class, org.yamcs.protobuf.Yamcs.TimeInfo.Builder.class); } private int bitField0_; public static final int YAMCSCURRENTTIME_FIELD_NUMBER = 1; private long yamcsCurrentTime_; /** * optional int64 yamcsCurrentTime = 1 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsCurrentTime() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 yamcsCurrentTime = 1 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsCurrentTime() { return yamcsCurrentTime_; } public static final int CURRENTTIMEUTC_FIELD_NUMBER = 2; private volatile java.lang.Object currentTimeUTC_; /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public boolean hasCurrentTimeUTC() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getCurrentTimeUTC() { java.lang.Object ref = currentTimeUTC_; 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()) { currentTimeUTC_ = s; } return s; } } /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getCurrentTimeUTCBytes() { java.lang.Object ref = currentTimeUTC_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currentTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CURRENTTIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp currentTime_; /** * optional .google.protobuf.Timestamp currentTime = 3; */ public boolean hasCurrentTime() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public com.google.protobuf.Timestamp getCurrentTime() { return currentTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTime_; } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder() { return currentTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTime_; } 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.writeInt64(1, yamcsCurrentTime_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, currentTimeUTC_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getCurrentTime()); } 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 .computeInt64Size(1, yamcsCurrentTime_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, currentTimeUTC_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getCurrentTime()); } 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.Yamcs.TimeInfo)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.TimeInfo other = (org.yamcs.protobuf.Yamcs.TimeInfo) obj; if (hasYamcsCurrentTime() != other.hasYamcsCurrentTime()) return false; if (hasYamcsCurrentTime()) { if (getYamcsCurrentTime() != other.getYamcsCurrentTime()) return false; } if (hasCurrentTimeUTC() != other.hasCurrentTimeUTC()) return false; if (hasCurrentTimeUTC()) { if (!getCurrentTimeUTC() .equals(other.getCurrentTimeUTC())) return false; } if (hasCurrentTime() != other.hasCurrentTime()) return false; if (hasCurrentTime()) { if (!getCurrentTime() .equals(other.getCurrentTime())) 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 (hasYamcsCurrentTime()) { hash = (37 * hash) + YAMCSCURRENTTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getYamcsCurrentTime()); } if (hasCurrentTimeUTC()) { hash = (37 * hash) + CURRENTTIMEUTC_FIELD_NUMBER; hash = (53 * hash) + getCurrentTimeUTC().hashCode(); } if (hasCurrentTime()) { hash = (37 * hash) + CURRENTTIME_FIELD_NUMBER; hash = (53 * hash) + getCurrentTime().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.TimeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TimeInfo 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.Yamcs.TimeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TimeInfo 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.Yamcs.TimeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.TimeInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.TimeInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TimeInfo 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.Yamcs.TimeInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TimeInfo 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.Yamcs.TimeInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.TimeInfo 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.Yamcs.TimeInfo 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.TimeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.TimeInfo) org.yamcs.protobuf.Yamcs.TimeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TimeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TimeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.TimeInfo.class, org.yamcs.protobuf.Yamcs.TimeInfo.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.TimeInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCurrentTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); yamcsCurrentTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); currentTimeUTC_ = ""; bitField0_ = (bitField0_ & ~0x00000002); if (currentTimeBuilder_ == null) { currentTime_ = null; } else { currentTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_TimeInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.TimeInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.TimeInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.TimeInfo build() { org.yamcs.protobuf.Yamcs.TimeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.TimeInfo buildPartial() { org.yamcs.protobuf.Yamcs.TimeInfo result = new org.yamcs.protobuf.Yamcs.TimeInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.yamcsCurrentTime_ = yamcsCurrentTime_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.currentTimeUTC_ = currentTimeUTC_; if (((from_bitField0_ & 0x00000004) != 0)) { if (currentTimeBuilder_ == null) { result.currentTime_ = currentTime_; } else { result.currentTime_ = currentTimeBuilder_.build(); } 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.Yamcs.TimeInfo) { return mergeFrom((org.yamcs.protobuf.Yamcs.TimeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.TimeInfo other) { if (other == org.yamcs.protobuf.Yamcs.TimeInfo.getDefaultInstance()) return this; if (other.hasYamcsCurrentTime()) { setYamcsCurrentTime(other.getYamcsCurrentTime()); } if (other.hasCurrentTimeUTC()) { bitField0_ |= 0x00000002; currentTimeUTC_ = other.currentTimeUTC_; onChanged(); } if (other.hasCurrentTime()) { mergeCurrentTime(other.getCurrentTime()); } 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.Yamcs.TimeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.TimeInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long yamcsCurrentTime_ ; /** * optional int64 yamcsCurrentTime = 1 [deprecated = true]; */ @java.lang.Deprecated public boolean hasYamcsCurrentTime() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 yamcsCurrentTime = 1 [deprecated = true]; */ @java.lang.Deprecated public long getYamcsCurrentTime() { return yamcsCurrentTime_; } /** * optional int64 yamcsCurrentTime = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder setYamcsCurrentTime(long value) { bitField0_ |= 0x00000001; yamcsCurrentTime_ = value; onChanged(); return this; } /** * optional int64 yamcsCurrentTime = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder clearYamcsCurrentTime() { bitField0_ = (bitField0_ & ~0x00000001); yamcsCurrentTime_ = 0L; onChanged(); return this; } private java.lang.Object currentTimeUTC_ = ""; /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public boolean hasCurrentTimeUTC() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getCurrentTimeUTC() { java.lang.Object ref = currentTimeUTC_; 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()) { currentTimeUTC_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getCurrentTimeUTCBytes() { java.lang.Object ref = currentTimeUTC_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currentTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public Builder setCurrentTimeUTC( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; currentTimeUTC_ = value; onChanged(); return this; } /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public Builder clearCurrentTimeUTC() { bitField0_ = (bitField0_ & ~0x00000002); currentTimeUTC_ = getDefaultInstance().getCurrentTimeUTC(); onChanged(); return this; } /** * optional string currentTimeUTC = 2 [deprecated = true]; */ @java.lang.Deprecated public Builder setCurrentTimeUTCBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; currentTimeUTC_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp currentTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> currentTimeBuilder_; /** * optional .google.protobuf.Timestamp currentTime = 3; */ public boolean hasCurrentTime() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public com.google.protobuf.Timestamp getCurrentTime() { if (currentTimeBuilder_ == null) { return currentTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTime_; } else { return currentTimeBuilder_.getMessage(); } } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public Builder setCurrentTime(com.google.protobuf.Timestamp value) { if (currentTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } currentTime_ = value; onChanged(); } else { currentTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public Builder setCurrentTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (currentTimeBuilder_ == null) { currentTime_ = builderForValue.build(); onChanged(); } else { currentTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public Builder mergeCurrentTime(com.google.protobuf.Timestamp value) { if (currentTimeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && currentTime_ != null && currentTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { currentTime_ = com.google.protobuf.Timestamp.newBuilder(currentTime_).mergeFrom(value).buildPartial(); } else { currentTime_ = value; } onChanged(); } else { currentTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public Builder clearCurrentTime() { if (currentTimeBuilder_ == null) { currentTime_ = null; onChanged(); } else { currentTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public com.google.protobuf.Timestamp.Builder getCurrentTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCurrentTimeFieldBuilder().getBuilder(); } /** * optional .google.protobuf.Timestamp currentTime = 3; */ public com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder() { if (currentTimeBuilder_ != null) { return currentTimeBuilder_.getMessageOrBuilder(); } else { return currentTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTime_; } } /** * optional .google.protobuf.Timestamp currentTime = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCurrentTimeFieldBuilder() { if (currentTimeBuilder_ == null) { currentTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCurrentTime(), getParentForChildren(), isClean()); currentTime_ = null; } return currentTimeBuilder_; } @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.TimeInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.TimeInfo) private static final org.yamcs.protobuf.Yamcs.TimeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.TimeInfo(); } public static org.yamcs.protobuf.Yamcs.TimeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TimeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TimeInfo(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.Yamcs.TimeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EventOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.Event) com.google.protobuf.GeneratedMessageV3. ExtendableMessageOrBuilder { /** * required string source = 1; */ boolean hasSource(); /** * required string source = 1; */ java.lang.String getSource(); /** * required string source = 1; */ com.google.protobuf.ByteString getSourceBytes(); /** * required int64 generationTime = 2; */ boolean hasGenerationTime(); /** * required int64 generationTime = 2; */ long getGenerationTime(); /** * optional int64 receptionTime = 3; */ boolean hasReceptionTime(); /** * optional int64 receptionTime = 3; */ long getReceptionTime(); /** * optional int32 seqNumber = 4; */ boolean hasSeqNumber(); /** * optional int32 seqNumber = 4; */ int getSeqNumber(); /** * optional string type = 5; */ boolean hasType(); /** * optional string type = 5; */ java.lang.String getType(); /** * optional string type = 5; */ com.google.protobuf.ByteString getTypeBytes(); /** * required string message = 6; */ boolean hasMessage(); /** * required string message = 6; */ java.lang.String getMessage(); /** * required string message = 6; */ com.google.protobuf.ByteString getMessageBytes(); /** * optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO]; */ boolean hasSeverity(); /** * optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO]; */ org.yamcs.protobuf.Yamcs.Event.EventSeverity getSeverity(); /** * optional string generationTimeUTC = 8; */ boolean hasGenerationTimeUTC(); /** * optional string generationTimeUTC = 8; */ java.lang.String getGenerationTimeUTC(); /** * optional string generationTimeUTC = 8; */ com.google.protobuf.ByteString getGenerationTimeUTCBytes(); /** * optional string receptionTimeUTC = 9; */ boolean hasReceptionTimeUTC(); /** * optional string receptionTimeUTC = 9; */ java.lang.String getReceptionTimeUTC(); /** * optional string receptionTimeUTC = 9; */ com.google.protobuf.ByteString getReceptionTimeUTCBytes(); /** *
     * Set by API when event was posted by a user
     * 
* * optional string createdBy = 10; */ boolean hasCreatedBy(); /** *
     * Set by API when event was posted by a user
     * 
* * optional string createdBy = 10; */ java.lang.String getCreatedBy(); /** *
     * Set by API when event was posted by a user
     * 
* * optional string createdBy = 10; */ com.google.protobuf.ByteString getCreatedByBytes(); } /** * Protobuf type {@code yamcs.protobuf.Event} */ public static final class Event extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage< Event> implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.Event) EventOrBuilder { private static final long serialVersionUID = 0L; // Use Event.newBuilder() to construct. private Event(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) { super(builder); } private Event() { source_ = ""; type_ = ""; message_ = ""; severity_ = 0; generationTimeUTC_ = ""; receptionTimeUTC_ = ""; createdBy_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Event( 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; source_ = bs; break; } case 16: { bitField0_ |= 0x00000002; generationTime_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; receptionTime_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; seqNumber_ = input.readInt32(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; type_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; message_ = bs; break; } case 56: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.Event.EventSeverity value = org.yamcs.protobuf.Yamcs.Event.EventSeverity.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(7, rawValue); } else { bitField0_ |= 0x00000040; severity_ = rawValue; } break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; generationTimeUTC_ = bs; break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; receptionTimeUTC_ = bs; break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; createdBy_ = bs; 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.Yamcs.internal_static_yamcs_protobuf_Event_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Event_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.Event.class, org.yamcs.protobuf.Yamcs.Event.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.Event.EventSeverity} */ public enum EventSeverity implements com.google.protobuf.ProtocolMessageEnum { /** * INFO = 0; */ INFO(0), /** * WARNING = 1; */ WARNING(1), /** * ERROR = 2; */ ERROR(2), /** *
       *the levels below are compatible with XTCE
       * we left the 4 out since it could be used 
       * for warning if we ever decide to get rid of the old ones
       * 
* * WATCH = 3; */ WATCH(3), /** * DISTRESS = 5; */ DISTRESS(5), /** * CRITICAL = 6; */ CRITICAL(6), /** * SEVERE = 7; */ SEVERE(7), ; /** * INFO = 0; */ public static final int INFO_VALUE = 0; /** * WARNING = 1; */ public static final int WARNING_VALUE = 1; /** * ERROR = 2; */ public static final int ERROR_VALUE = 2; /** *
       *the levels below are compatible with XTCE
       * we left the 4 out since it could be used 
       * for warning if we ever decide to get rid of the old ones
       * 
* * WATCH = 3; */ public static final int WATCH_VALUE = 3; /** * DISTRESS = 5; */ public static final int DISTRESS_VALUE = 5; /** * CRITICAL = 6; */ public static final int CRITICAL_VALUE = 6; /** * SEVERE = 7; */ public static final int SEVERE_VALUE = 7; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static EventSeverity valueOf(int value) { return forNumber(value); } public static EventSeverity forNumber(int value) { switch (value) { case 0: return INFO; case 1: return WARNING; case 2: return ERROR; case 3: return WATCH; case 5: return DISTRESS; case 6: return CRITICAL; case 7: return SEVERE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< EventSeverity> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EventSeverity findValueByNumber(int number) { return EventSeverity.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.Event.getDescriptor().getEnumTypes().get(0); } private static final EventSeverity[] VALUES = values(); public static EventSeverity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private EventSeverity(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.Event.EventSeverity) } private int bitField0_; public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** * required string source = 1; */ public boolean hasSource() { return ((bitField0_ & 0x00000001) != 0); } /** * required string source = 1; */ public java.lang.String getSource() { java.lang.Object ref = source_; 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()) { source_ = s; } return s; } } /** * required string source = 1; */ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GENERATIONTIME_FIELD_NUMBER = 2; private long generationTime_; /** * required int64 generationTime = 2; */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000002) != 0); } /** * required int64 generationTime = 2; */ public long getGenerationTime() { return generationTime_; } public static final int RECEPTIONTIME_FIELD_NUMBER = 3; private long receptionTime_; /** * optional int64 receptionTime = 3; */ public boolean hasReceptionTime() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 receptionTime = 3; */ public long getReceptionTime() { return receptionTime_; } public static final int SEQNUMBER_FIELD_NUMBER = 4; private int seqNumber_; /** * optional int32 seqNumber = 4; */ public boolean hasSeqNumber() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 seqNumber = 4; */ public int getSeqNumber() { return seqNumber_; } public static final int TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object type_; /** * optional string type = 5; */ public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string type = 5; */ public java.lang.String getType() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } } /** * optional string type = 5; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 6; private volatile java.lang.Object message_; /** * required string message = 6; */ public boolean hasMessage() { return ((bitField0_ & 0x00000020) != 0); } /** * required string message = 6; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } } /** * required string message = 6; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEVERITY_FIELD_NUMBER = 7; private int severity_; /** * optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO]; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO]; */ public org.yamcs.protobuf.Yamcs.Event.EventSeverity getSeverity() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.Event.EventSeverity result = org.yamcs.protobuf.Yamcs.Event.EventSeverity.valueOf(severity_); return result == null ? org.yamcs.protobuf.Yamcs.Event.EventSeverity.INFO : result; } public static final int GENERATIONTIMEUTC_FIELD_NUMBER = 8; private volatile java.lang.Object generationTimeUTC_; /** * optional string generationTimeUTC = 8; */ public boolean hasGenerationTimeUTC() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string generationTimeUTC = 8; */ public java.lang.String getGenerationTimeUTC() { java.lang.Object ref = generationTimeUTC_; 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()) { generationTimeUTC_ = s; } return s; } } /** * optional string generationTimeUTC = 8; */ public com.google.protobuf.ByteString getGenerationTimeUTCBytes() { java.lang.Object ref = generationTimeUTC_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); generationTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECEPTIONTIMEUTC_FIELD_NUMBER = 9; private volatile java.lang.Object receptionTimeUTC_; /** * optional string receptionTimeUTC = 9; */ public boolean hasReceptionTimeUTC() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string receptionTimeUTC = 9; */ public java.lang.String getReceptionTimeUTC() { java.lang.Object ref = receptionTimeUTC_; 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()) { receptionTimeUTC_ = s; } return s; } } /** * optional string receptionTimeUTC = 9; */ public com.google.protobuf.ByteString getReceptionTimeUTCBytes() { java.lang.Object ref = receptionTimeUTC_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); receptionTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATEDBY_FIELD_NUMBER = 10; private volatile java.lang.Object createdBy_; /** *
     * Set by API when event was posted by a user
     * 
* * optional string createdBy = 10; */ public boolean hasCreatedBy() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Set by API when event was posted by a user
     * 
* * optional string createdBy = 10; */ public java.lang.String getCreatedBy() { java.lang.Object ref = createdBy_; 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()) { createdBy_ = s; } return s; } } /** *
     * Set by API when event was posted by a user
     * 
* * optional string createdBy = 10; */ public com.google.protobuf.ByteString getCreatedByBytes() { java.lang.Object ref = createdBy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createdBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasSource()) { memoizedIsInitialized = 0; return false; } if (!hasGenerationTime()) { memoizedIsInitialized = 0; return false; } if (!hasMessage()) { memoizedIsInitialized = 0; return false; } if (!extensionsAreInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { com.google.protobuf.GeneratedMessageV3 .ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, generationTime_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, receptionTime_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, seqNumber_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, type_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, message_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeEnum(7, severity_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, generationTimeUTC_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, receptionTimeUTC_); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, createdBy_); } extensionWriter.writeUntil(10001, output); 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, source_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, generationTime_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, receptionTime_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, seqNumber_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, type_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, message_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, severity_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, generationTimeUTC_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, receptionTimeUTC_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, createdBy_); } size += extensionsSerializedSize(); 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.Yamcs.Event)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.Event other = (org.yamcs.protobuf.Yamcs.Event) obj; if (hasSource() != other.hasSource()) return false; if (hasSource()) { if (!getSource() .equals(other.getSource())) return false; } if (hasGenerationTime() != other.hasGenerationTime()) return false; if (hasGenerationTime()) { if (getGenerationTime() != other.getGenerationTime()) return false; } if (hasReceptionTime() != other.hasReceptionTime()) return false; if (hasReceptionTime()) { if (getReceptionTime() != other.getReceptionTime()) return false; } if (hasSeqNumber() != other.hasSeqNumber()) return false; if (hasSeqNumber()) { if (getSeqNumber() != other.getSeqNumber()) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (hasMessage() != other.hasMessage()) return false; if (hasMessage()) { if (!getMessage() .equals(other.getMessage())) return false; } if (hasSeverity() != other.hasSeverity()) return false; if (hasSeverity()) { if (severity_ != other.severity_) return false; } if (hasGenerationTimeUTC() != other.hasGenerationTimeUTC()) return false; if (hasGenerationTimeUTC()) { if (!getGenerationTimeUTC() .equals(other.getGenerationTimeUTC())) return false; } if (hasReceptionTimeUTC() != other.hasReceptionTimeUTC()) return false; if (hasReceptionTimeUTC()) { if (!getReceptionTimeUTC() .equals(other.getReceptionTimeUTC())) return false; } if (hasCreatedBy() != other.hasCreatedBy()) return false; if (hasCreatedBy()) { if (!getCreatedBy() .equals(other.getCreatedBy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; if (!getExtensionFields().equals(other.getExtensionFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSource()) { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource().hashCode(); } if (hasGenerationTime()) { hash = (37 * hash) + GENERATIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGenerationTime()); } if (hasReceptionTime()) { hash = (37 * hash) + RECEPTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReceptionTime()); } if (hasSeqNumber()) { hash = (37 * hash) + SEQNUMBER_FIELD_NUMBER; hash = (53 * hash) + getSeqNumber(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } if (hasSeverity()) { hash = (37 * hash) + SEVERITY_FIELD_NUMBER; hash = (53 * hash) + severity_; } if (hasGenerationTimeUTC()) { hash = (37 * hash) + GENERATIONTIMEUTC_FIELD_NUMBER; hash = (53 * hash) + getGenerationTimeUTC().hashCode(); } if (hasReceptionTimeUTC()) { hash = (37 * hash) + RECEPTIONTIMEUTC_FIELD_NUMBER; hash = (53 * hash) + getReceptionTimeUTC().hashCode(); } if (hasCreatedBy()) { hash = (37 * hash) + CREATEDBY_FIELD_NUMBER; hash = (53 * hash) + getCreatedBy().hashCode(); } hash = hashFields(hash, getExtensionFields()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.Event parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Event 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.Yamcs.Event parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Event 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.Yamcs.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.Event parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.Event parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Event 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.Yamcs.Event parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Event 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.Yamcs.Event parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.Event 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.Yamcs.Event 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.Event} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< org.yamcs.protobuf.Yamcs.Event, Builder> implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.Event) org.yamcs.protobuf.Yamcs.EventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Event_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Event_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.Event.class, org.yamcs.protobuf.Yamcs.Event.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.Event.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(); source_ = ""; bitField0_ = (bitField0_ & ~0x00000001); generationTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); receptionTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); seqNumber_ = 0; bitField0_ = (bitField0_ & ~0x00000008); type_ = ""; bitField0_ = (bitField0_ & ~0x00000010); message_ = ""; bitField0_ = (bitField0_ & ~0x00000020); severity_ = 0; bitField0_ = (bitField0_ & ~0x00000040); generationTimeUTC_ = ""; bitField0_ = (bitField0_ & ~0x00000080); receptionTimeUTC_ = ""; bitField0_ = (bitField0_ & ~0x00000100); createdBy_ = ""; bitField0_ = (bitField0_ & ~0x00000200); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_Event_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.Event getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.Event.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.Event build() { org.yamcs.protobuf.Yamcs.Event result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.Event buildPartial() { org.yamcs.protobuf.Yamcs.Event result = new org.yamcs.protobuf.Yamcs.Event(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.source_ = source_; if (((from_bitField0_ & 0x00000002) != 0)) { result.generationTime_ = generationTime_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.receptionTime_ = receptionTime_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.seqNumber_ = seqNumber_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.type_ = type_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.message_ = message_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.severity_ = severity_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.generationTimeUTC_ = generationTimeUTC_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.receptionTimeUTC_ = receptionTimeUTC_; if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000200; } result.createdBy_ = createdBy_; 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 setExtension( com.google.protobuf.GeneratedMessage.GeneratedExtension< org.yamcs.protobuf.Yamcs.Event, Type> extension, Type value) { return super.setExtension(extension, value); } @java.lang.Override public Builder setExtension( com.google.protobuf.GeneratedMessage.GeneratedExtension< org.yamcs.protobuf.Yamcs.Event, java.util.List> extension, int index, Type value) { return super.setExtension(extension, index, value); } @java.lang.Override public Builder addExtension( com.google.protobuf.GeneratedMessage.GeneratedExtension< org.yamcs.protobuf.Yamcs.Event, java.util.List> extension, Type value) { return super.addExtension(extension, value); } @java.lang.Override public Builder clearExtension( com.google.protobuf.GeneratedMessage.GeneratedExtension< org.yamcs.protobuf.Yamcs.Event, ?> extension) { return super.clearExtension(extension); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Yamcs.Event) { return mergeFrom((org.yamcs.protobuf.Yamcs.Event)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.Event other) { if (other == org.yamcs.protobuf.Yamcs.Event.getDefaultInstance()) return this; if (other.hasSource()) { bitField0_ |= 0x00000001; source_ = other.source_; onChanged(); } if (other.hasGenerationTime()) { setGenerationTime(other.getGenerationTime()); } if (other.hasReceptionTime()) { setReceptionTime(other.getReceptionTime()); } if (other.hasSeqNumber()) { setSeqNumber(other.getSeqNumber()); } if (other.hasType()) { bitField0_ |= 0x00000010; type_ = other.type_; onChanged(); } if (other.hasMessage()) { bitField0_ |= 0x00000020; message_ = other.message_; onChanged(); } if (other.hasSeverity()) { setSeverity(other.getSeverity()); } if (other.hasGenerationTimeUTC()) { bitField0_ |= 0x00000080; generationTimeUTC_ = other.generationTimeUTC_; onChanged(); } if (other.hasReceptionTimeUTC()) { bitField0_ |= 0x00000100; receptionTimeUTC_ = other.receptionTimeUTC_; onChanged(); } if (other.hasCreatedBy()) { bitField0_ |= 0x00000200; createdBy_ = other.createdBy_; onChanged(); } this.mergeExtensionFields(other); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasSource()) { return false; } if (!hasGenerationTime()) { return false; } if (!hasMessage()) { return false; } if (!extensionsAreInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.Event parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.Event) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object source_ = ""; /** * required string source = 1; */ public boolean hasSource() { return ((bitField0_ & 0x00000001) != 0); } /** * required string source = 1; */ public java.lang.String getSource() { java.lang.Object ref = source_; 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()) { source_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string source = 1; */ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string source = 1; */ public Builder setSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; source_ = value; onChanged(); return this; } /** * required string source = 1; */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000001); source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** * required string source = 1; */ public Builder setSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; source_ = value; onChanged(); return this; } private long generationTime_ ; /** * required int64 generationTime = 2; */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000002) != 0); } /** * required int64 generationTime = 2; */ public long getGenerationTime() { return generationTime_; } /** * required int64 generationTime = 2; */ public Builder setGenerationTime(long value) { bitField0_ |= 0x00000002; generationTime_ = value; onChanged(); return this; } /** * required int64 generationTime = 2; */ public Builder clearGenerationTime() { bitField0_ = (bitField0_ & ~0x00000002); generationTime_ = 0L; onChanged(); return this; } private long receptionTime_ ; /** * optional int64 receptionTime = 3; */ public boolean hasReceptionTime() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 receptionTime = 3; */ public long getReceptionTime() { return receptionTime_; } /** * optional int64 receptionTime = 3; */ public Builder setReceptionTime(long value) { bitField0_ |= 0x00000004; receptionTime_ = value; onChanged(); return this; } /** * optional int64 receptionTime = 3; */ public Builder clearReceptionTime() { bitField0_ = (bitField0_ & ~0x00000004); receptionTime_ = 0L; onChanged(); return this; } private int seqNumber_ ; /** * optional int32 seqNumber = 4; */ public boolean hasSeqNumber() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 seqNumber = 4; */ public int getSeqNumber() { return seqNumber_; } /** * optional int32 seqNumber = 4; */ public Builder setSeqNumber(int value) { bitField0_ |= 0x00000008; seqNumber_ = value; onChanged(); return this; } /** * optional int32 seqNumber = 4; */ public Builder clearSeqNumber() { bitField0_ = (bitField0_ & ~0x00000008); seqNumber_ = 0; onChanged(); return this; } private java.lang.Object type_ = ""; /** * optional string type = 5; */ public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string type = 5; */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string type = 5; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string type = 5; */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; type_ = value; onChanged(); return this; } /** * optional string type = 5; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000010); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * optional string type = 5; */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; type_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * required string message = 6; */ public boolean hasMessage() { return ((bitField0_ & 0x00000020) != 0); } /** * required string message = 6; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string message = 6; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string message = 6; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; message_ = value; onChanged(); return this; } /** * required string message = 6; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000020); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * required string message = 6; */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; message_ = value; onChanged(); return this; } private int severity_ = 0; /** * optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO]; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO]; */ public org.yamcs.protobuf.Yamcs.Event.EventSeverity getSeverity() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Yamcs.Event.EventSeverity result = org.yamcs.protobuf.Yamcs.Event.EventSeverity.valueOf(severity_); return result == null ? org.yamcs.protobuf.Yamcs.Event.EventSeverity.INFO : result; } /** * optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO]; */ public Builder setSeverity(org.yamcs.protobuf.Yamcs.Event.EventSeverity value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; severity_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO]; */ public Builder clearSeverity() { bitField0_ = (bitField0_ & ~0x00000040); severity_ = 0; onChanged(); return this; } private java.lang.Object generationTimeUTC_ = ""; /** * optional string generationTimeUTC = 8; */ public boolean hasGenerationTimeUTC() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string generationTimeUTC = 8; */ public java.lang.String getGenerationTimeUTC() { java.lang.Object ref = generationTimeUTC_; 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()) { generationTimeUTC_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string generationTimeUTC = 8; */ public com.google.protobuf.ByteString getGenerationTimeUTCBytes() { java.lang.Object ref = generationTimeUTC_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); generationTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string generationTimeUTC = 8; */ public Builder setGenerationTimeUTC( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; generationTimeUTC_ = value; onChanged(); return this; } /** * optional string generationTimeUTC = 8; */ public Builder clearGenerationTimeUTC() { bitField0_ = (bitField0_ & ~0x00000080); generationTimeUTC_ = getDefaultInstance().getGenerationTimeUTC(); onChanged(); return this; } /** * optional string generationTimeUTC = 8; */ public Builder setGenerationTimeUTCBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; generationTimeUTC_ = value; onChanged(); return this; } private java.lang.Object receptionTimeUTC_ = ""; /** * optional string receptionTimeUTC = 9; */ public boolean hasReceptionTimeUTC() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string receptionTimeUTC = 9; */ public java.lang.String getReceptionTimeUTC() { java.lang.Object ref = receptionTimeUTC_; 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()) { receptionTimeUTC_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string receptionTimeUTC = 9; */ public com.google.protobuf.ByteString getReceptionTimeUTCBytes() { java.lang.Object ref = receptionTimeUTC_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); receptionTimeUTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string receptionTimeUTC = 9; */ public Builder setReceptionTimeUTC( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; receptionTimeUTC_ = value; onChanged(); return this; } /** * optional string receptionTimeUTC = 9; */ public Builder clearReceptionTimeUTC() { bitField0_ = (bitField0_ & ~0x00000100); receptionTimeUTC_ = getDefaultInstance().getReceptionTimeUTC(); onChanged(); return this; } /** * optional string receptionTimeUTC = 9; */ public Builder setReceptionTimeUTCBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; receptionTimeUTC_ = value; onChanged(); return this; } private java.lang.Object createdBy_ = ""; /** *
       * Set by API when event was posted by a user
       * 
* * optional string createdBy = 10; */ public boolean hasCreatedBy() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Set by API when event was posted by a user
       * 
* * optional string createdBy = 10; */ public java.lang.String getCreatedBy() { java.lang.Object ref = createdBy_; 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()) { createdBy_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Set by API when event was posted by a user
       * 
* * optional string createdBy = 10; */ public com.google.protobuf.ByteString getCreatedByBytes() { java.lang.Object ref = createdBy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createdBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Set by API when event was posted by a user
       * 
* * optional string createdBy = 10; */ public Builder setCreatedBy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; createdBy_ = value; onChanged(); return this; } /** *
       * Set by API when event was posted by a user
       * 
* * optional string createdBy = 10; */ public Builder clearCreatedBy() { bitField0_ = (bitField0_ & ~0x00000200); createdBy_ = getDefaultInstance().getCreatedBy(); onChanged(); return this; } /** *
       * Set by API when event was posted by a user
       * 
* * optional string createdBy = 10; */ public Builder setCreatedByBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; createdBy_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.Event) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.Event) private static final org.yamcs.protobuf.Yamcs.Event DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.Event(); } public static org.yamcs.protobuf.Yamcs.Event getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Event parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Event(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.Yamcs.Event getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProcessorTypeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.ProcessorTypeInfo) com.google.protobuf.MessageOrBuilder { /** * repeated string type = 1; */ java.util.List getTypeList(); /** * repeated string type = 1; */ int getTypeCount(); /** * repeated string type = 1; */ java.lang.String getType(int index); /** * repeated string type = 1; */ com.google.protobuf.ByteString getTypeBytes(int index); } /** * Protobuf type {@code yamcs.protobuf.ProcessorTypeInfo} */ public static final class ProcessorTypeInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.ProcessorTypeInfo) ProcessorTypeInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ProcessorTypeInfo.newBuilder() to construct. private ProcessorTypeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProcessorTypeInfo() { type_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProcessorTypeInfo( 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(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { type_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } type_.add(bs); 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)) { type_ = type_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ProcessorTypeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ProcessorTypeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ProcessorTypeInfo.class, org.yamcs.protobuf.Yamcs.ProcessorTypeInfo.Builder.class); } public static final int TYPE_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList type_; /** * repeated string type = 1; */ public com.google.protobuf.ProtocolStringList getTypeList() { return type_; } /** * repeated string type = 1; */ public int getTypeCount() { return type_.size(); } /** * repeated string type = 1; */ public java.lang.String getType(int index) { return type_.get(index); } /** * repeated string type = 1; */ public com.google.protobuf.ByteString getTypeBytes(int index) { return type_.getByteString(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 < type_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < type_.size(); i++) { dataSize += computeStringSizeNoTag(type_.getRaw(i)); } size += dataSize; size += 1 * getTypeList().size(); } 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.Yamcs.ProcessorTypeInfo)) { return super.equals(obj); } org.yamcs.protobuf.Yamcs.ProcessorTypeInfo other = (org.yamcs.protobuf.Yamcs.ProcessorTypeInfo) obj; if (!getTypeList() .equals(other.getTypeList())) 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 (getTypeCount() > 0) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getTypeList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo 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.Yamcs.ProcessorTypeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo 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.Yamcs.ProcessorTypeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo 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.Yamcs.ProcessorTypeInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo 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.Yamcs.ProcessorTypeInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo 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.Yamcs.ProcessorTypeInfo 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.ProcessorTypeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.ProcessorTypeInfo) org.yamcs.protobuf.Yamcs.ProcessorTypeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ProcessorTypeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ProcessorTypeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Yamcs.ProcessorTypeInfo.class, org.yamcs.protobuf.Yamcs.ProcessorTypeInfo.Builder.class); } // Construct using org.yamcs.protobuf.Yamcs.ProcessorTypeInfo.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(); type_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Yamcs.internal_static_yamcs_protobuf_ProcessorTypeInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ProcessorTypeInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Yamcs.ProcessorTypeInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Yamcs.ProcessorTypeInfo build() { org.yamcs.protobuf.Yamcs.ProcessorTypeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Yamcs.ProcessorTypeInfo buildPartial() { org.yamcs.protobuf.Yamcs.ProcessorTypeInfo result = new org.yamcs.protobuf.Yamcs.ProcessorTypeInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { type_ = type_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.type_ = type_; 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.Yamcs.ProcessorTypeInfo) { return mergeFrom((org.yamcs.protobuf.Yamcs.ProcessorTypeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Yamcs.ProcessorTypeInfo other) { if (other == org.yamcs.protobuf.Yamcs.ProcessorTypeInfo.getDefaultInstance()) return this; if (!other.type_.isEmpty()) { if (type_.isEmpty()) { type_ = other.type_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTypeIsMutable(); type_.addAll(other.type_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Yamcs.ProcessorTypeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Yamcs.ProcessorTypeInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList type_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTypeIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { type_ = new com.google.protobuf.LazyStringArrayList(type_); bitField0_ |= 0x00000001; } } /** * repeated string type = 1; */ public com.google.protobuf.ProtocolStringList getTypeList() { return type_.getUnmodifiableView(); } /** * repeated string type = 1; */ public int getTypeCount() { return type_.size(); } /** * repeated string type = 1; */ public java.lang.String getType(int index) { return type_.get(index); } /** * repeated string type = 1; */ public com.google.protobuf.ByteString getTypeBytes(int index) { return type_.getByteString(index); } /** * repeated string type = 1; */ public Builder setType( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.set(index, value); onChanged(); return this; } /** * repeated string type = 1; */ public Builder addType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(value); onChanged(); return this; } /** * repeated string type = 1; */ public Builder addAllType( java.lang.Iterable values) { ensureTypeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, type_); onChanged(); return this; } /** * repeated string type = 1; */ public Builder clearType() { type_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string type = 1; */ public Builder addTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.ProcessorTypeInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.ProcessorTypeInfo) private static final org.yamcs.protobuf.Yamcs.ProcessorTypeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Yamcs.ProcessorTypeInfo(); } public static org.yamcs.protobuf.Yamcs.ProcessorTypeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProcessorTypeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProcessorTypeInfo(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.Yamcs.ProcessorTypeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_StringMessage_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_StringMessage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_Instant_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_Instant_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_MessagingAddress_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_MessagingAddress_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_Value_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_Value_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_AggregateValue_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_AggregateValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_NamedObjectId_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_NamedObjectId_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_NamedObjectList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_NamedObjectList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_IndexRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_IndexRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_ArchiveRecord_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_ArchiveRecord_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_IndexResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_IndexResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_TagRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_TagRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_ArchiveTag_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_ArchiveTag_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_TagResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_TagResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_UpsertTagRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_UpsertTagRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_DeleteTagRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_DeleteTagRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_ReplaySpeed_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_ReplaySpeed_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_ReplayRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_ReplayRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_ParameterReplayRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_ParameterReplayRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_PacketReplayRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_PacketReplayRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_EventReplayRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_EventReplayRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_CommandHistoryReplayRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_CommandHistoryReplayRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_PpReplayRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_PpReplayRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_ReplayStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_ReplayStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_TmPacketData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_TmPacketData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_TimeInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_TimeInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_Event_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_Event_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_ProcessorTypeInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_ProcessorTypeInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\032yamcs/protobuf/yamcs.proto\022\016yamcs.prot" + "obuf\032\037google/protobuf/timestamp.proto\" \n" + "\rStringMessage\022\017\n\007message\030\001 \002(\t\"\032\n\007Insta" + "nt\022\017\n\007instant\030\001 \002(\003\"#\n\020MessagingAddress\022" + "\017\n\007address\030\001 \002(\t\"\227\004\n\005Value\022(\n\004type\030\001 \002(\016" + "2\032.yamcs.protobuf.Value.Type\022\022\n\nfloatVal" + "ue\030\002 \001(\002\022\023\n\013doubleValue\030\003 \001(\001\022\023\n\013sint32V" + "alue\030\004 \001(\021\022\023\n\013uint32Value\030\005 \001(\r\022\023\n\013binar" + "yValue\030\006 \001(\014\022\023\n\013stringValue\030\007 \001(\t\022\026\n\016tim" + "estampValue\030\010 \001(\003\022\023\n\013uint64Value\030\t \001(\004\022\023" + "\n\013sint64Value\030\n \001(\022\022\024\n\014booleanValue\030\013 \001(" + "\010\0226\n\016aggregateValue\030\014 \001(\0132\036.yamcs.protob" + "uf.AggregateValue\022)\n\narrayValue\030\r \003(\0132\025." + "yamcs.protobuf.Value\"\253\001\n\004Type\022\t\n\005FLOAT\020\000" + "\022\n\n\006DOUBLE\020\001\022\n\n\006UINT32\020\002\022\n\n\006SINT32\020\003\022\n\n\006" + "BINARY\020\004\022\n\n\006STRING\020\005\022\r\n\tTIMESTAMP\020\006\022\n\n\006U" + "INT64\020\007\022\n\n\006SINT64\020\010\022\013\n\007BOOLEAN\020\t\022\r\n\tAGGR" + "EGATE\020\n\022\t\n\005ARRAY\020\013\022\016\n\nENUMERATED\020\014\"D\n\016Ag" + "gregateValue\022\014\n\004name\030\001 \003(\t\022$\n\005value\030\002 \003(" + "\0132\025.yamcs.protobuf.Value\"0\n\rNamedObjectI" + "d\022\014\n\004name\030\001 \002(\t\022\021\n\tnamespace\030\002 \001(\t\">\n\017Na" + "medObjectList\022+\n\004list\030\001 \003(\0132\035.yamcs.prot" + "obuf.NamedObjectId\"\344\003\n\014IndexRequest\022\020\n\010i" + "nstance\030\001 \002(\t\022\r\n\005start\030\002 \001(\003\022\014\n\004stop\030\003 \001" + "(\003\022\020\n\010utcStart\030\016 \001(\t\022\017\n\007utcStop\030\017 \001(\t\022\030\n" + "\020defaultNamespace\030\004 \001(\t\022\030\n\tsendAllTm\030\005 \001" + "(\010:\005false\022/\n\010tmPacket\030\006 \003(\0132\035.yamcs.prot" + "obuf.NamedObjectId\022\030\n\tsendAllPp\030\007 \001(\010:\005f" + "alse\022.\n\007ppGroup\030\010 \003(\0132\035.yamcs.protobuf.N" + "amedObjectId\022$\n\025sendCompletenessIndex\030\t " + "\001(\010:\005false\022\031\n\nsendAllCmd\030\n \001(\010:\005false\022.\n" + "\007cmdName\030\013 \003(\0132\035.yamcs.protobuf.NamedObj" + "ectId\022\033\n\014sendAllEvent\030\014 \001(\010:\005false\0222\n\013ev" + "entSource\030\r \003(\0132\035.yamcs.protobuf.NamedOb" + "jectId\022\021\n\tmergeTime\030\020 \001(\r\"\374\001\n\rArchiveRec" + "ord\022)\n\002id\030\001 \001(\0132\035.yamcs.protobuf.NamedOb" + "jectId\022\026\n\nyamcsFirst\030\002 \001(\003B\002\030\001\022\025\n\tyamcsL" + "ast\030\003 \001(\003B\002\030\001\022\013\n\003num\030\004 \001(\005\022\014\n\004info\030\005 \001(\t" + "\022\020\n\010seqFirst\030\006 \001(\003\022\017\n\007seqLast\030\007 \001(\003\022)\n\005f" + "irst\030\010 \001(\0132\032.google.protobuf.Timestamp\022(" + "\n\004last\030\t \001(\0132\032.google.protobuf.Timestamp" + "\"t\n\013IndexResult\022\024\n\010instance\030\001 \001(\tB\002\030\001\022.\n" + "\007records\030\002 \003(\0132\035.yamcs.protobuf.ArchiveR" + "ecord\022\014\n\004type\030\003 \001(\t\022\021\n\ttableName\030\004 \001(\t\";" + "\n\nTagRequest\022\020\n\010instance\030\001 \002(\t\022\r\n\005start\030" + "\002 \001(\003\022\014\n\004stop\030\003 \001(\003\"\212\001\n\nArchiveTag\022\n\n\002id" + "\030\001 \001(\005\022\014\n\004name\030\002 \002(\t\022\r\n\005start\030\003 \001(\003\022\014\n\004s" + "top\030\004 \001(\003\022\023\n\013description\030\005 \001(\t\022\r\n\005color\030" + "\006 \001(\t\022\020\n\010startUTC\030\007 \001(\t\022\017\n\007stopUTC\030\010 \001(\t" + "\"F\n\tTagResult\022\020\n\010instance\030\001 \002(\t\022\'\n\003tag\030\002" + " \003(\0132\032.yamcs.protobuf.ArchiveTag\"j\n\020Upse" + "rtTagRequest\022*\n\006oldTag\030\001 \001(\0132\032.yamcs.pro" + "tobuf.ArchiveTag\022*\n\006newTag\030\002 \002(\0132\032.yamcs" + ".protobuf.ArchiveTag\";\n\020DeleteTagRequest" + "\022\'\n\003tag\030\003 \002(\0132\032.yamcs.protobuf.ArchiveTa" + "g\"\245\001\n\013ReplaySpeed\0229\n\004type\030\001 \002(\0162+.yamcs." + "protobuf.ReplaySpeed.ReplaySpeedType\022\r\n\005" + "param\030\002 \001(\002\"L\n\017ReplaySpeedType\022\010\n\004AFAP\020\001" + "\022\017\n\013FIXED_DELAY\020\002\022\014\n\010REALTIME\020\003\022\020\n\014STEP_" + "BY_STEP\020\004\"\370\003\n\rReplayRequest\022\r\n\005start\030\001 \001" + "(\003\022\014\n\004stop\030\002 \001(\003\022\020\n\010utcStart\030\r \001(\t\022\017\n\007ut" + "cStop\030\016 \001(\t\0222\n\tendAction\030\003 \001(\0162\031.yamcs.p" + "rotobuf.EndAction:\004QUIT\022*\n\005speed\030\004 \001(\0132\033" + ".yamcs.protobuf.ReplaySpeed\022\017\n\007reverse\030\017" + " \001(\010\022@\n\020parameterRequest\030\010 \001(\0132&.yamcs.p" + "rotobuf.ParameterReplayRequest\022:\n\rpacket" + "Request\030\t \001(\0132#.yamcs.protobuf.PacketRep" + "layRequest\0228\n\014eventRequest\030\n \001(\0132\".yamcs" + ".protobuf.EventReplayRequest\022J\n\025commandH" + "istoryRequest\030\013 \001(\0132+.yamcs.protobuf.Com" + "mandHistoryReplayRequest\0222\n\tppRequest\030\014 " + "\001(\0132\037.yamcs.protobuf.PpReplayRequest\"\205\001\n" + "\026ParameterReplayRequest\0221\n\nnameFilter\030\001 " + "\003(\0132\035.yamcs.protobuf.NamedObjectId\022\026\n\007se" + "ndRaw\030\002 \001(\010:\005false\022 \n\021performMonitoring\030" + "\003 \001(\010:\005false\"H\n\023PacketReplayRequest\0221\n\nn" + "ameFilter\030\001 \003(\0132\035.yamcs.protobuf.NamedOb" + "jectId\"\024\n\022EventReplayRequest\"P\n\033CommandH" + "istoryReplayRequest\0221\n\nnameFilter\030\001 \003(\0132" + "\035.yamcs.protobuf.NamedObjectId\"D\n\017PpRepl" + "ayRequest\022\027\n\017groupNameFilter\030\001 \003(\t\022\030\n\020gr" + "oupNameExclude\030\002 \003(\t\"\355\001\n\014ReplayStatus\0227\n" + "\005state\030\001 \002(\0162(.yamcs.protobuf.ReplayStat" + "us.ReplayState\022.\n\007request\030\002 \001(\0132\035.yamcs." + "protobuf.ReplayRequest\022\024\n\014errorMessage\030\003" + " \001(\t\"^\n\013ReplayState\022\022\n\016INITIALIZATION\020\000\022" + "\013\n\007RUNNING\020\001\022\013\n\007STOPPED\020\002\022\t\n\005ERROR\020\003\022\n\n\006" + "PAUSED\020\004\022\n\n\006CLOSED\020\005\"\306\002\n\014TmPacketData\022\036\n" + "\022yamcsReceptionTime\030\001 \001(\003B\002\030\001\022\016\n\006packet\030" + "\002 \002(\014\022\037\n\023yamcsGenerationTime\030\003 \001(\003B\002\030\001\022\026" + "\n\016sequenceNumber\030\004 \001(\005\022)\n\002id\030\005 \001(\0132\035.yam" + "cs.protobuf.NamedObjectId\022\035\n\021generationT" + "imeUTC\030\006 \001(\tB\002\030\001\022\034\n\020receptionTimeUTC\030\007 \001" + "(\tB\002\030\001\0221\n\rreceptionTime\030\010 \001(\0132\032.google.p" + "rotobuf.Timestamp\0222\n\016generationTime\030\t \001(" + "\0132\032.google.protobuf.Timestamp\"u\n\010TimeInf" + "o\022\034\n\020yamcsCurrentTime\030\001 \001(\003B\002\030\001\022\032\n\016curre" + "ntTimeUTC\030\002 \001(\tB\002\030\001\022/\n\013currentTime\030\003 \001(\013" + "2\032.google.protobuf.Timestamp\"\352\002\n\005Event\022\016" + "\n\006source\030\001 \002(\t\022\026\n\016generationTime\030\002 \002(\003\022\025" + "\n\rreceptionTime\030\003 \001(\003\022\021\n\tseqNumber\030\004 \001(\005" + "\022\014\n\004type\030\005 \001(\t\022\017\n\007message\030\006 \002(\t\022;\n\010sever" + "ity\030\007 \001(\0162#.yamcs.protobuf.Event.EventSe" + "verity:\004INFO\022\031\n\021generationTimeUTC\030\010 \001(\t\022" + "\030\n\020receptionTimeUTC\030\t \001(\t\022\021\n\tcreatedBy\030\n" + " \001(\t\"d\n\rEventSeverity\022\010\n\004INFO\020\000\022\013\n\007WARNI" + "NG\020\001\022\t\n\005ERROR\020\002\022\t\n\005WATCH\020\003\022\014\n\010DISTRESS\020\005" + "\022\014\n\010CRITICAL\020\006\022\n\n\006SEVERE\020\007*\005\010d\020\221N\"!\n\021Pro" + "cessorTypeInfo\022\014\n\004type\030\001 \003(\t*)\n\tEndActio" + "n\022\010\n\004LOOP\020\001\022\010\n\004QUIT\020\002\022\010\n\004STOP\020\003*\217\003\n\rProt" + "oDataType\022\014\n\010DT_ERROR\020\001\022\020\n\014STATE_CHANGE\020" + "\002\022\r\n\tTM_PACKET\020\003\022\006\n\002PP\020\004\022\t\n\005EVENT\020\005\022\021\n\rA" + "RCHIVE_INDEX\020\006\022\017\n\013ARCHIVE_TAG\020\007\022\r\n\tPARAM" + "ETER\020\010\022\017\n\013CMD_HISTORY\020\t\022\022\n\016PROCESSOR_INF" + "O\020\n\022\017\n\013CLIENT_INFO\020\013\022\031\n\025PROCESSING_STATI" + "STICS\020\014\022\017\n\013STREAM_DATA\020\r\022\016\n\nALARM_DATA\020\016" + "\022\r\n\tTIME_INFO\020\017\022\016\n\nLINK_EVENT\020\020\022\026\n\022COMMA" + "ND_QUEUE_INFO\020\021\022\027\n\023COMMAND_QUEUE_EVENT\020\022" + "\022\023\n\017CONNECTION_INFO\020\023\022\014\n\010INSTANCE\020\024\022\020\n\014S" + "TREAM_EVENT\020\025\022\022\n\016EXTENSION_DATA\020dB\024\n\022org" + ".yamcs.protobuf" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), }, assigner); internal_static_yamcs_protobuf_StringMessage_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yamcs_protobuf_StringMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_StringMessage_descriptor, new java.lang.String[] { "Message", }); internal_static_yamcs_protobuf_Instant_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yamcs_protobuf_Instant_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_Instant_descriptor, new java.lang.String[] { "Instant", }); internal_static_yamcs_protobuf_MessagingAddress_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yamcs_protobuf_MessagingAddress_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_MessagingAddress_descriptor, new java.lang.String[] { "Address", }); internal_static_yamcs_protobuf_Value_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_yamcs_protobuf_Value_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_Value_descriptor, new java.lang.String[] { "Type", "FloatValue", "DoubleValue", "Sint32Value", "Uint32Value", "BinaryValue", "StringValue", "TimestampValue", "Uint64Value", "Sint64Value", "BooleanValue", "AggregateValue", "ArrayValue", }); internal_static_yamcs_protobuf_AggregateValue_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_yamcs_protobuf_AggregateValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_AggregateValue_descriptor, new java.lang.String[] { "Name", "Value", }); internal_static_yamcs_protobuf_NamedObjectId_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_yamcs_protobuf_NamedObjectId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_NamedObjectId_descriptor, new java.lang.String[] { "Name", "Namespace", }); internal_static_yamcs_protobuf_NamedObjectList_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_yamcs_protobuf_NamedObjectList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_NamedObjectList_descriptor, new java.lang.String[] { "List", }); internal_static_yamcs_protobuf_IndexRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_yamcs_protobuf_IndexRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_IndexRequest_descriptor, new java.lang.String[] { "Instance", "Start", "Stop", "UtcStart", "UtcStop", "DefaultNamespace", "SendAllTm", "TmPacket", "SendAllPp", "PpGroup", "SendCompletenessIndex", "SendAllCmd", "CmdName", "SendAllEvent", "EventSource", "MergeTime", }); internal_static_yamcs_protobuf_ArchiveRecord_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_yamcs_protobuf_ArchiveRecord_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_ArchiveRecord_descriptor, new java.lang.String[] { "Id", "YamcsFirst", "YamcsLast", "Num", "Info", "SeqFirst", "SeqLast", "First", "Last", }); internal_static_yamcs_protobuf_IndexResult_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_yamcs_protobuf_IndexResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_IndexResult_descriptor, new java.lang.String[] { "Instance", "Records", "Type", "TableName", }); internal_static_yamcs_protobuf_TagRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_yamcs_protobuf_TagRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_TagRequest_descriptor, new java.lang.String[] { "Instance", "Start", "Stop", }); internal_static_yamcs_protobuf_ArchiveTag_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_yamcs_protobuf_ArchiveTag_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_ArchiveTag_descriptor, new java.lang.String[] { "Id", "Name", "Start", "Stop", "Description", "Color", "StartUTC", "StopUTC", }); internal_static_yamcs_protobuf_TagResult_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_yamcs_protobuf_TagResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_TagResult_descriptor, new java.lang.String[] { "Instance", "Tag", }); internal_static_yamcs_protobuf_UpsertTagRequest_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_yamcs_protobuf_UpsertTagRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_UpsertTagRequest_descriptor, new java.lang.String[] { "OldTag", "NewTag", }); internal_static_yamcs_protobuf_DeleteTagRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_yamcs_protobuf_DeleteTagRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_DeleteTagRequest_descriptor, new java.lang.String[] { "Tag", }); internal_static_yamcs_protobuf_ReplaySpeed_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_yamcs_protobuf_ReplaySpeed_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_ReplaySpeed_descriptor, new java.lang.String[] { "Type", "Param", }); internal_static_yamcs_protobuf_ReplayRequest_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_yamcs_protobuf_ReplayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_ReplayRequest_descriptor, new java.lang.String[] { "Start", "Stop", "UtcStart", "UtcStop", "EndAction", "Speed", "Reverse", "ParameterRequest", "PacketRequest", "EventRequest", "CommandHistoryRequest", "PpRequest", }); internal_static_yamcs_protobuf_ParameterReplayRequest_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_yamcs_protobuf_ParameterReplayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_ParameterReplayRequest_descriptor, new java.lang.String[] { "NameFilter", "SendRaw", "PerformMonitoring", }); internal_static_yamcs_protobuf_PacketReplayRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_yamcs_protobuf_PacketReplayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_PacketReplayRequest_descriptor, new java.lang.String[] { "NameFilter", }); internal_static_yamcs_protobuf_EventReplayRequest_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_yamcs_protobuf_EventReplayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_EventReplayRequest_descriptor, new java.lang.String[] { }); internal_static_yamcs_protobuf_CommandHistoryReplayRequest_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_yamcs_protobuf_CommandHistoryReplayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_CommandHistoryReplayRequest_descriptor, new java.lang.String[] { "NameFilter", }); internal_static_yamcs_protobuf_PpReplayRequest_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_yamcs_protobuf_PpReplayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_PpReplayRequest_descriptor, new java.lang.String[] { "GroupNameFilter", "GroupNameExclude", }); internal_static_yamcs_protobuf_ReplayStatus_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_yamcs_protobuf_ReplayStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_ReplayStatus_descriptor, new java.lang.String[] { "State", "Request", "ErrorMessage", }); internal_static_yamcs_protobuf_TmPacketData_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_yamcs_protobuf_TmPacketData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_TmPacketData_descriptor, new java.lang.String[] { "YamcsReceptionTime", "Packet", "YamcsGenerationTime", "SequenceNumber", "Id", "GenerationTimeUTC", "ReceptionTimeUTC", "ReceptionTime", "GenerationTime", }); internal_static_yamcs_protobuf_TimeInfo_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_yamcs_protobuf_TimeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_TimeInfo_descriptor, new java.lang.String[] { "YamcsCurrentTime", "CurrentTimeUTC", "CurrentTime", }); internal_static_yamcs_protobuf_Event_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_yamcs_protobuf_Event_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_Event_descriptor, new java.lang.String[] { "Source", "GenerationTime", "ReceptionTime", "SeqNumber", "Type", "Message", "Severity", "GenerationTimeUTC", "ReceptionTimeUTC", "CreatedBy", }); internal_static_yamcs_protobuf_ProcessorTypeInfo_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_yamcs_protobuf_ProcessorTypeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_ProcessorTypeInfo_descriptor, new java.lang.String[] { "Type", }); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy