AvroConfig

com.google.pubsub.v1.pubsub.CloudStorageConfig.AvroConfig
See theAvroConfig companion object
final case class AvroConfig(writeMetadata: Boolean, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[AvroConfig]

Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.

Value parameters

writeMetadata

When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.

Attributes

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

Members list

Value members

Concrete methods

def companion: AvroConfig.type

Attributes

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

Attributes

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

Attributes

Source
CloudStorageConfig.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
CloudStorageConfig.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
CloudStorageConfig.scala
def withUnknownFields(`__v`: UnknownFieldSet): AvroConfig

Attributes

Source
CloudStorageConfig.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
CloudStorageConfig.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[AvroConfig, AvroConfig] => () => AvroConfig*): 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