Class TransformRequest

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransformRequestOrBuilder, Serializable

    @Generated
    public final class TransformRequest
    extends com.google.protobuf.GeneratedMessage
    implements TransformRequestOrBuilder
     Message containing one event to transform within a transformation 
     
    Protobuf type io.axoniq.axonserver.grpc.event.TransformRequest
    See Also:
    Serialized Form
    • Field Detail

      • TRANSFORMATION_ID_FIELD_NUMBER

        public static final int TRANSFORMATION_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REPLACE_EVENT_FIELD_NUMBER

        public static final int REPLACE_EVENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DELETE_EVENT_FIELD_NUMBER

        public static final int DELETE_EVENT_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:
        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 identification of the transformation 
         
        .io.axoniq.axonserver.grpc.event.TransformationId transformation_id = 1;
        Specified by:
        hasTransformationId in interface TransformRequestOrBuilder
        Returns:
        Whether the transformationId field is set.
      • getSequence

        public long getSequence()
         The sequence of the current transformation 
         
        int64 sequence = 2;
        Specified by:
        getSequence in interface TransformRequestOrBuilder
        Returns:
        The sequence.
      • hasReplaceEvent

        public boolean hasReplaceEvent()
         Replaces the content of an event with the new content 
         
        .io.axoniq.axonserver.grpc.event.TransformedEvent replace_event = 3;
        Specified by:
        hasReplaceEvent in interface TransformRequestOrBuilder
        Returns:
        Whether the replaceEvent field is set.
      • getReplaceEvent

        public TransformedEvent getReplaceEvent()
         Replaces the content of an event with the new content 
         
        .io.axoniq.axonserver.grpc.event.TransformedEvent replace_event = 3;
        Specified by:
        getReplaceEvent in interface TransformRequestOrBuilder
        Returns:
        The replaceEvent.
      • hasDeleteEvent

        public boolean hasDeleteEvent()
         Deletes the content of an event 
         
        .io.axoniq.axonserver.grpc.event.DeletedEvent delete_event = 4;
        Specified by:
        hasDeleteEvent in interface TransformRequestOrBuilder
        Returns:
        Whether the deleteEvent field is set.
      • 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 TransformRequest parseFrom​(ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransformRequest parseFrom​(ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransformRequest parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransformRequest parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransformRequest parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransformRequest parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TransformRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected TransformRequest.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<TransformRequest> 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 TransformRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder