Class AddBandRequest

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, AddBandRequestOrBuilder

    public final class AddBandRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements AddBandRequestOrBuilder
     Bands **********************
     
    Protobuf type yamcs.protobuf.timeline.AddBandRequest
    See Also:
    Serialized Form
    • Method Detail

      • 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
      • getInstanceBytes

        public com.google.protobuf.ByteString getInstanceBytes()
         Yamcs instance name
         
        optional string instance = 1;
        Specified by:
        getInstanceBytes in interface AddBandRequestOrBuilder
      • hasShared

        public boolean hasShared()
        if true, all users have access to this band, otherwise only the user who has created it 
         
        optional bool shared = 3;
        Specified by:
        hasShared in interface AddBandRequestOrBuilder
      • getShared

        public boolean getShared()
        if true, all users have access to this band, otherwise only the user who has created it 
         
        optional bool shared = 3;
        Specified by:
        getShared in interface AddBandRequestOrBuilder
      • hasSource

        public boolean hasSource()
        the band contains only items from this source
         
        optional string source = 4;
        Specified by:
        hasSource in interface AddBandRequestOrBuilder
      • getSourceBytes

        public com.google.protobuf.ByteString getSourceBytes()
        the band contains only items from this source
         
        optional string source = 4;
        Specified by:
        getSourceBytes in interface AddBandRequestOrBuilder
      • getTagsList

        public com.google.protobuf.ProtocolStringList getTagsList()
         Items containing these tags will be part of the timeline
         
        repeated string tags = 5;
        Specified by:
        getTagsList in interface AddBandRequestOrBuilder
      • getTagsCount

        public int getTagsCount()
         Items containing these tags will be part of the timeline
         
        repeated string tags = 5;
        Specified by:
        getTagsCount in interface AddBandRequestOrBuilder
      • getTags

        public String getTags​(int index)
         Items containing these tags will be part of the timeline
         
        repeated string tags = 5;
        Specified by:
        getTags in interface AddBandRequestOrBuilder
      • getTagsBytes

        public com.google.protobuf.ByteString getTagsBytes​(int index)
         Items containing these tags will be part of the timeline
         
        repeated string tags = 5;
        Specified by:
        getTagsBytes in interface AddBandRequestOrBuilder
      • hasType

        public boolean hasType()
         Type of band
         
        optional .yamcs.protobuf.timeline.TimelineBandType type = 7;
        Specified by:
        hasType in interface AddBandRequestOrBuilder
      • containsProperties

        public boolean containsProperties​(String key)
         Additional properties used by yamcs-web to render this band
         
        map<string, string> properties = 9;
        Specified by:
        containsProperties in interface AddBandRequestOrBuilder
      • 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 AddBandRequest parseFrom​(ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static AddBandRequest getDefaultInstance()
      • parser

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

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