All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.tasks.TaskParameter$___Marshaller_55ab6261a1ea7a3ce1de0080979073ca2e807a0881a5f60b6eca5af183fa009 Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev05
Show newest version
/*
 Generated by org.infinispan.protostream.annotations.impl.processor.MarshallerSourceCodeGenerator
 for class org.infinispan.tasks.TaskContext.TaskParameter
*/

package org.infinispan.tasks;

import org.infinispan.tasks.TaskContext.TaskParameter;

/**
 * WARNING: Generated code! Do not edit!
 *
 * @private
 */
@javax.annotation.processing.Generated(
   value = "org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor",
   comments = "Please do not edit this file!"
)
@SuppressWarnings("all")
public final class TaskParameter$___Marshaller_55ab6261a1ea7a3ce1de0080979073ca2e807a0881a5f60b6eca5af183fa009 extends org.infinispan.protostream.annotations.impl.GeneratedMarshallerBase implements org.infinispan.protostream.ProtobufTagMarshaller {

   @Override
   public Class getJavaClass() { return org.infinispan.tasks.TaskContext.TaskParameter.class; }

   @Override
   public String getTypeName() { return "org.infinispan.persistence.servertasks.TaskContext.TaskParameter"; }

   @Override
   public org.infinispan.tasks.TaskContext.TaskParameter read(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext $1) throws java.io.IOException {
      final org.infinispan.protostream.TagReader $in = $1.getReader();
      java.lang.String __v$1 = null;
      java.lang.String __v$2 = null;
      boolean done = false;
      while (!done) {
         final int tag = $in.readTag();
         switch (tag) {
            case 0: {
               done = true;
               break;
            }
            case (1 << org.infinispan.protostream.descriptors.WireType.TAG_TYPE_NUM_BITS | org.infinispan.protostream.descriptors.WireType.WIRETYPE_LENGTH_DELIMITED): {
               __v$1 = $in.readString();
               break;
            }
            case (2 << org.infinispan.protostream.descriptors.WireType.TAG_TYPE_NUM_BITS | org.infinispan.protostream.descriptors.WireType.WIRETYPE_LENGTH_DELIMITED): {
               __v$2 = $in.readString();
               break;
            }
            default: {
               if (!$in.skipField(tag)) done = true;
            }
         }
      }
      return new org.infinispan.tasks.TaskContext.TaskParameter(__v$1, __v$2);
   }

   @Override
   public void write(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext $1, org.infinispan.tasks.TaskContext.TaskParameter $2) throws java.io.IOException {
      org.infinispan.protostream.impl.TagWriterImpl $out = (org.infinispan.protostream.impl.TagWriterImpl) $1.getWriter();
      final org.infinispan.tasks.TaskContext.TaskParameter o = (org.infinispan.tasks.TaskContext.TaskParameter) $2;
      {
         final java.lang.String __v$1 = o.key;
         if (__v$1 != null) $out.writeString(1, __v$1);
      }
      {
         final java.lang.String __v$2 = o.value;
         if (__v$2 != null) $out.writeString(2, __v$2);
      }
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy