java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PredecessorInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<PredecessorInfo.Builder>
org.yamcs.protobuf.PredecessorInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,PredecessorInfoOrBuilder
- Enclosing class:
PredecessorInfo
public static final class PredecessorInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PredecessorInfo.Builder>
implements PredecessorInfoOrBuilder
Protobuf type
yamcs.protobuf.timeline.PredecessorInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Item identifier of the predecessorName of the predecessor item This is an output field onlyWhat is the predecessor's state before the successor can be started.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorItem identifier of the predecessorcom.google.protobuf.ByteStringItem identifier of the predecessorgetName()Name of the predecessor item This is an output field onlycom.google.protobuf.ByteStringName of the predecessor item This is an output field onlyWhat is the predecessor's state before the successor can be started.booleanItem identifier of the predecessorbooleanhasName()Name of the predecessor item This is an output field onlybooleanWhat is the predecessor's state before the successor can be started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(PredecessorInfo other) Item identifier of the predecessorsetItemIdBytes(com.google.protobuf.ByteString value) Item identifier of the predecessorName of the predecessor item This is an output field onlysetNameBytes(com.google.protobuf.ByteString value) Name of the predecessor item This is an output field onlysetStartCondition(StartCondition value) What is the predecessor's state before the successor can be started.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<PredecessorInfo.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<PredecessorInfo.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<PredecessorInfo.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<PredecessorInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PredecessorInfo.Builder>
-
mergeFrom
public PredecessorInfo.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<PredecessorInfo.Builder>- Throws:
IOException
-
hasItemId
public boolean hasItemId()Item identifier of the predecessor
optional string itemId = 1;- Specified by:
hasItemIdin interfacePredecessorInfoOrBuilder- Returns:
- Whether the itemId field is set.
-
getItemId
Item identifier of the predecessor
optional string itemId = 1;- Specified by:
getItemIdin interfacePredecessorInfoOrBuilder- Returns:
- The itemId.
-
getItemIdBytes
public com.google.protobuf.ByteString getItemIdBytes()Item identifier of the predecessor
optional string itemId = 1;- Specified by:
getItemIdBytesin interfacePredecessorInfoOrBuilder- Returns:
- The bytes for itemId.
-
setItemId
Item identifier of the predecessor
optional string itemId = 1;- Parameters:
value- The itemId to set.- Returns:
- This builder for chaining.
-
clearItemId
Item identifier of the predecessor
optional string itemId = 1;- Returns:
- This builder for chaining.
-
setItemIdBytes
Item identifier of the predecessor
optional string itemId = 1;- Parameters:
value- The bytes for itemId to set.- Returns:
- This builder for chaining.
-
hasStartCondition
public boolean hasStartCondition()What is the predecessor's state before the successor can be started. If not specified, ON_COMPLETION will be used
optional .yamcs.protobuf.timeline.StartCondition startCondition = 2;- Specified by:
hasStartConditionin interfacePredecessorInfoOrBuilder- Returns:
- Whether the startCondition field is set.
-
getStartCondition
What is the predecessor's state before the successor can be started. If not specified, ON_COMPLETION will be used
optional .yamcs.protobuf.timeline.StartCondition startCondition = 2;- Specified by:
getStartConditionin interfacePredecessorInfoOrBuilder- Returns:
- The startCondition.
-
setStartCondition
What is the predecessor's state before the successor can be started. If not specified, ON_COMPLETION will be used
optional .yamcs.protobuf.timeline.StartCondition startCondition = 2;- Parameters:
value- The startCondition to set.- Returns:
- This builder for chaining.
-
clearStartCondition
What is the predecessor's state before the successor can be started. If not specified, ON_COMPLETION will be used
optional .yamcs.protobuf.timeline.StartCondition startCondition = 2;- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Name of the predecessor item This is an output field only
optional string name = 3;- Specified by:
hasNamein interfacePredecessorInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of the predecessor item This is an output field only
optional string name = 3;- Specified by:
getNamein interfacePredecessorInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the predecessor item This is an output field only
optional string name = 3;- Specified by:
getNameBytesin interfacePredecessorInfoOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the predecessor item This is an output field only
optional string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the predecessor item This is an output field only
optional string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the predecessor item This is an output field only
optional string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-