Interface TemplateVariableOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TemplateVariable, TemplateVariable.Builder

    public interface TemplateVariableOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getChoices​(int index)
      List of valid choices
      com.google.protobuf.ByteString getChoicesBytes​(int index)
      List of valid choices
      int getChoicesCount()
      List of valid choices
      List<String> getChoicesList()
      List of valid choices
      String getHelp()
      Verbose user guidance (HTML)
      com.google.protobuf.ByteString getHelpBytes()
      Verbose user guidance (HTML)
      String getInitial()
      Initial value for use in UI forms
      com.google.protobuf.ByteString getInitialBytes()
      Initial value for use in UI forms
      String getLabel()
      Verbose name for use in UI forms
      com.google.protobuf.ByteString getLabelBytes()
      Verbose name for use in UI forms
      String getName()
      Variable name.
      com.google.protobuf.ByteString getNameBytes()
      Variable name.
      boolean getRequired()
      Whether this variable is required input
      String getType()
      Type of variable (Java class extending org.yamcs.templating.Variable)
      com.google.protobuf.ByteString getTypeBytes()
      Type of variable (Java class extending org.yamcs.templating.Variable)
      boolean hasHelp()
      Verbose user guidance (HTML)
      boolean hasInitial()
      Initial value for use in UI forms
      boolean hasLabel()
      Verbose name for use in UI forms
      boolean hasName()
      Variable name.
      boolean hasRequired()
      Whether this variable is required input
      boolean hasType()
      Type of variable (Java class extending org.yamcs.templating.Variable)
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasName

        boolean hasName()
         Variable name. 
         
        optional string name = 1;
      • getName

        String getName()
         Variable name. 
         
        optional string name = 1;
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Variable name. 
         
        optional string name = 1;
      • hasLabel

        boolean hasLabel()
         Verbose name for use in UI forms
         
        optional string label = 6;
      • getLabel

        String getLabel()
         Verbose name for use in UI forms
         
        optional string label = 6;
      • getLabelBytes

        com.google.protobuf.ByteString getLabelBytes()
         Verbose name for use in UI forms
         
        optional string label = 6;
      • hasType

        boolean hasType()
         Type of variable (Java class extending org.yamcs.templating.Variable)
         
        optional string type = 4;
      • getType

        String getType()
         Type of variable (Java class extending org.yamcs.templating.Variable)
         
        optional string type = 4;
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         Type of variable (Java class extending org.yamcs.templating.Variable)
         
        optional string type = 4;
      • hasHelp

        boolean hasHelp()
         Verbose user guidance (HTML)
         
        optional string help = 2;
      • getHelp

        String getHelp()
         Verbose user guidance (HTML)
         
        optional string help = 2;
      • getHelpBytes

        com.google.protobuf.ByteString getHelpBytes()
         Verbose user guidance (HTML)
         
        optional string help = 2;
      • hasRequired

        boolean hasRequired()
         Whether this variable is required input
         
        optional bool required = 3;
      • getRequired

        boolean getRequired()
         Whether this variable is required input
         
        optional bool required = 3;
      • getChoicesList

        List<String> getChoicesList()
         List of valid choices
         
        repeated string choices = 5;
      • getChoicesCount

        int getChoicesCount()
         List of valid choices
         
        repeated string choices = 5;
      • getChoices

        String getChoices​(int index)
         List of valid choices
         
        repeated string choices = 5;
      • getChoicesBytes

        com.google.protobuf.ByteString getChoicesBytes​(int index)
         List of valid choices
         
        repeated string choices = 5;
      • hasInitial

        boolean hasInitial()
         Initial value for use in UI forms
         
        optional string initial = 7;
      • getInitial

        String getInitial()
         Initial value for use in UI forms
         
        optional string initial = 7;
      • getInitialBytes

        com.google.protobuf.ByteString getInitialBytes()
         Initial value for use in UI forms
         
        optional string initial = 7;