Package io.zeebe.exporter.proto
Class Schema.RecordMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.zeebe.exporter.proto.Schema.RecordMetadata
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Schema.RecordMetadataOrBuilder,Serializable
- Enclosing class:
- Schema
public static final class Schema.RecordMetadata extends com.google.protobuf.GeneratedMessageV3 implements Schema.RecordMetadataOrBuilder
Packs all non-value info into a single field; the idea here is so we can embed the *Record messages into other messages (e.g. JobRecord and JobBatchRecord) by simply omitting the optional metadata field, but by setting it the message becomes a full fledged record. Also cuts down how much properties need to be duplicated if we want to have flat records.
Protobuf typeexporter_protocol.RecordMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchema.RecordMetadata.BuilderPacks all non-value info into a single field; the idea here is so we can embed the *Record messages into other messages (e.g.static classSchema.RecordMetadata.RecordTypeProtobuf enumexporter_protocol.RecordMetadata.RecordTypestatic classSchema.RecordMetadata.ValueTypeProtobuf enumexporter_protocol.RecordMetadata.ValueType-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intINTENT_FIELD_NUMBERstatic intKEY_FIELD_NUMBERstatic intPARTITIONID_FIELD_NUMBERstatic intPOSITION_FIELD_NUMBERstatic intRECORDTYPE_FIELD_NUMBERstatic intREJECTIONREASON_FIELD_NUMBERstatic intREJECTIONTYPE_FIELD_NUMBERstatic intSOURCERECORDPOSITION_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBERstatic intVALUETYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Schema.RecordMetadatagetDefaultInstance()Schema.RecordMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetIntent()string intent = 6;com.google.protobuf.ByteStringgetIntentBytes()string intent = 6;longgetKey()int64 key = 3;com.google.protobuf.Parser<Schema.RecordMetadata>getParserForType()intgetPartitionId()int32 partitionId = 1;longgetPosition()int64 position = 2;Schema.RecordMetadata.RecordTypegetRecordType().exporter_protocol.RecordMetadata.RecordType recordType = 5;intgetRecordTypeValue().exporter_protocol.RecordMetadata.RecordType recordType = 5;StringgetRejectionReason()string rejectionReason = 10;com.google.protobuf.ByteStringgetRejectionReasonBytes()string rejectionReason = 10;StringgetRejectionType()string rejectionType = 9;com.google.protobuf.ByteStringgetRejectionTypeBytes()string rejectionType = 9;intgetSerializedSize()longgetSourceRecordPosition()int64 sourceRecordPosition = 8;longgetTimestamp()int64 timestamp = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()Schema.RecordMetadata.ValueTypegetValueType().exporter_protocol.RecordMetadata.ValueType valueType = 7;intgetValueTypeValue().exporter_protocol.RecordMetadata.ValueType valueType = 7;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Schema.RecordMetadata.BuildernewBuilder()static Schema.RecordMetadata.BuildernewBuilder(Schema.RecordMetadata prototype)Schema.RecordMetadata.BuildernewBuilderForType()protected Schema.RecordMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Schema.RecordMetadataparseDelimitedFrom(InputStream input)static Schema.RecordMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RecordMetadataparseFrom(byte[] data)static Schema.RecordMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RecordMetadataparseFrom(com.google.protobuf.ByteString data)static Schema.RecordMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RecordMetadataparseFrom(com.google.protobuf.CodedInputStream input)static Schema.RecordMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RecordMetadataparseFrom(InputStream input)static Schema.RecordMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RecordMetadataparseFrom(ByteBuffer data)static Schema.RecordMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Schema.RecordMetadata>parser()Schema.RecordMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARTITIONID_FIELD_NUMBER
public static final int PARTITIONID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSITION_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECORDTYPE_FIELD_NUMBER
public static final int RECORDTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTENT_FIELD_NUMBER
public static final int INTENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUETYPE_FIELD_NUMBER
public static final int VALUETYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCERECORDPOSITION_FIELD_NUMBER
public static final int SOURCERECORDPOSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REJECTIONTYPE_FIELD_NUMBER
public static final int REJECTIONTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REJECTIONREASON_FIELD_NUMBER
public static final int REJECTIONREASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPartitionId
public int getPartitionId()
int32 partitionId = 1;- Specified by:
getPartitionIdin interfaceSchema.RecordMetadataOrBuilder
-
getPosition
public long getPosition()
int64 position = 2;- Specified by:
getPositionin interfaceSchema.RecordMetadataOrBuilder
-
getKey
public long getKey()
int64 key = 3;- Specified by:
getKeyin interfaceSchema.RecordMetadataOrBuilder
-
getTimestamp
public long getTimestamp()
int64 timestamp = 4;- Specified by:
getTimestampin interfaceSchema.RecordMetadataOrBuilder
-
getRecordTypeValue
public int getRecordTypeValue()
.exporter_protocol.RecordMetadata.RecordType recordType = 5;- Specified by:
getRecordTypeValuein interfaceSchema.RecordMetadataOrBuilder
-
getRecordType
public Schema.RecordMetadata.RecordType getRecordType()
.exporter_protocol.RecordMetadata.RecordType recordType = 5;- Specified by:
getRecordTypein interfaceSchema.RecordMetadataOrBuilder
-
getIntent
public String getIntent()
string intent = 6;- Specified by:
getIntentin interfaceSchema.RecordMetadataOrBuilder
-
getIntentBytes
public com.google.protobuf.ByteString getIntentBytes()
string intent = 6;- Specified by:
getIntentBytesin interfaceSchema.RecordMetadataOrBuilder
-
getValueTypeValue
public int getValueTypeValue()
.exporter_protocol.RecordMetadata.ValueType valueType = 7;- Specified by:
getValueTypeValuein interfaceSchema.RecordMetadataOrBuilder
-
getValueType
public Schema.RecordMetadata.ValueType getValueType()
.exporter_protocol.RecordMetadata.ValueType valueType = 7;- Specified by:
getValueTypein interfaceSchema.RecordMetadataOrBuilder
-
getSourceRecordPosition
public long getSourceRecordPosition()
int64 sourceRecordPosition = 8;- Specified by:
getSourceRecordPositionin interfaceSchema.RecordMetadataOrBuilder
-
getRejectionType
public String getRejectionType()
string rejectionType = 9;- Specified by:
getRejectionTypein interfaceSchema.RecordMetadataOrBuilder
-
getRejectionTypeBytes
public com.google.protobuf.ByteString getRejectionTypeBytes()
string rejectionType = 9;- Specified by:
getRejectionTypeBytesin interfaceSchema.RecordMetadataOrBuilder
-
getRejectionReason
public String getRejectionReason()
string rejectionReason = 10;- Specified by:
getRejectionReasonin interfaceSchema.RecordMetadataOrBuilder
-
getRejectionReasonBytes
public com.google.protobuf.ByteString getRejectionReasonBytes()
string rejectionReason = 10;- Specified by:
getRejectionReasonBytesin interfaceSchema.RecordMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Schema.RecordMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RecordMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RecordMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RecordMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RecordMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RecordMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RecordMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.RecordMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.RecordMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.RecordMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.RecordMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.RecordMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Schema.RecordMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Schema.RecordMetadata.Builder newBuilder()
-
newBuilder
public static Schema.RecordMetadata.Builder newBuilder(Schema.RecordMetadata prototype)
-
toBuilder
public Schema.RecordMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Schema.RecordMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Schema.RecordMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Schema.RecordMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<Schema.RecordMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Schema.RecordMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-