Cloud PubSub V1 Client - Class Type (1.42.1)

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

Possible schema definition types.

Protobuf type google.pubsub.v1.Schema.Type

Methods

name

Parameter
Name Description
value mixed

value

Parameter
Name Description
name mixed

Constants

TYPE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum TYPE_UNSPECIFIED = 0;

PROTOCOL_BUFFER

Value: 1

A Protocol Buffer schema definition.

Generated from protobuf enum PROTOCOL_BUFFER = 1;

AVRO

Value: 2

An Avro schema definition.

Generated from protobuf enum AVRO = 2;