Package org.yamcs.protobuf
Class Mdb.ContextAlarmInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder>
implements Mdb.ContextAlarmInfoOrBuilder
Protobuf type
yamcs.protobuf.mdb.ContextAlarmInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddAllComparison
(Iterable<? extends Mdb.ComparisonInfo> values) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
addComparison
(int index, Mdb.ComparisonInfo value) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
addComparison
(int index, Mdb.ComparisonInfo.Builder builderForValue) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
addComparison
(Mdb.ComparisonInfo value) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
addComparison
(Mdb.ComparisonInfo.Builder builderForValue) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
addComparisonBuilder
(int index) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
This can be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
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) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
getComparisonBuilder
(int index) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
int
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
getComparisonOrBuilder
(int index) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
List<? extends Mdb.ComparisonInfoOrBuilder>
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
This can be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet.com.google.protobuf.ByteString
This can be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
hasAlarm()
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
boolean
This can be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeAlarm
(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) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeComparison
(int index) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
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) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
setComparison
(int index, Mdb.ComparisonInfo.Builder builderForValue) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
setContext
(String value) This can be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet.setContextBytes
(com.google.protobuf.ByteString value) This can be used in UpdateParameterRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, internalGetMapField, internalGetMutableMapField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
-
setField
public Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
-
clearField
public Mdb.ContextAlarmInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder>
-
clearOneof
public Mdb.ContextAlarmInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder>
-
setRepeatedField
public Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
-
addRepeatedField
public Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mdb.ContextAlarmInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder>
-
mergeFrom
public Mdb.ContextAlarmInfo.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<Mdb.ContextAlarmInfo.Builder>
- Throws:
IOException
-
getComparisonList
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
- Specified by:
getComparisonList
in interfaceMdb.ContextAlarmInfoOrBuilder
-
getComparisonCount
public int getComparisonCount()repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
- Specified by:
getComparisonCount
in interfaceMdb.ContextAlarmInfoOrBuilder
-
getComparison
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
- Specified by:
getComparison
in interfaceMdb.ContextAlarmInfoOrBuilder
-
setComparison
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
setComparison
public Mdb.ContextAlarmInfo.Builder setComparison(int index, Mdb.ComparisonInfo.Builder builderForValue) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
addComparison
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
addComparison
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
addComparison
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
addComparison
public Mdb.ContextAlarmInfo.Builder addComparison(int index, Mdb.ComparisonInfo.Builder builderForValue) repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
addAllComparison
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
clearComparison
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
removeComparison
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
getComparisonBuilder
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
getComparisonOrBuilder
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
- Specified by:
getComparisonOrBuilder
in interfaceMdb.ContextAlarmInfoOrBuilder
-
getComparisonOrBuilderList
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
- Specified by:
getComparisonOrBuilderList
in interfaceMdb.ContextAlarmInfoOrBuilder
-
addComparisonBuilder
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
addComparisonBuilder
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
getComparisonBuilderList
repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1;
-
hasAlarm
public boolean hasAlarm()optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
- Specified by:
hasAlarm
in interfaceMdb.ContextAlarmInfoOrBuilder
- Returns:
- Whether the alarm field is set.
-
getAlarm
optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2;
- Specified by:
getAlarm
in 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:
getAlarmOrBuilder
in interfaceMdb.ContextAlarmInfoOrBuilder
-
hasContext
public boolean hasContext()This can 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:
hasContext
in interfaceMdb.ContextAlarmInfoOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
This can 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:
getContext
in interfaceMdb.ContextAlarmInfoOrBuilder
- Returns:
- The context.
-
getContextBytes
public com.google.protobuf.ByteString getContextBytes()This can 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:
getContextBytes
in interfaceMdb.ContextAlarmInfoOrBuilder
- Returns:
- The bytes for context.
-
setContext
This can 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
This can 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
This can 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.
-
setUnknownFields
public final Mdb.ContextAlarmInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder>
-
mergeUnknownFields
public final Mdb.ContextAlarmInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ContextAlarmInfo.Builder>
-