Enum Schema.Type (1.123.1)

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

NameDescription
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()