Package org.yamcs.api

Class WebSocketTopic.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public WebSocketTopic.Builder mergeFrom(WebSocketTopic other)
    • isInitialized

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

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

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

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

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

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

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

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

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

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

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

      public WebSocketTopic.Builder clearDeprecated()
      optional bool deprecated = 2;
      Returns:
      This builder for chaining.
    • getAdditionalBindingsList

      public List<WebSocketTopic> getAdditionalBindingsList()
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
      Specified by:
      getAdditionalBindingsList in interface WebSocketTopicOrBuilder
    • getAdditionalBindingsCount

      public int getAdditionalBindingsCount()
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
      Specified by:
      getAdditionalBindingsCount in interface WebSocketTopicOrBuilder
    • getAdditionalBindings

      public WebSocketTopic getAdditionalBindings(int index)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
      Specified by:
      getAdditionalBindings in interface WebSocketTopicOrBuilder
    • setAdditionalBindings

      public WebSocketTopic.Builder setAdditionalBindings(int index, WebSocketTopic value)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • setAdditionalBindings

      public WebSocketTopic.Builder setAdditionalBindings(int index, WebSocketTopic.Builder builderForValue)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • addAdditionalBindings

      public WebSocketTopic.Builder addAdditionalBindings(WebSocketTopic value)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • addAdditionalBindings

      public WebSocketTopic.Builder addAdditionalBindings(int index, WebSocketTopic value)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • addAdditionalBindings

      public WebSocketTopic.Builder addAdditionalBindings(WebSocketTopic.Builder builderForValue)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • addAdditionalBindings

      public WebSocketTopic.Builder addAdditionalBindings(int index, WebSocketTopic.Builder builderForValue)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • addAllAdditionalBindings

      public WebSocketTopic.Builder addAllAdditionalBindings(Iterable<? extends WebSocketTopic> values)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • clearAdditionalBindings

      public WebSocketTopic.Builder clearAdditionalBindings()
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • removeAdditionalBindings

      public WebSocketTopic.Builder removeAdditionalBindings(int index)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • getAdditionalBindingsBuilder

      public WebSocketTopic.Builder getAdditionalBindingsBuilder(int index)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • getAdditionalBindingsOrBuilder

      public WebSocketTopicOrBuilder getAdditionalBindingsOrBuilder(int index)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
      Specified by:
      getAdditionalBindingsOrBuilder in interface WebSocketTopicOrBuilder
    • getAdditionalBindingsOrBuilderList

      public List<? extends WebSocketTopicOrBuilder> getAdditionalBindingsOrBuilderList()
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
      Specified by:
      getAdditionalBindingsOrBuilderList in interface WebSocketTopicOrBuilder
    • addAdditionalBindingsBuilder

      public WebSocketTopic.Builder addAdditionalBindingsBuilder()
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • addAdditionalBindingsBuilder

      public WebSocketTopic.Builder addAdditionalBindingsBuilder(int index)
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • getAdditionalBindingsBuilderList

      public List<WebSocketTopic.Builder> getAdditionalBindingsBuilderList()
      repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
    • hasLabel

      public boolean hasLabel()
       Optional method label. This is a hint to programs that process
       proto definitions (example: document generation), intended for
       when the camel-case method name does not give a good result.
       
      optional string label = 4;
      Specified by:
      hasLabel in interface WebSocketTopicOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public String getLabel()
       Optional method label. This is a hint to programs that process
       proto definitions (example: document generation), intended for
       when the camel-case method name does not give a good result.
       
      optional string label = 4;
      Specified by:
      getLabel in interface WebSocketTopicOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
       Optional method label. This is a hint to programs that process
       proto definitions (example: document generation), intended for
       when the camel-case method name does not give a good result.
       
      optional string label = 4;
      Specified by:
      getLabelBytes in interface WebSocketTopicOrBuilder
      Returns:
      The bytes for label.
    • setLabel

      public WebSocketTopic.Builder setLabel(String value)
       Optional method label. This is a hint to programs that process
       proto definitions (example: document generation), intended for
       when the camel-case method name does not give a good result.
       
      optional string label = 4;
      Parameters:
      value - The label to set.
      Returns:
      This builder for chaining.
    • clearLabel

      public WebSocketTopic.Builder clearLabel()
       Optional method label. This is a hint to programs that process
       proto definitions (example: document generation), intended for
       when the camel-case method name does not give a good result.
       
      optional string label = 4;
      Returns:
      This builder for chaining.
    • setLabelBytes

      public WebSocketTopic.Builder setLabelBytes(com.google.protobuf.ByteString value)
       Optional method label. This is a hint to programs that process
       proto definitions (example: document generation), intended for
       when the camel-case method name does not give a good result.
       
      optional string label = 4;
      Parameters:
      value - The bytes for label to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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