Class UpdateItemRequest

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

public final class UpdateItemRequest extends com.google.protobuf.GeneratedMessageV3 implements UpdateItemRequestOrBuilder
Protobuf type yamcs.protobuf.timeline.UpdateItemRequest
See Also:
  • 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()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • 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 UpdateItemRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

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

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

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

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

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

      public boolean hasId()
       Item identifier
       
      optional string id = 3;
      Specified by:
      hasId in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Item identifier
       
      optional string id = 3;
      Specified by:
      getId in interface UpdateItemRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Item identifier
       
      optional string id = 3;
      Specified by:
      getIdBytes in interface UpdateItemRequestOrBuilder
      Returns:
      The bytes for id.
    • hasName

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

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

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

      public boolean hasStart()
      new start time
       
      optional .google.protobuf.Timestamp start = 5;
      Specified by:
      hasStart in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
      new start time
       
      optional .google.protobuf.Timestamp start = 5;
      Specified by:
      getStart in interface UpdateItemRequestOrBuilder
      Returns:
      The start.
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
      new start time
       
      optional .google.protobuf.Timestamp start = 5;
      Specified by:
      getStartOrBuilder in interface UpdateItemRequestOrBuilder
    • hasDuration

      public boolean hasDuration()
      new duration
       
      optional .google.protobuf.Duration duration = 6;
      Specified by:
      hasDuration in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public com.google.protobuf.Duration getDuration()
      new duration
       
      optional .google.protobuf.Duration duration = 6;
      Specified by:
      getDuration in interface UpdateItemRequestOrBuilder
      Returns:
      The duration.
    • getDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
      new duration
       
      optional .google.protobuf.Duration duration = 6;
      Specified by:
      getDurationOrBuilder in interface UpdateItemRequestOrBuilder
    • getTagsList

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

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

      public String getTags(int index)
      new tags
       
      repeated string tags = 7;
      Specified by:
      getTags in interface UpdateItemRequestOrBuilder
      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)
      new tags
       
      repeated string tags = 7;
      Specified by:
      getTagsBytes in interface UpdateItemRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • hasClearTags

      public boolean hasClearTags()
       Set this to true to remove completely all the tags
       (required because in the protobuf we cannot distinguish between an empty tags list and a non existent list)
       
      optional bool clearTags = 8;
      Specified by:
      hasClearTags in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the clearTags field is set.
    • getClearTags

      public boolean getClearTags()
       Set this to true to remove completely all the tags
       (required because in the protobuf we cannot distinguish between an empty tags list and a non existent list)
       
      optional bool clearTags = 8;
      Specified by:
      getClearTags in interface UpdateItemRequestOrBuilder
      Returns:
      The clearTags.
    • hasGroupId

      public boolean hasGroupId()
      new group identifier.
      to keep the old value, leave out
       to clear the group, set to an empty string
       
      optional string groupId = 9;
      Specified by:
      hasGroupId in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the groupId field is set.
    • getGroupId

      public String getGroupId()
      new group identifier.
      to keep the old value, leave out
       to clear the group, set to an empty string
       
      optional string groupId = 9;
      Specified by:
      getGroupId in interface UpdateItemRequestOrBuilder
      Returns:
      The groupId.
    • getGroupIdBytes

      public com.google.protobuf.ByteString getGroupIdBytes()
      new group identifier.
      to keep the old value, leave out
       to clear the group, set to an empty string
       
      optional string groupId = 9;
      Specified by:
      getGroupIdBytes in interface UpdateItemRequestOrBuilder
      Returns:
      The bytes for groupId.
    • hasRelativeTime

      public boolean hasRelativeTime()
      new relative time
       to keep the old value, leave out the property
       to clear, set the start
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 10;
      Specified by:
      hasRelativeTime in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the relativeTime field is set.
    • getRelativeTime

      public RelativeTime getRelativeTime()
      new relative time
       to keep the old value, leave out the property
       to clear, set the start
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 10;
      Specified by:
      getRelativeTime in interface UpdateItemRequestOrBuilder
      Returns:
      The relativeTime.
    • getRelativeTimeOrBuilder

      public RelativeTimeOrBuilder getRelativeTimeOrBuilder()
      new relative time
       to keep the old value, leave out the property
       to clear, set the start
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 10;
      Specified by:
      getRelativeTimeOrBuilder in interface UpdateItemRequestOrBuilder
    • hasStatus

      public boolean hasStatus()
      new status (valid for activities)
       
      optional .yamcs.protobuf.timeline.ExecutionStatus status = 11;
      Specified by:
      hasStatus in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public ExecutionStatus getStatus()
      new status (valid for activities)
       
      optional .yamcs.protobuf.timeline.ExecutionStatus status = 11;
      Specified by:
      getStatus in interface UpdateItemRequestOrBuilder
      Returns:
      The status.
    • hasFailureReason

      public boolean hasFailureReason()
      failure reason (valid for activities)
       
      optional string failureReason = 12;
      Specified by:
      hasFailureReason in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the failureReason field is set.
    • getFailureReason

      public String getFailureReason()
      failure reason (valid for activities)
       
      optional string failureReason = 12;
      Specified by:
      getFailureReason in interface UpdateItemRequestOrBuilder
      Returns:
      The failureReason.
    • getFailureReasonBytes

      public com.google.protobuf.ByteString getFailureReasonBytes()
      failure reason (valid for activities)
       
      optional string failureReason = 12;
      Specified by:
      getFailureReasonBytes in interface UpdateItemRequestOrBuilder
      Returns:
      The bytes for failureReason.
    • getPropertiesCount

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

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

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

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

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

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

      public boolean hasClearProperties()
       Set this to true to remove completely all properties
       
      optional bool clearProperties = 14;
      Specified by:
      hasClearProperties in interface UpdateItemRequestOrBuilder
      Returns:
      Whether the clearProperties field is set.
    • getClearProperties

      public boolean getClearProperties()
       Set this to true to remove completely all properties
       
      optional bool clearProperties = 14;
      Specified by:
      getClearProperties in interface UpdateItemRequestOrBuilder
      Returns:
      The clearProperties.
    • 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 UpdateItemRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UpdateItemRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static UpdateItemRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<UpdateItemRequest> 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 UpdateItemRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder