# Google Cloud Eventarc V1 Client - Class AvroFormat (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.5 2.0.1 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Eventarc V1 Client class AvroFormat.

The format of an AVRO message payload.

Generated from protobuf message `google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat`

## Namespace

Google \\ Cloud \\ Eventarc \\ V1 \\ Pipeline \\ MessagePayloadFormat

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ schema_definition` | `string` Optional. The entire schema definition is stored in this field. |

### getSchemaDefinition

Optional. The entire schema definition is stored in this field.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSchemaDefinition

Optional. The entire schema definition is stored in this field.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |