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:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type yamcs.protobuf.timeline.UpdateItemRequest

    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 int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<UpdateItemRequest>
    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
     
    boolean
    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)
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Duration
    new duration
    com.google.protobuf.DurationOrBuilder
    new duration
    failure reason (valid for activities)
    com.google.protobuf.ByteString
    failure reason (valid for activities)
    new group identifier. to keep the old value, leave out to clear the group, set to an empty string
    com.google.protobuf.ByteString
    new group identifier. to keep the old value, leave out to clear the group, set to an empty string
    Item identifier
    com.google.protobuf.ByteString
    Item identifier
    Yamcs instance name
    com.google.protobuf.ByteString
    Yamcs instance name
    Item name
    com.google.protobuf.ByteString
    Item name
    com.google.protobuf.Parser<UpdateItemRequest>
     
    new relative time to keep the old value, leave out the property to clear, set the start
    new relative time to keep the old value, leave out the property to clear, set the start
    int
     
    Item source
    com.google.protobuf.ByteString
    Item source
    com.google.protobuf.Timestamp
    new start time
    com.google.protobuf.TimestampOrBuilder
    new start time
    new status (valid for activities)
    getTags(int index)
    new tags
    com.google.protobuf.ByteString
    getTagsBytes(int index)
    new tags
    int
    new tags
    com.google.protobuf.ProtocolStringList
    new tags
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    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)
    boolean
    new duration
    boolean
    failure reason (valid for activities)
    boolean
    new group identifier. to keep the old value, leave out to clear the group, set to an empty string
    int
     
    boolean
    Item identifier
    boolean
    Yamcs instance name
    boolean
    Item name
    boolean
    new relative time to keep the old value, leave out the property to clear, set the start
    boolean
    Item source
    boolean
    new start time
    boolean
    new status (valid for activities)
    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<UpdateItemRequest>
     
     
    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 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.
    • 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