Class SpecInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.config.SpecInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, SpecInfoOrBuilder

public final class SpecInfo extends com.google.protobuf.GeneratedMessageV3 implements SpecInfoOrBuilder
 Specifies the valid structure of a configuration map
 
Protobuf type yamcs.protobuf.config.SpecInfo
See Also:
  • Field Details

    • OPTIONS_FIELD_NUMBER

      public static final int OPTIONS_FIELD_NUMBER
      See Also:
    • ALLOWUNKNOWNKEYS_FIELD_NUMBER

      public static final int ALLOWUNKNOWNKEYS_FIELD_NUMBER
      See Also:
    • REQUIREDONEOF_FIELD_NUMBER

      public static final int REQUIREDONEOF_FIELD_NUMBER
      See Also:
    • REQUIRETOGETHER_FIELD_NUMBER

      public static final int REQUIRETOGETHER_FIELD_NUMBER
      See Also:
    • WHENCONDITIONS_FIELD_NUMBER

      public static final int WHENCONDITIONS_FIELD_NUMBER
      See Also:
    • PARSER

      @Deprecated public static final com.google.protobuf.Parser<SpecInfo> PARSER
      Deprecated.
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getOptionsList

      public List<OptionInfo> getOptionsList()
       Options for this specification  
       
      repeated .yamcs.protobuf.config.OptionInfo options = 1;
      Specified by:
      getOptionsList in interface SpecInfoOrBuilder
    • getOptionsOrBuilderList

      public List<? extends OptionInfoOrBuilder> getOptionsOrBuilderList()
       Options for this specification  
       
      repeated .yamcs.protobuf.config.OptionInfo options = 1;
      Specified by:
      getOptionsOrBuilderList in interface SpecInfoOrBuilder
    • getOptionsCount

      public int getOptionsCount()
       Options for this specification  
       
      repeated .yamcs.protobuf.config.OptionInfo options = 1;
      Specified by:
      getOptionsCount in interface SpecInfoOrBuilder
    • getOptions

      public OptionInfo getOptions(int index)
       Options for this specification  
       
      repeated .yamcs.protobuf.config.OptionInfo options = 1;
      Specified by:
      getOptions in interface SpecInfoOrBuilder
    • getOptionsOrBuilder

      public OptionInfoOrBuilder getOptionsOrBuilder(int index)
       Options for this specification  
       
      repeated .yamcs.protobuf.config.OptionInfo options = 1;
      Specified by:
      getOptionsOrBuilder in interface SpecInfoOrBuilder
    • hasAllowUnknownKeys

      public boolean hasAllowUnknownKeys()
       If true, any option is allowed
       
      optional bool allowUnknownKeys = 2;
      Specified by:
      hasAllowUnknownKeys in interface SpecInfoOrBuilder
      Returns:
      Whether the allowUnknownKeys field is set.
    • getAllowUnknownKeys

      public boolean getAllowUnknownKeys()
       If true, any option is allowed
       
      optional bool allowUnknownKeys = 2;
      Specified by:
      getAllowUnknownKeys in interface SpecInfoOrBuilder
      Returns:
      The allowUnknownKeys.
    • getRequiredOneOfList

      public List<OptionGroupInfo> getRequiredOneOfList()
       Constraints on a groups of options. For each group at least one
       of the keys must be specified.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requiredOneOf = 3;
      Specified by:
      getRequiredOneOfList in interface SpecInfoOrBuilder
    • getRequiredOneOfOrBuilderList

      public List<? extends OptionGroupInfoOrBuilder> getRequiredOneOfOrBuilderList()
       Constraints on a groups of options. For each group at least one
       of the keys must be specified.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requiredOneOf = 3;
      Specified by:
      getRequiredOneOfOrBuilderList in interface SpecInfoOrBuilder
    • getRequiredOneOfCount

      public int getRequiredOneOfCount()
       Constraints on a groups of options. For each group at least one
       of the keys must be specified.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requiredOneOf = 3;
      Specified by:
      getRequiredOneOfCount in interface SpecInfoOrBuilder
    • getRequiredOneOf

      public OptionGroupInfo getRequiredOneOf(int index)
       Constraints on a groups of options. For each group at least one
       of the keys must be specified.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requiredOneOf = 3;
      Specified by:
      getRequiredOneOf in interface SpecInfoOrBuilder
    • getRequiredOneOfOrBuilder

      public OptionGroupInfoOrBuilder getRequiredOneOfOrBuilder(int index)
       Constraints on a groups of options. For each group at least one
       of the keys must be specified.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requiredOneOf = 3;
      Specified by:
      getRequiredOneOfOrBuilder in interface SpecInfoOrBuilder
    • getRequireTogetherList

      public List<OptionGroupInfo> getRequireTogetherList()
       Constraints on a group of options. For each group, all keys must
       be specified, or none at all.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requireTogether = 4;
      Specified by:
      getRequireTogetherList in interface SpecInfoOrBuilder
    • getRequireTogetherOrBuilderList

      public List<? extends OptionGroupInfoOrBuilder> getRequireTogetherOrBuilderList()
       Constraints on a group of options. For each group, all keys must
       be specified, or none at all.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requireTogether = 4;
      Specified by:
      getRequireTogetherOrBuilderList in interface SpecInfoOrBuilder
    • getRequireTogetherCount

      public int getRequireTogetherCount()
       Constraints on a group of options. For each group, all keys must
       be specified, or none at all.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requireTogether = 4;
      Specified by:
      getRequireTogetherCount in interface SpecInfoOrBuilder
    • getRequireTogether

      public OptionGroupInfo getRequireTogether(int index)
       Constraints on a group of options. For each group, all keys must
       be specified, or none at all.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requireTogether = 4;
      Specified by:
      getRequireTogether in interface SpecInfoOrBuilder
    • getRequireTogetherOrBuilder

      public OptionGroupInfoOrBuilder getRequireTogetherOrBuilder(int index)
       Constraints on a group of options. For each group, all keys must
       be specified, or none at all.
       
      repeated .yamcs.protobuf.config.OptionGroupInfo requireTogether = 4;
      Specified by:
      getRequireTogetherOrBuilder in interface SpecInfoOrBuilder
    • getWhenConditionsList

      public List<WhenConditionInfo> getWhenConditionsList()
       Conditional constraints on a group of options
       
      repeated .yamcs.protobuf.config.WhenConditionInfo whenConditions = 5;
      Specified by:
      getWhenConditionsList in interface SpecInfoOrBuilder
    • getWhenConditionsOrBuilderList

      public List<? extends WhenConditionInfoOrBuilder> getWhenConditionsOrBuilderList()
       Conditional constraints on a group of options
       
      repeated .yamcs.protobuf.config.WhenConditionInfo whenConditions = 5;
      Specified by:
      getWhenConditionsOrBuilderList in interface SpecInfoOrBuilder
    • getWhenConditionsCount

      public int getWhenConditionsCount()
       Conditional constraints on a group of options
       
      repeated .yamcs.protobuf.config.WhenConditionInfo whenConditions = 5;
      Specified by:
      getWhenConditionsCount in interface SpecInfoOrBuilder
    • getWhenConditions

      public WhenConditionInfo getWhenConditions(int index)
       Conditional constraints on a group of options
       
      repeated .yamcs.protobuf.config.WhenConditionInfo whenConditions = 5;
      Specified by:
      getWhenConditions in interface SpecInfoOrBuilder
    • getWhenConditionsOrBuilder

      public WhenConditionInfoOrBuilder getWhenConditionsOrBuilder(int index)
       Conditional constraints on a group of options
       
      repeated .yamcs.protobuf.config.WhenConditionInfo whenConditions = 5;
      Specified by:
      getWhenConditionsOrBuilder in interface SpecInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SpecInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpecInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpecInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpecInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpecInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpecInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpecInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpecInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SpecInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SpecInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpecInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpecInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SpecInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SpecInfo.Builder newBuilder()
    • newBuilder

      public static SpecInfo.Builder newBuilder(SpecInfo prototype)
    • toBuilder

      public SpecInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SpecInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SpecInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SpecInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<SpecInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public SpecInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder