Class GetServerInfoResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<GetServerInfoResponse.Builder>
org.yamcs.protobuf.GetServerInfoResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GetServerInfoResponseOrBuilder
Enclosing class:
GetServerInfoResponse

public static final class GetServerInfoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetServerInfoResponse.Builder> implements GetServerInfoResponseOrBuilder
Protobuf type yamcs.protobuf.server.GetServerInfoResponse
  • Method Details

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

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

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

      public GetServerInfoResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<GetServerInfoResponse.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public GetServerInfoResponse.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<GetServerInfoResponse.Builder>
      Throws:
      IOException
    • hasYamcsVersion

      public boolean hasYamcsVersion()
       Yamcs version derived on build time.
       
      optional string yamcsVersion = 1;
      Specified by:
      hasYamcsVersion in interface GetServerInfoResponseOrBuilder
      Returns:
      Whether the yamcsVersion field is set.
    • getYamcsVersion

      public String getYamcsVersion()
       Yamcs version derived on build time.
       
      optional string yamcsVersion = 1;
      Specified by:
      getYamcsVersion in interface GetServerInfoResponseOrBuilder
      Returns:
      The yamcsVersion.
    • getYamcsVersionBytes

      public com.google.protobuf.ByteString getYamcsVersionBytes()
       Yamcs version derived on build time.
       
      optional string yamcsVersion = 1;
      Specified by:
      getYamcsVersionBytes in interface GetServerInfoResponseOrBuilder
      Returns:
      The bytes for yamcsVersion.
    • setYamcsVersion

      public GetServerInfoResponse.Builder setYamcsVersion(String value)
       Yamcs version derived on build time.
       
      optional string yamcsVersion = 1;
      Parameters:
      value - The yamcsVersion to set.
      Returns:
      This builder for chaining.
    • clearYamcsVersion

      public GetServerInfoResponse.Builder clearYamcsVersion()
       Yamcs version derived on build time.
       
      optional string yamcsVersion = 1;
      Returns:
      This builder for chaining.
    • setYamcsVersionBytes

      public GetServerInfoResponse.Builder setYamcsVersionBytes(com.google.protobuf.ByteString value)
       Yamcs version derived on build time.
       
      optional string yamcsVersion = 1;
      Parameters:
      value - The bytes for yamcsVersion to set.
      Returns:
      This builder for chaining.
    • hasRevision

      public boolean hasRevision()
       Yamcs SHA-1 revision identifier. Set on
       build time, but only if the git command
       was available.
       
      optional string revision = 6;
      Specified by:
      hasRevision in interface GetServerInfoResponseOrBuilder
      Returns:
      Whether the revision field is set.
    • getRevision

      public String getRevision()
       Yamcs SHA-1 revision identifier. Set on
       build time, but only if the git command
       was available.
       
      optional string revision = 6;
      Specified by:
      getRevision in interface GetServerInfoResponseOrBuilder
      Returns:
      The revision.
    • getRevisionBytes

      public com.google.protobuf.ByteString getRevisionBytes()
       Yamcs SHA-1 revision identifier. Set on
       build time, but only if the git command
       was available.
       
      optional string revision = 6;
      Specified by:
      getRevisionBytes in interface GetServerInfoResponseOrBuilder
      Returns:
      The bytes for revision.
    • setRevision

      public GetServerInfoResponse.Builder setRevision(String value)
       Yamcs SHA-1 revision identifier. Set on
       build time, but only if the git command
       was available.
       
      optional string revision = 6;
      Parameters:
      value - The revision to set.
      Returns:
      This builder for chaining.
    • clearRevision

      public GetServerInfoResponse.Builder clearRevision()
       Yamcs SHA-1 revision identifier. Set on
       build time, but only if the git command
       was available.
       
      optional string revision = 6;
      Returns:
      This builder for chaining.
    • setRevisionBytes

      public GetServerInfoResponse.Builder setRevisionBytes(com.google.protobuf.ByteString value)
       Yamcs SHA-1 revision identifier. Set on
       build time, but only if the git command
       was available.
       
      optional string revision = 6;
      Parameters:
      value - The bytes for revision to set.
      Returns:
      This builder for chaining.
    • hasServerId

      public boolean hasServerId()
       An identifier for this server. Used in
       system parameters.
       
      optional string serverId = 2;
      Specified by:
      hasServerId in interface GetServerInfoResponseOrBuilder
      Returns:
      Whether the serverId field is set.
    • getServerId

      public String getServerId()
       An identifier for this server. Used in
       system parameters.
       
      optional string serverId = 2;
      Specified by:
      getServerId in interface GetServerInfoResponseOrBuilder
      Returns:
      The serverId.
    • getServerIdBytes

      public com.google.protobuf.ByteString getServerIdBytes()
       An identifier for this server. Used in
       system parameters.
       
      optional string serverId = 2;
      Specified by:
      getServerIdBytes in interface GetServerInfoResponseOrBuilder
      Returns:
      The bytes for serverId.
    • setServerId

      public GetServerInfoResponse.Builder setServerId(String value)
       An identifier for this server. Used in
       system parameters.
       
      optional string serverId = 2;
      Parameters:
      value - The serverId to set.
      Returns:
      This builder for chaining.
    • clearServerId

      public GetServerInfoResponse.Builder clearServerId()
       An identifier for this server. Used in
       system parameters.
       
      optional string serverId = 2;
      Returns:
      This builder for chaining.
    • setServerIdBytes

      public GetServerInfoResponse.Builder setServerIdBytes(com.google.protobuf.ByteString value)
       An identifier for this server. Used in
       system parameters.
       
      optional string serverId = 2;
      Parameters:
      value - The bytes for serverId to set.
      Returns:
      This builder for chaining.
    • hasDefaultYamcsInstance

      public boolean hasDefaultYamcsInstance()
       A default instance for this Yamcs installation.
       This is a calculated suggestion. UI clients may ignore.
       
      optional string defaultYamcsInstance = 3;
      Specified by:
      hasDefaultYamcsInstance in interface GetServerInfoResponseOrBuilder
      Returns:
      Whether the defaultYamcsInstance field is set.
    • getDefaultYamcsInstance

      public String getDefaultYamcsInstance()
       A default instance for this Yamcs installation.
       This is a calculated suggestion. UI clients may ignore.
       
      optional string defaultYamcsInstance = 3;
      Specified by:
      getDefaultYamcsInstance in interface GetServerInfoResponseOrBuilder
      Returns:
      The defaultYamcsInstance.
    • getDefaultYamcsInstanceBytes

      public com.google.protobuf.ByteString getDefaultYamcsInstanceBytes()
       A default instance for this Yamcs installation.
       This is a calculated suggestion. UI clients may ignore.
       
      optional string defaultYamcsInstance = 3;
      Specified by:
      getDefaultYamcsInstanceBytes in interface GetServerInfoResponseOrBuilder
      Returns:
      The bytes for defaultYamcsInstance.
    • setDefaultYamcsInstance

      public GetServerInfoResponse.Builder setDefaultYamcsInstance(String value)
       A default instance for this Yamcs installation.
       This is a calculated suggestion. UI clients may ignore.
       
      optional string defaultYamcsInstance = 3;
      Parameters:
      value - The defaultYamcsInstance to set.
      Returns:
      This builder for chaining.
    • clearDefaultYamcsInstance

      public GetServerInfoResponse.Builder clearDefaultYamcsInstance()
       A default instance for this Yamcs installation.
       This is a calculated suggestion. UI clients may ignore.
       
      optional string defaultYamcsInstance = 3;
      Returns:
      This builder for chaining.
    • setDefaultYamcsInstanceBytes

      public GetServerInfoResponse.Builder setDefaultYamcsInstanceBytes(com.google.protobuf.ByteString value)
       A default instance for this Yamcs installation.
       This is a calculated suggestion. UI clients may ignore.
       
      optional string defaultYamcsInstance = 3;
      Parameters:
      value - The bytes for defaultYamcsInstance to set.
      Returns:
      This builder for chaining.
    • getPluginsList

      public List<GetServerInfoResponse.PluginInfo> getPluginsList()
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
      Specified by:
      getPluginsList in interface GetServerInfoResponseOrBuilder
    • getPluginsCount

      public int getPluginsCount()
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
      Specified by:
      getPluginsCount in interface GetServerInfoResponseOrBuilder
    • getPlugins

      public GetServerInfoResponse.PluginInfo getPlugins(int index)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
      Specified by:
      getPlugins in interface GetServerInfoResponseOrBuilder
    • setPlugins

      public GetServerInfoResponse.Builder setPlugins(int index, GetServerInfoResponse.PluginInfo value)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • setPlugins

      public GetServerInfoResponse.Builder setPlugins(int index, GetServerInfoResponse.PluginInfo.Builder builderForValue)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • addPlugins

       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • addPlugins

      public GetServerInfoResponse.Builder addPlugins(int index, GetServerInfoResponse.PluginInfo value)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • addPlugins

       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • addPlugins

      public GetServerInfoResponse.Builder addPlugins(int index, GetServerInfoResponse.PluginInfo.Builder builderForValue)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • addAllPlugins

       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • clearPlugins

      public GetServerInfoResponse.Builder clearPlugins()
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • removePlugins

      public GetServerInfoResponse.Builder removePlugins(int index)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • getPluginsBuilder

      public GetServerInfoResponse.PluginInfo.Builder getPluginsBuilder(int index)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • getPluginsOrBuilder

      public GetServerInfoResponse.PluginInfoOrBuilder getPluginsOrBuilder(int index)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
      Specified by:
      getPluginsOrBuilder in interface GetServerInfoResponseOrBuilder
    • getPluginsOrBuilderList

      public List<? extends GetServerInfoResponse.PluginInfoOrBuilder> getPluginsOrBuilderList()
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
      Specified by:
      getPluginsOrBuilderList in interface GetServerInfoResponseOrBuilder
    • addPluginsBuilder

      public GetServerInfoResponse.PluginInfo.Builder addPluginsBuilder()
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • addPluginsBuilder

      public GetServerInfoResponse.PluginInfo.Builder addPluginsBuilder(int index)
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • getPluginsBuilderList

      public List<GetServerInfoResponse.PluginInfo.Builder> getPluginsBuilderList()
       Plugins loaded within this server instance
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5;
    • getCommandOptionsList

      public List<GetServerInfoResponse.CommandOptionInfo> getCommandOptionsList()
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
      Specified by:
      getCommandOptionsList in interface GetServerInfoResponseOrBuilder
    • getCommandOptionsCount

      public int getCommandOptionsCount()
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
      Specified by:
      getCommandOptionsCount in interface GetServerInfoResponseOrBuilder
    • getCommandOptions

      public GetServerInfoResponse.CommandOptionInfo getCommandOptions(int index)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
      Specified by:
      getCommandOptions in interface GetServerInfoResponseOrBuilder
    • setCommandOptions

      public GetServerInfoResponse.Builder setCommandOptions(int index, GetServerInfoResponse.CommandOptionInfo value)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • setCommandOptions

      public GetServerInfoResponse.Builder setCommandOptions(int index, GetServerInfoResponse.CommandOptionInfo.Builder builderForValue)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • addCommandOptions

       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • addCommandOptions

      public GetServerInfoResponse.Builder addCommandOptions(int index, GetServerInfoResponse.CommandOptionInfo value)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • addCommandOptions

       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • addCommandOptions

      public GetServerInfoResponse.Builder addCommandOptions(int index, GetServerInfoResponse.CommandOptionInfo.Builder builderForValue)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • addAllCommandOptions

      public GetServerInfoResponse.Builder addAllCommandOptions(Iterable<? extends GetServerInfoResponse.CommandOptionInfo> values)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • clearCommandOptions

      public GetServerInfoResponse.Builder clearCommandOptions()
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • removeCommandOptions

      public GetServerInfoResponse.Builder removeCommandOptions(int index)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • getCommandOptionsBuilder

      public GetServerInfoResponse.CommandOptionInfo.Builder getCommandOptionsBuilder(int index)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • getCommandOptionsOrBuilder

      public GetServerInfoResponse.CommandOptionInfoOrBuilder getCommandOptionsOrBuilder(int index)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
      Specified by:
      getCommandOptionsOrBuilder in interface GetServerInfoResponseOrBuilder
    • getCommandOptionsOrBuilderList

      public List<? extends GetServerInfoResponse.CommandOptionInfoOrBuilder> getCommandOptionsOrBuilderList()
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
      Specified by:
      getCommandOptionsOrBuilderList in interface GetServerInfoResponseOrBuilder
    • addCommandOptionsBuilder

      public GetServerInfoResponse.CommandOptionInfo.Builder addCommandOptionsBuilder()
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • addCommandOptionsBuilder

      public GetServerInfoResponse.CommandOptionInfo.Builder addCommandOptionsBuilder(int index)
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • getCommandOptionsBuilderList

      public List<GetServerInfoResponse.CommandOptionInfo.Builder> getCommandOptionsBuilderList()
       Additional options available to commands
       
      repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7;
    • setUnknownFields

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

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