Class CreateItemRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.CreateItemRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, CreateItemRequestOrBuilder

public final class CreateItemRequest extends com.google.protobuf.GeneratedMessageV3 implements CreateItemRequestOrBuilder
 Items **********************
 
Protobuf type yamcs.protobuf.timeline.CreateItemRequest
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Items **********************

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<CreateItemRequest>
    Deprecated.
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Duration
    item duration.
    com.google.protobuf.DurationOrBuilder
    item duration.
    if this item is part of a group, this is the group identifier
    com.google.protobuf.ByteString
    if this item is part of a group, this is the group identifier
    Yamcs instance name
    com.google.protobuf.ByteString
    Yamcs instance name
    Item name
    com.google.protobuf.ByteString
    Item name
    com.google.protobuf.Parser<CreateItemRequest>
     
    if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
    if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
    int
     
    Item source
    com.google.protobuf.ByteString
    Item source
    com.google.protobuf.Timestamp
    item start.
    com.google.protobuf.TimestampOrBuilder
    item start.
    getTags(int index)
    tags
    com.google.protobuf.ByteString
    getTagsBytes(int index)
    tags
    int
    tags
    com.google.protobuf.ProtocolStringList
    tags
    Type of item
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    item duration.
    boolean
    if this item is part of a group, this is the group identifier
    int
     
    boolean
    Yamcs instance name
    boolean
    Item name
    boolean
    if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
    boolean
    Item source
    boolean
    item start.
    boolean
    Type of item
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<CreateItemRequest>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface CreateItemRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface CreateItemRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface CreateItemRequestOrBuilder
      Returns:
      The bytes for instance.
    • hasSource

      public boolean hasSource()
       Item source
       
      optional string source = 2;
      Specified by:
      hasSource in interface CreateItemRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       Item source
       
      optional string source = 2;
      Specified by:
      getSource in interface CreateItemRequestOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Item source
       
      optional string source = 2;
      Specified by:
      getSourceBytes in interface CreateItemRequestOrBuilder
      Returns:
      The bytes for source.
    • hasName

      public boolean hasName()
       Item name
       
      optional string name = 3;
      Specified by:
      hasName in interface CreateItemRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Item name
       
      optional string name = 3;
      Specified by:
      getName in interface CreateItemRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Item name
       
      optional string name = 3;
      Specified by:
      getNameBytes in interface CreateItemRequestOrBuilder
      Returns:
      The bytes for name.
    • hasType

      public boolean hasType()
       Type of item
       
      optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
      Specified by:
      hasType in interface CreateItemRequestOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public TimelineItemType getType()
       Type of item
       
      optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
      Specified by:
      getType in interface CreateItemRequestOrBuilder
      Returns:
      The type.
    • hasStart

      public boolean hasStart()
      item start. The start and the relativeTime (below) are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
      Specified by:
      hasStart in interface CreateItemRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
      item start. The start and the relativeTime (below) are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
      Specified by:
      getStart in interface CreateItemRequestOrBuilder
      Returns:
      The start.
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
      item start. The start and the relativeTime (below) are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
      Specified by:
      getStartOrBuilder in interface CreateItemRequestOrBuilder
    • hasDuration

      public boolean hasDuration()
      item duration. Applies also if the relativeTime is specified
       
      optional .google.protobuf.Duration duration = 6;
      Specified by:
      hasDuration in interface CreateItemRequestOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public com.google.protobuf.Duration getDuration()
      item duration. Applies also if the relativeTime is specified
       
      optional .google.protobuf.Duration duration = 6;
      Specified by:
      getDuration in interface CreateItemRequestOrBuilder
      Returns:
      The duration.
    • getDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
      item duration. Applies also if the relativeTime is specified
       
      optional .google.protobuf.Duration duration = 6;
      Specified by:
      getDurationOrBuilder in interface CreateItemRequestOrBuilder
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
      tags
       
      repeated string tags = 7;
      Specified by:
      getTagsList in interface CreateItemRequestOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
      tags
       
      repeated string tags = 7;
      Specified by:
      getTagsCount in interface CreateItemRequestOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
      tags
       
      repeated string tags = 7;
      Specified by:
      getTags in interface CreateItemRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
      tags
       
      repeated string tags = 7;
      Specified by:
      getTagsBytes in interface CreateItemRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • hasGroupId

      public boolean hasGroupId()
      if this item is part of a group, this is the group identifier
       
      optional string groupId = 8;
      Specified by:
      hasGroupId in interface CreateItemRequestOrBuilder
      Returns:
      Whether the groupId field is set.
    • getGroupId

      public String getGroupId()
      if this item is part of a group, this is the group identifier
       
      optional string groupId = 8;
      Specified by:
      getGroupId in interface CreateItemRequestOrBuilder
      Returns:
      The groupId.
    • getGroupIdBytes

      public com.google.protobuf.ByteString getGroupIdBytes()
      if this item is part of a group, this is the group identifier
       
      optional string groupId = 8;
      Specified by:
      getGroupIdBytes in interface CreateItemRequestOrBuilder
      Returns:
      The bytes for groupId.
    • hasRelativeTime

      public boolean hasRelativeTime()
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
      Specified by:
      hasRelativeTime in interface CreateItemRequestOrBuilder
      Returns:
      Whether the relativeTime field is set.
    • getRelativeTime

      public RelativeTime getRelativeTime()
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
      Specified by:
      getRelativeTime in interface CreateItemRequestOrBuilder
      Returns:
      The relativeTime.
    • getRelativeTimeOrBuilder

      public RelativeTimeOrBuilder getRelativeTimeOrBuilder()
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
      Specified by:
      getRelativeTimeOrBuilder in interface CreateItemRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CreateItemRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateItemRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateItemRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateItemRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateItemRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateItemRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateItemRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateItemRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateItemRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateItemRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateItemRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateItemRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CreateItemRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CreateItemRequest.Builder newBuilder()
    • newBuilder

      public static CreateItemRequest.Builder newBuilder(CreateItemRequest prototype)
    • toBuilder

      public CreateItemRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CreateItemRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static CreateItemRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CreateItemRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CreateItemRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public CreateItemRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder