Class 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:
    Serialized Form
    • Method Detail

      • 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
      • hasType

        public boolean hasType()
         Type of item
         
        optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
        Specified by:
        hasType in interface CreateItemRequestOrBuilder
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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​(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
      • 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
      • 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