avro = $avro; } /** * @return GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat */ public function getAvro() { return $this->avro; } /** * @param GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat */ public function setJson(GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat $json) { $this->json = $json; } /** * @return GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat */ public function getJson() { return $this->json; } /** * @param GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat */ public function setProtobuf(GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat $protobuf) { $this->protobuf = $protobuf; } /** * @return GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat */ public function getProtobuf() { return $this->protobuf; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudEventarcV1PipelineMessagePayloadFormat::class, 'Google_Service_Eventarc_GoogleCloudEventarcV1PipelineMessagePayloadFormat');