Package org.yamcs.protobuf
Class YamcsInstance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
org.yamcs.protobuf.YamcsInstance.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,YamcsInstanceOrBuilder
- Enclosing class:
- YamcsInstance
public static final class YamcsInstance.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
implements YamcsInstanceOrBuilder
Protobuf type
yamcs.protobuf.instances.YamcsInstance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCapabilities
(Iterable<String> values) Feature capability hints for client useaddAllProcessors
(Iterable<? extends ProcessorInfo> values) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
addCapabilities
(String value) Feature capability hints for client useaddCapabilitiesBytes
(com.google.protobuf.ByteString value) Feature capability hints for client useaddProcessors
(int index, ProcessorInfo value) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
addProcessors
(int index, ProcessorInfo.Builder builderForValue) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
addProcessors
(ProcessorInfo value) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
addProcessors
(ProcessorInfo.Builder builderForValue) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
addProcessorsBuilder
(int index) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Feature capability hints for client usein case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happensclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
optional .google.protobuf.Timestamp missionTime = 10;
Instance name.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
optional .yamcs.protobuf.instances.YamcsInstance.InstanceState state = 11;
Name of the template, if this instance was generatedWhether the template is stil availableWhether the template has changed since this instance was generatedclone()
boolean
containsLabels
(String key) Labels assigned to this instance.boolean
Arguments used during template processing, if this instance was generatedgetCapabilities
(int index) Feature capability hints for client usecom.google.protobuf.ByteString
getCapabilitiesBytes
(int index) Feature capability hints for client useint
Feature capability hints for client usecom.google.protobuf.ProtocolStringList
Feature capability hints for client usestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happenscom.google.protobuf.ByteString
in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happensDeprecated.int
Labels assigned to this instance.Labels assigned to this instance.getLabelsOrDefault
(String key, String defaultValue) Labels assigned to this instance.getLabelsOrThrow
(String key) Labels assigned to this instance.optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
com.google.protobuf.Timestamp
optional .google.protobuf.Timestamp missionTime = 10;
com.google.protobuf.Timestamp.Builder
optional .google.protobuf.Timestamp missionTime = 10;
com.google.protobuf.TimestampOrBuilder
optional .google.protobuf.Timestamp missionTime = 10;
Deprecated.Deprecated.getName()
Instance name.com.google.protobuf.ByteString
Instance name.getProcessors
(int index) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
getProcessorsBuilder
(int index) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
int
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
getProcessorsOrBuilder
(int index) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
List<? extends ProcessorInfoOrBuilder>
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
getState()
optional .yamcs.protobuf.instances.YamcsInstance.InstanceState state = 11;
Name of the template, if this instance was generatedDeprecated.int
Arguments used during template processing, if this instance was generatedArguments used during template processing, if this instance was generatedgetTemplateArgsOrDefault
(String key, String defaultValue) Arguments used during template processing, if this instance was generatedArguments used during template processing, if this instance was generatedboolean
Whether the template is stil availablecom.google.protobuf.ByteString
Name of the template, if this instance was generatedboolean
Whether the template has changed since this instance was generatedboolean
in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happensboolean
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
boolean
optional .google.protobuf.Timestamp missionTime = 10;
boolean
hasName()
Instance name.boolean
hasState()
optional .yamcs.protobuf.instances.YamcsInstance.InstanceState state = 11;
boolean
Name of the template, if this instance was generatedboolean
Whether the template is stil availableboolean
Whether the template has changed since this instance was generatedprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(YamcsInstance other) optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
mergeMissionTime
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp missionTime = 10;
final YamcsInstance.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllLabels
(Map<String, String> values) Labels assigned to this instance.putAllTemplateArgs
(Map<String, String> values) Arguments used during template processing, if this instance was generatedLabels assigned to this instance.putTemplateArgs
(String key, String value) Arguments used during template processing, if this instance was generatedremoveLabels
(String key) Labels assigned to this instance.removeProcessors
(int index) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
removeTemplateArgs
(String key) Arguments used during template processing, if this instance was generatedsetCapabilities
(int index, String value) Feature capability hints for client usesetFailureCause
(String value) in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happenssetFailureCauseBytes
(com.google.protobuf.ByteString value) in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happensoptional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
setMissionDatabase
(Mdb.MissionDatabase.Builder builderForValue) optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
setMissionTime
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp missionTime = 10;
setMissionTime
(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp missionTime = 10;
Instance name.setNameBytes
(com.google.protobuf.ByteString value) Instance name.setProcessors
(int index, ProcessorInfo value) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
setProcessors
(int index, ProcessorInfo.Builder builderForValue) repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional .yamcs.protobuf.instances.YamcsInstance.InstanceState state = 11;
setTemplate
(String value) Name of the template, if this instance was generatedsetTemplateAvailable
(boolean value) Whether the template is stil availablesetTemplateBytes
(com.google.protobuf.ByteString value) Name of the template, if this instance was generatedsetTemplateChanged
(boolean value) Whether the template has changed since this instance was generatedfinal YamcsInstance.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
setField
public YamcsInstance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
setRepeatedField
public YamcsInstance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
addRepeatedField
public YamcsInstance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<YamcsInstance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
mergeFrom
public YamcsInstance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<YamcsInstance.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()Instance name.
optional string name = 1;
- Specified by:
hasName
in interfaceYamcsInstanceOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Instance name.
optional string name = 1;
- Specified by:
getName
in interfaceYamcsInstanceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Instance name.
optional string name = 1;
- Specified by:
getNameBytes
in interfaceYamcsInstanceOrBuilder
- Returns:
- The bytes for name.
-
setName
Instance name.
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Instance name.
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
Instance name.
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasMissionDatabase
public boolean hasMissionDatabase()optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
- Specified by:
hasMissionDatabase
in interfaceYamcsInstanceOrBuilder
- Returns:
- Whether the missionDatabase field is set.
-
getMissionDatabase
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
- Specified by:
getMissionDatabase
in interfaceYamcsInstanceOrBuilder
- Returns:
- The missionDatabase.
-
setMissionDatabase
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
-
setMissionDatabase
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
-
mergeMissionDatabase
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
-
clearMissionDatabase
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
-
getMissionDatabaseBuilder
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
-
getMissionDatabaseOrBuilder
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
- Specified by:
getMissionDatabaseOrBuilder
in interfaceYamcsInstanceOrBuilder
-
getProcessorsList
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessorsList
in interfaceYamcsInstanceOrBuilder
-
getProcessorsCount
public int getProcessorsCount()repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessorsCount
in interfaceYamcsInstanceOrBuilder
-
getProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessors
in interfaceYamcsInstanceOrBuilder
-
setProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
setProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
addProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
addProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
addProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
addProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
addAllProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
clearProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
removeProcessors
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
getProcessorsBuilder
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
getProcessorsOrBuilder
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessorsOrBuilder
in interfaceYamcsInstanceOrBuilder
-
getProcessorsOrBuilderList
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessorsOrBuilderList
in interfaceYamcsInstanceOrBuilder
-
addProcessorsBuilder
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
addProcessorsBuilder
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
getProcessorsBuilderList
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
-
hasState
public boolean hasState()optional .yamcs.protobuf.instances.YamcsInstance.InstanceState state = 11;
- Specified by:
hasState
in interfaceYamcsInstanceOrBuilder
- Returns:
- Whether the state field is set.
-
getState
optional .yamcs.protobuf.instances.YamcsInstance.InstanceState state = 11;
- Specified by:
getState
in interfaceYamcsInstanceOrBuilder
- Returns:
- The state.
-
setState
optional .yamcs.protobuf.instances.YamcsInstance.InstanceState state = 11;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
optional .yamcs.protobuf.instances.YamcsInstance.InstanceState state = 11;
- Returns:
- This builder for chaining.
-
hasFailureCause
public boolean hasFailureCause()in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happens
optional string failureCause = 9;
- Specified by:
hasFailureCause
in interfaceYamcsInstanceOrBuilder
- Returns:
- Whether the failureCause field is set.
-
getFailureCause
in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happens
optional string failureCause = 9;
- Specified by:
getFailureCause
in interfaceYamcsInstanceOrBuilder
- Returns:
- The failureCause.
-
getFailureCauseBytes
public com.google.protobuf.ByteString getFailureCauseBytes()in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happens
optional string failureCause = 9;
- Specified by:
getFailureCauseBytes
in interfaceYamcsInstanceOrBuilder
- Returns:
- The bytes for failureCause.
-
setFailureCause
in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happens
optional string failureCause = 9;
- Parameters:
value
- The failureCause to set.- Returns:
- This builder for chaining.
-
clearFailureCause
in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happens
optional string failureCause = 9;
- Returns:
- This builder for chaining.
-
setFailureCauseBytes
in case the state=FAILED, this field will indicate the cause of the failure the missionDatabase and other fields may not be filled when this happens
optional string failureCause = 9;
- Parameters:
value
- The bytes for failureCause to set.- Returns:
- This builder for chaining.
-
hasMissionTime
public boolean hasMissionTime()optional .google.protobuf.Timestamp missionTime = 10;
- Specified by:
hasMissionTime
in interfaceYamcsInstanceOrBuilder
- Returns:
- Whether the missionTime field is set.
-
getMissionTime
public com.google.protobuf.Timestamp getMissionTime()optional .google.protobuf.Timestamp missionTime = 10;
- Specified by:
getMissionTime
in interfaceYamcsInstanceOrBuilder
- Returns:
- The missionTime.
-
setMissionTime
optional .google.protobuf.Timestamp missionTime = 10;
-
setMissionTime
optional .google.protobuf.Timestamp missionTime = 10;
-
mergeMissionTime
optional .google.protobuf.Timestamp missionTime = 10;
-
clearMissionTime
optional .google.protobuf.Timestamp missionTime = 10;
-
getMissionTimeBuilder
public com.google.protobuf.Timestamp.Builder getMissionTimeBuilder()optional .google.protobuf.Timestamp missionTime = 10;
-
getMissionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMissionTimeOrBuilder()optional .google.protobuf.Timestamp missionTime = 10;
- Specified by:
getMissionTimeOrBuilder
in interfaceYamcsInstanceOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:YamcsInstanceOrBuilder
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 12;
- Specified by:
getLabelsCount
in interfaceYamcsInstanceOrBuilder
-
containsLabels
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 12;
- Specified by:
containsLabels
in interfaceYamcsInstanceOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceYamcsInstanceOrBuilder
-
getLabelsMap
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 12;
- Specified by:
getLabelsMap
in interfaceYamcsInstanceOrBuilder
-
getLabelsOrDefault
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 12;
- Specified by:
getLabelsOrDefault
in interfaceYamcsInstanceOrBuilder
-
getLabelsOrThrow
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 12;
- Specified by:
getLabelsOrThrow
in interfaceYamcsInstanceOrBuilder
-
clearLabels
-
removeLabels
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 12;
-
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 12;
-
putAllLabels
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 12;
-
getCapabilitiesList
public com.google.protobuf.ProtocolStringList getCapabilitiesList()Feature capability hints for client use
repeated string capabilities = 13;
- Specified by:
getCapabilitiesList
in interfaceYamcsInstanceOrBuilder
- Returns:
- A list containing the capabilities.
-
getCapabilitiesCount
public int getCapabilitiesCount()Feature capability hints for client use
repeated string capabilities = 13;
- Specified by:
getCapabilitiesCount
in interfaceYamcsInstanceOrBuilder
- Returns:
- The count of capabilities.
-
getCapabilities
Feature capability hints for client use
repeated string capabilities = 13;
- Specified by:
getCapabilities
in interfaceYamcsInstanceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The capabilities at the given index.
-
getCapabilitiesBytes
public com.google.protobuf.ByteString getCapabilitiesBytes(int index) Feature capability hints for client use
repeated string capabilities = 13;
- Specified by:
getCapabilitiesBytes
in interfaceYamcsInstanceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the capabilities at the given index.
-
setCapabilities
Feature capability hints for client use
repeated string capabilities = 13;
- Parameters:
index
- The index to set the value at.value
- The capabilities to set.- Returns:
- This builder for chaining.
-
addCapabilities
Feature capability hints for client use
repeated string capabilities = 13;
- Parameters:
value
- The capabilities to add.- Returns:
- This builder for chaining.
-
addAllCapabilities
Feature capability hints for client use
repeated string capabilities = 13;
- Parameters:
values
- The capabilities to add.- Returns:
- This builder for chaining.
-
clearCapabilities
Feature capability hints for client use
repeated string capabilities = 13;
- Returns:
- This builder for chaining.
-
addCapabilitiesBytes
Feature capability hints for client use
repeated string capabilities = 13;
- Parameters:
value
- The bytes of the capabilities to add.- Returns:
- This builder for chaining.
-
hasTemplate
public boolean hasTemplate()Name of the template, if this instance was generated
optional string template = 14;
- Specified by:
hasTemplate
in interfaceYamcsInstanceOrBuilder
- Returns:
- Whether the template field is set.
-
getTemplate
Name of the template, if this instance was generated
optional string template = 14;
- Specified by:
getTemplate
in interfaceYamcsInstanceOrBuilder
- Returns:
- The template.
-
getTemplateBytes
public com.google.protobuf.ByteString getTemplateBytes()Name of the template, if this instance was generated
optional string template = 14;
- Specified by:
getTemplateBytes
in interfaceYamcsInstanceOrBuilder
- Returns:
- The bytes for template.
-
setTemplate
Name of the template, if this instance was generated
optional string template = 14;
- Parameters:
value
- The template to set.- Returns:
- This builder for chaining.
-
clearTemplate
Name of the template, if this instance was generated
optional string template = 14;
- Returns:
- This builder for chaining.
-
setTemplateBytes
Name of the template, if this instance was generated
optional string template = 14;
- Parameters:
value
- The bytes for template to set.- Returns:
- This builder for chaining.
-
getTemplateArgsCount
public int getTemplateArgsCount()Description copied from interface:YamcsInstanceOrBuilder
Arguments used during template processing, if this instance was generated
map<string, string> templateArgs = 15;
- Specified by:
getTemplateArgsCount
in interfaceYamcsInstanceOrBuilder
-
containsTemplateArgs
Arguments used during template processing, if this instance was generated
map<string, string> templateArgs = 15;
- Specified by:
containsTemplateArgs
in interfaceYamcsInstanceOrBuilder
-
getTemplateArgs
Deprecated.UsegetTemplateArgsMap()
instead.- Specified by:
getTemplateArgs
in interfaceYamcsInstanceOrBuilder
-
getTemplateArgsMap
Arguments used during template processing, if this instance was generated
map<string, string> templateArgs = 15;
- Specified by:
getTemplateArgsMap
in interfaceYamcsInstanceOrBuilder
-
getTemplateArgsOrDefault
Arguments used during template processing, if this instance was generated
map<string, string> templateArgs = 15;
- Specified by:
getTemplateArgsOrDefault
in interfaceYamcsInstanceOrBuilder
-
getTemplateArgsOrThrow
Arguments used during template processing, if this instance was generated
map<string, string> templateArgs = 15;
- Specified by:
getTemplateArgsOrThrow
in interfaceYamcsInstanceOrBuilder
-
clearTemplateArgs
-
removeTemplateArgs
Arguments used during template processing, if this instance was generated
map<string, string> templateArgs = 15;
-
getMutableTemplateArgs
Deprecated.Use alternate mutation accessors instead. -
putTemplateArgs
Arguments used during template processing, if this instance was generated
map<string, string> templateArgs = 15;
-
putAllTemplateArgs
Arguments used during template processing, if this instance was generated
map<string, string> templateArgs = 15;
-
hasTemplateAvailable
public boolean hasTemplateAvailable()Whether the template is stil available
optional bool templateAvailable = 16;
- Specified by:
hasTemplateAvailable
in interfaceYamcsInstanceOrBuilder
- Returns:
- Whether the templateAvailable field is set.
-
getTemplateAvailable
public boolean getTemplateAvailable()Whether the template is stil available
optional bool templateAvailable = 16;
- Specified by:
getTemplateAvailable
in interfaceYamcsInstanceOrBuilder
- Returns:
- The templateAvailable.
-
setTemplateAvailable
Whether the template is stil available
optional bool templateAvailable = 16;
- Parameters:
value
- The templateAvailable to set.- Returns:
- This builder for chaining.
-
clearTemplateAvailable
Whether the template is stil available
optional bool templateAvailable = 16;
- Returns:
- This builder for chaining.
-
hasTemplateChanged
public boolean hasTemplateChanged()Whether the template has changed since this instance was generated
optional bool templateChanged = 17;
- Specified by:
hasTemplateChanged
in interfaceYamcsInstanceOrBuilder
- Returns:
- Whether the templateChanged field is set.
-
getTemplateChanged
public boolean getTemplateChanged()Whether the template has changed since this instance was generated
optional bool templateChanged = 17;
- Specified by:
getTemplateChanged
in interfaceYamcsInstanceOrBuilder
- Returns:
- The templateChanged.
-
setTemplateChanged
Whether the template has changed since this instance was generated
optional bool templateChanged = 17;
- Parameters:
value
- The templateChanged to set.- Returns:
- This builder for chaining.
-
clearTemplateChanged
Whether the template has changed since this instance was generated
optional bool templateChanged = 17;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final YamcsInstance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-
mergeUnknownFields
public final YamcsInstance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
-