public static final class TemplateVariable.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder> implements TemplateVariableOrBuilder
yamcs.protobuf.yamcsManagement.TemplateVariable| Modifier and Type | Method and Description |
|---|---|
TemplateVariable.Builder |
addAllChoices(Iterable<String> values)
List of valid choices
repeated string choices = 5; |
TemplateVariable.Builder |
addChoices(String value)
List of valid choices
repeated string choices = 5; |
TemplateVariable.Builder |
addChoicesBytes(com.google.protobuf.ByteString value)
List of valid choices
repeated string choices = 5; |
TemplateVariable.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TemplateVariable |
build() |
TemplateVariable |
buildPartial() |
TemplateVariable.Builder |
clear() |
TemplateVariable.Builder |
clearChoices()
List of valid choices
repeated string choices = 5; |
TemplateVariable.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TemplateVariable.Builder |
clearHelp()
Verbose user guidance (HTML)
optional string help = 2; |
TemplateVariable.Builder |
clearInitial()
Initial value for use in UI forms
optional string initial = 7; |
TemplateVariable.Builder |
clearLabel()
Verbose name for use in UI forms
optional string label = 6; |
TemplateVariable.Builder |
clearName()
Variable name.
|
TemplateVariable.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TemplateVariable.Builder |
clearRequired()
Whether this variable is required input
optional bool required = 3; |
TemplateVariable.Builder |
clearType()
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4; |
TemplateVariable.Builder |
clone() |
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; |
TemplateVariable |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
boolean |
getRequired()
Whether this variable is required input
optional bool required = 3; |
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; |
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() |
TemplateVariable.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TemplateVariable.Builder |
mergeFrom(com.google.protobuf.Message other) |
TemplateVariable.Builder |
mergeFrom(TemplateVariable other) |
TemplateVariable.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TemplateVariable.Builder |
setChoices(int index,
String value)
List of valid choices
repeated string choices = 5; |
TemplateVariable.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TemplateVariable.Builder |
setHelp(String value)
Verbose user guidance (HTML)
optional string help = 2; |
TemplateVariable.Builder |
setHelpBytes(com.google.protobuf.ByteString value)
Verbose user guidance (HTML)
optional string help = 2; |
TemplateVariable.Builder |
setInitial(String value)
Initial value for use in UI forms
optional string initial = 7; |
TemplateVariable.Builder |
setInitialBytes(com.google.protobuf.ByteString value)
Initial value for use in UI forms
optional string initial = 7; |
TemplateVariable.Builder |
setLabel(String value)
Verbose name for use in UI forms
optional string label = 6; |
TemplateVariable.Builder |
setLabelBytes(com.google.protobuf.ByteString value)
Verbose name for use in UI forms
optional string label = 6; |
TemplateVariable.Builder |
setName(String value)
Variable name.
|
TemplateVariable.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Variable name.
|
TemplateVariable.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TemplateVariable.Builder |
setRequired(boolean value)
Whether this variable is required input
optional bool required = 3; |
TemplateVariable.Builder |
setType(String value)
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4; |
TemplateVariable.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4; |
TemplateVariable.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TemplateVariable build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TemplateVariable buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TemplateVariable.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TemplateVariable.Builder>public TemplateVariable.Builder mergeFrom(TemplateVariable other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public TemplateVariable.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TemplateVariable.Builder>IOExceptionpublic 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 TemplateVariable.Builder setName(String value)
Variable name.
optional string name = 1;public TemplateVariable.Builder clearName()
Variable name.
optional string name = 1;public TemplateVariable.Builder setNameBytes(com.google.protobuf.ByteString value)
Variable name.
optional string name = 1;public 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 TemplateVariable.Builder setLabel(String value)
Verbose name for use in UI forms
optional string label = 6;public TemplateVariable.Builder clearLabel()
Verbose name for use in UI forms
optional string label = 6;public TemplateVariable.Builder setLabelBytes(com.google.protobuf.ByteString value)
Verbose name for use in UI forms
optional string label = 6;public 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 TemplateVariable.Builder setType(String value)
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4;public TemplateVariable.Builder clearType()
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4;public TemplateVariable.Builder setTypeBytes(com.google.protobuf.ByteString value)
Type of variable (Java class extending org.yamcs.templating.Variable)
optional string type = 4;public 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 TemplateVariable.Builder setHelp(String value)
Verbose user guidance (HTML)
optional string help = 2;public TemplateVariable.Builder clearHelp()
Verbose user guidance (HTML)
optional string help = 2;public TemplateVariable.Builder setHelpBytes(com.google.protobuf.ByteString value)
Verbose user guidance (HTML)
optional string help = 2;public 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 TemplateVariable.Builder setRequired(boolean value)
Whether this variable is required input
optional bool required = 3;public TemplateVariable.Builder clearRequired()
Whether this variable is required input
optional bool required = 3;public 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 TemplateVariable.Builder setChoices(int index, String value)
List of valid choices
repeated string choices = 5;public TemplateVariable.Builder addChoices(String value)
List of valid choices
repeated string choices = 5;public TemplateVariable.Builder addAllChoices(Iterable<String> values)
List of valid choices
repeated string choices = 5;public TemplateVariable.Builder clearChoices()
List of valid choices
repeated string choices = 5;public TemplateVariable.Builder addChoicesBytes(com.google.protobuf.ByteString value)
List of valid choices
repeated string choices = 5;public 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 TemplateVariable.Builder setInitial(String value)
Initial value for use in UI forms
optional string initial = 7;public TemplateVariable.Builder clearInitial()
Initial value for use in UI forms
optional string initial = 7;public TemplateVariable.Builder setInitialBytes(com.google.protobuf.ByteString value)
Initial value for use in UI forms
optional string initial = 7;public final TemplateVariable.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>public final TemplateVariable.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TemplateVariable.Builder>Copyright © 2020 Space Applications Services. All rights reserved.