Enum Schema.Type (1.132.0)

public enum Schema.Type extends Enum<Schema.Type> implements ProtocolMessageEnum

Possible schema definition types.

Protobuf enum google.pubsub.v1.Schema.Type

Implements

ProtocolMessageEnum

Static Fields

Name Description
AVRO

An Avro schema definition.

AVRO = 2;

AVRO_VALUE

An Avro schema definition.

AVRO = 2;

PROTOCOL_BUFFER

A Protocol Buffer schema definition.

PROTOCOL_BUFFER = 1;

PROTOCOL_BUFFER_VALUE

A Protocol Buffer schema definition.

PROTOCOL_BUFFER = 1;

TYPE_UNSPECIFIED

Default value. This value is unused.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Default value. This value is unused.

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()