Style

com.google.api.resource.ResourceDescriptor$.Style$
See theStyle companion class
object Style extends GeneratedEnumCompanion[Style]

Attributes

Companion:
class
Source:
ResourceDescriptor.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Style]
trait Serializable
class Object
trait Matchable
class Any
Self type
Style.type

Members list

Concise view

Type members

Classlikes

case object DECLARATIVE_FRIENDLY extends Style with Recognized

This resource is intended to be "declarative-friendly".

This resource is intended to be "declarative-friendly".

Declarative-friendly resources must be more strictly consistent, and setting this to true communicates to tools that this resource should adhere to declarative-friendly expectations.

Note: This is used by the API linter (linter.aip.dev) to enable additional checks.

Attributes

Source:
ResourceDescriptor.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Style
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
sealed trait Recognized extends Style

Attributes

Source:
ResourceDescriptor.scala
Graph
Supertypes
class Style
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
case object STYLE_UNSPECIFIED extends Style with Recognized

The unspecified value. Do not use.

The unspecified value. Do not use.

Attributes

Source:
ResourceDescriptor.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Style
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
final case class Unrecognized(unrecognizedValue: Int) extends Style with UnrecognizedEnum

Attributes

Source:
ResourceDescriptor.scala
Graph
Supertypes
trait UnrecognizedEnum
class Style
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedEnumCompanion
Source:
GeneratedMessageCompanion.scala

Value members

Concrete methods

def fromValue(`__value`: Int): Style

Attributes

Source:
ResourceDescriptor.scala
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source:
ResourceDescriptor.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source:
ResourceDescriptor.scala

Inherited methods

def fromName(name: String): Option[A]

Attributes

Inherited from:
GeneratedEnumCompanion
Source:
GeneratedMessageCompanion.scala

Concrete fields

lazy val values: Seq[Style]

Attributes

Source:
ResourceDescriptor.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[Style]

Attributes

Source:
ResourceDescriptor.scala