java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Mdb.ContextAlarmInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<Mdb.ContextAlarmInfo.Builder>
org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Mdb.ContextAlarmInfoOrBuilder
- Enclosing class:
Mdb.ContextAlarmInfo
public static final class Mdb.ContextAlarmInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Mdb.ContextAlarmInfo.Builder>
implements Mdb.ContextAlarmInfoOrBuilder
Protobuf type
yamcs.protobuf.mdb.ContextAlarmInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllComparison(Iterable<? extends Mdb.ComparisonInfo> values) Deprecated.addComparison(int index, Mdb.ComparisonInfo value) Deprecated.addComparison(int index, Mdb.ComparisonInfo.Builder builderForValue) Deprecated.addComparison(Mdb.ComparisonInfo value) Deprecated.addComparison(Mdb.ComparisonInfo.Builder builderForValue) Deprecated.Deprecated.addComparisonBuilder(int index) Deprecated.build()clear()optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;Deprecated.Expression describing the context when this alarm applies.getAlarm()optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;getComparison(int index) Deprecated.getComparisonBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getComparisonOrBuilder(int index) Deprecated.List<? extends Mdb.ComparisonInfoOrBuilder> Deprecated.Expression describing the context when this alarm applies.com.google.protobuf.ByteStringExpression describing the context when this alarm applies.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanhasAlarm()optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;booleanExpression describing the context when this alarm applies.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAlarm(Mdb.AlarmInfo value) optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Mdb.ContextAlarmInfo other) removeComparison(int index) Deprecated.setAlarm(Mdb.AlarmInfo value) optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;setAlarm(Mdb.AlarmInfo.Builder builderForValue) optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;setComparison(int index, Mdb.ComparisonInfo value) Deprecated.setComparison(int index, Mdb.ComparisonInfo.Builder builderForValue) Deprecated.setContext(String value) Expression describing the context when this alarm applies.setContextBytes(com.google.protobuf.ByteString value) Expression describing the context when this alarm applies.Methods 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<Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Mdb.ContextAlarmInfo.Builder>
-
mergeFrom
public Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>- Throws:
IOException
-
getComparisonList
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true];- Specified by:
getComparisonListin interfaceMdb.ContextAlarmInfoOrBuilder
-
getComparisonCount
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true];- Specified by:
getComparisonCountin interfaceMdb.ContextAlarmInfoOrBuilder
-
getComparison
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true];- Specified by:
getComparisonin interfaceMdb.ContextAlarmInfoOrBuilder
-
setComparison
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
setComparison
@Deprecated public Mdb.ContextAlarmInfo.Builder setComparison(int index, Mdb.ComparisonInfo.Builder builderForValue) Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
addComparison
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
addComparison
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
addComparison
@Deprecated public Mdb.ContextAlarmInfo.Builder addComparison(Mdb.ComparisonInfo.Builder builderForValue) Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
addComparison
@Deprecated public Mdb.ContextAlarmInfo.Builder addComparison(int index, Mdb.ComparisonInfo.Builder builderForValue) Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
addAllComparison
@Deprecated public Mdb.ContextAlarmInfo.Builder addAllComparison(Iterable<? extends Mdb.ComparisonInfo> values) Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
clearComparison
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
removeComparison
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
getComparisonBuilder
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
getComparisonOrBuilder
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true];- Specified by:
getComparisonOrBuilderin interfaceMdb.ContextAlarmInfoOrBuilder
-
getComparisonOrBuilderList
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true];- Specified by:
getComparisonOrBuilderListin interfaceMdb.ContextAlarmInfoOrBuilder
-
addComparisonBuilder
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
addComparisonBuilder
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
getComparisonBuilderList
Deprecated.Use `context` instead
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1 [deprecated = true]; -
hasAlarm
public boolean hasAlarm()optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;- Specified by:
hasAlarmin interfaceMdb.ContextAlarmInfoOrBuilder- Returns:
- Whether the alarm field is set.
-
getAlarm
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;- Specified by:
getAlarmin interfaceMdb.ContextAlarmInfoOrBuilder- Returns:
- The alarm.
-
setAlarm
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; -
setAlarm
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; -
mergeAlarm
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; -
clearAlarm
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; -
getAlarmBuilder
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; -
getAlarmOrBuilder
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;- Specified by:
getAlarmOrBuilderin interfaceMdb.ContextAlarmInfoOrBuilder
-
hasContext
public boolean hasContext()Expression describing the context when this alarm applies. Can also be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet. Either this or a comparison has to be used (not both at the same time)
optional string context = 3;- Specified by:
hasContextin interfaceMdb.ContextAlarmInfoOrBuilder- Returns:
- Whether the context field is set.
-
getContext
Expression describing the context when this alarm applies. Can also be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet. Either this or a comparison has to be used (not both at the same time)
optional string context = 3;- Specified by:
getContextin interfaceMdb.ContextAlarmInfoOrBuilder- Returns:
- The context.
-
getContextBytes
public com.google.protobuf.ByteString getContextBytes()Expression describing the context when this alarm applies. Can also be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet. Either this or a comparison has to be used (not both at the same time)
optional string context = 3;- Specified by:
getContextBytesin interfaceMdb.ContextAlarmInfoOrBuilder- Returns:
- The bytes for context.
-
setContext
Expression describing the context when this alarm applies. Can also be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet. Either this or a comparison has to be used (not both at the same time)
optional string context = 3;- Parameters:
value- The context to set.- Returns:
- This builder for chaining.
-
clearContext
Expression describing the context when this alarm applies. Can also be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet. Either this or a comparison has to be used (not both at the same time)
optional string context = 3;- Returns:
- This builder for chaining.
-
setContextBytes
Expression describing the context when this alarm applies. Can also be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet. Either this or a comparison has to be used (not both at the same time)
optional string context = 3;- Parameters:
value- The bytes for context to set.- Returns:
- This builder for chaining.
-