Class PredecessorInfo.Builder

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 Type
    Method
    Description
     
     
     
    Item identifier of the predecessor
    Name of the predecessor item This is an output field only
    What is the predecessor's state before the successor can be started.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Item identifier of the predecessor
    com.google.protobuf.ByteString
    Item identifier of the predecessor
    Name of the predecessor item This is an output field only
    com.google.protobuf.ByteString
    Name of the predecessor item This is an output field only
    What is the predecessor's state before the successor can be started.
    boolean
    Item identifier of the predecessor
    boolean
    Name of the predecessor item This is an output field only
    boolean
    What is the predecessor's state before the successor can be started.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    Item identifier of the predecessor
    setItemIdBytes(com.google.protobuf.ByteString value)
    Item identifier of the predecessor
    setName(String value)
    Name of the predecessor item This is an output field only
    setNameBytes(com.google.protobuf.ByteString value)
    Name of the predecessor item This is an output field only
    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PredecessorInfo.Builder>
    • clear

      public PredecessorInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PredecessorInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PredecessorInfo.Builder>
    • getDefaultInstanceForType

      public PredecessorInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PredecessorInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PredecessorInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PredecessorInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredecessorInfo.Builder>
    • mergeFrom

      public PredecessorInfo.Builder mergeFrom(PredecessorInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredecessorInfo.Builder>
      Throws:
      IOException
    • hasItemId

      public boolean hasItemId()
       Item identifier of the predecessor
       
      optional string itemId = 1;
      Specified by:
      hasItemId in interface PredecessorInfoOrBuilder
      Returns:
      Whether the itemId field is set.
    • getItemId

      public String getItemId()
       Item identifier of the predecessor
       
      optional string itemId = 1;
      Specified by:
      getItemId in interface PredecessorInfoOrBuilder
      Returns:
      The itemId.
    • getItemIdBytes

      public com.google.protobuf.ByteString getItemIdBytes()
       Item identifier of the predecessor
       
      optional string itemId = 1;
      Specified by:
      getItemIdBytes in interface PredecessorInfoOrBuilder
      Returns:
      The bytes for itemId.
    • setItemId

      public PredecessorInfo.Builder setItemId(String value)
       Item identifier of the predecessor
       
      optional string itemId = 1;
      Parameters:
      value - The itemId to set.
      Returns:
      This builder for chaining.
    • clearItemId

      public PredecessorInfo.Builder clearItemId()
       Item identifier of the predecessor
       
      optional string itemId = 1;
      Returns:
      This builder for chaining.
    • setItemIdBytes

      public PredecessorInfo.Builder setItemIdBytes(com.google.protobuf.ByteString value)
       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:
      hasStartCondition in interface PredecessorInfoOrBuilder
      Returns:
      Whether the startCondition field is set.
    • getStartCondition

      public StartCondition 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:
      getStartCondition in interface PredecessorInfoOrBuilder
      Returns:
      The startCondition.
    • setStartCondition

      public PredecessorInfo.Builder setStartCondition(StartCondition value)
       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

      public PredecessorInfo.Builder 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:
      hasName in interface PredecessorInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of the predecessor item
      
       This is an output field only
       
      optional string name = 3;
      Specified by:
      getName in interface PredecessorInfoOrBuilder
      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:
      getNameBytes in interface PredecessorInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public PredecessorInfo.Builder setName(String value)
       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

      public PredecessorInfo.Builder clearName()
       Name of the predecessor item
      
       This is an output field only
       
      optional string name = 3;
      Returns:
      This builder for chaining.
    • setNameBytes

      public PredecessorInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       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.