Package org.yamcs.protobuf
Class YamcsInstance
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.protobuf.YamcsInstance
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,YamcsInstanceOrBuilder
public final class YamcsInstance extends com.google.protobuf.GeneratedMessageV3 implements YamcsInstanceOrBuilder
Protobuf typeyamcs.protobuf.yamcsManagement.YamcsInstance
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
YamcsInstance.Builder
Protobuf typeyamcs.protobuf.yamcsManagement.YamcsInstance
static class
YamcsInstance.InstanceState
Protobuf enumyamcs.protobuf.yamcsManagement.YamcsInstance.InstanceState
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
FAILURECAUSE_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MISSIONDATABASE_FIELD_NUMBER
static int
MISSIONTIME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static com.google.protobuf.Parser<YamcsInstance>
PARSER
Deprecated.static int
PROCESSORS_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
map<string, string> labels = 12;
boolean
equals(Object obj)
static YamcsInstance
getDefaultInstance()
YamcsInstance
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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 happenscom.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 happensMap<String,String>
getLabels()
Deprecated.int
getLabelsCount()
map<string, string> labels = 12;
Map<String,String>
getLabelsMap()
map<string, string> labels = 12;
String
getLabelsOrDefault(String key, String defaultValue)
map<string, string> labels = 12;
String
getLabelsOrThrow(String key)
map<string, string> labels = 12;
Mdb.MissionDatabase
getMissionDatabase()
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
Mdb.MissionDatabaseOrBuilder
getMissionDatabaseOrBuilder()
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
com.google.protobuf.Timestamp
getMissionTime()
optional .google.protobuf.Timestamp missionTime = 10;
com.google.protobuf.TimestampOrBuilder
getMissionTimeOrBuilder()
optional .google.protobuf.Timestamp missionTime = 10;
String
getName()
Instance name.com.google.protobuf.ByteString
getNameBytes()
Instance name.com.google.protobuf.Parser<YamcsInstance>
getParserForType()
ProcessorInfo
getProcessors(int index)
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
int
getProcessorsCount()
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
List<ProcessorInfo>
getProcessorsList()
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
ProcessorInfoOrBuilder
getProcessorsOrBuilder(int index)
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
List<? extends ProcessorInfoOrBuilder>
getProcessorsOrBuilderList()
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
int
getSerializedSize()
YamcsInstance.InstanceState
getState()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance.InstanceState state = 11;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
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 happensint
hashCode()
boolean
hasMissionDatabase()
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
boolean
hasMissionTime()
optional .google.protobuf.Timestamp missionTime = 10;
boolean
hasName()
Instance name.boolean
hasState()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance.InstanceState state = 11;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static YamcsInstance.Builder
newBuilder()
static YamcsInstance.Builder
newBuilder(YamcsInstance prototype)
YamcsInstance.Builder
newBuilderForType()
protected YamcsInstance.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static YamcsInstance
parseDelimitedFrom(InputStream input)
static YamcsInstance
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static YamcsInstance
parseFrom(byte[] data)
static YamcsInstance
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static YamcsInstance
parseFrom(com.google.protobuf.ByteString data)
static YamcsInstance
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static YamcsInstance
parseFrom(com.google.protobuf.CodedInputStream input)
static YamcsInstance
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static YamcsInstance
parseFrom(InputStream input)
static YamcsInstance
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static YamcsInstance
parseFrom(ByteBuffer data)
static YamcsInstance
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<YamcsInstance>
parser()
YamcsInstance.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MISSIONDATABASE_FIELD_NUMBER
public static final int MISSIONDATABASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESSORS_FIELD_NUMBER
public static final int PROCESSORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURECAUSE_FIELD_NUMBER
public static final int FAILURECAUSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MISSIONTIME_FIELD_NUMBER
public static final int MISSIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<YamcsInstance> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()
Instance name.
optional string name = 1;
- Specified by:
hasName
in interfaceYamcsInstanceOrBuilder
-
getName
public String getName()
Instance name.
optional string name = 1;
- Specified by:
getName
in interfaceYamcsInstanceOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Instance name.
optional string name = 1;
- Specified by:
getNameBytes
in interfaceYamcsInstanceOrBuilder
-
hasMissionDatabase
public boolean hasMissionDatabase()
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
- Specified by:
hasMissionDatabase
in interfaceYamcsInstanceOrBuilder
-
getMissionDatabase
public Mdb.MissionDatabase getMissionDatabase()
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
- Specified by:
getMissionDatabase
in interfaceYamcsInstanceOrBuilder
-
getMissionDatabaseOrBuilder
public Mdb.MissionDatabaseOrBuilder getMissionDatabaseOrBuilder()
optional .yamcs.protobuf.mdb.MissionDatabase missionDatabase = 3;
- Specified by:
getMissionDatabaseOrBuilder
in interfaceYamcsInstanceOrBuilder
-
getProcessorsList
public List<ProcessorInfo> getProcessorsList()
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessorsList
in interfaceYamcsInstanceOrBuilder
-
getProcessorsOrBuilderList
public List<? extends ProcessorInfoOrBuilder> getProcessorsOrBuilderList()
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessorsOrBuilderList
in interfaceYamcsInstanceOrBuilder
-
getProcessorsCount
public int getProcessorsCount()
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessorsCount
in interfaceYamcsInstanceOrBuilder
-
getProcessors
public ProcessorInfo getProcessors(int index)
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessors
in interfaceYamcsInstanceOrBuilder
-
getProcessorsOrBuilder
public ProcessorInfoOrBuilder getProcessorsOrBuilder(int index)
repeated .yamcs.protobuf.yamcsManagement.ProcessorInfo processors = 4;
- Specified by:
getProcessorsOrBuilder
in interfaceYamcsInstanceOrBuilder
-
hasState
public boolean hasState()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance.InstanceState state = 11;
- Specified by:
hasState
in interfaceYamcsInstanceOrBuilder
-
getState
public YamcsInstance.InstanceState getState()
optional .yamcs.protobuf.yamcsManagement.YamcsInstance.InstanceState state = 11;
- Specified by:
getState
in interfaceYamcsInstanceOrBuilder
-
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
-
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 interfaceYamcsInstanceOrBuilder
-
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
-
hasMissionTime
public boolean hasMissionTime()
optional .google.protobuf.Timestamp missionTime = 10;
- Specified by:
hasMissionTime
in interfaceYamcsInstanceOrBuilder
-
getMissionTime
public com.google.protobuf.Timestamp getMissionTime()
optional .google.protobuf.Timestamp missionTime = 10;
- Specified by:
getMissionTime
in interfaceYamcsInstanceOrBuilder
-
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
map<string, string> labels = 12;
- Specified by:
getLabelsCount
in interfaceYamcsInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
map<string, string> labels = 12;
- Specified by:
containsLabels
in interfaceYamcsInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceYamcsInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
map<string, string> labels = 12;
- Specified by:
getLabelsMap
in interfaceYamcsInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
map<string, string> labels = 12;
- Specified by:
getLabelsOrDefault
in interfaceYamcsInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
map<string, string> labels = 12;
- Specified by:
getLabelsOrThrow
in interfaceYamcsInstanceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static YamcsInstance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static YamcsInstance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static YamcsInstance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static YamcsInstance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static YamcsInstance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static YamcsInstance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static YamcsInstance parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static YamcsInstance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static YamcsInstance parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static YamcsInstance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static YamcsInstance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static YamcsInstance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public YamcsInstance.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static YamcsInstance.Builder newBuilder()
-
newBuilder
public static YamcsInstance.Builder newBuilder(YamcsInstance prototype)
-
toBuilder
public YamcsInstance.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected YamcsInstance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static YamcsInstance getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<YamcsInstance> parser()
-
getParserForType
public com.google.protobuf.Parser<YamcsInstance> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public YamcsInstance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-