public final class TemplateVariable extends com.google.protobuf.GeneratedMessageV3 implements TemplateVariableOrBuilder
yamcs.protobuf.yamcsManagement.TemplateVariable| Modifier and Type | Class and Description |
|---|---|
static class |
TemplateVariable.Builder
Protobuf type
yamcs.protobuf.yamcsManagement.TemplateVariable |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CHOICES_FIELD_NUMBER |
static int |
HELP_FIELD_NUMBER |
static int |
INITIAL_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<TemplateVariable> |
PARSER
Deprecated.
|
static int |
REQUIRED_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getChoices(int index)
List of valid choices
repeated string choices = 5; |
com.google.protobuf.ByteString |
getChoicesBytes(int index)
List of valid choices
repeated string choices = 5; |
int |
getChoicesCount()
List of valid choices
repeated string choices = 5; |
com.google.protobuf.ProtocolStringList |
getChoicesList()
List of valid choices
repeated string choices = 5; |
static TemplateVariable |
getDefaultInstance() |
TemplateVariable |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHelp()
Verbose user guidance (HTML)
optional string help = 2; |
com.google.protobuf.ByteString |
getHelpBytes()
Verbose user guidance (HTML)
optional string help = 2; |
String |
getInitial()
Initial value for use in UI forms
optional string initial = 7; |
com.google.protobuf.ByteString |
getInitialBytes()
Initial value for use in UI forms
optional string initial = 7; |
String |
getLabel()
Verbose name for use in UI forms
optional string label = 6; |
com.google.protobuf.ByteString |
getLabelBytes()
Verbose name for use in UI forms
optional string label = 6; |
String |
getName()
Variable name.
|
com.google.protobuf.ByteString |
getNameBytes()
Variable name.
|
com.google.protobuf.Parser<TemplateVariable> |
getParserForType() |
boolean |
getRequired()
Whether this variable is required input
optional bool required = 3; |
int |
getSerializedSize() |
String |
getType()
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4; |
com.google.protobuf.ByteString |
getTypeBytes()
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHelp()
Verbose user guidance (HTML)
optional string help = 2; |
boolean |
hasInitial()
Initial value for use in UI forms
optional string initial = 7; |
boolean |
hasLabel()
Verbose name for use in UI forms
optional string label = 6; |
boolean |
hasName()
Variable name.
|
boolean |
hasRequired()
Whether this variable is required input
optional bool required = 3; |
boolean |
hasType()
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TemplateVariable.Builder |
newBuilder() |
static TemplateVariable.Builder |
newBuilder(TemplateVariable prototype) |
TemplateVariable.Builder |
newBuilderForType() |
protected TemplateVariable.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TemplateVariable |
parseDelimitedFrom(InputStream input) |
static TemplateVariable |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TemplateVariable |
parseFrom(byte[] data) |
static TemplateVariable |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TemplateVariable |
parseFrom(ByteBuffer data) |
static TemplateVariable |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TemplateVariable |
parseFrom(com.google.protobuf.ByteString data) |
static TemplateVariable |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TemplateVariable |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TemplateVariable |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TemplateVariable |
parseFrom(InputStream input) |
static TemplateVariable |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TemplateVariable> |
parser() |
TemplateVariable.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int HELP_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER
public static final int CHOICES_FIELD_NUMBER
public static final int INITIAL_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TemplateVariable> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasName()
Variable name.
optional string name = 1;hasName in interface TemplateVariableOrBuilderpublic String getName()
Variable name.
optional string name = 1;getName in interface TemplateVariableOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Variable name.
optional string name = 1;getNameBytes in interface TemplateVariableOrBuilderpublic boolean hasLabel()
Verbose name for use in UI forms
optional string label = 6;hasLabel in interface TemplateVariableOrBuilderpublic String getLabel()
Verbose name for use in UI forms
optional string label = 6;getLabel in interface TemplateVariableOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
Verbose name for use in UI forms
optional string label = 6;getLabelBytes in interface TemplateVariableOrBuilderpublic boolean hasType()
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4;hasType in interface TemplateVariableOrBuilderpublic String getType()
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4;getType in interface TemplateVariableOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4;getTypeBytes in interface TemplateVariableOrBuilderpublic boolean hasHelp()
Verbose user guidance (HTML)
optional string help = 2;hasHelp in interface TemplateVariableOrBuilderpublic String getHelp()
Verbose user guidance (HTML)
optional string help = 2;getHelp in interface TemplateVariableOrBuilderpublic com.google.protobuf.ByteString getHelpBytes()
Verbose user guidance (HTML)
optional string help = 2;getHelpBytes in interface TemplateVariableOrBuilderpublic boolean hasRequired()
Whether this variable is required input
optional bool required = 3;hasRequired in interface TemplateVariableOrBuilderpublic boolean getRequired()
Whether this variable is required input
optional bool required = 3;getRequired in interface TemplateVariableOrBuilderpublic com.google.protobuf.ProtocolStringList getChoicesList()
List of valid choices
repeated string choices = 5;getChoicesList in interface TemplateVariableOrBuilderpublic int getChoicesCount()
List of valid choices
repeated string choices = 5;getChoicesCount in interface TemplateVariableOrBuilderpublic String getChoices(int index)
List of valid choices
repeated string choices = 5;getChoices in interface TemplateVariableOrBuilderpublic com.google.protobuf.ByteString getChoicesBytes(int index)
List of valid choices
repeated string choices = 5;getChoicesBytes in interface TemplateVariableOrBuilderpublic boolean hasInitial()
Initial value for use in UI forms
optional string initial = 7;hasInitial in interface TemplateVariableOrBuilderpublic String getInitial()
Initial value for use in UI forms
optional string initial = 7;getInitial in interface TemplateVariableOrBuilderpublic com.google.protobuf.ByteString getInitialBytes()
Initial value for use in UI forms
optional string initial = 7;getInitialBytes in interface TemplateVariableOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TemplateVariable parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TemplateVariable parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TemplateVariable parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TemplateVariable parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TemplateVariable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TemplateVariable parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TemplateVariable parseFrom(InputStream input) throws IOException
IOExceptionpublic static TemplateVariable parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TemplateVariable parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TemplateVariable parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TemplateVariable parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TemplateVariable parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TemplateVariable.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TemplateVariable.Builder newBuilder()
public static TemplateVariable.Builder newBuilder(TemplateVariable prototype)
public TemplateVariable.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TemplateVariable.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TemplateVariable getDefaultInstance()
public static com.google.protobuf.Parser<TemplateVariable> parser()
public com.google.protobuf.Parser<TemplateVariable> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TemplateVariable getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Space Applications Services. All rights reserved.