Class 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 type io.axoniq.axonserver.grpc.event.Transformation
    See Also:
    Serialized Form
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • hasTransformationId

        public boolean hasTransformationId()
         The identifier of the transformation.
         
        .io.axoniq.axonserver.grpc.event.TransformationId transformationId = 1;
        Specified by:
        hasTransformationId in interface TransformationOrBuilder
        Returns:
        Whether the transformationId field is set.
      • getStateValue

        public int getStateValue()
         The state of the transformation
         
        .io.axoniq.axonserver.grpc.event.TransformationState state = 2;
        Specified by:
        getStateValue in interface TransformationOrBuilder
        Returns:
        The enum numeric value on the wire for 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:
        getSequence in interface TransformationOrBuilder
        Returns:
        The sequence.
      • getContext

        public String getContext()
         The bounded context in which this transformation is being executed.
         
        string context = 4;
        Specified by:
        getContext in interface TransformationOrBuilder
        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:
        getContextBytes in interface TransformationOrBuilder
        Returns:
        The bytes for context.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         The description of the transformation.
         
        string description = 5;
        Specified by:
        getDescriptionBytes in interface TransformationOrBuilder
        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:
        getAppliedAt in interface TransformationOrBuilder
        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:
        getApplyRequester in interface TransformationOrBuilder
        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:
        getApplyRequesterBytes in interface TransformationOrBuilder
        Returns:
        The bytes for applyRequester.
      • getVersion

        public int getVersion()
         The version of the transformation. The sequence
         
        int32 version = 8;
        Specified by:
        getVersion in interface TransformationOrBuilder
        Returns:
        The version.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Transformation.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Transformation.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Transformation.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.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:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public Transformation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder