Class SaveBandRequest

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

public final class SaveBandRequest extends com.google.protobuf.GeneratedMessageV3 implements SaveBandRequestOrBuilder
Protobuf type yamcs.protobuf.timeline.SaveBandRequest
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 SaveBandRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

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

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

      public boolean hasId()
       Optional band identifier.
       If not set, an ID will be assigned by the server.
       If set, it should be a valid UUID.
       
      optional string id = 10;
      Specified by:
      hasId in interface SaveBandRequestOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Optional band identifier.
       If not set, an ID will be assigned by the server.
       If set, it should be a valid UUID.
       
      optional string id = 10;
      Specified by:
      getId in interface SaveBandRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Optional band identifier.
       If not set, an ID will be assigned by the server.
       If set, it should be a valid UUID.
       
      optional string id = 10;
      Specified by:
      getIdBytes in interface SaveBandRequestOrBuilder
      Returns:
      The bytes for id.
    • hasName

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

      public String getName()
       Band name
       
      optional string name = 2;
      Specified by:
      getName in interface SaveBandRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Band name
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface SaveBandRequestOrBuilder
      Returns:
      The bytes for name.
    • 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 SaveBandRequestOrBuilder
      Returns:
      Whether the shared field is set.
    • 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 SaveBandRequestOrBuilder
      Returns:
      The shared.
    • hasSource

      public boolean hasSource()
       Where the items shown on this band come from
       
      optional string source = 4;
      Specified by:
      hasSource in interface SaveBandRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       Where the items shown on this band come from
       
      optional string source = 4;
      Specified by:
      getSource in interface SaveBandRequestOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Where the items shown on this band come from
       
      optional string source = 4;
      Specified by:
      getSourceBytes in interface SaveBandRequestOrBuilder
      Returns:
      The bytes for source.
    • 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 SaveBandRequestOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
       Items containing these tags will be part of the timeline
       
      repeated string tags = 5;
      Specified by:
      getTagsCount in interface SaveBandRequestOrBuilder
      Returns:
      The count of tags.
    • 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 SaveBandRequestOrBuilder
      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)
       Items containing these tags will be part of the timeline
       
      repeated string tags = 5;
      Specified by:
      getTagsBytes in interface SaveBandRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • hasFilter

      public boolean hasFilter()
       If specified, the band shows only items matching this filter
       
      optional string filter = 12;
      Specified by:
      hasFilter in interface SaveBandRequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public String getFilter()
       If specified, the band shows only items matching this filter
       
      optional string filter = 12;
      Specified by:
      getFilter in interface SaveBandRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       If specified, the band shows only items matching this filter
       
      optional string filter = 12;
      Specified by:
      getFilterBytes in interface SaveBandRequestOrBuilder
      Returns:
      The bytes for filter.
    • hasType

      public boolean hasType()
       Type of band
       
      optional .yamcs.protobuf.timeline.TimelineBandType type = 7;
      Specified by:
      hasType in interface SaveBandRequestOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public TimelineBandType getType()
       Type of band
       
      optional .yamcs.protobuf.timeline.TimelineBandType type = 7;
      Specified by:
      getType in interface SaveBandRequestOrBuilder
      Returns:
      The type.
    • hasDescription

      public boolean hasDescription()
       Band description
       
      optional string description = 8;
      Specified by:
      hasDescription in interface SaveBandRequestOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Band description
       
      optional string description = 8;
      Specified by:
      getDescription in interface SaveBandRequestOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Band description
       
      optional string description = 8;
      Specified by:
      getDescriptionBytes in interface SaveBandRequestOrBuilder
      Returns:
      The bytes for description.
    • getPropertiesCount

      public int getPropertiesCount()
      Description copied from interface: SaveBandRequestOrBuilder
       Additional properties used by the Yamcs Web UI for rendering purposes.
       
      map<string, string> properties = 9;
      Specified by:
      getPropertiesCount in interface SaveBandRequestOrBuilder
    • containsProperties

      public boolean containsProperties(String key)
       Additional properties used by the Yamcs Web UI for rendering purposes.
       
      map<string, string> properties = 9;
      Specified by:
      containsProperties in interface SaveBandRequestOrBuilder
    • getProperties

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

      public Map<String,String> getPropertiesMap()
       Additional properties used by the Yamcs Web UI for rendering purposes.
       
      map<string, string> properties = 9;
      Specified by:
      getPropertiesMap in interface SaveBandRequestOrBuilder
    • getPropertiesOrDefault

      public String getPropertiesOrDefault(String key, String defaultValue)
       Additional properties used by the Yamcs Web UI for rendering purposes.
       
      map<string, string> properties = 9;
      Specified by:
      getPropertiesOrDefault in interface SaveBandRequestOrBuilder
    • getPropertiesOrThrow

      public String getPropertiesOrThrow(String key)
       Additional properties used by the Yamcs Web UI for rendering purposes.
       
      map<string, string> properties = 9;
      Specified by:
      getPropertiesOrThrow in interface SaveBandRequestOrBuilder
    • getExtraCount

      public int getExtraCount()
      Description copied from interface: SaveBandRequestOrBuilder
       Mission-specific custom data. Unlike `properties`, this field is ignored
       by the Yamcs Web UI.
       
      map<string, string> extra = 11;
      Specified by:
      getExtraCount in interface SaveBandRequestOrBuilder
    • containsExtra

      public boolean containsExtra(String key)
       Mission-specific custom data. Unlike `properties`, this field is ignored
       by the Yamcs Web UI.
       
      map<string, string> extra = 11;
      Specified by:
      containsExtra in interface SaveBandRequestOrBuilder
    • getExtra

      @Deprecated public Map<String,String> getExtra()
      Deprecated.
      Use getExtraMap() instead.
      Specified by:
      getExtra in interface SaveBandRequestOrBuilder
    • getExtraMap

      public Map<String,String> getExtraMap()
       Mission-specific custom data. Unlike `properties`, this field is ignored
       by the Yamcs Web UI.
       
      map<string, string> extra = 11;
      Specified by:
      getExtraMap in interface SaveBandRequestOrBuilder
    • getExtraOrDefault

      public String getExtraOrDefault(String key, String defaultValue)
       Mission-specific custom data. Unlike `properties`, this field is ignored
       by the Yamcs Web UI.
       
      map<string, string> extra = 11;
      Specified by:
      getExtraOrDefault in interface SaveBandRequestOrBuilder
    • getExtraOrThrow

      public String getExtraOrThrow(String key)
       Mission-specific custom data. Unlike `properties`, this field is ignored
       by the Yamcs Web UI.
       
      map<string, string> extra = 11;
      Specified by:
      getExtraOrThrow in interface SaveBandRequestOrBuilder
    • 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 SaveBandRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static SaveBandRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static SaveBandRequest getDefaultInstance()
    • parser

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

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