public interface SchemaInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
SchemaFormat |
getFormat()
The format of the data payload.
|
int |
getFormatValue()
The format of the data payload.
|
java.lang.String |
getId()
The identifier of the specific version of the schema that the record payload
conforms to.
|
com.google.protobuf.ByteString |
getIdBytes()
The identifier of the specific version of the schema that the record payload
conforms to.
|
java.lang.String |
getName()
The schema name (replaces the legacy "event type" concept).
|
com.google.protobuf.ByteString |
getNameBytes()
The schema name (replaces the legacy "event type" concept).
|
boolean |
hasId()
The identifier of the specific version of the schema that the record payload
conforms to.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getFormatValue()
The format of the data payload. Determines how the bytes in AppendRecord.data should be interpreted.
.kurrentdb.protocol.v2.streams.SchemaFormat format = 1;SchemaFormat getFormat()
The format of the data payload. Determines how the bytes in AppendRecord.data should be interpreted.
.kurrentdb.protocol.v2.streams.SchemaFormat format = 1;java.lang.String getName()
The schema name (replaces the legacy "event type" concept). Identifies what kind of data this record contains. Common naming formats: - Kebab-case: "order-placed", "customer-registered" - URN format: "urn:kurrentdb:events:order-placed:v1" - Dotted namespace: "Teams.Player.V1", "Orders.OrderPlaced.V2" - Reverse domain: "com.acme.orders.placed"
string name = 2;com.google.protobuf.ByteString getNameBytes()
The schema name (replaces the legacy "event type" concept). Identifies what kind of data this record contains. Common naming formats: - Kebab-case: "order-placed", "customer-registered" - URN format: "urn:kurrentdb:events:order-placed:v1" - Dotted namespace: "Teams.Player.V1", "Orders.OrderPlaced.V2" - Reverse domain: "com.acme.orders.placed"
string name = 2;boolean hasId()
The identifier of the specific version of the schema that the record payload conforms to. This should match a registered schema version in the system. Not necessary when not enforcing schema validation.
optional string id = 3;java.lang.String getId()
The identifier of the specific version of the schema that the record payload conforms to. This should match a registered schema version in the system. Not necessary when not enforcing schema validation.
optional string id = 3;com.google.protobuf.ByteString getIdBytes()
The identifier of the specific version of the schema that the record payload conforms to. This should match a registered schema version in the system. Not necessary when not enforcing schema validation.
optional string id = 3;