- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.event.Transformation
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransformationOrBuilder,Serializable
@Generated public final class Transformation extends com.google.protobuf.GeneratedMessage implements TransformationOrBuilder
The transformation data.
Protobuf typeio.axoniq.axonserver.grpc.event.Transformation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransformation.BuilderThe transformation data.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPPLIED_AT_FIELD_NUMBERstatic intAPPLY_REQUESTER_FIELD_NUMBERstatic intCONTEXT_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intSEQUENCE_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTRANSFORMATIONID_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetAppliedAt()The timestamp at which the transformation was applied.StringgetApplyRequester()The username of user who requested the transformation to be applied.com.google.protobuf.ByteStringgetApplyRequesterBytes()The username of user who requested the transformation to be applied.StringgetContext()The bounded context in which this transformation is being executed.com.google.protobuf.ByteStringgetContextBytes()The bounded context in which this transformation is being executed.static TransformationgetDefaultInstance()TransformationgetDefaultInstanceForType()StringgetDescription()The description of the transformation.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the transformation.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.Parser<Transformation>getParserForType()longgetSequence()The sequence of the last transformation action stored.intgetSerializedSize()TransformationStategetState()The state of the transformationintgetStateValue()The state of the transformationTransformationIdgetTransformationId()The identifier of the transformation.TransformationIdOrBuildergetTransformationIdOrBuilder()The identifier of the transformation.intgetVersion()The version of the transformation.inthashCode()booleanhasTransformationId()The identifier of the transformation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Transformation.BuildernewBuilder()static Transformation.BuildernewBuilder(Transformation prototype)Transformation.BuildernewBuilderForType()protected Transformation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static TransformationparseDelimitedFrom(InputStream input)static TransformationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationparseFrom(byte[] data)static TransformationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationparseFrom(com.google.protobuf.ByteString data)static TransformationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationparseFrom(com.google.protobuf.CodedInputStream input)static TransformationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationparseFrom(InputStream input)static TransformationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationparseFrom(ByteBuffer data)static TransformationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Transformation>parser()Transformation.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRANSFORMATIONID_FIELD_NUMBER
public static final int TRANSFORMATIONID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQUENCE_FIELD_NUMBER
public static final int SEQUENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPLIED_AT_FIELD_NUMBER
public static final int APPLIED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPLY_REQUESTER_FIELD_NUMBER
public static final int APPLY_REQUESTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasTransformationId
public boolean hasTransformationId()
The identifier of the transformation.
.io.axoniq.axonserver.grpc.event.TransformationId transformationId = 1;- Specified by:
hasTransformationIdin interfaceTransformationOrBuilder- Returns:
- Whether the transformationId field is set.
-
getTransformationId
public TransformationId getTransformationId()
The identifier of the transformation.
.io.axoniq.axonserver.grpc.event.TransformationId transformationId = 1;- Specified by:
getTransformationIdin interfaceTransformationOrBuilder- Returns:
- The transformationId.
-
getTransformationIdOrBuilder
public TransformationIdOrBuilder getTransformationIdOrBuilder()
The identifier of the transformation.
.io.axoniq.axonserver.grpc.event.TransformationId transformationId = 1;- Specified by:
getTransformationIdOrBuilderin interfaceTransformationOrBuilder
-
getStateValue
public int getStateValue()
The state of the transformation
.io.axoniq.axonserver.grpc.event.TransformationState state = 2;- Specified by:
getStateValuein interfaceTransformationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public TransformationState getState()
The state of the transformation
.io.axoniq.axonserver.grpc.event.TransformationState state = 2;- Specified by:
getStatein interfaceTransformationOrBuilder- Returns:
- The state.
-
getSequence
public long getSequence()
The sequence of the last transformation action stored. Needed for checking sequential consistency of requests.
int64 sequence = 3;- Specified by:
getSequencein interfaceTransformationOrBuilder- Returns:
- The sequence.
-
getContext
public String getContext()
The bounded context in which this transformation is being executed.
string context = 4;- Specified by:
getContextin interfaceTransformationOrBuilder- Returns:
- The context.
-
getContextBytes
public com.google.protobuf.ByteString getContextBytes()
The bounded context in which this transformation is being executed.
string context = 4;- Specified by:
getContextBytesin interfaceTransformationOrBuilder- Returns:
- The bytes for context.
-
getDescription
public String getDescription()
The description of the transformation.
string description = 5;- Specified by:
getDescriptionin interfaceTransformationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the transformation.
string description = 5;- Specified by:
getDescriptionBytesin interfaceTransformationOrBuilder- Returns:
- The bytes for description.
-
getAppliedAt
public long getAppliedAt()
The timestamp at which the transformation was applied. Set to -1 if the transformation was not applied.
int64 applied_at = 6;- Specified by:
getAppliedAtin interfaceTransformationOrBuilder- Returns:
- The appliedAt.
-
getApplyRequester
public String getApplyRequester()
The username of user who requested the transformation to be applied. Empty if the transformation was not applied.
string apply_requester = 7;- Specified by:
getApplyRequesterin interfaceTransformationOrBuilder- Returns:
- The applyRequester.
-
getApplyRequesterBytes
public com.google.protobuf.ByteString getApplyRequesterBytes()
The username of user who requested the transformation to be applied. Empty if the transformation was not applied.
string apply_requester = 7;- Specified by:
getApplyRequesterBytesin interfaceTransformationOrBuilder- Returns:
- The bytes for applyRequester.
-
getVersion
public int getVersion()
The version of the transformation. The sequence
int32 version = 8;- Specified by:
getVersionin interfaceTransformationOrBuilder- Returns:
- The version.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 Transformation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Transformation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Transformation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Transformation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Transformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Transformation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Transformation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Transformation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Transformation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Transformation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Transformation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Transformation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Transformation.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Transformation.Builder newBuilder()
-
newBuilder
public static Transformation.Builder newBuilder(Transformation prototype)
-
toBuilder
public Transformation.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Transformation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Transformation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Transformation> parser()
-
getParserForType
public com.google.protobuf.Parser<Transformation> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Transformation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-