java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InstanceTemplate.Builder>
com.google.protobuf.GeneratedMessage.Builder<InstanceTemplate.Builder>
org.yamcs.protobuf.InstanceTemplate.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,InstanceTemplateOrBuilder
- Enclosing class:
InstanceTemplate
public static final class InstanceTemplate.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceTemplate.Builder>
implements InstanceTemplateOrBuilder
Protobuf type
yamcs.protobuf.instances.InstanceTemplate-
Method Summary
Modifier and TypeMethodDescriptionaddAllVariables(Iterable<? extends TemplateVariable> values) List of variables that this template may expectaddVariables(int index, TemplateVariable value) List of variables that this template may expectaddVariables(int index, TemplateVariable.Builder builderForValue) List of variables that this template may expectaddVariables(TemplateVariable value) List of variables that this template may expectaddVariables(TemplateVariable.Builder builderForValue) List of variables that this template may expectList of variables that this template may expectaddVariablesBuilder(int index) List of variables that this template may expectbuild()clear()Human-friendly descriptionTemplate name.List of variables that this template may expectHuman-friendly descriptioncom.google.protobuf.ByteStringHuman-friendly descriptionstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Template name.com.google.protobuf.ByteStringTemplate name.getVariables(int index) List of variables that this template may expectgetVariablesBuilder(int index) List of variables that this template may expectList of variables that this template may expectintList of variables that this template may expectList of variables that this template may expectgetVariablesOrBuilder(int index) List of variables that this template may expectList<? extends TemplateVariableOrBuilder> List of variables that this template may expectbooleanHuman-friendly descriptionbooleanhasName()Template name.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(InstanceTemplate other) removeVariables(int index) List of variables that this template may expectsetDescription(String value) Human-friendly descriptionsetDescriptionBytes(com.google.protobuf.ByteString value) Human-friendly descriptionTemplate name.setNameBytes(com.google.protobuf.ByteString value) Template name.setVariables(int index, TemplateVariable value) List of variables that this template may expectsetVariables(int index, TemplateVariable.Builder builderForValue) List of variables that this template may expectMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InstanceTemplate.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstanceTemplate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InstanceTemplate.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceTemplate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceTemplate.Builder>
-
mergeFrom
public InstanceTemplate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceTemplate.Builder>- Throws:
IOException
-
hasName
public boolean hasName()Template name.
optional string name = 1;- Specified by:
hasNamein interfaceInstanceTemplateOrBuilder- Returns:
- Whether the name field is set.
-
getName
Template name.
optional string name = 1;- Specified by:
getNamein interfaceInstanceTemplateOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Template name.
optional string name = 1;- Specified by:
getNameBytesin interfaceInstanceTemplateOrBuilder- Returns:
- The bytes for name.
-
setName
Template name.
optional string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Template name.
optional string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Template name.
optional string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()Human-friendly description
optional string description = 3;- Specified by:
hasDescriptionin interfaceInstanceTemplateOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Human-friendly description
optional string description = 3;- Specified by:
getDescriptionin interfaceInstanceTemplateOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Human-friendly description
optional string description = 3;- Specified by:
getDescriptionBytesin interfaceInstanceTemplateOrBuilder- Returns:
- The bytes for description.
-
setDescription
Human-friendly description
optional string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Human-friendly description
optional string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Human-friendly description
optional string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getVariablesList
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2;- Specified by:
getVariablesListin interfaceInstanceTemplateOrBuilder
-
getVariablesCount
public int getVariablesCount()List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2;- Specified by:
getVariablesCountin interfaceInstanceTemplateOrBuilder
-
getVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2;- Specified by:
getVariablesin interfaceInstanceTemplateOrBuilder
-
setVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
setVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
addVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
addVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
addVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
addVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
addAllVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
clearVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
removeVariables
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
getVariablesBuilder
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
getVariablesOrBuilder
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2;- Specified by:
getVariablesOrBuilderin interfaceInstanceTemplateOrBuilder
-
getVariablesOrBuilderList
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2;- Specified by:
getVariablesOrBuilderListin interfaceInstanceTemplateOrBuilder
-
addVariablesBuilder
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
addVariablesBuilder
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2; -
getVariablesBuilderList
List of variables that this template may expect
repeated .yamcs.protobuf.instances.TemplateVariable variables = 2;
-