Package org.yamcs.protobuf
Class Mdb.VerifierInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Mdb.VerifierInfo.Builder>
org.yamcs.protobuf.Mdb.VerifierInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Mdb.VerifierInfoOrBuilder
- Enclosing class:
- Mdb.VerifierInfo
public static final class Mdb.VerifierInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Mdb.VerifierInfo.Builder>
implements Mdb.VerifierInfoOrBuilder
Protobuf type
yamcs.protobuf.mdb.VerifierInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
Time window during which a check is executedContainer update that is checkedExpression used to check this verifierclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) What action to take when a check failsWhat action to take when a check succeedsWhat action to take when a check times outoptional string stage = 1;
clone()
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
Time window during which a check is executedTime window during which a check is executedTime window during which a check is executedContainer update that is checkedContainer update that is checkedContainer update that is checkedstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Expression used to check this verifiercom.google.protobuf.ByteString
Expression used to check this verifierWhat action to take when a check failsWhat action to take when a check succeedsWhat action to take when a check times outgetStage()
optional string stage = 1;
com.google.protobuf.ByteString
optional string stage = 1;
boolean
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
boolean
Time window during which a check is executedboolean
Container update that is checkedboolean
Expression used to check this verifierboolean
What action to take when a check failsboolean
What action to take when a check succeedsboolean
What action to take when a check times outboolean
hasStage()
optional string stage = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeAlgorithm
(Mdb.AlgorithmInfo value) optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
Time window during which a check is executedmergeContainer
(Mdb.ContainerInfo value) Container update that is checkedmergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Mdb.VerifierInfo other) final Mdb.VerifierInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setAlgorithm
(Mdb.AlgorithmInfo value) optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
setAlgorithm
(Mdb.AlgorithmInfo.Builder builderForValue) optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
Time window during which a check is executedsetCheckWindow
(Mdb.CheckWindowInfo.Builder builderForValue) Time window during which a check is executedsetContainer
(Mdb.ContainerInfo value) Container update that is checkedsetContainer
(Mdb.ContainerInfo.Builder builderForValue) Container update that is checkedsetExpression
(String value) Expression used to check this verifiersetExpressionBytes
(com.google.protobuf.ByteString value) Expression used to check this verifierWhat action to take when a check failsWhat action to take when a check succeedsWhat action to take when a check times outsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional string stage = 1;
setStageBytes
(com.google.protobuf.ByteString value) optional string stage = 1;
final Mdb.VerifierInfo.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, 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.VerifierInfo.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.VerifierInfo.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.VerifierInfo.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.VerifierInfo.Builder>
-
setField
public Mdb.VerifierInfo.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.VerifierInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.VerifierInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.VerifierInfo.Builder>
-
setRepeatedField
public Mdb.VerifierInfo.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.VerifierInfo.Builder>
-
addRepeatedField
public Mdb.VerifierInfo.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.VerifierInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mdb.VerifierInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.VerifierInfo.Builder>
-
mergeFrom
public Mdb.VerifierInfo.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.VerifierInfo.Builder>
- Throws:
IOException
-
hasStage
public boolean hasStage()optional string stage = 1;
- Specified by:
hasStage
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- Whether the stage field is set.
-
getStage
optional string stage = 1;
- Specified by:
getStage
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The stage.
-
getStageBytes
public com.google.protobuf.ByteString getStageBytes()optional string stage = 1;
- Specified by:
getStageBytes
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The bytes for stage.
-
setStage
optional string stage = 1;
- Parameters:
value
- The stage to set.- Returns:
- This builder for chaining.
-
clearStage
optional string stage = 1;
- Returns:
- This builder for chaining.
-
setStageBytes
optional string stage = 1;
- Parameters:
value
- The bytes for stage to set.- Returns:
- This builder for chaining.
-
hasContainer
public boolean hasContainer()Container update that is checked
optional .yamcs.protobuf.mdb.ContainerInfo container = 2;
- Specified by:
hasContainer
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- Whether the container field is set.
-
getContainer
Container update that is checked
optional .yamcs.protobuf.mdb.ContainerInfo container = 2;
- Specified by:
getContainer
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The container.
-
setContainer
Container update that is checked
optional .yamcs.protobuf.mdb.ContainerInfo container = 2;
-
setContainer
Container update that is checked
optional .yamcs.protobuf.mdb.ContainerInfo container = 2;
-
mergeContainer
Container update that is checked
optional .yamcs.protobuf.mdb.ContainerInfo container = 2;
-
clearContainer
Container update that is checked
optional .yamcs.protobuf.mdb.ContainerInfo container = 2;
-
getContainerBuilder
Container update that is checked
optional .yamcs.protobuf.mdb.ContainerInfo container = 2;
-
getContainerOrBuilder
Container update that is checked
optional .yamcs.protobuf.mdb.ContainerInfo container = 2;
- Specified by:
getContainerOrBuilder
in interfaceMdb.VerifierInfoOrBuilder
-
hasAlgorithm
public boolean hasAlgorithm()optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
- Specified by:
hasAlgorithm
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- Whether the algorithm field is set.
-
getAlgorithm
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
- Specified by:
getAlgorithm
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The algorithm.
-
setAlgorithm
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
-
setAlgorithm
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
-
mergeAlgorithm
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
-
clearAlgorithm
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
-
getAlgorithmBuilder
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
-
getAlgorithmOrBuilder
optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3;
- Specified by:
getAlgorithmOrBuilder
in interfaceMdb.VerifierInfoOrBuilder
-
hasOnSuccess
public boolean hasOnSuccess()What action to take when a check succeeds
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4;
- Specified by:
hasOnSuccess
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- Whether the onSuccess field is set.
-
getOnSuccess
What action to take when a check succeeds
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4;
- Specified by:
getOnSuccess
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The onSuccess.
-
setOnSuccess
What action to take when a check succeeds
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4;
- Parameters:
value
- The onSuccess to set.- Returns:
- This builder for chaining.
-
clearOnSuccess
What action to take when a check succeeds
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4;
- Returns:
- This builder for chaining.
-
hasOnFail
public boolean hasOnFail()What action to take when a check fails
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5;
- Specified by:
hasOnFail
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- Whether the onFail field is set.
-
getOnFail
What action to take when a check fails
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5;
- Specified by:
getOnFail
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The onFail.
-
setOnFail
What action to take when a check fails
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5;
- Parameters:
value
- The onFail to set.- Returns:
- This builder for chaining.
-
clearOnFail
What action to take when a check fails
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5;
- Returns:
- This builder for chaining.
-
hasOnTimeout
public boolean hasOnTimeout()What action to take when a check times out
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6;
- Specified by:
hasOnTimeout
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- Whether the onTimeout field is set.
-
getOnTimeout
What action to take when a check times out
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6;
- Specified by:
getOnTimeout
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The onTimeout.
-
setOnTimeout
What action to take when a check times out
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6;
- Parameters:
value
- The onTimeout to set.- Returns:
- This builder for chaining.
-
clearOnTimeout
What action to take when a check times out
optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6;
- Returns:
- This builder for chaining.
-
hasCheckWindow
public boolean hasCheckWindow()Time window during which a check is executed
optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7;
- Specified by:
hasCheckWindow
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- Whether the checkWindow field is set.
-
getCheckWindow
Time window during which a check is executed
optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7;
- Specified by:
getCheckWindow
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The checkWindow.
-
setCheckWindow
Time window during which a check is executed
optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7;
-
setCheckWindow
Time window during which a check is executed
optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7;
-
mergeCheckWindow
Time window during which a check is executed
optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7;
-
clearCheckWindow
Time window during which a check is executed
optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7;
-
getCheckWindowBuilder
Time window during which a check is executed
optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7;
-
getCheckWindowOrBuilder
Time window during which a check is executed
optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7;
- Specified by:
getCheckWindowOrBuilder
in interfaceMdb.VerifierInfoOrBuilder
-
hasExpression
public boolean hasExpression()Expression used to check this verifier
optional string expression = 8;
- Specified by:
hasExpression
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- Whether the expression field is set.
-
getExpression
Expression used to check this verifier
optional string expression = 8;
- Specified by:
getExpression
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The expression.
-
getExpressionBytes
public com.google.protobuf.ByteString getExpressionBytes()Expression used to check this verifier
optional string expression = 8;
- Specified by:
getExpressionBytes
in interfaceMdb.VerifierInfoOrBuilder
- Returns:
- The bytes for expression.
-
setExpression
Expression used to check this verifier
optional string expression = 8;
- Parameters:
value
- The expression to set.- Returns:
- This builder for chaining.
-
clearExpression
Expression used to check this verifier
optional string expression = 8;
- Returns:
- This builder for chaining.
-
setExpressionBytes
Expression used to check this verifier
optional string expression = 8;
- Parameters:
value
- The bytes for expression to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Mdb.VerifierInfo.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.VerifierInfo.Builder>
-
mergeUnknownFields
public final Mdb.VerifierInfo.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.VerifierInfo.Builder>
-