Share via


EventInputSchema Class

public final class EventInputSchema
extends ExpandableStringEnum<EventInputSchema>

This determines the format that is expected for incoming events published to the topic.

Field Summary

Modifier and Type Field and Description
static final EventInputSchema CLOUD_EVENT_SCHEMA_V1_0

Static value CloudEventSchemaV1_0 for EventInputSchema.

Constructor Summary

Constructor Description
EventInputSchema()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EventInputSchema value.

Method Summary

Modifier and Type Method and Description
static EventInputSchema fromString(String name)

Creates or finds a EventInputSchema from its string representation.

static Collection<EventInputSchema> values()

Gets known EventInputSchema values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLOUD_EVENT_SCHEMA_V1_0

public static final EventInputSchema CLOUD_EVENT_SCHEMA_V1_0

Static value CloudEventSchemaV1_0 for EventInputSchema.

Constructor Details

EventInputSchema

@Deprecated
public EventInputSchema()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EventInputSchema value.

Method Details

fromString

public static EventInputSchema fromString(String name)

Creates or finds a EventInputSchema from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EventInputSchema.

values

public static Collection<EventInputSchema> values()

Gets known EventInputSchema values.

Returns:

known EventInputSchema values.

Applies to