Cloud PubSub V1 Client - Class CompiledProtoSchema (2.22.1)

Reference documentation and code samples for the Cloud PubSub V1 Client class CompiledProtoSchema.

Configuration specific to compiled Protocol Buffer schemas.

Generated from protobuf message google.pubsub.v1.CompiledProtoSchema

Namespace

Google \ Cloud \ PubSub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ root_message string

Required. The name of the root message type in the schema.

↳ compiled_bytes string

Required. The compiled FileDescriptorSet binary.

getRootMessage

Required. The name of the root message type in the schema.

Returns
Type Description
string

setRootMessage

Required. The name of the root message type in the schema.

Parameter
Name Description
var string
Returns
Type Description
$this

getCompiledBytes

Required. The compiled FileDescriptorSet binary.

Returns
Type Description
string

setCompiledBytes

Required. The compiled FileDescriptorSet binary.

Parameter
Name Description
var string
Returns
Type Description
$this