Class RouteInfo.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public RouteInfo.Builder mergeFrom(RouteInfo other)
    • isInitialized

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

      public RouteInfo.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<RouteInfo.Builder>
      Throws:
      IOException
    • hasService

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean hasHttpMethod()
      optional string httpMethod = 4;
      Specified by:
      hasHttpMethod in interface RouteInfoOrBuilder
      Returns:
      Whether the httpMethod field is set.
    • getHttpMethod

      public String getHttpMethod()
      optional string httpMethod = 4;
      Specified by:
      getHttpMethod in interface RouteInfoOrBuilder
      Returns:
      The httpMethod.
    • getHttpMethodBytes

      public com.google.protobuf.ByteString getHttpMethodBytes()
      optional string httpMethod = 4;
      Specified by:
      getHttpMethodBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for httpMethod.
    • setHttpMethod

      public RouteInfo.Builder setHttpMethod(String value)
      optional string httpMethod = 4;
      Parameters:
      value - The httpMethod to set.
      Returns:
      This builder for chaining.
    • clearHttpMethod

      public RouteInfo.Builder clearHttpMethod()
      optional string httpMethod = 4;
      Returns:
      This builder for chaining.
    • setHttpMethodBytes

      public RouteInfo.Builder setHttpMethodBytes(com.google.protobuf.ByteString value)
      optional string httpMethod = 4;
      Parameters:
      value - The bytes for httpMethod to set.
      Returns:
      This builder for chaining.
    • hasUrl

      public boolean hasUrl()
      optional string url = 5;
      Specified by:
      hasUrl in interface RouteInfoOrBuilder
      Returns:
      Whether the url field is set.
    • getUrl

      public String getUrl()
      optional string url = 5;
      Specified by:
      getUrl in interface RouteInfoOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
      optional string url = 5;
      Specified by:
      getUrlBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for url.
    • setUrl

      public RouteInfo.Builder setUrl(String value)
      optional string url = 5;
      Parameters:
      value - The url to set.
      Returns:
      This builder for chaining.
    • clearUrl

      public RouteInfo.Builder clearUrl()
      optional string url = 5;
      Returns:
      This builder for chaining.
    • setUrlBytes

      public RouteInfo.Builder setUrlBytes(com.google.protobuf.ByteString value)
      optional string url = 5;
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.
    • hasInputType

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public RouteInfo.Builder clearDeprecated()
      optional bool deprecated = 8;
      Returns:
      This builder for chaining.
    • hasRequestCount

      public boolean hasRequestCount()
      optional int64 requestCount = 9;
      Specified by:
      hasRequestCount in interface RouteInfoOrBuilder
      Returns:
      Whether the requestCount field is set.
    • getRequestCount

      public long getRequestCount()
      optional int64 requestCount = 9;
      Specified by:
      getRequestCount in interface RouteInfoOrBuilder
      Returns:
      The requestCount.
    • setRequestCount

      public RouteInfo.Builder setRequestCount(long value)
      optional int64 requestCount = 9;
      Parameters:
      value - The requestCount to set.
      Returns:
      This builder for chaining.
    • clearRequestCount

      public RouteInfo.Builder clearRequestCount()
      optional int64 requestCount = 9;
      Returns:
      This builder for chaining.
    • hasErrorCount

      public boolean hasErrorCount()
      optional int64 errorCount = 10;
      Specified by:
      hasErrorCount in interface RouteInfoOrBuilder
      Returns:
      Whether the errorCount field is set.
    • getErrorCount

      public long getErrorCount()
      optional int64 errorCount = 10;
      Specified by:
      getErrorCount in interface RouteInfoOrBuilder
      Returns:
      The errorCount.
    • setErrorCount

      public RouteInfo.Builder setErrorCount(long value)
      optional int64 errorCount = 10;
      Parameters:
      value - The errorCount to set.
      Returns:
      This builder for chaining.
    • clearErrorCount

      public RouteInfo.Builder clearErrorCount()
      optional int64 errorCount = 10;
      Returns:
      This builder for chaining.
    • hasLogFormat

      public boolean hasLogFormat()
      optional string logFormat = 11;
      Specified by:
      hasLogFormat in interface RouteInfoOrBuilder
      Returns:
      Whether the logFormat field is set.
    • getLogFormat

      public String getLogFormat()
      optional string logFormat = 11;
      Specified by:
      getLogFormat in interface RouteInfoOrBuilder
      Returns:
      The logFormat.
    • getLogFormatBytes

      public com.google.protobuf.ByteString getLogFormatBytes()
      optional string logFormat = 11;
      Specified by:
      getLogFormatBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for logFormat.
    • setLogFormat

      public RouteInfo.Builder setLogFormat(String value)
      optional string logFormat = 11;
      Parameters:
      value - The logFormat to set.
      Returns:
      This builder for chaining.
    • clearLogFormat

      public RouteInfo.Builder clearLogFormat()
      optional string logFormat = 11;
      Returns:
      This builder for chaining.
    • setLogFormatBytes

      public RouteInfo.Builder setLogFormatBytes(com.google.protobuf.ByteString value)
      optional string logFormat = 11;
      Parameters:
      value - The bytes for logFormat to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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