// Generated by the protocol buffer compiler. DO NOT EDIT! // source: commanding.proto package org.yamcs.protobuf; public final class Commanding { private Commanding() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } /** * Protobuf enum {@code commanding.QueueState} * * <pre> ************* Command Queue Control ******************* * </pre> */ public enum QueueState implements com.google.protobuf.ProtocolMessageEnum { /** * <code>BLOCKED = 1;</code> */ BLOCKED(0, 1), /** * <code>DISABLED = 2;</code> */ DISABLED(1, 2), /** * <code>ENABLED = 3;</code> */ ENABLED(2, 3), ; /** * <code>BLOCKED = 1;</code> */ public static final int BLOCKED_VALUE = 1; /** * <code>DISABLED = 2;</code> */ public static final int DISABLED_VALUE = 2; /** * <code>ENABLED = 3;</code> */ public static final int ENABLED_VALUE = 3; public final int getNumber() { return value; } public static QueueState valueOf(int value) { switch (value) { case 1: return BLOCKED; case 2: return DISABLED; case 3: return ENABLED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<QueueState> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<QueueState> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<QueueState>() { public QueueState findValueByNumber(int number) { return QueueState.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Commanding.getDescriptor().getEnumTypes().get(0); } private static final QueueState[] VALUES = values(); public static QueueState 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 index; private final int value; private QueueState(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:commanding.QueueState) } public interface CommandIdOrBuilder extends com.google.protobuf.MessageOrBuilder { // required int64 generationTime = 1; /** * <code>required int64 generationTime = 1;</code> */ boolean hasGenerationTime(); /** * <code>required int64 generationTime = 1;</code> */ long getGenerationTime(); // required string origin = 2; /** * <code>required string origin = 2;</code> */ boolean hasOrigin(); /** * <code>required string origin = 2;</code> */ java.lang.String getOrigin(); /** * <code>required string origin = 2;</code> */ com.google.protobuf.ByteString getOriginBytes(); // required int32 sequenceNumber = 3; /** * <code>required int32 sequenceNumber = 3;</code> * * <pre> *this has to be unique in relation to the generation time and origin * </pre> */ boolean hasSequenceNumber(); /** * <code>required int32 sequenceNumber = 3;</code> * * <pre> *this has to be unique in relation to the generation time and origin * </pre> */ int getSequenceNumber(); // optional string commandName = 4; /** * <code>optional string commandName = 4;</code> */ boolean hasCommandName(); /** * <code>optional string commandName = 4;</code> */ java.lang.String getCommandName(); /** * <code>optional string commandName = 4;</code> */ com.google.protobuf.ByteString getCommandNameBytes(); } /** * Protobuf type {@code commanding.CommandId} */ public static final class CommandId extends com.google.protobuf.GeneratedMessage implements CommandIdOrBuilder { // Use CommandId.newBuilder() to construct. private CommandId(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CommandId(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CommandId defaultInstance; public static CommandId getDefaultInstance() { return defaultInstance; } public CommandId getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandId( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; generationTime_ = input.readInt64(); break; } case 18: { bitField0_ |= 0x00000002; origin_ = input.readBytes(); break; } case 24: { bitField0_ |= 0x00000004; sequenceNumber_ = input.readInt32(); break; } case 34: { bitField0_ |= 0x00000008; commandName_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandId_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandId_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandId.class, org.yamcs.protobuf.Commanding.CommandId.Builder.class); } public static com.google.protobuf.Parser<CommandId> PARSER = new com.google.protobuf.AbstractParser<CommandId>() { public CommandId parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandId(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CommandId> getParserForType() { return PARSER; } private int bitField0_; // required int64 generationTime = 1; public static final int GENERATIONTIME_FIELD_NUMBER = 1; private long generationTime_; /** * <code>required int64 generationTime = 1;</code> */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int64 generationTime = 1;</code> */ public long getGenerationTime() { return generationTime_; } // required string origin = 2; public static final int ORIGIN_FIELD_NUMBER = 2; private java.lang.Object origin_; /** * <code>required string origin = 2;</code> */ public boolean hasOrigin() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required string origin = 2;</code> */ public java.lang.String getOrigin() { java.lang.Object ref = origin_; 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()) { origin_ = s; } return s; } } /** * <code>required string origin = 2;</code> */ public com.google.protobuf.ByteString getOriginBytes() { java.lang.Object ref = origin_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); origin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required int32 sequenceNumber = 3; public static final int SEQUENCENUMBER_FIELD_NUMBER = 3; private int sequenceNumber_; /** * <code>required int32 sequenceNumber = 3;</code> * * <pre> *this has to be unique in relation to the generation time and origin * </pre> */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int32 sequenceNumber = 3;</code> * * <pre> *this has to be unique in relation to the generation time and origin * </pre> */ public int getSequenceNumber() { return sequenceNumber_; } // optional string commandName = 4; public static final int COMMANDNAME_FIELD_NUMBER = 4; private java.lang.Object commandName_; /** * <code>optional string commandName = 4;</code> */ public boolean hasCommandName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional string commandName = 4;</code> */ public java.lang.String getCommandName() { java.lang.Object ref = commandName_; 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()) { commandName_ = s; } return s; } } /** * <code>optional string commandName = 4;</code> */ public com.google.protobuf.ByteString getCommandNameBytes() { java.lang.Object ref = commandName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); commandName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { generationTime_ = 0L; origin_ = ""; sequenceNumber_ = 0; commandName_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasGenerationTime()) { memoizedIsInitialized = 0; return false; } if (!hasOrigin()) { memoizedIsInitialized = 0; return false; } if (!hasSequenceNumber()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, generationTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getOriginBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, sequenceNumber_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getCommandNameBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, generationTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getOriginBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, sequenceNumber_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getCommandNameBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Commanding.CommandId parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandId 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.Commanding.CommandId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandId parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandId parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandId parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandId parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Commanding.CommandId parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandId parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Commanding.CommandId prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code commanding.CommandId} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.yamcs.protobuf.Commanding.CommandIdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandId_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandId_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandId.class, org.yamcs.protobuf.Commanding.CommandId.Builder.class); } // Construct using org.yamcs.protobuf.Commanding.CommandId.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); generationTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); origin_ = ""; bitField0_ = (bitField0_ & ~0x00000002); sequenceNumber_ = 0; bitField0_ = (bitField0_ & ~0x00000004); commandName_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandId_descriptor; } public org.yamcs.protobuf.Commanding.CommandId getDefaultInstanceForType() { return org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); } public org.yamcs.protobuf.Commanding.CommandId build() { org.yamcs.protobuf.Commanding.CommandId result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Commanding.CommandId buildPartial() { org.yamcs.protobuf.Commanding.CommandId result = new org.yamcs.protobuf.Commanding.CommandId(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.generationTime_ = generationTime_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.origin_ = origin_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.sequenceNumber_ = sequenceNumber_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.commandName_ = commandName_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Commanding.CommandId) { return mergeFrom((org.yamcs.protobuf.Commanding.CommandId)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Commanding.CommandId other) { if (other == org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance()) return this; if (other.hasGenerationTime()) { setGenerationTime(other.getGenerationTime()); } if (other.hasOrigin()) { bitField0_ |= 0x00000002; origin_ = other.origin_; onChanged(); } if (other.hasSequenceNumber()) { setSequenceNumber(other.getSequenceNumber()); } if (other.hasCommandName()) { bitField0_ |= 0x00000008; commandName_ = other.commandName_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasGenerationTime()) { return false; } if (!hasOrigin()) { return false; } if (!hasSequenceNumber()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Commanding.CommandId parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Commanding.CommandId) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required int64 generationTime = 1; private long generationTime_ ; /** * <code>required int64 generationTime = 1;</code> */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int64 generationTime = 1;</code> */ public long getGenerationTime() { return generationTime_; } /** * <code>required int64 generationTime = 1;</code> */ public Builder setGenerationTime(long value) { bitField0_ |= 0x00000001; generationTime_ = value; onChanged(); return this; } /** * <code>required int64 generationTime = 1;</code> */ public Builder clearGenerationTime() { bitField0_ = (bitField0_ & ~0x00000001); generationTime_ = 0L; onChanged(); return this; } // required string origin = 2; private java.lang.Object origin_ = ""; /** * <code>required string origin = 2;</code> */ public boolean hasOrigin() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required string origin = 2;</code> */ public java.lang.String getOrigin() { java.lang.Object ref = origin_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); origin_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>required string origin = 2;</code> */ public com.google.protobuf.ByteString getOriginBytes() { java.lang.Object ref = origin_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); origin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string origin = 2;</code> */ public Builder setOrigin( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; origin_ = value; onChanged(); return this; } /** * <code>required string origin = 2;</code> */ public Builder clearOrigin() { bitField0_ = (bitField0_ & ~0x00000002); origin_ = getDefaultInstance().getOrigin(); onChanged(); return this; } /** * <code>required string origin = 2;</code> */ public Builder setOriginBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; origin_ = value; onChanged(); return this; } // required int32 sequenceNumber = 3; private int sequenceNumber_ ; /** * <code>required int32 sequenceNumber = 3;</code> * * <pre> *this has to be unique in relation to the generation time and origin * </pre> */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int32 sequenceNumber = 3;</code> * * <pre> *this has to be unique in relation to the generation time and origin * </pre> */ public int getSequenceNumber() { return sequenceNumber_; } /** * <code>required int32 sequenceNumber = 3;</code> * * <pre> *this has to be unique in relation to the generation time and origin * </pre> */ public Builder setSequenceNumber(int value) { bitField0_ |= 0x00000004; sequenceNumber_ = value; onChanged(); return this; } /** * <code>required int32 sequenceNumber = 3;</code> * * <pre> *this has to be unique in relation to the generation time and origin * </pre> */ public Builder clearSequenceNumber() { bitField0_ = (bitField0_ & ~0x00000004); sequenceNumber_ = 0; onChanged(); return this; } // optional string commandName = 4; private java.lang.Object commandName_ = ""; /** * <code>optional string commandName = 4;</code> */ public boolean hasCommandName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional string commandName = 4;</code> */ public java.lang.String getCommandName() { java.lang.Object ref = commandName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); commandName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string commandName = 4;</code> */ public com.google.protobuf.ByteString getCommandNameBytes() { java.lang.Object ref = commandName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); commandName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string commandName = 4;</code> */ public Builder setCommandName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; commandName_ = value; onChanged(); return this; } /** * <code>optional string commandName = 4;</code> */ public Builder clearCommandName() { bitField0_ = (bitField0_ & ~0x00000008); commandName_ = getDefaultInstance().getCommandName(); onChanged(); return this; } /** * <code>optional string commandName = 4;</code> */ public Builder setCommandNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; commandName_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:commanding.CommandId) } static { defaultInstance = new CommandId(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:commanding.CommandId) } public interface CommandQueueInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string instance = 1; /** * <code>required string instance = 1;</code> */ boolean hasInstance(); /** * <code>required string instance = 1;</code> */ java.lang.String getInstance(); /** * <code>required string instance = 1;</code> */ com.google.protobuf.ByteString getInstanceBytes(); // required string processorName = 2; /** * <code>required string processorName = 2;</code> */ boolean hasProcessorName(); /** * <code>required string processorName = 2;</code> */ java.lang.String getProcessorName(); /** * <code>required string processorName = 2;</code> */ com.google.protobuf.ByteString getProcessorNameBytes(); // required string name = 3; /** * <code>required string name = 3;</code> */ boolean hasName(); /** * <code>required string name = 3;</code> */ java.lang.String getName(); /** * <code>required string name = 3;</code> */ com.google.protobuf.ByteString getNameBytes(); // optional .commanding.QueueState state = 4; /** * <code>optional .commanding.QueueState state = 4;</code> */ boolean hasState(); /** * <code>optional .commanding.QueueState state = 4;</code> */ org.yamcs.protobuf.Commanding.QueueState getState(); // required int32 nbSentCommands = 5; /** * <code>required int32 nbSentCommands = 5;</code> */ boolean hasNbSentCommands(); /** * <code>required int32 nbSentCommands = 5;</code> */ int getNbSentCommands(); // required int32 nbRejectedCommands = 6; /** * <code>required int32 nbRejectedCommands = 6;</code> */ boolean hasNbRejectedCommands(); /** * <code>required int32 nbRejectedCommands = 6;</code> */ int getNbRejectedCommands(); // optional int32 stateExpirationTimeS = 7; /** * <code>optional int32 stateExpirationTimeS = 7;</code> */ boolean hasStateExpirationTimeS(); /** * <code>optional int32 stateExpirationTimeS = 7;</code> */ int getStateExpirationTimeS(); // repeated .commanding.CommandQueueEntry entry = 8; /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ java.util.List<org.yamcs.protobuf.Commanding.CommandQueueEntry> getEntryList(); /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ org.yamcs.protobuf.Commanding.CommandQueueEntry getEntry(int index); /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ int getEntryCount(); /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ java.util.List<? extends org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> getEntryOrBuilderList(); /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getEntryOrBuilder( int index); // optional string url = 9; /** * <code>optional string url = 9;</code> */ boolean hasUrl(); /** * <code>optional string url = 9;</code> */ java.lang.String getUrl(); /** * <code>optional string url = 9;</code> */ com.google.protobuf.ByteString getUrlBytes(); } /** * Protobuf type {@code commanding.CommandQueueInfo} */ public static final class CommandQueueInfo extends com.google.protobuf.GeneratedMessage implements CommandQueueInfoOrBuilder { // Use CommandQueueInfo.newBuilder() to construct. private CommandQueueInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CommandQueueInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CommandQueueInfo defaultInstance; public static CommandQueueInfo getDefaultInstance() { return defaultInstance; } public CommandQueueInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandQueueInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; instance_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; processorName_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; name_ = input.readBytes(); break; } case 32: { int rawValue = input.readEnum(); org.yamcs.protobuf.Commanding.QueueState value = org.yamcs.protobuf.Commanding.QueueState.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(4, rawValue); } else { bitField0_ |= 0x00000008; state_ = value; } break; } case 40: { bitField0_ |= 0x00000010; nbSentCommands_ = input.readInt32(); break; } case 48: { bitField0_ |= 0x00000020; nbRejectedCommands_ = input.readInt32(); break; } case 56: { bitField0_ |= 0x00000040; stateExpirationTimeS_ = input.readInt32(); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { entry_ = new java.util.ArrayList<org.yamcs.protobuf.Commanding.CommandQueueEntry>(); mutable_bitField0_ |= 0x00000080; } entry_.add(input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueEntry.PARSER, extensionRegistry)); break; } case 74: { bitField0_ |= 0x00000080; url_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { entry_ = java.util.Collections.unmodifiableList(entry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandQueueInfo.class, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder.class); } public static com.google.protobuf.Parser<CommandQueueInfo> PARSER = new com.google.protobuf.AbstractParser<CommandQueueInfo>() { public CommandQueueInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandQueueInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CommandQueueInfo> getParserForType() { return PARSER; } private int bitField0_; // required string instance = 1; public static final int INSTANCE_FIELD_NUMBER = 1; private java.lang.Object instance_; /** * <code>required string instance = 1;</code> */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required string instance = 1;</code> */ 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; } } /** * <code>required string instance = 1;</code> */ 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; } } // required string processorName = 2; public static final int PROCESSORNAME_FIELD_NUMBER = 2; private java.lang.Object processorName_; /** * <code>required string processorName = 2;</code> */ public boolean hasProcessorName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required string processorName = 2;</code> */ public java.lang.String getProcessorName() { java.lang.Object ref = processorName_; 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()) { processorName_ = s; } return s; } } /** * <code>required string processorName = 2;</code> */ public com.google.protobuf.ByteString getProcessorNameBytes() { java.lang.Object ref = processorName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processorName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string name = 3; public static final int NAME_FIELD_NUMBER = 3; private java.lang.Object name_; /** * <code>required string name = 3;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required string name = 3;</code> */ 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; } } /** * <code>required string name = 3;</code> */ 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; } } // optional .commanding.QueueState state = 4; public static final int STATE_FIELD_NUMBER = 4; private org.yamcs.protobuf.Commanding.QueueState state_; /** * <code>optional .commanding.QueueState state = 4;</code> */ public boolean hasState() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .commanding.QueueState state = 4;</code> */ public org.yamcs.protobuf.Commanding.QueueState getState() { return state_; } // required int32 nbSentCommands = 5; public static final int NBSENTCOMMANDS_FIELD_NUMBER = 5; private int nbSentCommands_; /** * <code>required int32 nbSentCommands = 5;</code> */ public boolean hasNbSentCommands() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>required int32 nbSentCommands = 5;</code> */ public int getNbSentCommands() { return nbSentCommands_; } // required int32 nbRejectedCommands = 6; public static final int NBREJECTEDCOMMANDS_FIELD_NUMBER = 6; private int nbRejectedCommands_; /** * <code>required int32 nbRejectedCommands = 6;</code> */ public boolean hasNbRejectedCommands() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>required int32 nbRejectedCommands = 6;</code> */ public int getNbRejectedCommands() { return nbRejectedCommands_; } // optional int32 stateExpirationTimeS = 7; public static final int STATEEXPIRATIONTIMES_FIELD_NUMBER = 7; private int stateExpirationTimeS_; /** * <code>optional int32 stateExpirationTimeS = 7;</code> */ public boolean hasStateExpirationTimeS() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 stateExpirationTimeS = 7;</code> */ public int getStateExpirationTimeS() { return stateExpirationTimeS_; } // repeated .commanding.CommandQueueEntry entry = 8; public static final int ENTRY_FIELD_NUMBER = 8; private java.util.List<org.yamcs.protobuf.Commanding.CommandQueueEntry> entry_; /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public java.util.List<org.yamcs.protobuf.Commanding.CommandQueueEntry> getEntryList() { return entry_; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public java.util.List<? extends org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> getEntryOrBuilderList() { return entry_; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public int getEntryCount() { return entry_.size(); } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getEntry(int index) { return entry_.get(index); } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } // optional string url = 9; public static final int URL_FIELD_NUMBER = 9; private java.lang.Object url_; /** * <code>optional string url = 9;</code> */ public boolean hasUrl() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional string url = 9;</code> */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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()) { url_ = s; } return s; } } /** * <code>optional string url = 9;</code> */ public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); url_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { instance_ = ""; processorName_ = ""; name_ = ""; state_ = org.yamcs.protobuf.Commanding.QueueState.BLOCKED; nbSentCommands_ = 0; nbRejectedCommands_ = 0; stateExpirationTimeS_ = 0; entry_ = java.util.Collections.emptyList(); url_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasInstance()) { memoizedIsInitialized = 0; return false; } if (!hasProcessorName()) { memoizedIsInitialized = 0; return false; } if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasNbSentCommands()) { memoizedIsInitialized = 0; return false; } if (!hasNbRejectedCommands()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getInstanceBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getProcessorNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeEnum(4, state_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, nbSentCommands_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(6, nbRejectedCommands_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(7, stateExpirationTimeS_); } for (int i = 0; i < entry_.size(); i++) { output.writeMessage(8, entry_.get(i)); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(9, getUrlBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getInstanceBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getProcessorNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, state_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, nbSentCommands_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, nbRejectedCommands_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, stateExpirationTimeS_); } for (int i = 0; i < entry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, entry_.get(i)); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, getUrlBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo 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.Commanding.CommandQueueInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Commanding.CommandQueueInfo prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code commanding.CommandQueueInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandQueueInfo.class, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder.class); } // Construct using org.yamcs.protobuf.Commanding.CommandQueueInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getEntryFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); processorName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); name_ = ""; bitField0_ = (bitField0_ & ~0x00000004); state_ = org.yamcs.protobuf.Commanding.QueueState.BLOCKED; bitField0_ = (bitField0_ & ~0x00000008); nbSentCommands_ = 0; bitField0_ = (bitField0_ & ~0x00000010); nbRejectedCommands_ = 0; bitField0_ = (bitField0_ & ~0x00000020); stateExpirationTimeS_ = 0; bitField0_ = (bitField0_ & ~0x00000040); if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { entryBuilder_.clear(); } url_ = ""; bitField0_ = (bitField0_ & ~0x00000100); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueInfo_descriptor; } public org.yamcs.protobuf.Commanding.CommandQueueInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance(); } public org.yamcs.protobuf.Commanding.CommandQueueInfo build() { org.yamcs.protobuf.Commanding.CommandQueueInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Commanding.CommandQueueInfo buildPartial() { org.yamcs.protobuf.Commanding.CommandQueueInfo result = new org.yamcs.protobuf.Commanding.CommandQueueInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.processorName_ = processorName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.name_ = name_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.state_ = state_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.nbSentCommands_ = nbSentCommands_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.nbRejectedCommands_ = nbRejectedCommands_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.stateExpirationTimeS_ = stateExpirationTimeS_; if (entryBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000080); } result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000080; } result.url_ = url_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Commanding.CommandQueueInfo) { return mergeFrom((org.yamcs.protobuf.Commanding.CommandQueueInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Commanding.CommandQueueInfo other) { if (other == org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasProcessorName()) { bitField0_ |= 0x00000002; processorName_ = other.processorName_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000004; name_ = other.name_; onChanged(); } if (other.hasState()) { setState(other.getState()); } if (other.hasNbSentCommands()) { setNbSentCommands(other.getNbSentCommands()); } if (other.hasNbRejectedCommands()) { setNbRejectedCommands(other.getNbRejectedCommands()); } if (other.hasStateExpirationTimeS()) { setStateExpirationTimeS(other.getStateExpirationTimeS()); } if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000080); entryBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } if (other.hasUrl()) { bitField0_ |= 0x00000100; url_ = other.url_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasInstance()) { return false; } if (!hasProcessorName()) { return false; } if (!hasName()) { return false; } if (!hasNbSentCommands()) { return false; } if (!hasNbRejectedCommands()) { return false; } for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Commanding.CommandQueueInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Commanding.CommandQueueInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required string instance = 1; private java.lang.Object instance_ = ""; /** * <code>required string instance = 1;</code> */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required string instance = 1;</code> */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); instance_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>required string instance = 1;</code> */ 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; } } /** * <code>required string instance = 1;</code> */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * <code>required string instance = 1;</code> */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * <code>required string instance = 1;</code> */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } // required string processorName = 2; private java.lang.Object processorName_ = ""; /** * <code>required string processorName = 2;</code> */ public boolean hasProcessorName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required string processorName = 2;</code> */ public java.lang.String getProcessorName() { java.lang.Object ref = processorName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); processorName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>required string processorName = 2;</code> */ public com.google.protobuf.ByteString getProcessorNameBytes() { java.lang.Object ref = processorName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processorName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string processorName = 2;</code> */ public Builder setProcessorName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; processorName_ = value; onChanged(); return this; } /** * <code>required string processorName = 2;</code> */ public Builder clearProcessorName() { bitField0_ = (bitField0_ & ~0x00000002); processorName_ = getDefaultInstance().getProcessorName(); onChanged(); return this; } /** * <code>required string processorName = 2;</code> */ public Builder setProcessorNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; processorName_ = value; onChanged(); return this; } // required string name = 3; private java.lang.Object name_ = ""; /** * <code>required string name = 3;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required string name = 3;</code> */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>required string name = 3;</code> */ 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; } } /** * <code>required string name = 3;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } /** * <code>required string name = 3;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * <code>required string name = 3;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } // optional .commanding.QueueState state = 4; private org.yamcs.protobuf.Commanding.QueueState state_ = org.yamcs.protobuf.Commanding.QueueState.BLOCKED; /** * <code>optional .commanding.QueueState state = 4;</code> */ public boolean hasState() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .commanding.QueueState state = 4;</code> */ public org.yamcs.protobuf.Commanding.QueueState getState() { return state_; } /** * <code>optional .commanding.QueueState state = 4;</code> */ public Builder setState(org.yamcs.protobuf.Commanding.QueueState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; state_ = value; onChanged(); return this; } /** * <code>optional .commanding.QueueState state = 4;</code> */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000008); state_ = org.yamcs.protobuf.Commanding.QueueState.BLOCKED; onChanged(); return this; } // required int32 nbSentCommands = 5; private int nbSentCommands_ ; /** * <code>required int32 nbSentCommands = 5;</code> */ public boolean hasNbSentCommands() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>required int32 nbSentCommands = 5;</code> */ public int getNbSentCommands() { return nbSentCommands_; } /** * <code>required int32 nbSentCommands = 5;</code> */ public Builder setNbSentCommands(int value) { bitField0_ |= 0x00000010; nbSentCommands_ = value; onChanged(); return this; } /** * <code>required int32 nbSentCommands = 5;</code> */ public Builder clearNbSentCommands() { bitField0_ = (bitField0_ & ~0x00000010); nbSentCommands_ = 0; onChanged(); return this; } // required int32 nbRejectedCommands = 6; private int nbRejectedCommands_ ; /** * <code>required int32 nbRejectedCommands = 6;</code> */ public boolean hasNbRejectedCommands() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>required int32 nbRejectedCommands = 6;</code> */ public int getNbRejectedCommands() { return nbRejectedCommands_; } /** * <code>required int32 nbRejectedCommands = 6;</code> */ public Builder setNbRejectedCommands(int value) { bitField0_ |= 0x00000020; nbRejectedCommands_ = value; onChanged(); return this; } /** * <code>required int32 nbRejectedCommands = 6;</code> */ public Builder clearNbRejectedCommands() { bitField0_ = (bitField0_ & ~0x00000020); nbRejectedCommands_ = 0; onChanged(); return this; } // optional int32 stateExpirationTimeS = 7; private int stateExpirationTimeS_ ; /** * <code>optional int32 stateExpirationTimeS = 7;</code> */ public boolean hasStateExpirationTimeS() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 stateExpirationTimeS = 7;</code> */ public int getStateExpirationTimeS() { return stateExpirationTimeS_; } /** * <code>optional int32 stateExpirationTimeS = 7;</code> */ public Builder setStateExpirationTimeS(int value) { bitField0_ |= 0x00000040; stateExpirationTimeS_ = value; onChanged(); return this; } /** * <code>optional int32 stateExpirationTimeS = 7;</code> */ public Builder clearStateExpirationTimeS() { bitField0_ = (bitField0_ & ~0x00000040); stateExpirationTimeS_ = 0; onChanged(); return this; } // repeated .commanding.CommandQueueEntry entry = 8; private java.util.List<org.yamcs.protobuf.Commanding.CommandQueueEntry> entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { entry_ = new java.util.ArrayList<org.yamcs.protobuf.Commanding.CommandQueueEntry>(entry_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> entryBuilder_; /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public java.util.List<org.yamcs.protobuf.Commanding.CommandQueueEntry> getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder setEntry( int index, org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); onChanged(); } else { entryBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder setEntry( int index, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder addEntry(org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder addEntry( int index, org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); onChanged(); } else { entryBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder addEntry( org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder addEntry( int index, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder addAllEntry( java.lang.Iterable<? extends org.yamcs.protobuf.Commanding.CommandQueueEntry> values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); super.addAll(values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { entryBuilder_.clear(); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public java.util.List<? extends org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance()); } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance()); } /** * <code>repeated .commanding.CommandQueueEntry entry = 8;</code> */ public java.util.List<org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder> getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder>( entry_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } // optional string url = 9; private java.lang.Object url_ = ""; /** * <code>optional string url = 9;</code> */ public boolean hasUrl() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional string url = 9;</code> */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); url_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string url = 9;</code> */ public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); url_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string url = 9;</code> */ public Builder setUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; url_ = value; onChanged(); return this; } /** * <code>optional string url = 9;</code> */ public Builder clearUrl() { bitField0_ = (bitField0_ & ~0x00000100); url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** * <code>optional string url = 9;</code> */ public Builder setUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; url_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:commanding.CommandQueueInfo) } static { defaultInstance = new CommandQueueInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:commanding.CommandQueueInfo) } public interface CommandQueueEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string instance = 1; /** * <code>required string instance = 1;</code> */ boolean hasInstance(); /** * <code>required string instance = 1;</code> */ java.lang.String getInstance(); /** * <code>required string instance = 1;</code> */ com.google.protobuf.ByteString getInstanceBytes(); // required string processorName = 2; /** * <code>required string processorName = 2;</code> */ boolean hasProcessorName(); /** * <code>required string processorName = 2;</code> */ java.lang.String getProcessorName(); /** * <code>required string processorName = 2;</code> */ com.google.protobuf.ByteString getProcessorNameBytes(); // required string queueName = 3; /** * <code>required string queueName = 3;</code> */ boolean hasQueueName(); /** * <code>required string queueName = 3;</code> */ java.lang.String getQueueName(); /** * <code>required string queueName = 3;</code> */ com.google.protobuf.ByteString getQueueNameBytes(); // required .commanding.CommandId cmdId = 4; /** * <code>required .commanding.CommandId cmdId = 4;</code> */ boolean hasCmdId(); /** * <code>required .commanding.CommandId cmdId = 4;</code> */ org.yamcs.protobuf.Commanding.CommandId getCmdId(); /** * <code>required .commanding.CommandId cmdId = 4;</code> */ org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCmdIdOrBuilder(); // optional string source = 5; /** * <code>optional string source = 5;</code> */ boolean hasSource(); /** * <code>optional string source = 5;</code> */ java.lang.String getSource(); /** * <code>optional string source = 5;</code> */ com.google.protobuf.ByteString getSourceBytes(); // optional bytes binary = 6; /** * <code>optional bytes binary = 6;</code> */ boolean hasBinary(); /** * <code>optional bytes binary = 6;</code> */ com.google.protobuf.ByteString getBinary(); // optional string username = 7; /** * <code>optional string username = 7;</code> */ boolean hasUsername(); /** * <code>optional string username = 7;</code> */ java.lang.String getUsername(); /** * <code>optional string username = 7;</code> */ com.google.protobuf.ByteString getUsernameBytes(); // optional int64 generationTime = 8; /** * <code>optional int64 generationTime = 8;</code> */ boolean hasGenerationTime(); /** * <code>optional int64 generationTime = 8;</code> */ long getGenerationTime(); // optional string uuid = 9; /** * <code>optional string uuid = 9;</code> */ boolean hasUuid(); /** * <code>optional string uuid = 9;</code> */ java.lang.String getUuid(); /** * <code>optional string uuid = 9;</code> */ com.google.protobuf.ByteString getUuidBytes(); } /** * Protobuf type {@code commanding.CommandQueueEntry} * * <pre> *One entry (command) in the command queue * </pre> */ public static final class CommandQueueEntry extends com.google.protobuf.GeneratedMessage implements CommandQueueEntryOrBuilder { // Use CommandQueueEntry.newBuilder() to construct. private CommandQueueEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CommandQueueEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CommandQueueEntry defaultInstance; public static CommandQueueEntry getDefaultInstance() { return defaultInstance; } public CommandQueueEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandQueueEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; instance_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; processorName_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; queueName_ = input.readBytes(); break; } case 34: { org.yamcs.protobuf.Commanding.CommandId.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = cmdId_.toBuilder(); } cmdId_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandId.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cmdId_); cmdId_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { bitField0_ |= 0x00000010; source_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; binary_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000040; username_ = input.readBytes(); break; } case 64: { bitField0_ |= 0x00000080; generationTime_ = input.readInt64(); break; } case 74: { bitField0_ |= 0x00000100; uuid_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandQueueEntry.class, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder.class); } public static com.google.protobuf.Parser<CommandQueueEntry> PARSER = new com.google.protobuf.AbstractParser<CommandQueueEntry>() { public CommandQueueEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandQueueEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CommandQueueEntry> getParserForType() { return PARSER; } private int bitField0_; // required string instance = 1; public static final int INSTANCE_FIELD_NUMBER = 1; private java.lang.Object instance_; /** * <code>required string instance = 1;</code> */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required string instance = 1;</code> */ 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; } } /** * <code>required string instance = 1;</code> */ 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; } } // required string processorName = 2; public static final int PROCESSORNAME_FIELD_NUMBER = 2; private java.lang.Object processorName_; /** * <code>required string processorName = 2;</code> */ public boolean hasProcessorName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required string processorName = 2;</code> */ public java.lang.String getProcessorName() { java.lang.Object ref = processorName_; 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()) { processorName_ = s; } return s; } } /** * <code>required string processorName = 2;</code> */ public com.google.protobuf.ByteString getProcessorNameBytes() { java.lang.Object ref = processorName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processorName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string queueName = 3; public static final int QUEUENAME_FIELD_NUMBER = 3; private java.lang.Object queueName_; /** * <code>required string queueName = 3;</code> */ public boolean hasQueueName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required string queueName = 3;</code> */ public java.lang.String getQueueName() { java.lang.Object ref = queueName_; 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()) { queueName_ = s; } return s; } } /** * <code>required string queueName = 3;</code> */ public com.google.protobuf.ByteString getQueueNameBytes() { java.lang.Object ref = queueName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queueName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required .commanding.CommandId cmdId = 4; public static final int CMDID_FIELD_NUMBER = 4; private org.yamcs.protobuf.Commanding.CommandId cmdId_; /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public boolean hasCmdId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public org.yamcs.protobuf.Commanding.CommandId getCmdId() { return cmdId_; } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCmdIdOrBuilder() { return cmdId_; } // optional string source = 5; public static final int SOURCE_FIELD_NUMBER = 5; private java.lang.Object source_; /** * <code>optional string source = 5;</code> */ public boolean hasSource() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional string source = 5;</code> */ 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; } } /** * <code>optional string source = 5;</code> */ 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; } } // optional bytes binary = 6; public static final int BINARY_FIELD_NUMBER = 6; private com.google.protobuf.ByteString binary_; /** * <code>optional bytes binary = 6;</code> */ public boolean hasBinary() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional bytes binary = 6;</code> */ public com.google.protobuf.ByteString getBinary() { return binary_; } // optional string username = 7; public static final int USERNAME_FIELD_NUMBER = 7; private java.lang.Object username_; /** * <code>optional string username = 7;</code> */ public boolean hasUsername() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional string username = 7;</code> */ public java.lang.String getUsername() { java.lang.Object ref = username_; 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()) { username_ = s; } return s; } } /** * <code>optional string username = 7;</code> */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 generationTime = 8; public static final int GENERATIONTIME_FIELD_NUMBER = 8; private long generationTime_; /** * <code>optional int64 generationTime = 8;</code> */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional int64 generationTime = 8;</code> */ public long getGenerationTime() { return generationTime_; } // optional string uuid = 9; public static final int UUID_FIELD_NUMBER = 9; private java.lang.Object uuid_; /** * <code>optional string uuid = 9;</code> */ public boolean hasUuid() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional string uuid = 9;</code> */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; 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()) { uuid_ = s; } return s; } } /** * <code>optional string uuid = 9;</code> */ public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uuid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { instance_ = ""; processorName_ = ""; queueName_ = ""; cmdId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); source_ = ""; binary_ = com.google.protobuf.ByteString.EMPTY; username_ = ""; generationTime_ = 0L; uuid_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasInstance()) { memoizedIsInitialized = 0; return false; } if (!hasProcessorName()) { memoizedIsInitialized = 0; return false; } if (!hasQueueName()) { memoizedIsInitialized = 0; return false; } if (!hasCmdId()) { memoizedIsInitialized = 0; return false; } if (!getCmdId().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getInstanceBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getProcessorNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getQueueNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, cmdId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getSourceBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, binary_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(7, getUsernameBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt64(8, generationTime_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeBytes(9, getUuidBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getInstanceBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getProcessorNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getQueueNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, cmdId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getSourceBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, binary_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getUsernameBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, generationTime_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, getUuidBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry 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.Commanding.CommandQueueEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Commanding.CommandQueueEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code commanding.CommandQueueEntry} * * <pre> *One entry (command) in the command queue * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandQueueEntry.class, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder.class); } // Construct using org.yamcs.protobuf.Commanding.CommandQueueEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCmdIdFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); processorName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); queueName_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (cmdIdBuilder_ == null) { cmdId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); } else { cmdIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); source_ = ""; bitField0_ = (bitField0_ & ~0x00000010); binary_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); username_ = ""; bitField0_ = (bitField0_ & ~0x00000040); generationTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); uuid_ = ""; bitField0_ = (bitField0_ & ~0x00000100); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEntry_descriptor; } public org.yamcs.protobuf.Commanding.CommandQueueEntry getDefaultInstanceForType() { return org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); } public org.yamcs.protobuf.Commanding.CommandQueueEntry build() { org.yamcs.protobuf.Commanding.CommandQueueEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Commanding.CommandQueueEntry buildPartial() { org.yamcs.protobuf.Commanding.CommandQueueEntry result = new org.yamcs.protobuf.Commanding.CommandQueueEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.processorName_ = processorName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.queueName_ = queueName_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (cmdIdBuilder_ == null) { result.cmdId_ = cmdId_; } else { result.cmdId_ = cmdIdBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.source_ = source_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.binary_ = binary_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.username_ = username_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.generationTime_ = generationTime_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.uuid_ = uuid_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Commanding.CommandQueueEntry) { return mergeFrom((org.yamcs.protobuf.Commanding.CommandQueueEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Commanding.CommandQueueEntry other) { if (other == org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasProcessorName()) { bitField0_ |= 0x00000002; processorName_ = other.processorName_; onChanged(); } if (other.hasQueueName()) { bitField0_ |= 0x00000004; queueName_ = other.queueName_; onChanged(); } if (other.hasCmdId()) { mergeCmdId(other.getCmdId()); } if (other.hasSource()) { bitField0_ |= 0x00000010; source_ = other.source_; onChanged(); } if (other.hasBinary()) { setBinary(other.getBinary()); } if (other.hasUsername()) { bitField0_ |= 0x00000040; username_ = other.username_; onChanged(); } if (other.hasGenerationTime()) { setGenerationTime(other.getGenerationTime()); } if (other.hasUuid()) { bitField0_ |= 0x00000100; uuid_ = other.uuid_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasInstance()) { return false; } if (!hasProcessorName()) { return false; } if (!hasQueueName()) { return false; } if (!hasCmdId()) { return false; } if (!getCmdId().isInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Commanding.CommandQueueEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Commanding.CommandQueueEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required string instance = 1; private java.lang.Object instance_ = ""; /** * <code>required string instance = 1;</code> */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required string instance = 1;</code> */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); instance_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>required string instance = 1;</code> */ 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; } } /** * <code>required string instance = 1;</code> */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * <code>required string instance = 1;</code> */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * <code>required string instance = 1;</code> */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } // required string processorName = 2; private java.lang.Object processorName_ = ""; /** * <code>required string processorName = 2;</code> */ public boolean hasProcessorName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required string processorName = 2;</code> */ public java.lang.String getProcessorName() { java.lang.Object ref = processorName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); processorName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>required string processorName = 2;</code> */ public com.google.protobuf.ByteString getProcessorNameBytes() { java.lang.Object ref = processorName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processorName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string processorName = 2;</code> */ public Builder setProcessorName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; processorName_ = value; onChanged(); return this; } /** * <code>required string processorName = 2;</code> */ public Builder clearProcessorName() { bitField0_ = (bitField0_ & ~0x00000002); processorName_ = getDefaultInstance().getProcessorName(); onChanged(); return this; } /** * <code>required string processorName = 2;</code> */ public Builder setProcessorNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; processorName_ = value; onChanged(); return this; } // required string queueName = 3; private java.lang.Object queueName_ = ""; /** * <code>required string queueName = 3;</code> */ public boolean hasQueueName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required string queueName = 3;</code> */ public java.lang.String getQueueName() { java.lang.Object ref = queueName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); queueName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>required string queueName = 3;</code> */ public com.google.protobuf.ByteString getQueueNameBytes() { java.lang.Object ref = queueName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queueName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string queueName = 3;</code> */ public Builder setQueueName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; queueName_ = value; onChanged(); return this; } /** * <code>required string queueName = 3;</code> */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00000004); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } /** * <code>required string queueName = 3;</code> */ public Builder setQueueNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; queueName_ = value; onChanged(); return this; } // required .commanding.CommandId cmdId = 4; private org.yamcs.protobuf.Commanding.CommandId cmdId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder> cmdIdBuilder_; /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public boolean hasCmdId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public org.yamcs.protobuf.Commanding.CommandId getCmdId() { if (cmdIdBuilder_ == null) { return cmdId_; } else { return cmdIdBuilder_.getMessage(); } } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public Builder setCmdId(org.yamcs.protobuf.Commanding.CommandId value) { if (cmdIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cmdId_ = value; onChanged(); } else { cmdIdBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public Builder setCmdId( org.yamcs.protobuf.Commanding.CommandId.Builder builderForValue) { if (cmdIdBuilder_ == null) { cmdId_ = builderForValue.build(); onChanged(); } else { cmdIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public Builder mergeCmdId(org.yamcs.protobuf.Commanding.CommandId value) { if (cmdIdBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && cmdId_ != org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance()) { cmdId_ = org.yamcs.protobuf.Commanding.CommandId.newBuilder(cmdId_).mergeFrom(value).buildPartial(); } else { cmdId_ = value; } onChanged(); } else { cmdIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public Builder clearCmdId() { if (cmdIdBuilder_ == null) { cmdId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); onChanged(); } else { cmdIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public org.yamcs.protobuf.Commanding.CommandId.Builder getCmdIdBuilder() { bitField0_ |= 0x00000008; onChanged(); return getCmdIdFieldBuilder().getBuilder(); } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ public org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCmdIdOrBuilder() { if (cmdIdBuilder_ != null) { return cmdIdBuilder_.getMessageOrBuilder(); } else { return cmdId_; } } /** * <code>required .commanding.CommandId cmdId = 4;</code> */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder> getCmdIdFieldBuilder() { if (cmdIdBuilder_ == null) { cmdIdBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder>( cmdId_, getParentForChildren(), isClean()); cmdId_ = null; } return cmdIdBuilder_; } // optional string source = 5; private java.lang.Object source_ = ""; /** * <code>optional string source = 5;</code> */ public boolean hasSource() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional string source = 5;</code> */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); source_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string source = 5;</code> */ 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; } } /** * <code>optional string source = 5;</code> */ public Builder setSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; source_ = value; onChanged(); return this; } /** * <code>optional string source = 5;</code> */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000010); source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** * <code>optional string source = 5;</code> */ public Builder setSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; source_ = value; onChanged(); return this; } // optional bytes binary = 6; private com.google.protobuf.ByteString binary_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes binary = 6;</code> */ public boolean hasBinary() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional bytes binary = 6;</code> */ public com.google.protobuf.ByteString getBinary() { return binary_; } /** * <code>optional bytes binary = 6;</code> */ public Builder setBinary(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; binary_ = value; onChanged(); return this; } /** * <code>optional bytes binary = 6;</code> */ public Builder clearBinary() { bitField0_ = (bitField0_ & ~0x00000020); binary_ = getDefaultInstance().getBinary(); onChanged(); return this; } // optional string username = 7; private java.lang.Object username_ = ""; /** * <code>optional string username = 7;</code> */ public boolean hasUsername() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional string username = 7;</code> */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); username_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string username = 7;</code> */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string username = 7;</code> */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; username_ = value; onChanged(); return this; } /** * <code>optional string username = 7;</code> */ public Builder clearUsername() { bitField0_ = (bitField0_ & ~0x00000040); username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * <code>optional string username = 7;</code> */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; username_ = value; onChanged(); return this; } // optional int64 generationTime = 8; private long generationTime_ ; /** * <code>optional int64 generationTime = 8;</code> */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional int64 generationTime = 8;</code> */ public long getGenerationTime() { return generationTime_; } /** * <code>optional int64 generationTime = 8;</code> */ public Builder setGenerationTime(long value) { bitField0_ |= 0x00000080; generationTime_ = value; onChanged(); return this; } /** * <code>optional int64 generationTime = 8;</code> */ public Builder clearGenerationTime() { bitField0_ = (bitField0_ & ~0x00000080); generationTime_ = 0L; onChanged(); return this; } // optional string uuid = 9; private java.lang.Object uuid_ = ""; /** * <code>optional string uuid = 9;</code> */ public boolean hasUuid() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional string uuid = 9;</code> */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); uuid_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string uuid = 9;</code> */ public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uuid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string uuid = 9;</code> */ public Builder setUuid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; uuid_ = value; onChanged(); return this; } /** * <code>optional string uuid = 9;</code> */ public Builder clearUuid() { bitField0_ = (bitField0_ & ~0x00000100); uuid_ = getDefaultInstance().getUuid(); onChanged(); return this; } /** * <code>optional string uuid = 9;</code> */ public Builder setUuidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; uuid_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:commanding.CommandQueueEntry) } static { defaultInstance = new CommandQueueEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:commanding.CommandQueueEntry) } public interface CommandQueueEventOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .commanding.CommandQueueEvent.Type type = 1; /** * <code>optional .commanding.CommandQueueEvent.Type type = 1;</code> */ boolean hasType(); /** * <code>optional .commanding.CommandQueueEvent.Type type = 1;</code> */ org.yamcs.protobuf.Commanding.CommandQueueEvent.Type getType(); // optional .commanding.CommandQueueEntry data = 2; /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ boolean hasData(); /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ org.yamcs.protobuf.Commanding.CommandQueueEntry getData(); /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getDataOrBuilder(); } /** * Protobuf type {@code commanding.CommandQueueEvent} */ public static final class CommandQueueEvent extends com.google.protobuf.GeneratedMessage implements CommandQueueEventOrBuilder { // Use CommandQueueEvent.newBuilder() to construct. private CommandQueueEvent(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CommandQueueEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CommandQueueEvent defaultInstance; public static CommandQueueEvent getDefaultInstance() { return defaultInstance; } public CommandQueueEvent getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandQueueEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); org.yamcs.protobuf.Commanding.CommandQueueEvent.Type value = org.yamcs.protobuf.Commanding.CommandQueueEvent.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = value; } break; } case 18: { org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = data_.toBuilder(); } data_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueEntry.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(data_); data_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandQueueEvent.class, org.yamcs.protobuf.Commanding.CommandQueueEvent.Builder.class); } public static com.google.protobuf.Parser<CommandQueueEvent> PARSER = new com.google.protobuf.AbstractParser<CommandQueueEvent>() { public CommandQueueEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandQueueEvent(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CommandQueueEvent> getParserForType() { return PARSER; } /** * Protobuf enum {@code commanding.CommandQueueEvent.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * <code>COMMAND_ADDED = 1;</code> */ COMMAND_ADDED(0, 1), /** * <code>COMMAND_REJECTED = 2;</code> */ COMMAND_REJECTED(1, 2), /** * <code>COMMAND_SENT = 3;</code> */ COMMAND_SENT(2, 3), ; /** * <code>COMMAND_ADDED = 1;</code> */ public static final int COMMAND_ADDED_VALUE = 1; /** * <code>COMMAND_REJECTED = 2;</code> */ public static final int COMMAND_REJECTED_VALUE = 2; /** * <code>COMMAND_SENT = 3;</code> */ public static final int COMMAND_SENT_VALUE = 3; public final int getNumber() { return value; } public static Type valueOf(int value) { switch (value) { case 1: return COMMAND_ADDED; case 2: return COMMAND_REJECTED; case 3: return COMMAND_SENT; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<Type> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<Type> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<Type>() { public Type findValueByNumber(int number) { return Type.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Commanding.CommandQueueEvent.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 index; private final int value; private Type(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:commanding.CommandQueueEvent.Type) } private int bitField0_; // optional .commanding.CommandQueueEvent.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private org.yamcs.protobuf.Commanding.CommandQueueEvent.Type type_; /** * <code>optional .commanding.CommandQueueEvent.Type type = 1;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .commanding.CommandQueueEvent.Type type = 1;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEvent.Type getType() { return type_; } // optional .commanding.CommandQueueEntry data = 2; public static final int DATA_FIELD_NUMBER = 2; private org.yamcs.protobuf.Commanding.CommandQueueEntry data_; /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getData() { return data_; } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getDataOrBuilder() { return data_; } private void initFields() { type_ = org.yamcs.protobuf.Commanding.CommandQueueEvent.Type.COMMAND_ADDED; data_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasData()) { if (!getData().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, data_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, data_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent 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.Commanding.CommandQueueEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Commanding.CommandQueueEvent prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code commanding.CommandQueueEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.yamcs.protobuf.Commanding.CommandQueueEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandQueueEvent.class, org.yamcs.protobuf.Commanding.CommandQueueEvent.Builder.class); } // Construct using org.yamcs.protobuf.Commanding.CommandQueueEvent.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getDataFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); type_ = org.yamcs.protobuf.Commanding.CommandQueueEvent.Type.COMMAND_ADDED; bitField0_ = (bitField0_ & ~0x00000001); if (dataBuilder_ == null) { data_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); } else { dataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueEvent_descriptor; } public org.yamcs.protobuf.Commanding.CommandQueueEvent getDefaultInstanceForType() { return org.yamcs.protobuf.Commanding.CommandQueueEvent.getDefaultInstance(); } public org.yamcs.protobuf.Commanding.CommandQueueEvent build() { org.yamcs.protobuf.Commanding.CommandQueueEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Commanding.CommandQueueEvent buildPartial() { org.yamcs.protobuf.Commanding.CommandQueueEvent result = new org.yamcs.protobuf.Commanding.CommandQueueEvent(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (dataBuilder_ == null) { result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Commanding.CommandQueueEvent) { return mergeFrom((org.yamcs.protobuf.Commanding.CommandQueueEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Commanding.CommandQueueEvent other) { if (other == org.yamcs.protobuf.Commanding.CommandQueueEvent.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasData()) { mergeData(other.getData()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasData()) { if (!getData().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Commanding.CommandQueueEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Commanding.CommandQueueEvent) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .commanding.CommandQueueEvent.Type type = 1; private org.yamcs.protobuf.Commanding.CommandQueueEvent.Type type_ = org.yamcs.protobuf.Commanding.CommandQueueEvent.Type.COMMAND_ADDED; /** * <code>optional .commanding.CommandQueueEvent.Type type = 1;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .commanding.CommandQueueEvent.Type type = 1;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEvent.Type getType() { return type_; } /** * <code>optional .commanding.CommandQueueEvent.Type type = 1;</code> */ public Builder setType(org.yamcs.protobuf.Commanding.CommandQueueEvent.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * <code>optional .commanding.CommandQueueEvent.Type type = 1;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.yamcs.protobuf.Commanding.CommandQueueEvent.Type.COMMAND_ADDED; onChanged(); return this; } // optional .commanding.CommandQueueEntry data = 2; private org.yamcs.protobuf.Commanding.CommandQueueEntry data_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> dataBuilder_; /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getData() { if (dataBuilder_ == null) { return data_; } else { return dataBuilder_.getMessage(); } } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public Builder setData(org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public Builder setData( org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public Builder mergeData(org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (dataBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && data_ != org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance()) { data_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { dataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public Builder clearData() { if (dataBuilder_ == null) { data_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); onChanged(); } else { dataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder getDataBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDataFieldBuilder().getBuilder(); } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_; } } /** * <code>optional .commanding.CommandQueueEntry data = 2;</code> */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder>( data_, getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } // @@protoc_insertion_point(builder_scope:commanding.CommandQueueEvent) } static { defaultInstance = new CommandQueueEvent(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:commanding.CommandQueueEvent) } public interface CommandQueueRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .commanding.CommandQueueInfo queueInfo = 1; /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ boolean hasQueueInfo(); /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ org.yamcs.protobuf.Commanding.CommandQueueInfo getQueueInfo(); /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getQueueInfoOrBuilder(); // optional .commanding.CommandQueueEntry queueEntry = 2; /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ boolean hasQueueEntry(); /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ org.yamcs.protobuf.Commanding.CommandQueueEntry getQueueEntry(); /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getQueueEntryOrBuilder(); // optional bool rebuild = 3 [default = false]; /** * <code>optional bool rebuild = 3 [default = false];</code> * * <pre> *if rebuild is true, the binary packet will be recreated to include new time and sequence count * </pre> */ boolean hasRebuild(); /** * <code>optional bool rebuild = 3 [default = false];</code> * * <pre> *if rebuild is true, the binary packet will be recreated to include new time and sequence count * </pre> */ boolean getRebuild(); } /** * Protobuf type {@code commanding.CommandQueueRequest} */ public static final class CommandQueueRequest extends com.google.protobuf.GeneratedMessage implements CommandQueueRequestOrBuilder { // Use CommandQueueRequest.newBuilder() to construct. private CommandQueueRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CommandQueueRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CommandQueueRequest defaultInstance; public static CommandQueueRequest getDefaultInstance() { return defaultInstance; } public CommandQueueRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = queueInfo_.toBuilder(); } queueInfo_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queueInfo_); queueInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = queueEntry_.toBuilder(); } queueEntry_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueEntry.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queueEntry_); queueEntry_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; rebuild_ = input.readBool(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandQueueRequest.class, org.yamcs.protobuf.Commanding.CommandQueueRequest.Builder.class); } public static com.google.protobuf.Parser<CommandQueueRequest> PARSER = new com.google.protobuf.AbstractParser<CommandQueueRequest>() { public CommandQueueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandQueueRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CommandQueueRequest> getParserForType() { return PARSER; } private int bitField0_; // optional .commanding.CommandQueueInfo queueInfo = 1; public static final int QUEUEINFO_FIELD_NUMBER = 1; private org.yamcs.protobuf.Commanding.CommandQueueInfo queueInfo_; /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public boolean hasQueueInfo() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueInfo getQueueInfo() { return queueInfo_; } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getQueueInfoOrBuilder() { return queueInfo_; } // optional .commanding.CommandQueueEntry queueEntry = 2; public static final int QUEUEENTRY_FIELD_NUMBER = 2; private org.yamcs.protobuf.Commanding.CommandQueueEntry queueEntry_; /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public boolean hasQueueEntry() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getQueueEntry() { return queueEntry_; } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getQueueEntryOrBuilder() { return queueEntry_; } // optional bool rebuild = 3 [default = false]; public static final int REBUILD_FIELD_NUMBER = 3; private boolean rebuild_; /** * <code>optional bool rebuild = 3 [default = false];</code> * * <pre> *if rebuild is true, the binary packet will be recreated to include new time and sequence count * </pre> */ public boolean hasRebuild() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional bool rebuild = 3 [default = false];</code> * * <pre> *if rebuild is true, the binary packet will be recreated to include new time and sequence count * </pre> */ public boolean getRebuild() { return rebuild_; } private void initFields() { queueInfo_ = org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance(); queueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); rebuild_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasQueueInfo()) { if (!getQueueInfo().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasQueueEntry()) { if (!getQueueEntry().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, queueInfo_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, queueEntry_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, rebuild_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, queueInfo_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, queueEntry_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, rebuild_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest 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.Commanding.CommandQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandQueueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Commanding.CommandQueueRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code commanding.CommandQueueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.yamcs.protobuf.Commanding.CommandQueueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandQueueRequest.class, org.yamcs.protobuf.Commanding.CommandQueueRequest.Builder.class); } // Construct using org.yamcs.protobuf.Commanding.CommandQueueRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getQueueInfoFieldBuilder(); getQueueEntryFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (queueInfoBuilder_ == null) { queueInfo_ = org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance(); } else { queueInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (queueEntryBuilder_ == null) { queueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); } else { queueEntryBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); rebuild_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandQueueRequest_descriptor; } public org.yamcs.protobuf.Commanding.CommandQueueRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Commanding.CommandQueueRequest.getDefaultInstance(); } public org.yamcs.protobuf.Commanding.CommandQueueRequest build() { org.yamcs.protobuf.Commanding.CommandQueueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Commanding.CommandQueueRequest buildPartial() { org.yamcs.protobuf.Commanding.CommandQueueRequest result = new org.yamcs.protobuf.Commanding.CommandQueueRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (queueInfoBuilder_ == null) { result.queueInfo_ = queueInfo_; } else { result.queueInfo_ = queueInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (queueEntryBuilder_ == null) { result.queueEntry_ = queueEntry_; } else { result.queueEntry_ = queueEntryBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.rebuild_ = rebuild_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Commanding.CommandQueueRequest) { return mergeFrom((org.yamcs.protobuf.Commanding.CommandQueueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Commanding.CommandQueueRequest other) { if (other == org.yamcs.protobuf.Commanding.CommandQueueRequest.getDefaultInstance()) return this; if (other.hasQueueInfo()) { mergeQueueInfo(other.getQueueInfo()); } if (other.hasQueueEntry()) { mergeQueueEntry(other.getQueueEntry()); } if (other.hasRebuild()) { setRebuild(other.getRebuild()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasQueueInfo()) { if (!getQueueInfo().isInitialized()) { return false; } } if (hasQueueEntry()) { if (!getQueueEntry().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Commanding.CommandQueueRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Commanding.CommandQueueRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .commanding.CommandQueueInfo queueInfo = 1; private org.yamcs.protobuf.Commanding.CommandQueueInfo queueInfo_ = org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder> queueInfoBuilder_; /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public boolean hasQueueInfo() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueInfo getQueueInfo() { if (queueInfoBuilder_ == null) { return queueInfo_; } else { return queueInfoBuilder_.getMessage(); } } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public Builder setQueueInfo(org.yamcs.protobuf.Commanding.CommandQueueInfo value) { if (queueInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queueInfo_ = value; onChanged(); } else { queueInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public Builder setQueueInfo( org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder builderForValue) { if (queueInfoBuilder_ == null) { queueInfo_ = builderForValue.build(); onChanged(); } else { queueInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public Builder mergeQueueInfo(org.yamcs.protobuf.Commanding.CommandQueueInfo value) { if (queueInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && queueInfo_ != org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance()) { queueInfo_ = org.yamcs.protobuf.Commanding.CommandQueueInfo.newBuilder(queueInfo_).mergeFrom(value).buildPartial(); } else { queueInfo_ = value; } onChanged(); } else { queueInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public Builder clearQueueInfo() { if (queueInfoBuilder_ == null) { queueInfo_ = org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance(); onChanged(); } else { queueInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder getQueueInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getQueueInfoFieldBuilder().getBuilder(); } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getQueueInfoOrBuilder() { if (queueInfoBuilder_ != null) { return queueInfoBuilder_.getMessageOrBuilder(); } else { return queueInfo_; } } /** * <code>optional .commanding.CommandQueueInfo queueInfo = 1;</code> * * <pre> * for SetQueueState * </pre> */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder> getQueueInfoFieldBuilder() { if (queueInfoBuilder_ == null) { queueInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder>( queueInfo_, getParentForChildren(), isClean()); queueInfo_ = null; } return queueInfoBuilder_; } // optional .commanding.CommandQueueEntry queueEntry = 2; private org.yamcs.protobuf.Commanding.CommandQueueEntry queueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> queueEntryBuilder_; /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public boolean hasQueueEntry() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getQueueEntry() { if (queueEntryBuilder_ == null) { return queueEntry_; } else { return queueEntryBuilder_.getMessage(); } } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public Builder setQueueEntry(org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (queueEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queueEntry_ = value; onChanged(); } else { queueEntryBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public Builder setQueueEntry( org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (queueEntryBuilder_ == null) { queueEntry_ = builderForValue.build(); onChanged(); } else { queueEntryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public Builder mergeQueueEntry(org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (queueEntryBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && queueEntry_ != org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance()) { queueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.newBuilder(queueEntry_).mergeFrom(value).buildPartial(); } else { queueEntry_ = value; } onChanged(); } else { queueEntryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public Builder clearQueueEntry() { if (queueEntryBuilder_ == null) { queueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); onChanged(); } else { queueEntryBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder getQueueEntryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getQueueEntryFieldBuilder().getBuilder(); } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getQueueEntryOrBuilder() { if (queueEntryBuilder_ != null) { return queueEntryBuilder_.getMessageOrBuilder(); } else { return queueEntry_; } } /** * <code>optional .commanding.CommandQueueEntry queueEntry = 2;</code> * * <pre> *for SendCommand and RejectCommand * </pre> */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> getQueueEntryFieldBuilder() { if (queueEntryBuilder_ == null) { queueEntryBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder>( queueEntry_, getParentForChildren(), isClean()); queueEntry_ = null; } return queueEntryBuilder_; } // optional bool rebuild = 3 [default = false]; private boolean rebuild_ ; /** * <code>optional bool rebuild = 3 [default = false];</code> * * <pre> *if rebuild is true, the binary packet will be recreated to include new time and sequence count * </pre> */ public boolean hasRebuild() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional bool rebuild = 3 [default = false];</code> * * <pre> *if rebuild is true, the binary packet will be recreated to include new time and sequence count * </pre> */ public boolean getRebuild() { return rebuild_; } /** * <code>optional bool rebuild = 3 [default = false];</code> * * <pre> *if rebuild is true, the binary packet will be recreated to include new time and sequence count * </pre> */ public Builder setRebuild(boolean value) { bitField0_ |= 0x00000004; rebuild_ = value; onChanged(); return this; } /** * <code>optional bool rebuild = 3 [default = false];</code> * * <pre> *if rebuild is true, the binary packet will be recreated to include new time and sequence count * </pre> */ public Builder clearRebuild() { bitField0_ = (bitField0_ & ~0x00000004); rebuild_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:commanding.CommandQueueRequest) } static { defaultInstance = new CommandQueueRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:commanding.CommandQueueRequest) } public interface CommandSignificanceOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 sequenceNumber = 1; /** * <code>optional int32 sequenceNumber = 1;</code> * * <pre> *the sequence number of the command sent * </pre> */ boolean hasSequenceNumber(); /** * <code>optional int32 sequenceNumber = 1;</code> * * <pre> *the sequence number of the command sent * </pre> */ int getSequenceNumber(); // optional .mdb.SignificanceInfo significance = 2; /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ boolean hasSignificance(); /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance(); /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getSignificanceOrBuilder(); } /** * Protobuf type {@code commanding.CommandSignificance} * * <pre> * this message is sent as response to validate, in case the significance is defined for a commands * </pre> */ public static final class CommandSignificance extends com.google.protobuf.GeneratedMessage implements CommandSignificanceOrBuilder { // Use CommandSignificance.newBuilder() to construct. private CommandSignificance(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CommandSignificance(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CommandSignificance defaultInstance; public static CommandSignificance getDefaultInstance() { return defaultInstance; } public CommandSignificance getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandSignificance( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; sequenceNumber_ = input.readInt32(); break; } case 18: { org.yamcs.protobuf.Mdb.SignificanceInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = significance_.toBuilder(); } significance_ = input.readMessage(org.yamcs.protobuf.Mdb.SignificanceInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(significance_); significance_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandSignificance_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandSignificance_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandSignificance.class, org.yamcs.protobuf.Commanding.CommandSignificance.Builder.class); } public static com.google.protobuf.Parser<CommandSignificance> PARSER = new com.google.protobuf.AbstractParser<CommandSignificance>() { public CommandSignificance parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandSignificance(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CommandSignificance> getParserForType() { return PARSER; } private int bitField0_; // optional int32 sequenceNumber = 1; public static final int SEQUENCENUMBER_FIELD_NUMBER = 1; private int sequenceNumber_; /** * <code>optional int32 sequenceNumber = 1;</code> * * <pre> *the sequence number of the command sent * </pre> */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 sequenceNumber = 1;</code> * * <pre> *the sequence number of the command sent * </pre> */ public int getSequenceNumber() { return sequenceNumber_; } // optional .mdb.SignificanceInfo significance = 2; public static final int SIGNIFICANCE_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.SignificanceInfo significance_; /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public boolean hasSignificance() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance() { return significance_; } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getSignificanceOrBuilder() { return significance_; } private void initFields() { sequenceNumber_ = 0; significance_ = org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, sequenceNumber_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, significance_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, sequenceNumber_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, significance_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Commanding.CommandSignificance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandSignificance 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.Commanding.CommandSignificance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandSignificance parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandSignificance parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandSignificance parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandSignificance parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Commanding.CommandSignificance parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandSignificance parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandSignificance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Commanding.CommandSignificance prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code commanding.CommandSignificance} * * <pre> * this message is sent as response to validate, in case the significance is defined for a commands * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.yamcs.protobuf.Commanding.CommandSignificanceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandSignificance_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandSignificance_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandSignificance.class, org.yamcs.protobuf.Commanding.CommandSignificance.Builder.class); } // Construct using org.yamcs.protobuf.Commanding.CommandSignificance.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getSignificanceFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); sequenceNumber_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (significanceBuilder_ == null) { significance_ = org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance(); } else { significanceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandSignificance_descriptor; } public org.yamcs.protobuf.Commanding.CommandSignificance getDefaultInstanceForType() { return org.yamcs.protobuf.Commanding.CommandSignificance.getDefaultInstance(); } public org.yamcs.protobuf.Commanding.CommandSignificance build() { org.yamcs.protobuf.Commanding.CommandSignificance result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Commanding.CommandSignificance buildPartial() { org.yamcs.protobuf.Commanding.CommandSignificance result = new org.yamcs.protobuf.Commanding.CommandSignificance(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.sequenceNumber_ = sequenceNumber_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (significanceBuilder_ == null) { result.significance_ = significance_; } else { result.significance_ = significanceBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Commanding.CommandSignificance) { return mergeFrom((org.yamcs.protobuf.Commanding.CommandSignificance)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Commanding.CommandSignificance other) { if (other == org.yamcs.protobuf.Commanding.CommandSignificance.getDefaultInstance()) return this; if (other.hasSequenceNumber()) { setSequenceNumber(other.getSequenceNumber()); } if (other.hasSignificance()) { mergeSignificance(other.getSignificance()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Commanding.CommandSignificance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Commanding.CommandSignificance) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 sequenceNumber = 1; private int sequenceNumber_ ; /** * <code>optional int32 sequenceNumber = 1;</code> * * <pre> *the sequence number of the command sent * </pre> */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 sequenceNumber = 1;</code> * * <pre> *the sequence number of the command sent * </pre> */ public int getSequenceNumber() { return sequenceNumber_; } /** * <code>optional int32 sequenceNumber = 1;</code> * * <pre> *the sequence number of the command sent * </pre> */ public Builder setSequenceNumber(int value) { bitField0_ |= 0x00000001; sequenceNumber_ = value; onChanged(); return this; } /** * <code>optional int32 sequenceNumber = 1;</code> * * <pre> *the sequence number of the command sent * </pre> */ public Builder clearSequenceNumber() { bitField0_ = (bitField0_ & ~0x00000001); sequenceNumber_ = 0; onChanged(); return this; } // optional .mdb.SignificanceInfo significance = 2; private org.yamcs.protobuf.Mdb.SignificanceInfo significance_ = org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder> significanceBuilder_; /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public boolean hasSignificance() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance() { if (significanceBuilder_ == null) { return significance_; } else { return significanceBuilder_.getMessage(); } } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public Builder setSignificance(org.yamcs.protobuf.Mdb.SignificanceInfo value) { if (significanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } significance_ = value; onChanged(); } else { significanceBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public Builder setSignificance( org.yamcs.protobuf.Mdb.SignificanceInfo.Builder builderForValue) { if (significanceBuilder_ == null) { significance_ = builderForValue.build(); onChanged(); } else { significanceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public Builder mergeSignificance(org.yamcs.protobuf.Mdb.SignificanceInfo value) { if (significanceBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && significance_ != org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance()) { significance_ = org.yamcs.protobuf.Mdb.SignificanceInfo.newBuilder(significance_).mergeFrom(value).buildPartial(); } else { significance_ = value; } onChanged(); } else { significanceBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public Builder clearSignificance() { if (significanceBuilder_ == null) { significance_ = org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance(); onChanged(); } else { significanceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public org.yamcs.protobuf.Mdb.SignificanceInfo.Builder getSignificanceBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSignificanceFieldBuilder().getBuilder(); } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ public org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getSignificanceOrBuilder() { if (significanceBuilder_ != null) { return significanceBuilder_.getMessageOrBuilder(); } else { return significance_; } } /** * <code>optional .mdb.SignificanceInfo significance = 2;</code> */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder> getSignificanceFieldBuilder() { if (significanceBuilder_ == null) { significanceBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder>( significance_, getParentForChildren(), isClean()); significance_ = null; } return significanceBuilder_; } // @@protoc_insertion_point(builder_scope:commanding.CommandSignificance) } static { defaultInstance = new CommandSignificance(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:commanding.CommandSignificance) } public interface CommandHistoryAttributeOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string name = 1; /** * <code>optional string name = 1;</code> */ boolean hasName(); /** * <code>optional string name = 1;</code> */ java.lang.String getName(); /** * <code>optional string name = 1;</code> */ com.google.protobuf.ByteString getNameBytes(); // optional .yamcs.Value value = 2; /** * <code>optional .yamcs.Value value = 2;</code> */ boolean hasValue(); /** * <code>optional .yamcs.Value value = 2;</code> */ org.yamcs.protobuf.Yamcs.Value getValue(); /** * <code>optional .yamcs.Value value = 2;</code> */ org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder(); // optional int64 time = 3; /** * <code>optional int64 time = 3;</code> */ boolean hasTime(); /** * <code>optional int64 time = 3;</code> */ long getTime(); } /** * Protobuf type {@code commanding.CommandHistoryAttribute} */ public static final class CommandHistoryAttribute extends com.google.protobuf.GeneratedMessage implements CommandHistoryAttributeOrBuilder { // Use CommandHistoryAttribute.newBuilder() to construct. private CommandHistoryAttribute(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CommandHistoryAttribute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CommandHistoryAttribute defaultInstance; public static CommandHistoryAttribute getDefaultInstance() { return defaultInstance; } public CommandHistoryAttribute getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandHistoryAttribute( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; name_ = input.readBytes(); break; } case 18: { org.yamcs.protobuf.Yamcs.Value.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(org.yamcs.protobuf.Yamcs.Value.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; time_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryAttribute_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandHistoryAttribute.class, org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder.class); } public static com.google.protobuf.Parser<CommandHistoryAttribute> PARSER = new com.google.protobuf.AbstractParser<CommandHistoryAttribute>() { public CommandHistoryAttribute parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandHistoryAttribute(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CommandHistoryAttribute> getParserForType() { return PARSER; } private int bitField0_; // optional string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * <code>optional string name = 1;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string name = 1;</code> */ 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; } } /** * <code>optional string name = 1;</code> */ 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; } } // optional .yamcs.Value value = 2; public static final int VALUE_FIELD_NUMBER = 2; private org.yamcs.protobuf.Yamcs.Value value_; /** * <code>optional .yamcs.Value value = 2;</code> */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .yamcs.Value value = 2;</code> */ public org.yamcs.protobuf.Yamcs.Value getValue() { return value_; } /** * <code>optional .yamcs.Value value = 2;</code> */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder() { return value_; } // optional int64 time = 3; public static final int TIME_FIELD_NUMBER = 3; private long time_; /** * <code>optional int64 time = 3;</code> */ public boolean hasTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int64 time = 3;</code> */ public long getTime() { return time_; } private void initFields() { name_ = ""; value_ = org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); time_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasValue()) { if (!getValue().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, value_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, time_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, value_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, time_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute 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.Commanding.CommandHistoryAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandHistoryAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Commanding.CommandHistoryAttribute prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code commanding.CommandHistoryAttribute} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryAttribute_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandHistoryAttribute.class, org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder.class); } // Construct using org.yamcs.protobuf.Commanding.CommandHistoryAttribute.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getValueFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (valueBuilder_ == null) { value_ = org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); time_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryAttribute_descriptor; } public org.yamcs.protobuf.Commanding.CommandHistoryAttribute getDefaultInstanceForType() { return org.yamcs.protobuf.Commanding.CommandHistoryAttribute.getDefaultInstance(); } public org.yamcs.protobuf.Commanding.CommandHistoryAttribute build() { org.yamcs.protobuf.Commanding.CommandHistoryAttribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Commanding.CommandHistoryAttribute buildPartial() { org.yamcs.protobuf.Commanding.CommandHistoryAttribute result = new org.yamcs.protobuf.Commanding.CommandHistoryAttribute(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.time_ = time_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Commanding.CommandHistoryAttribute) { return mergeFrom((org.yamcs.protobuf.Commanding.CommandHistoryAttribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Commanding.CommandHistoryAttribute other) { if (other == org.yamcs.protobuf.Commanding.CommandHistoryAttribute.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasValue()) { mergeValue(other.getValue()); } if (other.hasTime()) { setTime(other.getTime()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasValue()) { if (!getValue().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Commanding.CommandHistoryAttribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Commanding.CommandHistoryAttribute) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string name = 1; private java.lang.Object name_ = ""; /** * <code>optional string name = 1;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string name = 1;</code> */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string name = 1;</code> */ 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; } } /** * <code>optional string name = 1;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * <code>optional string name = 1;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * <code>optional string name = 1;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } // optional .yamcs.Value value = 2; private org.yamcs.protobuf.Yamcs.Value value_ = org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> valueBuilder_; /** * <code>optional .yamcs.Value value = 2;</code> */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .yamcs.Value value = 2;</code> */ public org.yamcs.protobuf.Yamcs.Value getValue() { if (valueBuilder_ == null) { return value_; } else { return valueBuilder_.getMessage(); } } /** * <code>optional .yamcs.Value value = 2;</code> */ public Builder setValue(org.yamcs.protobuf.Yamcs.Value value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .yamcs.Value value = 2;</code> */ public Builder setValue( org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .yamcs.Value value = 2;</code> */ public Builder mergeValue(org.yamcs.protobuf.Yamcs.Value value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && value_ != org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()) { value_ = org.yamcs.protobuf.Yamcs.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .yamcs.Value value = 2;</code> */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); onChanged(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>optional .yamcs.Value value = 2;</code> */ public org.yamcs.protobuf.Yamcs.Value.Builder getValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getValueFieldBuilder().getBuilder(); } /** * <code>optional .yamcs.Value value = 2;</code> */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_; } } /** * <code>optional .yamcs.Value value = 2;</code> */ private com.google.protobuf.SingleFieldBuilder< 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.SingleFieldBuilder< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder>( value_, getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } // optional int64 time = 3; private long time_ ; /** * <code>optional int64 time = 3;</code> */ public boolean hasTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int64 time = 3;</code> */ public long getTime() { return time_; } /** * <code>optional int64 time = 3;</code> */ public Builder setTime(long value) { bitField0_ |= 0x00000004; time_ = value; onChanged(); return this; } /** * <code>optional int64 time = 3;</code> */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000004); time_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:commanding.CommandHistoryAttribute) } static { defaultInstance = new CommandHistoryAttribute(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:commanding.CommandHistoryAttribute) } public interface CommandHistoryEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // required .commanding.CommandId commandId = 1; /** * <code>required .commanding.CommandId commandId = 1;</code> */ boolean hasCommandId(); /** * <code>required .commanding.CommandId commandId = 1;</code> */ org.yamcs.protobuf.Commanding.CommandId getCommandId(); /** * <code>required .commanding.CommandId commandId = 1;</code> */ org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCommandIdOrBuilder(); // repeated .commanding.CommandHistoryAttribute attr = 3; /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ java.util.List<org.yamcs.protobuf.Commanding.CommandHistoryAttribute> getAttrList(); /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ org.yamcs.protobuf.Commanding.CommandHistoryAttribute getAttr(int index); /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ int getAttrCount(); /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ java.util.List<? extends org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder> getAttrOrBuilderList(); /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder getAttrOrBuilder( int index); } /** * Protobuf type {@code commanding.CommandHistoryEntry} */ public static final class CommandHistoryEntry extends com.google.protobuf.GeneratedMessage implements CommandHistoryEntryOrBuilder { // Use CommandHistoryEntry.newBuilder() to construct. private CommandHistoryEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CommandHistoryEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CommandHistoryEntry defaultInstance; public static CommandHistoryEntry getDefaultInstance() { return defaultInstance; } public CommandHistoryEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandHistoryEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.yamcs.protobuf.Commanding.CommandId.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = commandId_.toBuilder(); } commandId_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandId.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(commandId_); commandId_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { attr_ = new java.util.ArrayList<org.yamcs.protobuf.Commanding.CommandHistoryAttribute>(); mutable_bitField0_ |= 0x00000002; } attr_.add(input.readMessage(org.yamcs.protobuf.Commanding.CommandHistoryAttribute.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { attr_ = java.util.Collections.unmodifiableList(attr_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandHistoryEntry.class, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder.class); } public static com.google.protobuf.Parser<CommandHistoryEntry> PARSER = new com.google.protobuf.AbstractParser<CommandHistoryEntry>() { public CommandHistoryEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandHistoryEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CommandHistoryEntry> getParserForType() { return PARSER; } private int bitField0_; // required .commanding.CommandId commandId = 1; public static final int COMMANDID_FIELD_NUMBER = 1; private org.yamcs.protobuf.Commanding.CommandId commandId_; /** * <code>required .commanding.CommandId commandId = 1;</code> */ public boolean hasCommandId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public org.yamcs.protobuf.Commanding.CommandId getCommandId() { return commandId_; } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCommandIdOrBuilder() { return commandId_; } // repeated .commanding.CommandHistoryAttribute attr = 3; public static final int ATTR_FIELD_NUMBER = 3; private java.util.List<org.yamcs.protobuf.Commanding.CommandHistoryAttribute> attr_; /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public java.util.List<org.yamcs.protobuf.Commanding.CommandHistoryAttribute> getAttrList() { return attr_; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public java.util.List<? extends org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder> getAttrOrBuilderList() { return attr_; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public int getAttrCount() { return attr_.size(); } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public org.yamcs.protobuf.Commanding.CommandHistoryAttribute getAttr(int index) { return attr_.get(index); } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder getAttrOrBuilder( int index) { return attr_.get(index); } private void initFields() { commandId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); attr_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasCommandId()) { memoizedIsInitialized = 0; return false; } if (!getCommandId().isInitialized()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getAttrCount(); i++) { if (!getAttr(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, commandId_); } for (int i = 0; i < attr_.size(); i++) { output.writeMessage(3, attr_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, commandId_); } for (int i = 0; i < attr_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, attr_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry 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.Commanding.CommandHistoryEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Commanding.CommandHistoryEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Commanding.CommandHistoryEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code commanding.CommandHistoryEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Commanding.CommandHistoryEntry.class, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder.class); } // Construct using org.yamcs.protobuf.Commanding.CommandHistoryEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommandIdFieldBuilder(); getAttrFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (commandIdBuilder_ == null) { commandId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); } else { commandIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (attrBuilder_ == null) { attr_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { attrBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Commanding.internal_static_commanding_CommandHistoryEntry_descriptor; } public org.yamcs.protobuf.Commanding.CommandHistoryEntry getDefaultInstanceForType() { return org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance(); } public org.yamcs.protobuf.Commanding.CommandHistoryEntry build() { org.yamcs.protobuf.Commanding.CommandHistoryEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Commanding.CommandHistoryEntry buildPartial() { org.yamcs.protobuf.Commanding.CommandHistoryEntry result = new org.yamcs.protobuf.Commanding.CommandHistoryEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (commandIdBuilder_ == null) { result.commandId_ = commandId_; } else { result.commandId_ = commandIdBuilder_.build(); } if (attrBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { attr_ = java.util.Collections.unmodifiableList(attr_); bitField0_ = (bitField0_ & ~0x00000002); } result.attr_ = attr_; } else { result.attr_ = attrBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Commanding.CommandHistoryEntry) { return mergeFrom((org.yamcs.protobuf.Commanding.CommandHistoryEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Commanding.CommandHistoryEntry other) { if (other == org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance()) return this; if (other.hasCommandId()) { mergeCommandId(other.getCommandId()); } if (attrBuilder_ == null) { if (!other.attr_.isEmpty()) { if (attr_.isEmpty()) { attr_ = other.attr_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAttrIsMutable(); attr_.addAll(other.attr_); } onChanged(); } } else { if (!other.attr_.isEmpty()) { if (attrBuilder_.isEmpty()) { attrBuilder_.dispose(); attrBuilder_ = null; attr_ = other.attr_; bitField0_ = (bitField0_ & ~0x00000002); attrBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAttrFieldBuilder() : null; } else { attrBuilder_.addAllMessages(other.attr_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasCommandId()) { return false; } if (!getCommandId().isInitialized()) { return false; } for (int i = 0; i < getAttrCount(); i++) { if (!getAttr(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Commanding.CommandHistoryEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Commanding.CommandHistoryEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required .commanding.CommandId commandId = 1; private org.yamcs.protobuf.Commanding.CommandId commandId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder> commandIdBuilder_; /** * <code>required .commanding.CommandId commandId = 1;</code> */ public boolean hasCommandId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public org.yamcs.protobuf.Commanding.CommandId getCommandId() { if (commandIdBuilder_ == null) { return commandId_; } else { return commandIdBuilder_.getMessage(); } } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public Builder setCommandId(org.yamcs.protobuf.Commanding.CommandId value) { if (commandIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commandId_ = value; onChanged(); } else { commandIdBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public Builder setCommandId( org.yamcs.protobuf.Commanding.CommandId.Builder builderForValue) { if (commandIdBuilder_ == null) { commandId_ = builderForValue.build(); onChanged(); } else { commandIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public Builder mergeCommandId(org.yamcs.protobuf.Commanding.CommandId value) { if (commandIdBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && commandId_ != org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance()) { commandId_ = org.yamcs.protobuf.Commanding.CommandId.newBuilder(commandId_).mergeFrom(value).buildPartial(); } else { commandId_ = value; } onChanged(); } else { commandIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public Builder clearCommandId() { if (commandIdBuilder_ == null) { commandId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); onChanged(); } else { commandIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public org.yamcs.protobuf.Commanding.CommandId.Builder getCommandIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommandIdFieldBuilder().getBuilder(); } /** * <code>required .commanding.CommandId commandId = 1;</code> */ public org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCommandIdOrBuilder() { if (commandIdBuilder_ != null) { return commandIdBuilder_.getMessageOrBuilder(); } else { return commandId_; } } /** * <code>required .commanding.CommandId commandId = 1;</code> */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder> getCommandIdFieldBuilder() { if (commandIdBuilder_ == null) { commandIdBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder>( commandId_, getParentForChildren(), isClean()); commandId_ = null; } return commandIdBuilder_; } // repeated .commanding.CommandHistoryAttribute attr = 3; private java.util.List<org.yamcs.protobuf.Commanding.CommandHistoryAttribute> attr_ = java.util.Collections.emptyList(); private void ensureAttrIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { attr_ = new java.util.ArrayList<org.yamcs.protobuf.Commanding.CommandHistoryAttribute>(attr_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandHistoryAttribute, org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder, org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder> attrBuilder_; /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public java.util.List<org.yamcs.protobuf.Commanding.CommandHistoryAttribute> getAttrList() { if (attrBuilder_ == null) { return java.util.Collections.unmodifiableList(attr_); } else { return attrBuilder_.getMessageList(); } } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public int getAttrCount() { if (attrBuilder_ == null) { return attr_.size(); } else { return attrBuilder_.getCount(); } } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public org.yamcs.protobuf.Commanding.CommandHistoryAttribute getAttr(int index) { if (attrBuilder_ == null) { return attr_.get(index); } else { return attrBuilder_.getMessage(index); } } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder setAttr( int index, org.yamcs.protobuf.Commanding.CommandHistoryAttribute value) { if (attrBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttrIsMutable(); attr_.set(index, value); onChanged(); } else { attrBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder setAttr( int index, org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder builderForValue) { if (attrBuilder_ == null) { ensureAttrIsMutable(); attr_.set(index, builderForValue.build()); onChanged(); } else { attrBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder addAttr(org.yamcs.protobuf.Commanding.CommandHistoryAttribute value) { if (attrBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttrIsMutable(); attr_.add(value); onChanged(); } else { attrBuilder_.addMessage(value); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder addAttr( int index, org.yamcs.protobuf.Commanding.CommandHistoryAttribute value) { if (attrBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttrIsMutable(); attr_.add(index, value); onChanged(); } else { attrBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder addAttr( org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder builderForValue) { if (attrBuilder_ == null) { ensureAttrIsMutable(); attr_.add(builderForValue.build()); onChanged(); } else { attrBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder addAttr( int index, org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder builderForValue) { if (attrBuilder_ == null) { ensureAttrIsMutable(); attr_.add(index, builderForValue.build()); onChanged(); } else { attrBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder addAllAttr( java.lang.Iterable<? extends org.yamcs.protobuf.Commanding.CommandHistoryAttribute> values) { if (attrBuilder_ == null) { ensureAttrIsMutable(); super.addAll(values, attr_); onChanged(); } else { attrBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder clearAttr() { if (attrBuilder_ == null) { attr_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { attrBuilder_.clear(); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public Builder removeAttr(int index) { if (attrBuilder_ == null) { ensureAttrIsMutable(); attr_.remove(index); onChanged(); } else { attrBuilder_.remove(index); } return this; } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder getAttrBuilder( int index) { return getAttrFieldBuilder().getBuilder(index); } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder getAttrOrBuilder( int index) { if (attrBuilder_ == null) { return attr_.get(index); } else { return attrBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public java.util.List<? extends org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder> getAttrOrBuilderList() { if (attrBuilder_ != null) { return attrBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attr_); } } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder addAttrBuilder() { return getAttrFieldBuilder().addBuilder( org.yamcs.protobuf.Commanding.CommandHistoryAttribute.getDefaultInstance()); } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder addAttrBuilder( int index) { return getAttrFieldBuilder().addBuilder( index, org.yamcs.protobuf.Commanding.CommandHistoryAttribute.getDefaultInstance()); } /** * <code>repeated .commanding.CommandHistoryAttribute attr = 3;</code> * * <pre> *required string cmdName = 2; //removed because it's part of the CommandId * </pre> */ public java.util.List<org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder> getAttrBuilderList() { return getAttrFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandHistoryAttribute, org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder, org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder> getAttrFieldBuilder() { if (attrBuilder_ == null) { attrBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandHistoryAttribute, org.yamcs.protobuf.Commanding.CommandHistoryAttribute.Builder, org.yamcs.protobuf.Commanding.CommandHistoryAttributeOrBuilder>( attr_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); attr_ = null; } return attrBuilder_; } // @@protoc_insertion_point(builder_scope:commanding.CommandHistoryEntry) } static { defaultInstance = new CommandHistoryEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:commanding.CommandHistoryEntry) } private static com.google.protobuf.Descriptors.Descriptor internal_static_commanding_CommandId_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_commanding_CommandId_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_commanding_CommandQueueInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_commanding_CommandQueueInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_commanding_CommandQueueEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_commanding_CommandQueueEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_commanding_CommandQueueEvent_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_commanding_CommandQueueEvent_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_commanding_CommandQueueRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_commanding_CommandQueueRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_commanding_CommandSignificance_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_commanding_CommandSignificance_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_commanding_CommandHistoryAttribute_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_commanding_CommandHistoryAttribute_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_commanding_CommandHistoryEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_commanding_CommandHistoryEntry_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\020commanding.proto\022\ncommanding\032\013yamcs.pr" + "oto\032\tmdb.proto\"`\n\tCommandId\022\026\n\016generatio" + "nTime\030\001 \002(\003\022\016\n\006origin\030\002 \002(\t\022\026\n\016sequenceN" + "umber\030\003 \002(\005\022\023\n\013commandName\030\004 \001(\t\"\375\001\n\020Com" + "mandQueueInfo\022\020\n\010instance\030\001 \002(\t\022\025\n\rproce" + "ssorName\030\002 \002(\t\022\014\n\004name\030\003 \002(\t\022%\n\005state\030\004 " + "\001(\0162\026.commanding.QueueState\022\026\n\016nbSentCom" + "mands\030\005 \002(\005\022\032\n\022nbRejectedCommands\030\006 \002(\005\022" + "\034\n\024stateExpirationTimeS\030\007 \001(\005\022,\n\005entry\030\010" + " \003(\0132\035.commanding.CommandQueueEntry\022\013\n\003u", "rl\030\t \001(\t\"\315\001\n\021CommandQueueEntry\022\020\n\010instan" + "ce\030\001 \002(\t\022\025\n\rprocessorName\030\002 \002(\t\022\021\n\tqueue" + "Name\030\003 \002(\t\022$\n\005cmdId\030\004 \002(\0132\025.commanding.C" + "ommandId\022\016\n\006source\030\005 \001(\t\022\016\n\006binary\030\006 \001(\014" + "\022\020\n\010username\030\007 \001(\t\022\026\n\016generationTime\030\010 \001" + "(\003\022\014\n\004uuid\030\t \001(\t\"\265\001\n\021CommandQueueEvent\0220" + "\n\004type\030\001 \001(\0162\".commanding.CommandQueueEv" + "ent.Type\022+\n\004data\030\002 \001(\0132\035.commanding.Comm" + "andQueueEntry\"A\n\004Type\022\021\n\rCOMMAND_ADDED\020\001" + "\022\024\n\020COMMAND_REJECTED\020\002\022\020\n\014COMMAND_SENT\020\003", "\"\221\001\n\023CommandQueueRequest\022/\n\tqueueInfo\030\001 " + "\001(\0132\034.commanding.CommandQueueInfo\0221\n\nque" + "ueEntry\030\002 \001(\0132\035.commanding.CommandQueueE" + "ntry\022\026\n\007rebuild\030\003 \001(\010:\005false\"Z\n\023CommandS" + "ignificance\022\026\n\016sequenceNumber\030\001 \001(\005\022+\n\014s" + "ignificance\030\002 \001(\0132\025.mdb.SignificanceInfo" + "\"R\n\027CommandHistoryAttribute\022\014\n\004name\030\001 \001(" + "\t\022\033\n\005value\030\002 \001(\0132\014.yamcs.Value\022\014\n\004time\030\003" + " \001(\003\"r\n\023CommandHistoryEntry\022(\n\tcommandId" + "\030\001 \002(\0132\025.commanding.CommandId\0221\n\004attr\030\003 ", "\003(\0132#.commanding.CommandHistoryAttribute" + "*4\n\nQueueState\022\013\n\007BLOCKED\020\001\022\014\n\010DISABLED\020" + "\002\022\013\n\007ENABLED\020\003B\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; internal_static_commanding_CommandId_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_commanding_CommandId_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_commanding_CommandId_descriptor, new java.lang.String[] { "GenerationTime", "Origin", "SequenceNumber", "CommandName", }); internal_static_commanding_CommandQueueInfo_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_commanding_CommandQueueInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_commanding_CommandQueueInfo_descriptor, new java.lang.String[] { "Instance", "ProcessorName", "Name", "State", "NbSentCommands", "NbRejectedCommands", "StateExpirationTimeS", "Entry", "Url", }); internal_static_commanding_CommandQueueEntry_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_commanding_CommandQueueEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_commanding_CommandQueueEntry_descriptor, new java.lang.String[] { "Instance", "ProcessorName", "QueueName", "CmdId", "Source", "Binary", "Username", "GenerationTime", "Uuid", }); internal_static_commanding_CommandQueueEvent_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_commanding_CommandQueueEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_commanding_CommandQueueEvent_descriptor, new java.lang.String[] { "Type", "Data", }); internal_static_commanding_CommandQueueRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_commanding_CommandQueueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_commanding_CommandQueueRequest_descriptor, new java.lang.String[] { "QueueInfo", "QueueEntry", "Rebuild", }); internal_static_commanding_CommandSignificance_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_commanding_CommandSignificance_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_commanding_CommandSignificance_descriptor, new java.lang.String[] { "SequenceNumber", "Significance", }); internal_static_commanding_CommandHistoryAttribute_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_commanding_CommandHistoryAttribute_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_commanding_CommandHistoryAttribute_descriptor, new java.lang.String[] { "Name", "Value", "Time", }); internal_static_commanding_CommandHistoryEntry_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_commanding_CommandHistoryEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_commanding_CommandHistoryEntry_descriptor, new java.lang.String[] { "CommandId", "Attr", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.yamcs.protobuf.Yamcs.getDescriptor(), org.yamcs.protobuf.Mdb.getDescriptor(), }, assigner); } // @@protoc_insertion_point(outer_class_scope) }