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
Show all
Self type
Style.type

Members list

Type members

Classlikes

case object DECLARATIVE_FRIENDLY extends Style, 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
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Style
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
sealed trait Recognized extends Style

Attributes

Source
ResourceDescriptor.scala
Supertypes
class Style
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object DECLARATIVE_FRIENDLY.type
object STYLE_UNSPECIFIED.type
case object STYLE_UNSPECIFIED extends Style, Recognized

The unspecified value.

The unspecified value. Do not use.

Attributes

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

Attributes

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

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

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.

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[ValueType]

Attributes

Source
ResourceDescriptor.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[Style]

Attributes

Source
ResourceDescriptor.scala