Class ServiceInfo.Builder

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

public static final class ServiceInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceInfo.Builder> implements ServiceInfoOrBuilder
Protobuf type yamcs.protobuf.services.ServiceInfo
  • 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<ServiceInfo.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public ServiceInfo.Builder mergeFrom(ServiceInfo other)
    • isInitialized

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

      public ServiceInfo.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<ServiceInfo.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface ServiceInfoOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

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

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

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

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

      public ServiceInfo.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.
    • hasName

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

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

      public com.google.protobuf.ByteString getNameBytes()
       Service name
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface ServiceInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ServiceInfo.Builder setName(String value)
       Service name
       
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ServiceInfo.Builder clearName()
       Service name
       
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ServiceInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Service name
       
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasState

      public boolean hasState()
       Service state
       
      optional .yamcs.protobuf.services.ServiceState state = 3;
      Specified by:
      hasState in interface ServiceInfoOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public ServiceState getState()
       Service state
       
      optional .yamcs.protobuf.services.ServiceState state = 3;
      Specified by:
      getState in interface ServiceInfoOrBuilder
      Returns:
      The state.
    • setState

      public ServiceInfo.Builder setState(ServiceState value)
       Service state
       
      optional .yamcs.protobuf.services.ServiceState state = 3;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public ServiceInfo.Builder clearState()
       Service state
       
      optional .yamcs.protobuf.services.ServiceState state = 3;
      Returns:
      This builder for chaining.
    • hasClassName

      public boolean hasClassName()
       Java class name
       
      optional string className = 4;
      Specified by:
      hasClassName in interface ServiceInfoOrBuilder
      Returns:
      Whether the className field is set.
    • getClassName

      public String getClassName()
       Java class name
       
      optional string className = 4;
      Specified by:
      getClassName in interface ServiceInfoOrBuilder
      Returns:
      The className.
    • getClassNameBytes

      public com.google.protobuf.ByteString getClassNameBytes()
       Java class name
       
      optional string className = 4;
      Specified by:
      getClassNameBytes in interface ServiceInfoOrBuilder
      Returns:
      The bytes for className.
    • setClassName

      public ServiceInfo.Builder setClassName(String value)
       Java class name
       
      optional string className = 4;
      Parameters:
      value - The className to set.
      Returns:
      This builder for chaining.
    • clearClassName

      public ServiceInfo.Builder clearClassName()
       Java class name
       
      optional string className = 4;
      Returns:
      This builder for chaining.
    • setClassNameBytes

      public ServiceInfo.Builder setClassNameBytes(com.google.protobuf.ByteString value)
       Java class name
       
      optional string className = 4;
      Parameters:
      value - The bytes for className to set.
      Returns:
      This builder for chaining.
    • hasProcessor

      public boolean hasProcessor()
       Processor name (in case this is a processor service)
       
      optional string processor = 5;
      Specified by:
      hasProcessor in interface ServiceInfoOrBuilder
      Returns:
      Whether the processor field is set.
    • getProcessor

      public String getProcessor()
       Processor name (in case this is a processor service)
       
      optional string processor = 5;
      Specified by:
      getProcessor in interface ServiceInfoOrBuilder
      Returns:
      The processor.
    • getProcessorBytes

      public com.google.protobuf.ByteString getProcessorBytes()
       Processor name (in case this is a processor service)
       
      optional string processor = 5;
      Specified by:
      getProcessorBytes in interface ServiceInfoOrBuilder
      Returns:
      The bytes for processor.
    • setProcessor

      public ServiceInfo.Builder setProcessor(String value)
       Processor name (in case this is a processor service)
       
      optional string processor = 5;
      Parameters:
      value - The processor to set.
      Returns:
      This builder for chaining.
    • clearProcessor

      public ServiceInfo.Builder clearProcessor()
       Processor name (in case this is a processor service)
       
      optional string processor = 5;
      Returns:
      This builder for chaining.
    • setProcessorBytes

      public ServiceInfo.Builder setProcessorBytes(com.google.protobuf.ByteString value)
       Processor name (in case this is a processor service)
       
      optional string processor = 5;
      Parameters:
      value - The bytes for processor to set.
      Returns:
      This builder for chaining.
    • hasFailureMessage

      public boolean hasFailureMessage()
       Short failure message when `state` is FAILED.
       
      optional string failureMessage = 6;
      Specified by:
      hasFailureMessage in interface ServiceInfoOrBuilder
      Returns:
      Whether the failureMessage field is set.
    • getFailureMessage

      public String getFailureMessage()
       Short failure message when `state` is FAILED.
       
      optional string failureMessage = 6;
      Specified by:
      getFailureMessage in interface ServiceInfoOrBuilder
      Returns:
      The failureMessage.
    • getFailureMessageBytes

      public com.google.protobuf.ByteString getFailureMessageBytes()
       Short failure message when `state` is FAILED.
       
      optional string failureMessage = 6;
      Specified by:
      getFailureMessageBytes in interface ServiceInfoOrBuilder
      Returns:
      The bytes for failureMessage.
    • setFailureMessage

      public ServiceInfo.Builder setFailureMessage(String value)
       Short failure message when `state` is FAILED.
       
      optional string failureMessage = 6;
      Parameters:
      value - The failureMessage to set.
      Returns:
      This builder for chaining.
    • clearFailureMessage

      public ServiceInfo.Builder clearFailureMessage()
       Short failure message when `state` is FAILED.
       
      optional string failureMessage = 6;
      Returns:
      This builder for chaining.
    • setFailureMessageBytes

      public ServiceInfo.Builder setFailureMessageBytes(com.google.protobuf.ByteString value)
       Short failure message when `state` is FAILED.
       
      optional string failureMessage = 6;
      Parameters:
      value - The bytes for failureMessage to set.
      Returns:
      This builder for chaining.
    • hasFailureCause

      public boolean hasFailureCause()
       Stacktrace when `state` is FAILED.
       
      optional string failureCause = 7;
      Specified by:
      hasFailureCause in interface ServiceInfoOrBuilder
      Returns:
      Whether the failureCause field is set.
    • getFailureCause

      public String getFailureCause()
       Stacktrace when `state` is FAILED.
       
      optional string failureCause = 7;
      Specified by:
      getFailureCause in interface ServiceInfoOrBuilder
      Returns:
      The failureCause.
    • getFailureCauseBytes

      public com.google.protobuf.ByteString getFailureCauseBytes()
       Stacktrace when `state` is FAILED.
       
      optional string failureCause = 7;
      Specified by:
      getFailureCauseBytes in interface ServiceInfoOrBuilder
      Returns:
      The bytes for failureCause.
    • setFailureCause

      public ServiceInfo.Builder setFailureCause(String value)
       Stacktrace when `state` is FAILED.
       
      optional string failureCause = 7;
      Parameters:
      value - The failureCause to set.
      Returns:
      This builder for chaining.
    • clearFailureCause

      public ServiceInfo.Builder clearFailureCause()
       Stacktrace when `state` is FAILED.
       
      optional string failureCause = 7;
      Returns:
      This builder for chaining.
    • setFailureCauseBytes

      public ServiceInfo.Builder setFailureCauseBytes(com.google.protobuf.ByteString value)
       Stacktrace when `state` is FAILED.
       
      optional string failureCause = 7;
      Parameters:
      value - The bytes for failureCause to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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