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

      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • hasGroupId

        public boolean hasGroupId()
        new group identifier
         
        optional string groupId = 8;
        Specified by:
        hasGroupId in interface UpdateItemRequestOrBuilder
        Returns:
        Whether the groupId field is set.
      • getGroupIdBytes

        public com.google.protobuf.ByteString getGroupIdBytes()
        new group identifier
         
        optional string groupId = 8;
        Specified by:
        getGroupIdBytes in interface UpdateItemRequestOrBuilder
        Returns:
        The bytes for groupId.
      • hasRelativeTime

        public boolean hasRelativeTime()
        new relative time
         
        optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
        Specified by:
        hasRelativeTime in interface UpdateItemRequestOrBuilder
        Returns:
        Whether the relativeTime field is set.
      • 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​(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
      • 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
      • 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