Class CreateItemRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
org.yamcs.protobuf.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
Protobuf type yamcs.protobuf.timeline.CreateItemRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
    • 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>
    • mergeFrom

      public CreateItemRequest.Builder mergeFrom(CreateItemRequest other)
    • 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
    • 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.
    • setInstance

      public CreateItemRequest.Builder setInstance(String value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public CreateItemRequest.Builder clearInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public CreateItemRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSource

      public CreateItemRequest.Builder setSource(String value)
       Item source
       
      optional string source = 2;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public CreateItemRequest.Builder clearSource()
       Item source
       
      optional string source = 2;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public CreateItemRequest.Builder setSourceBytes(com.google.protobuf.ByteString value)
       Item source
       
      optional string source = 2;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • 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.
    • setName

      public CreateItemRequest.Builder setName(String value)
       Item name
       
      optional string name = 3;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public CreateItemRequest.Builder clearName()
       Item name
       
      optional string name = 3;
      Returns:
      This builder for chaining.
    • setNameBytes

      public CreateItemRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Item name
       
      optional string name = 3;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasType

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

      public TimelineItemType getType()
       Item type
       
      optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
      Specified by:
      getType in interface CreateItemRequestOrBuilder
      Returns:
      The type.
    • setType

       Item type
       
      optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public CreateItemRequest.Builder clearType()
       Item type
       
      optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
      Returns:
      This builder for chaining.
    • hasStart

      public boolean hasStart()
       Item start. The fields ``start`` and ``relativeTime``
       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 fields ``start`` and ``relativeTime``
       are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
      Specified by:
      getStart in interface CreateItemRequestOrBuilder
      Returns:
      The start.
    • setStart

      public CreateItemRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Item start. The fields ``start`` and ``relativeTime``
       are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
    • setStart

      public CreateItemRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Item start. The fields ``start`` and ``relativeTime``
       are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
    • mergeStart

      public CreateItemRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Item start. The fields ``start`` and ``relativeTime``
       are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
    • clearStart

      public CreateItemRequest.Builder clearStart()
       Item start. The fields ``start`` and ``relativeTime``
       are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Item start. The fields ``start`` and ``relativeTime``
       are mutually exclusive
       
      optional .google.protobuf.Timestamp start = 5;
    • getStartOrBuilder

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

      public boolean hasDuration()
       Item duration. Applies also if ``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 ``relativeTime`` is specified
       
      optional .google.protobuf.Duration duration = 6;
      Specified by:
      getDuration in interface CreateItemRequestOrBuilder
      Returns:
      The duration.
    • setDuration

      public CreateItemRequest.Builder setDuration(com.google.protobuf.Duration value)
       Item duration. Applies also if ``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 ``relativeTime`` is specified
       
      optional .google.protobuf.Duration duration = 6;
    • mergeDuration

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

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

      public com.google.protobuf.Duration.Builder getDurationBuilder()
       Item duration. Applies also if ``relativeTime`` is specified
       
      optional .google.protobuf.Duration duration = 6;
    • getDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
       Item duration. Applies also if ``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.
    • setTags

      public CreateItemRequest.Builder setTags(int index, String value)
       Tags
       
      repeated string tags = 7;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      public CreateItemRequest.Builder addTags(String value)
       Tags
       
      repeated string tags = 7;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public CreateItemRequest.Builder addAllTags(Iterable<String> values)
       Tags
       
      repeated string tags = 7;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public CreateItemRequest.Builder clearTags()
       Tags
       
      repeated string tags = 7;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public CreateItemRequest.Builder addTagsBytes(com.google.protobuf.ByteString value)
       Tags
       
      repeated string tags = 7;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • 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.
    • setGroupId

      public CreateItemRequest.Builder setGroupId(String value)
       If this item is part of a group, this is the group identifier
       
      optional string groupId = 8;
      Parameters:
      value - The groupId to set.
      Returns:
      This builder for chaining.
    • clearGroupId

      public CreateItemRequest.Builder clearGroupId()
       If this item is part of a group, this is the group identifier
       
      optional string groupId = 8;
      Returns:
      This builder for chaining.
    • 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;
      Parameters:
      value - The bytes for groupId to set.
      Returns:
      This builder for chaining.
    • hasRelativeTime

      public boolean hasRelativeTime()
       If the 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 the 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.
    • setRelativeTime

      public CreateItemRequest.Builder setRelativeTime(RelativeTime value)
       If the 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 the 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 the 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 the 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 the 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 the 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
    • hasDescription

      public boolean hasDescription()
       Item description
       
      optional string description = 10;
      Specified by:
      hasDescription in interface CreateItemRequestOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Item description
       
      optional string description = 10;
      Specified by:
      getDescription in interface CreateItemRequestOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Item description
       
      optional string description = 10;
      Specified by:
      getDescriptionBytes in interface CreateItemRequestOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public CreateItemRequest.Builder setDescription(String value)
       Item description
       
      optional string description = 10;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public CreateItemRequest.Builder clearDescription()
       Item description
       
      optional string description = 10;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public CreateItemRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Item description
       
      optional string description = 10;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getPropertiesCount

      public int getPropertiesCount()
      Description copied from interface: CreateItemRequestOrBuilder
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 11;
      Specified by:
      getPropertiesCount in interface CreateItemRequestOrBuilder
    • containsProperties

      public boolean containsProperties(String key)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 11;
      Specified by:
      containsProperties in interface CreateItemRequestOrBuilder
    • getProperties

      @Deprecated public Map<String,String> getProperties()
      Deprecated.
      Use getPropertiesMap() instead.
      Specified by:
      getProperties in interface CreateItemRequestOrBuilder
    • getPropertiesMap

      public Map<String,String> getPropertiesMap()
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 11;
      Specified by:
      getPropertiesMap in interface CreateItemRequestOrBuilder
    • getPropertiesOrDefault

      public String getPropertiesOrDefault(String key, String defaultValue)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 11;
      Specified by:
      getPropertiesOrDefault in interface CreateItemRequestOrBuilder
    • getPropertiesOrThrow

      public String getPropertiesOrThrow(String key)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 11;
      Specified by:
      getPropertiesOrThrow in interface CreateItemRequestOrBuilder
    • clearProperties

      public CreateItemRequest.Builder clearProperties()
    • removeProperties

      public CreateItemRequest.Builder removeProperties(String key)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 11;
    • getMutableProperties

      @Deprecated public Map<String,String> getMutableProperties()
      Deprecated.
      Use alternate mutation accessors instead.
    • putProperties

      public CreateItemRequest.Builder putProperties(String key, String value)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 11;
    • putAllProperties

      public CreateItemRequest.Builder putAllProperties(Map<String,String> values)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 11;
    • hasActivityDefinition

      public boolean hasActivityDefinition()
       Activity definition associated to this item.
       Required if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;
      Specified by:
      hasActivityDefinition in interface CreateItemRequestOrBuilder
      Returns:
      Whether the activityDefinition field is set.
    • getActivityDefinition

      public ActivityDefinitionInfo getActivityDefinition()
       Activity definition associated to this item.
       Required if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;
      Specified by:
      getActivityDefinition in interface CreateItemRequestOrBuilder
      Returns:
      The activityDefinition.
    • setActivityDefinition

      public CreateItemRequest.Builder setActivityDefinition(ActivityDefinitionInfo value)
       Activity definition associated to this item.
       Required if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;
    • setActivityDefinition

      public CreateItemRequest.Builder setActivityDefinition(ActivityDefinitionInfo.Builder builderForValue)
       Activity definition associated to this item.
       Required if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;
    • mergeActivityDefinition

      public CreateItemRequest.Builder mergeActivityDefinition(ActivityDefinitionInfo value)
       Activity definition associated to this item.
       Required if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;
    • clearActivityDefinition

      public CreateItemRequest.Builder clearActivityDefinition()
       Activity definition associated to this item.
       Required if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;
    • getActivityDefinitionBuilder

      public ActivityDefinitionInfo.Builder getActivityDefinitionBuilder()
       Activity definition associated to this item.
       Required if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;
    • getActivityDefinitionOrBuilder

      public ActivityDefinitionInfoOrBuilder getActivityDefinitionOrBuilder()
       Activity definition associated to this item.
       Required if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;
      Specified by:
      getActivityDefinitionOrBuilder 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>