Class CreateItemRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, CreateItemRequestOrBuilder
    Enclosing class:
    CreateItemRequest

    public static final class CreateItemRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
    implements CreateItemRequestOrBuilder
     Items **********************
     
    Protobuf type yamcs.protobuf.timeline.CreateItemRequest
    • Method Detail

      • 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.Builder<CreateItemRequest.Builder>
      • clear

        public CreateItemRequest.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.GeneratedMessageV3.Builder<CreateItemRequest.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.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public CreateItemRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • setField

        public CreateItemRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • clearField

        public CreateItemRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • clearOneof

        public CreateItemRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • setRepeatedField

        public CreateItemRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • addRepeatedField

        public CreateItemRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • mergeFrom

        public CreateItemRequest.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<CreateItemRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • mergeFrom

        public CreateItemRequest.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<CreateItemRequest.Builder>
        Throws:
        IOException
      • setInstanceBytes

        public CreateItemRequest.Builder setInstanceBytes​(com.google.protobuf.ByteString value)
         Yamcs instance name
         
        optional string instance = 1;
      • setSourceBytes

        public CreateItemRequest.Builder setSourceBytes​(com.google.protobuf.ByteString value)
         Item source
         
        optional string source = 2;
      • setNameBytes

        public CreateItemRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Item name
         
        optional string name = 3;
      • hasType

        public boolean hasType()
         Type of item
         
        optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
        Specified by:
        hasType in interface CreateItemRequestOrBuilder
      • clearType

        public CreateItemRequest.Builder clearType()
         Type of item
         
        optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
      • 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
      • setStart

        public CreateItemRequest.Builder setStart​(com.google.protobuf.Timestamp value)
        item start. The start and the relativeTime (below) are mutually exclusive
         
        optional .google.protobuf.Timestamp start = 5;
      • setStart

        public CreateItemRequest.Builder setStart​(com.google.protobuf.Timestamp.Builder builderForValue)
        item start. The start and the relativeTime (below) are mutually exclusive
         
        optional .google.protobuf.Timestamp start = 5;
      • mergeStart

        public CreateItemRequest.Builder mergeStart​(com.google.protobuf.Timestamp value)
        item start. The start and the relativeTime (below) are mutually exclusive
         
        optional .google.protobuf.Timestamp start = 5;
      • clearStart

        public CreateItemRequest.Builder clearStart()
        item start. The start and the relativeTime (below) are mutually exclusive
         
        optional .google.protobuf.Timestamp start = 5;
      • getStartBuilder

        public com.google.protobuf.Timestamp.Builder getStartBuilder()
        item start. The start and the relativeTime (below) are mutually exclusive
         
        optional .google.protobuf.Timestamp start = 5;
      • 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
      • setDuration

        public CreateItemRequest.Builder setDuration​(com.google.protobuf.Duration value)
        item duration. Applies also if the relativeTime is specified
         
        optional .google.protobuf.Duration duration = 6;
      • setDuration

        public CreateItemRequest.Builder setDuration​(com.google.protobuf.Duration.Builder builderForValue)
        item duration. Applies also if the relativeTime is specified
         
        optional .google.protobuf.Duration duration = 6;
      • mergeDuration

        public CreateItemRequest.Builder mergeDuration​(com.google.protobuf.Duration value)
        item duration. Applies also if the relativeTime is specified
         
        optional .google.protobuf.Duration duration = 6;
      • clearDuration

        public CreateItemRequest.Builder clearDuration()
        item duration. Applies also if the relativeTime is specified
         
        optional .google.protobuf.Duration duration = 6;
      • getDurationBuilder

        public com.google.protobuf.Duration.Builder getDurationBuilder()
        item duration. Applies also if the relativeTime is specified
         
        optional .google.protobuf.Duration duration = 6;
      • 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
      • addTagsBytes

        public CreateItemRequest.Builder addTagsBytes​(com.google.protobuf.ByteString value)
        tags
         
        repeated string tags = 7;
      • 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
      • setGroupId

        public CreateItemRequest.Builder setGroupId​(String value)
        if this item is part of a group, this is the group identifier
         
        optional string groupId = 8;
      • clearGroupId

        public CreateItemRequest.Builder clearGroupId()
        if this item is part of a group, this is the group identifier
         
        optional string groupId = 8;
      • setGroupIdBytes

        public CreateItemRequest.Builder setGroupIdBytes​(com.google.protobuf.ByteString value)
        if this item is part of a group, this is the group identifier
         
        optional string groupId = 8;
      • 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
      • setRelativeTime

        public CreateItemRequest.Builder setRelativeTime​(RelativeTime value)
        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;
      • setRelativeTime

        public CreateItemRequest.Builder setRelativeTime​(RelativeTime.Builder builderForValue)
        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;
      • mergeRelativeTime

        public CreateItemRequest.Builder mergeRelativeTime​(RelativeTime value)
        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;
      • clearRelativeTime

        public CreateItemRequest.Builder clearRelativeTime()
        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;
      • getRelativeTimeBuilder

        public RelativeTime.Builder getRelativeTimeBuilder()
        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;
      • 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
      • setUnknownFields

        public final CreateItemRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
      • mergeUnknownFields

        public final CreateItemRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>