All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.client.ClientLibrarySettings.scala Maven / Gradle / Ivy

Go to download

Apache Pekko Connectors is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Pekko.

The newest version!
// Generated by the Scala Plugin for the Protocol Buffer Compiler.
// Do not edit!
//
// Protofile syntax: PROTO3

package com.google.api.client

/** Details about how and where to publish client libraries.
  *
  * @param version
  *   Version of the API to apply these settings to. This is the full protobuf
  *   package for the API, ending in the version element.
  *   Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
  * @param launchStage
  *   Launch stage of this version of the API.
  * @param restNumericEnums
  *   When using transport=rest, the client request will encode enums as
  *   numbers rather than strings.
  * @param javaSettings
  *   Settings for legacy Java features, supported in the Service YAML.
  * @param cppSettings
  *   Settings for C++ client libraries.
  * @param phpSettings
  *   Settings for PHP client libraries.
  * @param pythonSettings
  *   Settings for Python client libraries.
  * @param nodeSettings
  *   Settings for Node client libraries.
  * @param dotnetSettings
  *   Settings for .NET client libraries.
  * @param rubySettings
  *   Settings for Ruby client libraries.
  * @param goSettings
  *   Settings for Go client libraries.
  */
@SerialVersionUID(0L)
final case class ClientLibrarySettings(
    version: _root_.scala.Predef.String = "",
    launchStage: com.google.api.launch_stage.LaunchStage = com.google.api.launch_stage.LaunchStage.LAUNCH_STAGE_UNSPECIFIED,
    restNumericEnums: _root_.scala.Boolean = false,
    javaSettings: _root_.scala.Option[com.google.api.client.JavaSettings] = _root_.scala.None,
    cppSettings: _root_.scala.Option[com.google.api.client.CppSettings] = _root_.scala.None,
    phpSettings: _root_.scala.Option[com.google.api.client.PhpSettings] = _root_.scala.None,
    pythonSettings: _root_.scala.Option[com.google.api.client.PythonSettings] = _root_.scala.None,
    nodeSettings: _root_.scala.Option[com.google.api.client.NodeSettings] = _root_.scala.None,
    dotnetSettings: _root_.scala.Option[com.google.api.client.DotnetSettings] = _root_.scala.None,
    rubySettings: _root_.scala.Option[com.google.api.client.RubySettings] = _root_.scala.None,
    goSettings: _root_.scala.Option[com.google.api.client.GoSettings] = _root_.scala.None,
    unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty
    ) extends scalapb.GeneratedMessage with scalapb.lenses.Updatable[ClientLibrarySettings] {
    @transient
    private[this] var __serializedSizeMemoized: _root_.scala.Int = 0
    private[this] def __computeSerializedSize(): _root_.scala.Int = {
      var __size = 0
      
      {
        val __value = version
        if (!__value.isEmpty) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(1, __value)
        }
      };
      
      {
        val __value = launchStage.value
        if (__value != 0) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeEnumSize(2, __value)
        }
      };
      
      {
        val __value = restNumericEnums
        if (__value != false) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeBoolSize(3, __value)
        }
      };
      if (javaSettings.isDefined) {
        val __value = javaSettings.get
        __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (cppSettings.isDefined) {
        val __value = cppSettings.get
        __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (phpSettings.isDefined) {
        val __value = phpSettings.get
        __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (pythonSettings.isDefined) {
        val __value = pythonSettings.get
        __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (nodeSettings.isDefined) {
        val __value = nodeSettings.get
        __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (dotnetSettings.isDefined) {
        val __value = dotnetSettings.get
        __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (rubySettings.isDefined) {
        val __value = rubySettings.get
        __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (goSettings.isDefined) {
        val __value = goSettings.get
        __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      __size += unknownFields.serializedSize
      __size
    }
    override def serializedSize: _root_.scala.Int = {
      var __size = __serializedSizeMemoized
      if (__size == 0) {
        __size = __computeSerializedSize() + 1
        __serializedSizeMemoized = __size
      }
      __size - 1
      
    }
    def writeTo(`_output__`: _root_.com.google.protobuf.CodedOutputStream): _root_.scala.Unit = {
      {
        val __v = version
        if (!__v.isEmpty) {
          _output__.writeString(1, __v)
        }
      };
      {
        val __v = launchStage.value
        if (__v != 0) {
          _output__.writeEnum(2, __v)
        }
      };
      {
        val __v = restNumericEnums
        if (__v != false) {
          _output__.writeBool(3, __v)
        }
      };
      javaSettings.foreach { __v =>
        val __m = __v
        _output__.writeTag(21, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      cppSettings.foreach { __v =>
        val __m = __v
        _output__.writeTag(22, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      phpSettings.foreach { __v =>
        val __m = __v
        _output__.writeTag(23, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      pythonSettings.foreach { __v =>
        val __m = __v
        _output__.writeTag(24, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      nodeSettings.foreach { __v =>
        val __m = __v
        _output__.writeTag(25, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      dotnetSettings.foreach { __v =>
        val __m = __v
        _output__.writeTag(26, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      rubySettings.foreach { __v =>
        val __m = __v
        _output__.writeTag(27, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      goSettings.foreach { __v =>
        val __m = __v
        _output__.writeTag(28, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      unknownFields.writeTo(_output__)
    }
    def withVersion(__v: _root_.scala.Predef.String): ClientLibrarySettings = copy(version = __v)
    def withLaunchStage(__v: com.google.api.launch_stage.LaunchStage): ClientLibrarySettings = copy(launchStage = __v)
    def withRestNumericEnums(__v: _root_.scala.Boolean): ClientLibrarySettings = copy(restNumericEnums = __v)
    def getJavaSettings: com.google.api.client.JavaSettings = javaSettings.getOrElse(com.google.api.client.JavaSettings.defaultInstance)
    def clearJavaSettings: ClientLibrarySettings = copy(javaSettings = _root_.scala.None)
    def withJavaSettings(__v: com.google.api.client.JavaSettings): ClientLibrarySettings = copy(javaSettings = Option(__v))
    def getCppSettings: com.google.api.client.CppSettings = cppSettings.getOrElse(com.google.api.client.CppSettings.defaultInstance)
    def clearCppSettings: ClientLibrarySettings = copy(cppSettings = _root_.scala.None)
    def withCppSettings(__v: com.google.api.client.CppSettings): ClientLibrarySettings = copy(cppSettings = Option(__v))
    def getPhpSettings: com.google.api.client.PhpSettings = phpSettings.getOrElse(com.google.api.client.PhpSettings.defaultInstance)
    def clearPhpSettings: ClientLibrarySettings = copy(phpSettings = _root_.scala.None)
    def withPhpSettings(__v: com.google.api.client.PhpSettings): ClientLibrarySettings = copy(phpSettings = Option(__v))
    def getPythonSettings: com.google.api.client.PythonSettings = pythonSettings.getOrElse(com.google.api.client.PythonSettings.defaultInstance)
    def clearPythonSettings: ClientLibrarySettings = copy(pythonSettings = _root_.scala.None)
    def withPythonSettings(__v: com.google.api.client.PythonSettings): ClientLibrarySettings = copy(pythonSettings = Option(__v))
    def getNodeSettings: com.google.api.client.NodeSettings = nodeSettings.getOrElse(com.google.api.client.NodeSettings.defaultInstance)
    def clearNodeSettings: ClientLibrarySettings = copy(nodeSettings = _root_.scala.None)
    def withNodeSettings(__v: com.google.api.client.NodeSettings): ClientLibrarySettings = copy(nodeSettings = Option(__v))
    def getDotnetSettings: com.google.api.client.DotnetSettings = dotnetSettings.getOrElse(com.google.api.client.DotnetSettings.defaultInstance)
    def clearDotnetSettings: ClientLibrarySettings = copy(dotnetSettings = _root_.scala.None)
    def withDotnetSettings(__v: com.google.api.client.DotnetSettings): ClientLibrarySettings = copy(dotnetSettings = Option(__v))
    def getRubySettings: com.google.api.client.RubySettings = rubySettings.getOrElse(com.google.api.client.RubySettings.defaultInstance)
    def clearRubySettings: ClientLibrarySettings = copy(rubySettings = _root_.scala.None)
    def withRubySettings(__v: com.google.api.client.RubySettings): ClientLibrarySettings = copy(rubySettings = Option(__v))
    def getGoSettings: com.google.api.client.GoSettings = goSettings.getOrElse(com.google.api.client.GoSettings.defaultInstance)
    def clearGoSettings: ClientLibrarySettings = copy(goSettings = _root_.scala.None)
    def withGoSettings(__v: com.google.api.client.GoSettings): ClientLibrarySettings = copy(goSettings = Option(__v))
    def withUnknownFields(__v: _root_.scalapb.UnknownFieldSet) = copy(unknownFields = __v)
    def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet.empty)
    def getFieldByNumber(__fieldNumber: _root_.scala.Int): _root_.scala.Any = {
      (__fieldNumber: @_root_.scala.unchecked) match {
        case 1 => {
          val __t = version
          if (__t != "") __t else null
        }
        case 2 => {
          val __t = launchStage.javaValueDescriptor
          if (__t.getNumber() != 0) __t else null
        }
        case 3 => {
          val __t = restNumericEnums
          if (__t != false) __t else null
        }
        case 21 => javaSettings.orNull
        case 22 => cppSettings.orNull
        case 23 => phpSettings.orNull
        case 24 => pythonSettings.orNull
        case 25 => nodeSettings.orNull
        case 26 => dotnetSettings.orNull
        case 27 => rubySettings.orNull
        case 28 => goSettings.orNull
      }
    }
    def getField(__field: _root_.scalapb.descriptors.FieldDescriptor): _root_.scalapb.descriptors.PValue = {
      _root_.scala.Predef.require(__field.containingMessage eq companion.scalaDescriptor)
      (__field.number: @_root_.scala.unchecked) match {
        case 1 => _root_.scalapb.descriptors.PString(version)
        case 2 => _root_.scalapb.descriptors.PEnum(launchStage.scalaValueDescriptor)
        case 3 => _root_.scalapb.descriptors.PBoolean(restNumericEnums)
        case 21 => javaSettings.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 22 => cppSettings.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 23 => phpSettings.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 24 => pythonSettings.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 25 => nodeSettings.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 26 => dotnetSettings.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 27 => rubySettings.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 28 => goSettings.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
      }
    }
    def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this)
    def companion: com.google.api.client.ClientLibrarySettings.type = com.google.api.client.ClientLibrarySettings
    // @@protoc_insertion_point(GeneratedMessage[google.api.ClientLibrarySettings])
}

object ClientLibrarySettings extends scalapb.GeneratedMessageCompanion[com.google.api.client.ClientLibrarySettings] {
  implicit def messageCompanion: scalapb.GeneratedMessageCompanion[com.google.api.client.ClientLibrarySettings] = this
  def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): com.google.api.client.ClientLibrarySettings = {
    var __version: _root_.scala.Predef.String = ""
    var __launchStage: com.google.api.launch_stage.LaunchStage = com.google.api.launch_stage.LaunchStage.LAUNCH_STAGE_UNSPECIFIED
    var __restNumericEnums: _root_.scala.Boolean = false
    var __javaSettings: _root_.scala.Option[com.google.api.client.JavaSettings] = _root_.scala.None
    var __cppSettings: _root_.scala.Option[com.google.api.client.CppSettings] = _root_.scala.None
    var __phpSettings: _root_.scala.Option[com.google.api.client.PhpSettings] = _root_.scala.None
    var __pythonSettings: _root_.scala.Option[com.google.api.client.PythonSettings] = _root_.scala.None
    var __nodeSettings: _root_.scala.Option[com.google.api.client.NodeSettings] = _root_.scala.None
    var __dotnetSettings: _root_.scala.Option[com.google.api.client.DotnetSettings] = _root_.scala.None
    var __rubySettings: _root_.scala.Option[com.google.api.client.RubySettings] = _root_.scala.None
    var __goSettings: _root_.scala.Option[com.google.api.client.GoSettings] = _root_.scala.None
    var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null
    var _done__ = false
    while (!_done__) {
      val _tag__ = _input__.readTag()
      _tag__ match {
        case 0 => _done__ = true
        case 10 =>
          __version = _input__.readStringRequireUtf8()
        case 16 =>
          __launchStage = com.google.api.launch_stage.LaunchStage.fromValue(_input__.readEnum())
        case 24 =>
          __restNumericEnums = _input__.readBool()
        case 170 =>
          __javaSettings = _root_.scala.Option(__javaSettings.fold(_root_.scalapb.LiteParser.readMessage[com.google.api.client.JavaSettings](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 178 =>
          __cppSettings = _root_.scala.Option(__cppSettings.fold(_root_.scalapb.LiteParser.readMessage[com.google.api.client.CppSettings](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 186 =>
          __phpSettings = _root_.scala.Option(__phpSettings.fold(_root_.scalapb.LiteParser.readMessage[com.google.api.client.PhpSettings](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 194 =>
          __pythonSettings = _root_.scala.Option(__pythonSettings.fold(_root_.scalapb.LiteParser.readMessage[com.google.api.client.PythonSettings](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 202 =>
          __nodeSettings = _root_.scala.Option(__nodeSettings.fold(_root_.scalapb.LiteParser.readMessage[com.google.api.client.NodeSettings](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 210 =>
          __dotnetSettings = _root_.scala.Option(__dotnetSettings.fold(_root_.scalapb.LiteParser.readMessage[com.google.api.client.DotnetSettings](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 218 =>
          __rubySettings = _root_.scala.Option(__rubySettings.fold(_root_.scalapb.LiteParser.readMessage[com.google.api.client.RubySettings](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 226 =>
          __goSettings = _root_.scala.Option(__goSettings.fold(_root_.scalapb.LiteParser.readMessage[com.google.api.client.GoSettings](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case tag =>
          if (_unknownFields__ == null) {
            _unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder()
          }
          _unknownFields__.parseField(tag, _input__)
      }
    }
    com.google.api.client.ClientLibrarySettings(
        version = __version,
        launchStage = __launchStage,
        restNumericEnums = __restNumericEnums,
        javaSettings = __javaSettings,
        cppSettings = __cppSettings,
        phpSettings = __phpSettings,
        pythonSettings = __pythonSettings,
        nodeSettings = __nodeSettings,
        dotnetSettings = __dotnetSettings,
        rubySettings = __rubySettings,
        goSettings = __goSettings,
        unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result()
    )
  }
  implicit def messageReads: _root_.scalapb.descriptors.Reads[com.google.api.client.ClientLibrarySettings] = _root_.scalapb.descriptors.Reads{
    case _root_.scalapb.descriptors.PMessage(__fieldsMap) =>
      _root_.scala.Predef.require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), "FieldDescriptor does not match message type.")
      com.google.api.client.ClientLibrarySettings(
        version = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1).get).map(_.as[_root_.scala.Predef.String]).getOrElse(""),
        launchStage = com.google.api.launch_stage.LaunchStage.fromValue(__fieldsMap.get(scalaDescriptor.findFieldByNumber(2).get).map(_.as[_root_.scalapb.descriptors.EnumValueDescriptor]).getOrElse(com.google.api.launch_stage.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.scalaValueDescriptor).number),
        restNumericEnums = __fieldsMap.get(scalaDescriptor.findFieldByNumber(3).get).map(_.as[_root_.scala.Boolean]).getOrElse(false),
        javaSettings = __fieldsMap.get(scalaDescriptor.findFieldByNumber(21).get).flatMap(_.as[_root_.scala.Option[com.google.api.client.JavaSettings]]),
        cppSettings = __fieldsMap.get(scalaDescriptor.findFieldByNumber(22).get).flatMap(_.as[_root_.scala.Option[com.google.api.client.CppSettings]]),
        phpSettings = __fieldsMap.get(scalaDescriptor.findFieldByNumber(23).get).flatMap(_.as[_root_.scala.Option[com.google.api.client.PhpSettings]]),
        pythonSettings = __fieldsMap.get(scalaDescriptor.findFieldByNumber(24).get).flatMap(_.as[_root_.scala.Option[com.google.api.client.PythonSettings]]),
        nodeSettings = __fieldsMap.get(scalaDescriptor.findFieldByNumber(25).get).flatMap(_.as[_root_.scala.Option[com.google.api.client.NodeSettings]]),
        dotnetSettings = __fieldsMap.get(scalaDescriptor.findFieldByNumber(26).get).flatMap(_.as[_root_.scala.Option[com.google.api.client.DotnetSettings]]),
        rubySettings = __fieldsMap.get(scalaDescriptor.findFieldByNumber(27).get).flatMap(_.as[_root_.scala.Option[com.google.api.client.RubySettings]]),
        goSettings = __fieldsMap.get(scalaDescriptor.findFieldByNumber(28).get).flatMap(_.as[_root_.scala.Option[com.google.api.client.GoSettings]])
      )
    case _ => throw new RuntimeException("Expected PMessage")
  }
  def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = ClientProto.javaDescriptor.getMessageTypes().get(1)
  def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = ClientProto.scalaDescriptor.messages(1)
  def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[_] = {
    var __out: _root_.scalapb.GeneratedMessageCompanion[_] = null
    (__number: @_root_.scala.unchecked) match {
      case 21 => __out = com.google.api.client.JavaSettings
      case 22 => __out = com.google.api.client.CppSettings
      case 23 => __out = com.google.api.client.PhpSettings
      case 24 => __out = com.google.api.client.PythonSettings
      case 25 => __out = com.google.api.client.NodeSettings
      case 26 => __out = com.google.api.client.DotnetSettings
      case 27 => __out = com.google.api.client.RubySettings
      case 28 => __out = com.google.api.client.GoSettings
    }
    __out
  }
  lazy val nestedMessagesCompanions: Seq[_root_.scalapb.GeneratedMessageCompanion[_ <: _root_.scalapb.GeneratedMessage]] = Seq.empty
  def enumCompanionForFieldNumber(__fieldNumber: _root_.scala.Int): _root_.scalapb.GeneratedEnumCompanion[_] = {
    (__fieldNumber: @_root_.scala.unchecked) match {
      case 2 => com.google.api.launch_stage.LaunchStage
    }
  }
  lazy val defaultInstance = com.google.api.client.ClientLibrarySettings(
    version = "",
    launchStage = com.google.api.launch_stage.LaunchStage.LAUNCH_STAGE_UNSPECIFIED,
    restNumericEnums = false,
    javaSettings = _root_.scala.None,
    cppSettings = _root_.scala.None,
    phpSettings = _root_.scala.None,
    pythonSettings = _root_.scala.None,
    nodeSettings = _root_.scala.None,
    dotnetSettings = _root_.scala.None,
    rubySettings = _root_.scala.None,
    goSettings = _root_.scala.None
  )
  implicit class ClientLibrarySettingsLens[UpperPB](_l: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.ClientLibrarySettings]) extends _root_.scalapb.lenses.ObjectLens[UpperPB, com.google.api.client.ClientLibrarySettings](_l) {
    def version: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Predef.String] = field(_.version)((c_, f_) => c_.copy(version = f_))
    def launchStage: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.launch_stage.LaunchStage] = field(_.launchStage)((c_, f_) => c_.copy(launchStage = f_))
    def restNumericEnums: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Boolean] = field(_.restNumericEnums)((c_, f_) => c_.copy(restNumericEnums = f_))
    def javaSettings: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.JavaSettings] = field(_.getJavaSettings)((c_, f_) => c_.copy(javaSettings = _root_.scala.Option(f_)))
    def optionalJavaSettings: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[com.google.api.client.JavaSettings]] = field(_.javaSettings)((c_, f_) => c_.copy(javaSettings = f_))
    def cppSettings: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.CppSettings] = field(_.getCppSettings)((c_, f_) => c_.copy(cppSettings = _root_.scala.Option(f_)))
    def optionalCppSettings: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[com.google.api.client.CppSettings]] = field(_.cppSettings)((c_, f_) => c_.copy(cppSettings = f_))
    def phpSettings: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.PhpSettings] = field(_.getPhpSettings)((c_, f_) => c_.copy(phpSettings = _root_.scala.Option(f_)))
    def optionalPhpSettings: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[com.google.api.client.PhpSettings]] = field(_.phpSettings)((c_, f_) => c_.copy(phpSettings = f_))
    def pythonSettings: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.PythonSettings] = field(_.getPythonSettings)((c_, f_) => c_.copy(pythonSettings = _root_.scala.Option(f_)))
    def optionalPythonSettings: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[com.google.api.client.PythonSettings]] = field(_.pythonSettings)((c_, f_) => c_.copy(pythonSettings = f_))
    def nodeSettings: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.NodeSettings] = field(_.getNodeSettings)((c_, f_) => c_.copy(nodeSettings = _root_.scala.Option(f_)))
    def optionalNodeSettings: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[com.google.api.client.NodeSettings]] = field(_.nodeSettings)((c_, f_) => c_.copy(nodeSettings = f_))
    def dotnetSettings: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.DotnetSettings] = field(_.getDotnetSettings)((c_, f_) => c_.copy(dotnetSettings = _root_.scala.Option(f_)))
    def optionalDotnetSettings: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[com.google.api.client.DotnetSettings]] = field(_.dotnetSettings)((c_, f_) => c_.copy(dotnetSettings = f_))
    def rubySettings: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.RubySettings] = field(_.getRubySettings)((c_, f_) => c_.copy(rubySettings = _root_.scala.Option(f_)))
    def optionalRubySettings: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[com.google.api.client.RubySettings]] = field(_.rubySettings)((c_, f_) => c_.copy(rubySettings = f_))
    def goSettings: _root_.scalapb.lenses.Lens[UpperPB, com.google.api.client.GoSettings] = field(_.getGoSettings)((c_, f_) => c_.copy(goSettings = _root_.scala.Option(f_)))
    def optionalGoSettings: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[com.google.api.client.GoSettings]] = field(_.goSettings)((c_, f_) => c_.copy(goSettings = f_))
  }
  final val VERSION_FIELD_NUMBER = 1
  final val LAUNCH_STAGE_FIELD_NUMBER = 2
  final val REST_NUMERIC_ENUMS_FIELD_NUMBER = 3
  final val JAVA_SETTINGS_FIELD_NUMBER = 21
  final val CPP_SETTINGS_FIELD_NUMBER = 22
  final val PHP_SETTINGS_FIELD_NUMBER = 23
  final val PYTHON_SETTINGS_FIELD_NUMBER = 24
  final val NODE_SETTINGS_FIELD_NUMBER = 25
  final val DOTNET_SETTINGS_FIELD_NUMBER = 26
  final val RUBY_SETTINGS_FIELD_NUMBER = 27
  final val GO_SETTINGS_FIELD_NUMBER = 28
  def of(
    version: _root_.scala.Predef.String,
    launchStage: com.google.api.launch_stage.LaunchStage,
    restNumericEnums: _root_.scala.Boolean,
    javaSettings: _root_.scala.Option[com.google.api.client.JavaSettings],
    cppSettings: _root_.scala.Option[com.google.api.client.CppSettings],
    phpSettings: _root_.scala.Option[com.google.api.client.PhpSettings],
    pythonSettings: _root_.scala.Option[com.google.api.client.PythonSettings],
    nodeSettings: _root_.scala.Option[com.google.api.client.NodeSettings],
    dotnetSettings: _root_.scala.Option[com.google.api.client.DotnetSettings],
    rubySettings: _root_.scala.Option[com.google.api.client.RubySettings],
    goSettings: _root_.scala.Option[com.google.api.client.GoSettings]
  ): _root_.com.google.api.client.ClientLibrarySettings = _root_.com.google.api.client.ClientLibrarySettings(
    version,
    launchStage,
    restNumericEnums,
    javaSettings,
    cppSettings,
    phpSettings,
    pythonSettings,
    nodeSettings,
    dotnetSettings,
    rubySettings,
    goSettings
  )
  // @@protoc_insertion_point(GeneratedMessageCompanion[google.api.ClientLibrarySettings])
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy