# Google Cloud Eventarc V1 Client - Class ProtobufFormat (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 ProtobufFormat.

The format of a Protobuf message payload.

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

## 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` |   |