SchemaSettings

com.google.pubsub.v1.pubsub.SchemaSettings
See theSchemaSettings companion object
final case class SchemaSettings(schema: String, encoding: Encoding, firstRevisionId: String, lastRevisionId: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[SchemaSettings]

Settings for validating messages published against a schema.

Value parameters

encoding

The encoding of messages validated against schema.

firstRevisionId

The minimum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against last_revision or any revision created before.

lastRevisionId

The maximum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against first_revision or any revision created after.

schema

Required. The name of the schema that messages published should be validated against. Format is projects/{project}/schemas/{schema}. The value of this field will be _deleted-schema_ if the schema has been deleted.

Attributes

Companion
object
Source
SchemaSettings.scala
Graph
Supertypes
trait Updatable[SchemaSettings]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
SchemaSettings.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
SchemaSettings.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
SchemaSettings.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
SchemaSettings.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
SchemaSettings.scala

Attributes

Source
SchemaSettings.scala

Attributes

Source
SchemaSettings.scala
def withUnknownFields(`__v`: UnknownFieldSet): SchemaSettings

Attributes

Source
SchemaSettings.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
SchemaSettings.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[SchemaSettings, SchemaSettings] => () => SchemaSettings*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala