com.google.api.client.ClientLibraryDestination.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pekko-connectors-google-cloud-bigquery-storage_3 Show documentation
Show all versions of pekko-connectors-google-cloud-bigquery-storage_3 Show documentation
Apache Pekko Connectors is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Pekko.
// Generated by the Scala Plugin for the Protocol Buffer Compiler.
// Do not edit!
//
// Protofile syntax: PROTO3
package com.google.api.client
/** To where should client libraries be published?
*/
sealed abstract class ClientLibraryDestination(val value: _root_.scala.Int) extends _root_.scalapb.GeneratedEnum {
type EnumType = com.google.api.client.ClientLibraryDestination
type RecognizedType = com.google.api.client.ClientLibraryDestination.Recognized
def isClientLibraryDestinationUnspecified: _root_.scala.Boolean = false
def isGithub: _root_.scala.Boolean = false
def isPackageManager: _root_.scala.Boolean = false
def companion: _root_.scalapb.GeneratedEnumCompanion[ClientLibraryDestination] = com.google.api.client.ClientLibraryDestination
final def asRecognized: _root_.scala.Option[com.google.api.client.ClientLibraryDestination.Recognized] = if (isUnrecognized) _root_.scala.None else _root_.scala.Some(this.asInstanceOf[com.google.api.client.ClientLibraryDestination.Recognized])
}
object ClientLibraryDestination extends _root_.scalapb.GeneratedEnumCompanion[ClientLibraryDestination] {
sealed trait Recognized extends ClientLibraryDestination
implicit def enumCompanion: _root_.scalapb.GeneratedEnumCompanion[ClientLibraryDestination] = this
/** Client libraries will neither be generated nor published to package
* managers.
*/
@SerialVersionUID(0L)
case object CLIENT_LIBRARY_DESTINATION_UNSPECIFIED extends ClientLibraryDestination(0) with ClientLibraryDestination.Recognized {
val index = 0
val name = "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED"
override def isClientLibraryDestinationUnspecified: _root_.scala.Boolean = true
}
/** Generate the client library in a repo under github.com/googleapis,
* but don't publish it to package managers.
*/
@SerialVersionUID(0L)
case object GITHUB extends ClientLibraryDestination(10) with ClientLibraryDestination.Recognized {
val index = 1
val name = "GITHUB"
override def isGithub: _root_.scala.Boolean = true
}
/** Publish the library to package managers like nuget.org and npmjs.com.
*/
@SerialVersionUID(0L)
case object PACKAGE_MANAGER extends ClientLibraryDestination(20) with ClientLibraryDestination.Recognized {
val index = 2
val name = "PACKAGE_MANAGER"
override def isPackageManager: _root_.scala.Boolean = true
}
@SerialVersionUID(0L)
final case class Unrecognized(unrecognizedValue: _root_.scala.Int) extends ClientLibraryDestination(unrecognizedValue) with _root_.scalapb.UnrecognizedEnum
lazy val values: scala.collection.immutable.Seq[ValueType] = scala.collection.immutable.Seq(CLIENT_LIBRARY_DESTINATION_UNSPECIFIED, GITHUB, PACKAGE_MANAGER)
def fromValue(__value: _root_.scala.Int): ClientLibraryDestination = __value match {
case 0 => CLIENT_LIBRARY_DESTINATION_UNSPECIFIED
case 10 => GITHUB
case 20 => PACKAGE_MANAGER
case __other => Unrecognized(__other)
}
def javaDescriptor: _root_.com.google.protobuf.Descriptors.EnumDescriptor = ClientProto.javaDescriptor.getEnumTypes().get(1)
def scalaDescriptor: _root_.scalapb.descriptors.EnumDescriptor = ClientProto.scalaDescriptor.enums(1)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy