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

com.google.api.client.ClientLibraryOrganization.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

/** The organization for which the client libraries are being published.
  * Affects the url where generated docs are published, etc.
  */
sealed abstract class ClientLibraryOrganization(val value: _root_.scala.Int) extends _root_.scalapb.GeneratedEnum {
  type EnumType = com.google.api.client.ClientLibraryOrganization
  type RecognizedType = com.google.api.client.ClientLibraryOrganization.Recognized
  def isClientLibraryOrganizationUnspecified: _root_.scala.Boolean = false
  def isCloud: _root_.scala.Boolean = false
  def isAds: _root_.scala.Boolean = false
  def isPhotos: _root_.scala.Boolean = false
  def isStreetView: _root_.scala.Boolean = false
  def companion: _root_.scalapb.GeneratedEnumCompanion[ClientLibraryOrganization] = com.google.api.client.ClientLibraryOrganization
  final def asRecognized: _root_.scala.Option[com.google.api.client.ClientLibraryOrganization.Recognized] = if (isUnrecognized) _root_.scala.None else _root_.scala.Some(this.asInstanceOf[com.google.api.client.ClientLibraryOrganization.Recognized])
}

object ClientLibraryOrganization extends _root_.scalapb.GeneratedEnumCompanion[ClientLibraryOrganization] {
  sealed trait Recognized extends ClientLibraryOrganization
  implicit def enumCompanion: _root_.scalapb.GeneratedEnumCompanion[ClientLibraryOrganization] = this
  
  /** Not useful.
    */
  @SerialVersionUID(0L)
  case object CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED extends ClientLibraryOrganization(0) with ClientLibraryOrganization.Recognized {
    val index = 0
    val name = "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED"
    override def isClientLibraryOrganizationUnspecified: _root_.scala.Boolean = true
  }
  
  /** Google Cloud Platform Org.
    */
  @SerialVersionUID(0L)
  case object CLOUD extends ClientLibraryOrganization(1) with ClientLibraryOrganization.Recognized {
    val index = 1
    val name = "CLOUD"
    override def isCloud: _root_.scala.Boolean = true
  }
  
  /** Ads (Advertising) Org.
    */
  @SerialVersionUID(0L)
  case object ADS extends ClientLibraryOrganization(2) with ClientLibraryOrganization.Recognized {
    val index = 2
    val name = "ADS"
    override def isAds: _root_.scala.Boolean = true
  }
  
  /** Photos Org.
    */
  @SerialVersionUID(0L)
  case object PHOTOS extends ClientLibraryOrganization(3) with ClientLibraryOrganization.Recognized {
    val index = 3
    val name = "PHOTOS"
    override def isPhotos: _root_.scala.Boolean = true
  }
  
  /** Street View Org.
    */
  @SerialVersionUID(0L)
  case object STREET_VIEW extends ClientLibraryOrganization(4) with ClientLibraryOrganization.Recognized {
    val index = 4
    val name = "STREET_VIEW"
    override def isStreetView: _root_.scala.Boolean = true
  }
  
  @SerialVersionUID(0L)
  final case class Unrecognized(unrecognizedValue: _root_.scala.Int) extends ClientLibraryOrganization(unrecognizedValue) with _root_.scalapb.UnrecognizedEnum
  lazy val values: scala.collection.immutable.Seq[ValueType] = scala.collection.immutable.Seq(CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, CLOUD, ADS, PHOTOS, STREET_VIEW)
  def fromValue(__value: _root_.scala.Int): ClientLibraryOrganization = __value match {
    case 0 => CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED
    case 1 => CLOUD
    case 2 => ADS
    case 3 => PHOTOS
    case 4 => STREET_VIEW
    case __other => Unrecognized(__other)
  }
  def javaDescriptor: _root_.com.google.protobuf.Descriptors.EnumDescriptor = ClientProto.javaDescriptor.getEnumTypes().get(0)
  def scalaDescriptor: _root_.scalapb.descriptors.EnumDescriptor = ClientProto.scalaDescriptor.enums(0)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy