Class TopicInfo.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public TopicInfo.Builder mergeFrom(TopicInfo other)
    • isInitialized

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

      public TopicInfo.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<TopicInfo.Builder>
      Throws:
      IOException
    • hasTopic

      public boolean hasTopic()
      optional string topic = 1;
      Specified by:
      hasTopic in interface TopicInfoOrBuilder
      Returns:
      Whether the topic field is set.
    • getTopic

      public String getTopic()
      optional string topic = 1;
      Specified by:
      getTopic in interface TopicInfoOrBuilder
      Returns:
      The topic.
    • getTopicBytes

      public com.google.protobuf.ByteString getTopicBytes()
      optional string topic = 1;
      Specified by:
      getTopicBytes in interface TopicInfoOrBuilder
      Returns:
      The bytes for topic.
    • setTopic

      public TopicInfo.Builder setTopic(String value)
      optional string topic = 1;
      Parameters:
      value - The topic to set.
      Returns:
      This builder for chaining.
    • clearTopic

      public TopicInfo.Builder clearTopic()
      optional string topic = 1;
      Returns:
      This builder for chaining.
    • setTopicBytes

      public TopicInfo.Builder setTopicBytes(com.google.protobuf.ByteString value)
      optional string topic = 1;
      Parameters:
      value - The bytes for topic to set.
      Returns:
      This builder for chaining.
    • hasService

      public boolean hasService()
      optional string service = 2;
      Specified by:
      hasService in interface TopicInfoOrBuilder
      Returns:
      Whether the service field is set.
    • getService

      public String getService()
      optional string service = 2;
      Specified by:
      getService in interface TopicInfoOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
      optional string service = 2;
      Specified by:
      getServiceBytes in interface TopicInfoOrBuilder
      Returns:
      The bytes for service.
    • setService

      public TopicInfo.Builder setService(String value)
      optional string service = 2;
      Parameters:
      value - The service to set.
      Returns:
      This builder for chaining.
    • clearService

      public TopicInfo.Builder clearService()
      optional string service = 2;
      Returns:
      This builder for chaining.
    • setServiceBytes

      public TopicInfo.Builder setServiceBytes(com.google.protobuf.ByteString value)
      optional string service = 2;
      Parameters:
      value - The bytes for service to set.
      Returns:
      This builder for chaining.
    • hasMethod

      public boolean hasMethod()
      optional string method = 3;
      Specified by:
      hasMethod in interface TopicInfoOrBuilder
      Returns:
      Whether the method field is set.
    • getMethod

      public String getMethod()
      optional string method = 3;
      Specified by:
      getMethod in interface TopicInfoOrBuilder
      Returns:
      The method.
    • getMethodBytes

      public com.google.protobuf.ByteString getMethodBytes()
      optional string method = 3;
      Specified by:
      getMethodBytes in interface TopicInfoOrBuilder
      Returns:
      The bytes for method.
    • setMethod

      public TopicInfo.Builder setMethod(String value)
      optional string method = 3;
      Parameters:
      value - The method to set.
      Returns:
      This builder for chaining.
    • clearMethod

      public TopicInfo.Builder clearMethod()
      optional string method = 3;
      Returns:
      This builder for chaining.
    • setMethodBytes

      public TopicInfo.Builder setMethodBytes(com.google.protobuf.ByteString value)
      optional string method = 3;
      Parameters:
      value - The bytes for method to set.
      Returns:
      This builder for chaining.
    • hasDescription

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

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

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 4;
      Specified by:
      getDescriptionBytes in interface TopicInfoOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public TopicInfo.Builder setDescription(String value)
      optional string description = 4;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public TopicInfo.Builder clearDescription()
      optional string description = 4;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public TopicInfo.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      optional string description = 4;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasInputType

      public boolean hasInputType()
      optional string inputType = 5;
      Specified by:
      hasInputType in interface TopicInfoOrBuilder
      Returns:
      Whether the inputType field is set.
    • getInputType

      public String getInputType()
      optional string inputType = 5;
      Specified by:
      getInputType in interface TopicInfoOrBuilder
      Returns:
      The inputType.
    • getInputTypeBytes

      public com.google.protobuf.ByteString getInputTypeBytes()
      optional string inputType = 5;
      Specified by:
      getInputTypeBytes in interface TopicInfoOrBuilder
      Returns:
      The bytes for inputType.
    • setInputType

      public TopicInfo.Builder setInputType(String value)
      optional string inputType = 5;
      Parameters:
      value - The inputType to set.
      Returns:
      This builder for chaining.
    • clearInputType

      public TopicInfo.Builder clearInputType()
      optional string inputType = 5;
      Returns:
      This builder for chaining.
    • setInputTypeBytes

      public TopicInfo.Builder setInputTypeBytes(com.google.protobuf.ByteString value)
      optional string inputType = 5;
      Parameters:
      value - The bytes for inputType to set.
      Returns:
      This builder for chaining.
    • hasOutputType

      public boolean hasOutputType()
      optional string outputType = 6;
      Specified by:
      hasOutputType in interface TopicInfoOrBuilder
      Returns:
      Whether the outputType field is set.
    • getOutputType

      public String getOutputType()
      optional string outputType = 6;
      Specified by:
      getOutputType in interface TopicInfoOrBuilder
      Returns:
      The outputType.
    • getOutputTypeBytes

      public com.google.protobuf.ByteString getOutputTypeBytes()
      optional string outputType = 6;
      Specified by:
      getOutputTypeBytes in interface TopicInfoOrBuilder
      Returns:
      The bytes for outputType.
    • setOutputType

      public TopicInfo.Builder setOutputType(String value)
      optional string outputType = 6;
      Parameters:
      value - The outputType to set.
      Returns:
      This builder for chaining.
    • clearOutputType

      public TopicInfo.Builder clearOutputType()
      optional string outputType = 6;
      Returns:
      This builder for chaining.
    • setOutputTypeBytes

      public TopicInfo.Builder setOutputTypeBytes(com.google.protobuf.ByteString value)
      optional string outputType = 6;
      Parameters:
      value - The bytes for outputType to set.
      Returns:
      This builder for chaining.
    • hasDeprecated

      public boolean hasDeprecated()
      optional bool deprecated = 7;
      Specified by:
      hasDeprecated in interface TopicInfoOrBuilder
      Returns:
      Whether the deprecated field is set.
    • getDeprecated

      public boolean getDeprecated()
      optional bool deprecated = 7;
      Specified by:
      getDeprecated in interface TopicInfoOrBuilder
      Returns:
      The deprecated.
    • setDeprecated

      public TopicInfo.Builder setDeprecated(boolean value)
      optional bool deprecated = 7;
      Parameters:
      value - The deprecated to set.
      Returns:
      This builder for chaining.
    • clearDeprecated

      public TopicInfo.Builder clearDeprecated()
      optional bool deprecated = 7;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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