State

com.google.cloud.datastream.v1.datastream_resources.Stream$.State$
See theState companion class
object State extends GeneratedEnumCompanion[State]

Attributes

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

Members list

Concise view

Type members

Classlikes

case object DRAINING extends State with Recognized

The Stream is no longer reading new events, but still writing events in the buffer.

The Stream is no longer reading new events, but still writing events in the buffer.

Attributes

Source:
Stream.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class State
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object FAILED extends State with Recognized

The stream is experiencing an error that is preventing data from being streamed.

The stream is experiencing an error that is preventing data from being streamed.

Attributes

Source:
Stream.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class State
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
FAILED.type
case object FAILED_PERMANENTLY extends State with Recognized

The stream has experienced a terminal failure.

The stream has experienced a terminal failure.

Attributes

Source:
Stream.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class State
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object MAINTENANCE extends State with Recognized

The stream is in maintenance mode.

The stream is in maintenance mode.

Updates are rejected on the resource in this state.

Attributes

Source:
Stream.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class State
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object NOT_STARTED extends State with Recognized

The stream has been created but has not yet started streaming data.

The stream has been created but has not yet started streaming data.

Attributes

Source:
Stream.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class State
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object PAUSED extends State with Recognized

The stream is paused.

The stream is paused.

Attributes

Source:
Stream.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class State
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
PAUSED.type
case object RUNNING extends State with Recognized

The stream is running.

The stream is running.

Attributes

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

Attributes

Source:
Stream.scala
Graph
Supertypes
class State
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object DRAINING.type
object FAILED.type
object FAILED_PERMANENTLY.type
object MAINTENANCE.type
object NOT_STARTED.type
object PAUSED.type
object RUNNING.type
object STARTING.type
object STATE_UNSPECIFIED.type
case object STARTING extends State with Recognized

The stream is starting, but not yet running.

The stream is starting, but not yet running.

Attributes

Source:
Stream.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class State
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object STATE_UNSPECIFIED extends State with Recognized

Unspecified stream state.

Unspecified stream state.

Attributes

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

Attributes

Source:
Stream.scala
Graph
Supertypes
trait UnrecognizedEnum
class State
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): State

Attributes

Source:
Stream.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:
Stream.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source:
Stream.scala

Inherited methods

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

Attributes

Inherited from:
GeneratedEnumCompanion
Source:
GeneratedMessageCompanion.scala

Concrete fields

lazy val values: Seq[State]

Attributes

Source:
Stream.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[State]

Attributes

Source:
Stream.scala