Class UpdateItemRequest.Builder

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

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

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

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

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

        public UpdateItemRequest.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<UpdateItemRequest.Builder>
      • setField

        public UpdateItemRequest.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<UpdateItemRequest.Builder>
      • clearField

        public UpdateItemRequest.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<UpdateItemRequest.Builder>
      • clearOneof

        public UpdateItemRequest.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<UpdateItemRequest.Builder>
      • setRepeatedField

        public UpdateItemRequest.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<UpdateItemRequest.Builder>
      • addRepeatedField

        public UpdateItemRequest.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<UpdateItemRequest.Builder>
      • mergeFrom

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

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

        public UpdateItemRequest.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<UpdateItemRequest.Builder>
        Throws:
        IOException
      • 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.
      • setInstance

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

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

        public UpdateItemRequest.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 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.
      • setSource

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

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

        public UpdateItemRequest.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.
      • 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.
      • setId

        public UpdateItemRequest.Builder setId​(String value)
         Item identifier
         
        optional string id = 3;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public UpdateItemRequest.Builder clearId()
         Item identifier
         
        optional string id = 3;
        Returns:
        This builder for chaining.
      • setIdBytes

        public UpdateItemRequest.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Item identifier
         
        optional string id = 3;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • 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.
      • setName

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

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

        public UpdateItemRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Item name
         
        optional string name = 4;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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.
      • setStart

        public UpdateItemRequest.Builder setStart​(com.google.protobuf.Timestamp value)
        new start time
         
        optional .google.protobuf.Timestamp start = 5;
      • setStart

        public UpdateItemRequest.Builder setStart​(com.google.protobuf.Timestamp.Builder builderForValue)
        new start time
         
        optional .google.protobuf.Timestamp start = 5;
      • mergeStart

        public UpdateItemRequest.Builder mergeStart​(com.google.protobuf.Timestamp value)
        new start time
         
        optional .google.protobuf.Timestamp start = 5;
      • getStartBuilder

        public com.google.protobuf.Timestamp.Builder getStartBuilder()
        new start time
         
        optional .google.protobuf.Timestamp start = 5;
      • 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.
      • setDuration

        public UpdateItemRequest.Builder setDuration​(com.google.protobuf.Duration value)
        new duration
         
        optional .google.protobuf.Duration duration = 6;
      • setDuration

        public UpdateItemRequest.Builder setDuration​(com.google.protobuf.Duration.Builder builderForValue)
        new duration
         
        optional .google.protobuf.Duration duration = 6;
      • mergeDuration

        public UpdateItemRequest.Builder mergeDuration​(com.google.protobuf.Duration value)
        new duration
         
        optional .google.protobuf.Duration duration = 6;
      • clearDuration

        public UpdateItemRequest.Builder clearDuration()
        new duration
         
        optional .google.protobuf.Duration duration = 6;
      • getDurationBuilder

        public com.google.protobuf.Duration.Builder getDurationBuilder()
        new duration
         
        optional .google.protobuf.Duration duration = 6;
      • 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.
      • setTags

        public UpdateItemRequest.Builder setTags​(int index,
                                                 String value)
        new 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 UpdateItemRequest.Builder addTags​(String value)
        new tags
         
        repeated string tags = 7;
        Parameters:
        value - The tags to add.
        Returns:
        This builder for chaining.
      • addAllTags

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

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

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

        public UpdateItemRequest.Builder setGroupId​(String value)
        new group identifier
         
        optional string groupId = 8;
        Parameters:
        value - The groupId to set.
        Returns:
        This builder for chaining.
      • clearGroupId

        public UpdateItemRequest.Builder clearGroupId()
        new group identifier
         
        optional string groupId = 8;
        Returns:
        This builder for chaining.
      • setGroupIdBytes

        public UpdateItemRequest.Builder setGroupIdBytes​(com.google.protobuf.ByteString value)
        new group identifier
         
        optional string groupId = 8;
        Parameters:
        value - The bytes for groupId to set.
        Returns:
        This builder for chaining.
      • 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.
      • clearRelativeTime

        public UpdateItemRequest.Builder clearRelativeTime()
        new relative time
         
        optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
      • getRelativeTimeBuilder

        public RelativeTime.Builder getRelativeTimeBuilder()
        new relative time
         
        optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
      • setUnknownFields

        public final UpdateItemRequest.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<UpdateItemRequest.Builder>
      • mergeUnknownFields

        public final UpdateItemRequest.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<UpdateItemRequest.Builder>