Class 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.yamcsManagement.YamcsInstance
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • clear

        public YamcsInstance.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • getDefaultInstanceForType

        public YamcsInstance getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public YamcsInstance build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public YamcsInstance buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public YamcsInstance.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • setField

        public YamcsInstance.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • clearField

        public YamcsInstance.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • clearOneof

        public YamcsInstance.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • addRepeatedField

        public YamcsInstance.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • mergeFrom

        public YamcsInstance.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<YamcsInstance.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<YamcsInstance.Builder>
        Throws:
        IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Instance name.
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface YamcsInstanceOrBuilder
      • setNameBytes

        public YamcsInstance.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Instance name.
         
        optional string name = 1;
      • clearMissionDatabase

        public YamcsInstance.Builder clearMissionDatabase()
        optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
      • getMissionDatabaseBuilder

        public Mdb.MissionDatabase.Builder getMissionDatabaseBuilder()
        optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
      • clearProcessors

        public YamcsInstance.Builder clearProcessors()
        repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
      • removeProcessors

        public YamcsInstance.Builder removeProcessors​(int index)
        repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
      • getProcessorsBuilder

        public ProcessorInfo.Builder getProcessorsBuilder​(int index)
        repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
      • addProcessorsBuilder

        public ProcessorInfo.Builder addProcessorsBuilder()
        repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
      • addProcessorsBuilder

        public ProcessorInfo.Builder addProcessorsBuilder​(int index)
        repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
      • getProcessorsBuilderList

        public List<ProcessorInfo.Builder> getProcessorsBuilderList()
        repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
      • hasState

        public boolean hasState()
        optional .yamcs.protobuf.yamcsManagement.YamcsInstance.InstanceState state = 11;
        Specified by:
        hasState in interface YamcsInstanceOrBuilder
      • clearState

        public YamcsInstance.Builder clearState()
        optional .yamcs.protobuf.yamcsManagement.YamcsInstance.InstanceState state = 11;
      • 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 interface YamcsInstanceOrBuilder
      • getFailureCause

        public String 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 interface YamcsInstanceOrBuilder
      • 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 interface YamcsInstanceOrBuilder
      • setFailureCause

        public YamcsInstance.Builder setFailureCause​(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 happens
         
        optional string failureCause = 9;
      • clearFailureCause

        public YamcsInstance.Builder 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;
      • setFailureCauseBytes

        public YamcsInstance.Builder setFailureCauseBytes​(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 happens
         
        optional string failureCause = 9;
      • getMissionTime

        public com.google.protobuf.Timestamp getMissionTime()
        optional .google.protobuf.Timestamp missionTime = 10;
        Specified by:
        getMissionTime in interface YamcsInstanceOrBuilder
      • setMissionTime

        public YamcsInstance.Builder setMissionTime​(com.google.protobuf.Timestamp value)
        optional .google.protobuf.Timestamp missionTime = 10;
      • setMissionTime

        public YamcsInstance.Builder setMissionTime​(com.google.protobuf.Timestamp.Builder builderForValue)
        optional .google.protobuf.Timestamp missionTime = 10;
      • mergeMissionTime

        public YamcsInstance.Builder mergeMissionTime​(com.google.protobuf.Timestamp value)
        optional .google.protobuf.Timestamp missionTime = 10;
      • clearMissionTime

        public YamcsInstance.Builder 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 interface YamcsInstanceOrBuilder
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • getCapabilitiesList

        public com.google.protobuf.ProtocolStringList getCapabilitiesList()
         Feature capability hints for client use
         
        repeated string capabilities = 13;
        Specified by:
        getCapabilitiesList in interface YamcsInstanceOrBuilder
      • getCapabilitiesBytes

        public com.google.protobuf.ByteString getCapabilitiesBytes​(int index)
         Feature capability hints for client use
         
        repeated string capabilities = 13;
        Specified by:
        getCapabilitiesBytes in interface YamcsInstanceOrBuilder
      • setCapabilities

        public YamcsInstance.Builder setCapabilities​(int index,
                                                     String value)
         Feature capability hints for client use
         
        repeated string capabilities = 13;
      • addCapabilities

        public YamcsInstance.Builder addCapabilities​(String value)
         Feature capability hints for client use
         
        repeated string capabilities = 13;
      • clearCapabilities

        public YamcsInstance.Builder clearCapabilities()
         Feature capability hints for client use
         
        repeated string capabilities = 13;
      • addCapabilitiesBytes

        public YamcsInstance.Builder addCapabilitiesBytes​(com.google.protobuf.ByteString value)
         Feature capability hints for client use
         
        repeated string capabilities = 13;
      • setUnknownFields

        public final YamcsInstance.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>
      • mergeUnknownFields

        public final YamcsInstance.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<YamcsInstance.Builder>