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

com.netflix.conductor.proto.TaskDefPb Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: model/taskdef.proto

package com.netflix.conductor.proto;

public final class TaskDefPb {
  private TaskDefPb() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface TaskDefOrBuilder extends
      // @@protoc_insertion_point(interface_extends:conductor.proto.TaskDef)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string name = 1;
     * @return The name.
     */
    java.lang.String getName();
    /**
     * string name = 1;
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * string description = 2;
     * @return The description.
     */
    java.lang.String getDescription();
    /**
     * string description = 2;
     * @return The bytes for description.
     */
    com.google.protobuf.ByteString
        getDescriptionBytes();

    /**
     * int32 retry_count = 3;
     * @return The retryCount.
     */
    int getRetryCount();

    /**
     * int64 timeout_seconds = 4;
     * @return The timeoutSeconds.
     */
    long getTimeoutSeconds();

    /**
     * repeated string input_keys = 5;
     * @return A list containing the inputKeys.
     */
    java.util.List
        getInputKeysList();
    /**
     * repeated string input_keys = 5;
     * @return The count of inputKeys.
     */
    int getInputKeysCount();
    /**
     * repeated string input_keys = 5;
     * @param index The index of the element to return.
     * @return The inputKeys at the given index.
     */
    java.lang.String getInputKeys(int index);
    /**
     * repeated string input_keys = 5;
     * @param index The index of the value to return.
     * @return The bytes of the inputKeys at the given index.
     */
    com.google.protobuf.ByteString
        getInputKeysBytes(int index);

    /**
     * repeated string output_keys = 6;
     * @return A list containing the outputKeys.
     */
    java.util.List
        getOutputKeysList();
    /**
     * repeated string output_keys = 6;
     * @return The count of outputKeys.
     */
    int getOutputKeysCount();
    /**
     * repeated string output_keys = 6;
     * @param index The index of the element to return.
     * @return The outputKeys at the given index.
     */
    java.lang.String getOutputKeys(int index);
    /**
     * repeated string output_keys = 6;
     * @param index The index of the value to return.
     * @return The bytes of the outputKeys at the given index.
     */
    com.google.protobuf.ByteString
        getOutputKeysBytes(int index);

    /**
     * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
     * @return The enum numeric value on the wire for timeoutPolicy.
     */
    int getTimeoutPolicyValue();
    /**
     * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
     * @return The timeoutPolicy.
     */
    com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy getTimeoutPolicy();

    /**
     * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
     * @return The enum numeric value on the wire for retryLogic.
     */
    int getRetryLogicValue();
    /**
     * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
     * @return The retryLogic.
     */
    com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic getRetryLogic();

    /**
     * int32 retry_delay_seconds = 9;
     * @return The retryDelaySeconds.
     */
    int getRetryDelaySeconds();

    /**
     * int64 response_timeout_seconds = 10;
     * @return The responseTimeoutSeconds.
     */
    long getResponseTimeoutSeconds();

    /**
     * int32 concurrent_exec_limit = 11;
     * @return The concurrentExecLimit.
     */
    int getConcurrentExecLimit();

    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    int getInputTemplateCount();
    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    boolean containsInputTemplate(
        java.lang.String key);
    /**
     * Use {@link #getInputTemplateMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map
    getInputTemplate();
    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    java.util.Map
    getInputTemplateMap();
    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    /* nullable */
com.google.protobuf.Value getInputTemplateOrDefault(
        java.lang.String key,
        /* nullable */
com.google.protobuf.Value defaultValue);
    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    com.google.protobuf.Value getInputTemplateOrThrow(
        java.lang.String key);

    /**
     * int32 rate_limit_per_frequency = 14;
     * @return The rateLimitPerFrequency.
     */
    int getRateLimitPerFrequency();

    /**
     * int32 rate_limit_frequency_in_seconds = 15;
     * @return The rateLimitFrequencyInSeconds.
     */
    int getRateLimitFrequencyInSeconds();

    /**
     * string isolation_group_id = 16;
     * @return The isolationGroupId.
     */
    java.lang.String getIsolationGroupId();
    /**
     * string isolation_group_id = 16;
     * @return The bytes for isolationGroupId.
     */
    com.google.protobuf.ByteString
        getIsolationGroupIdBytes();

    /**
     * string execution_name_space = 17;
     * @return The executionNameSpace.
     */
    java.lang.String getExecutionNameSpace();
    /**
     * string execution_name_space = 17;
     * @return The bytes for executionNameSpace.
     */
    com.google.protobuf.ByteString
        getExecutionNameSpaceBytes();

    /**
     * string owner_email = 18;
     * @return The ownerEmail.
     */
    java.lang.String getOwnerEmail();
    /**
     * string owner_email = 18;
     * @return The bytes for ownerEmail.
     */
    com.google.protobuf.ByteString
        getOwnerEmailBytes();

    /**
     * int32 poll_timeout_seconds = 19;
     * @return The pollTimeoutSeconds.
     */
    int getPollTimeoutSeconds();

    /**
     * int32 backoff_scale_factor = 20;
     * @return The backoffScaleFactor.
     */
    int getBackoffScaleFactor();

    /**
     * string base_type = 21;
     * @return The baseType.
     */
    java.lang.String getBaseType();
    /**
     * string base_type = 21;
     * @return The bytes for baseType.
     */
    com.google.protobuf.ByteString
        getBaseTypeBytes();
  }
  /**
   * Protobuf type {@code conductor.proto.TaskDef}
   */
  public static final class TaskDef extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:conductor.proto.TaskDef)
      TaskDefOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TaskDef.newBuilder() to construct.
    private TaskDef(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TaskDef() {
      name_ = "";
      description_ = "";
      inputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      outputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      timeoutPolicy_ = 0;
      retryLogic_ = 0;
      isolationGroupId_ = "";
      executionNameSpace_ = "";
      ownerEmail_ = "";
      baseType_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new TaskDef();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.netflix.conductor.proto.TaskDefPb.internal_static_conductor_proto_TaskDef_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 12:
          return internalGetInputTemplate();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.netflix.conductor.proto.TaskDefPb.internal_static_conductor_proto_TaskDef_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.netflix.conductor.proto.TaskDefPb.TaskDef.class, com.netflix.conductor.proto.TaskDefPb.TaskDef.Builder.class);
    }

    /**
     * Protobuf enum {@code conductor.proto.TaskDef.TimeoutPolicy}
     */
    public enum TimeoutPolicy
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * RETRY = 0;
       */
      RETRY(0),
      /**
       * TIME_OUT_WF = 1;
       */
      TIME_OUT_WF(1),
      /**
       * ALERT_ONLY = 2;
       */
      ALERT_ONLY(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * RETRY = 0;
       */
      public static final int RETRY_VALUE = 0;
      /**
       * TIME_OUT_WF = 1;
       */
      public static final int TIME_OUT_WF_VALUE = 1;
      /**
       * ALERT_ONLY = 2;
       */
      public static final int ALERT_ONLY_VALUE = 2;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TimeoutPolicy valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static TimeoutPolicy forNumber(int value) {
        switch (value) {
          case 0: return RETRY;
          case 1: return TIME_OUT_WF;
          case 2: return ALERT_ONLY;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          TimeoutPolicy> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public TimeoutPolicy findValueByNumber(int number) {
                return TimeoutPolicy.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return com.netflix.conductor.proto.TaskDefPb.TaskDef.getDescriptor().getEnumTypes().get(0);
      }

      private static final TimeoutPolicy[] VALUES = values();

      public static TimeoutPolicy valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private TimeoutPolicy(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:conductor.proto.TaskDef.TimeoutPolicy)
    }

    /**
     * Protobuf enum {@code conductor.proto.TaskDef.RetryLogic}
     */
    public enum RetryLogic
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * FIXED = 0;
       */
      FIXED(0),
      /**
       * EXPONENTIAL_BACKOFF = 1;
       */
      EXPONENTIAL_BACKOFF(1),
      /**
       * LINEAR_BACKOFF = 2;
       */
      LINEAR_BACKOFF(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * FIXED = 0;
       */
      public static final int FIXED_VALUE = 0;
      /**
       * EXPONENTIAL_BACKOFF = 1;
       */
      public static final int EXPONENTIAL_BACKOFF_VALUE = 1;
      /**
       * LINEAR_BACKOFF = 2;
       */
      public static final int LINEAR_BACKOFF_VALUE = 2;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static RetryLogic valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static RetryLogic forNumber(int value) {
        switch (value) {
          case 0: return FIXED;
          case 1: return EXPONENTIAL_BACKOFF;
          case 2: return LINEAR_BACKOFF;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          RetryLogic> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public RetryLogic findValueByNumber(int number) {
                return RetryLogic.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return com.netflix.conductor.proto.TaskDefPb.TaskDef.getDescriptor().getEnumTypes().get(1);
      }

      private static final RetryLogic[] VALUES = values();

      public static RetryLogic valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private RetryLogic(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:conductor.proto.TaskDef.RetryLogic)
    }

    public static final int NAME_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object name_ = "";
    /**
     * string name = 1;
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
    }
    /**
     * string name = 1;
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DESCRIPTION_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private volatile java.lang.Object description_ = "";
    /**
     * string description = 2;
     * @return The description.
     */
    @java.lang.Override
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        description_ = s;
        return s;
      }
    }
    /**
     * string description = 2;
     * @return The bytes for description.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int RETRY_COUNT_FIELD_NUMBER = 3;
    private int retryCount_ = 0;
    /**
     * int32 retry_count = 3;
     * @return The retryCount.
     */
    @java.lang.Override
    public int getRetryCount() {
      return retryCount_;
    }

    public static final int TIMEOUT_SECONDS_FIELD_NUMBER = 4;
    private long timeoutSeconds_ = 0L;
    /**
     * int64 timeout_seconds = 4;
     * @return The timeoutSeconds.
     */
    @java.lang.Override
    public long getTimeoutSeconds() {
      return timeoutSeconds_;
    }

    public static final int INPUT_KEYS_FIELD_NUMBER = 5;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringList inputKeys_;
    /**
     * repeated string input_keys = 5;
     * @return A list containing the inputKeys.
     */
    public com.google.protobuf.ProtocolStringList
        getInputKeysList() {
      return inputKeys_;
    }
    /**
     * repeated string input_keys = 5;
     * @return The count of inputKeys.
     */
    public int getInputKeysCount() {
      return inputKeys_.size();
    }
    /**
     * repeated string input_keys = 5;
     * @param index The index of the element to return.
     * @return The inputKeys at the given index.
     */
    public java.lang.String getInputKeys(int index) {
      return inputKeys_.get(index);
    }
    /**
     * repeated string input_keys = 5;
     * @param index The index of the value to return.
     * @return The bytes of the inputKeys at the given index.
     */
    public com.google.protobuf.ByteString
        getInputKeysBytes(int index) {
      return inputKeys_.getByteString(index);
    }

    public static final int OUTPUT_KEYS_FIELD_NUMBER = 6;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringList outputKeys_;
    /**
     * repeated string output_keys = 6;
     * @return A list containing the outputKeys.
     */
    public com.google.protobuf.ProtocolStringList
        getOutputKeysList() {
      return outputKeys_;
    }
    /**
     * repeated string output_keys = 6;
     * @return The count of outputKeys.
     */
    public int getOutputKeysCount() {
      return outputKeys_.size();
    }
    /**
     * repeated string output_keys = 6;
     * @param index The index of the element to return.
     * @return The outputKeys at the given index.
     */
    public java.lang.String getOutputKeys(int index) {
      return outputKeys_.get(index);
    }
    /**
     * repeated string output_keys = 6;
     * @param index The index of the value to return.
     * @return The bytes of the outputKeys at the given index.
     */
    public com.google.protobuf.ByteString
        getOutputKeysBytes(int index) {
      return outputKeys_.getByteString(index);
    }

    public static final int TIMEOUT_POLICY_FIELD_NUMBER = 7;
    private int timeoutPolicy_ = 0;
    /**
     * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
     * @return The enum numeric value on the wire for timeoutPolicy.
     */
    @java.lang.Override public int getTimeoutPolicyValue() {
      return timeoutPolicy_;
    }
    /**
     * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
     * @return The timeoutPolicy.
     */
    @java.lang.Override public com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy getTimeoutPolicy() {
      com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy result = com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy.forNumber(timeoutPolicy_);
      return result == null ? com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy.UNRECOGNIZED : result;
    }

    public static final int RETRY_LOGIC_FIELD_NUMBER = 8;
    private int retryLogic_ = 0;
    /**
     * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
     * @return The enum numeric value on the wire for retryLogic.
     */
    @java.lang.Override public int getRetryLogicValue() {
      return retryLogic_;
    }
    /**
     * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
     * @return The retryLogic.
     */
    @java.lang.Override public com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic getRetryLogic() {
      com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic result = com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic.forNumber(retryLogic_);
      return result == null ? com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic.UNRECOGNIZED : result;
    }

    public static final int RETRY_DELAY_SECONDS_FIELD_NUMBER = 9;
    private int retryDelaySeconds_ = 0;
    /**
     * int32 retry_delay_seconds = 9;
     * @return The retryDelaySeconds.
     */
    @java.lang.Override
    public int getRetryDelaySeconds() {
      return retryDelaySeconds_;
    }

    public static final int RESPONSE_TIMEOUT_SECONDS_FIELD_NUMBER = 10;
    private long responseTimeoutSeconds_ = 0L;
    /**
     * int64 response_timeout_seconds = 10;
     * @return The responseTimeoutSeconds.
     */
    @java.lang.Override
    public long getResponseTimeoutSeconds() {
      return responseTimeoutSeconds_;
    }

    public static final int CONCURRENT_EXEC_LIMIT_FIELD_NUMBER = 11;
    private int concurrentExecLimit_ = 0;
    /**
     * int32 concurrent_exec_limit = 11;
     * @return The concurrentExecLimit.
     */
    @java.lang.Override
    public int getConcurrentExecLimit() {
      return concurrentExecLimit_;
    }

    public static final int INPUT_TEMPLATE_FIELD_NUMBER = 12;
    private static final class InputTemplateDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, com.google.protobuf.Value> defaultEntry =
              com.google.protobuf.MapEntry
              .newDefaultInstance(
                  com.netflix.conductor.proto.TaskDefPb.internal_static_conductor_proto_TaskDef_InputTemplateEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
                  com.google.protobuf.Value.getDefaultInstance());
    }
    @SuppressWarnings("serial")
    private com.google.protobuf.MapField<
        java.lang.String, com.google.protobuf.Value> inputTemplate_;
    private com.google.protobuf.MapField
    internalGetInputTemplate() {
      if (inputTemplate_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            InputTemplateDefaultEntryHolder.defaultEntry);
      }
      return inputTemplate_;
    }
    public int getInputTemplateCount() {
      return internalGetInputTemplate().getMap().size();
    }
    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    @java.lang.Override
    public boolean containsInputTemplate(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetInputTemplate().getMap().containsKey(key);
    }
    /**
     * Use {@link #getInputTemplateMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getInputTemplate() {
      return getInputTemplateMap();
    }
    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    @java.lang.Override
    public java.util.Map getInputTemplateMap() {
      return internalGetInputTemplate().getMap();
    }
    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    @java.lang.Override
    public /* nullable */
com.google.protobuf.Value getInputTemplateOrDefault(
        java.lang.String key,
        /* nullable */
com.google.protobuf.Value defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetInputTemplate().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * map<string, .google.protobuf.Value> input_template = 12;
     */
    @java.lang.Override
    public com.google.protobuf.Value getInputTemplateOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetInputTemplate().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int RATE_LIMIT_PER_FREQUENCY_FIELD_NUMBER = 14;
    private int rateLimitPerFrequency_ = 0;
    /**
     * int32 rate_limit_per_frequency = 14;
     * @return The rateLimitPerFrequency.
     */
    @java.lang.Override
    public int getRateLimitPerFrequency() {
      return rateLimitPerFrequency_;
    }

    public static final int RATE_LIMIT_FREQUENCY_IN_SECONDS_FIELD_NUMBER = 15;
    private int rateLimitFrequencyInSeconds_ = 0;
    /**
     * int32 rate_limit_frequency_in_seconds = 15;
     * @return The rateLimitFrequencyInSeconds.
     */
    @java.lang.Override
    public int getRateLimitFrequencyInSeconds() {
      return rateLimitFrequencyInSeconds_;
    }

    public static final int ISOLATION_GROUP_ID_FIELD_NUMBER = 16;
    @SuppressWarnings("serial")
    private volatile java.lang.Object isolationGroupId_ = "";
    /**
     * string isolation_group_id = 16;
     * @return The isolationGroupId.
     */
    @java.lang.Override
    public java.lang.String getIsolationGroupId() {
      java.lang.Object ref = isolationGroupId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        isolationGroupId_ = s;
        return s;
      }
    }
    /**
     * string isolation_group_id = 16;
     * @return The bytes for isolationGroupId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getIsolationGroupIdBytes() {
      java.lang.Object ref = isolationGroupId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        isolationGroupId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int EXECUTION_NAME_SPACE_FIELD_NUMBER = 17;
    @SuppressWarnings("serial")
    private volatile java.lang.Object executionNameSpace_ = "";
    /**
     * string execution_name_space = 17;
     * @return The executionNameSpace.
     */
    @java.lang.Override
    public java.lang.String getExecutionNameSpace() {
      java.lang.Object ref = executionNameSpace_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        executionNameSpace_ = s;
        return s;
      }
    }
    /**
     * string execution_name_space = 17;
     * @return The bytes for executionNameSpace.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getExecutionNameSpaceBytes() {
      java.lang.Object ref = executionNameSpace_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        executionNameSpace_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int OWNER_EMAIL_FIELD_NUMBER = 18;
    @SuppressWarnings("serial")
    private volatile java.lang.Object ownerEmail_ = "";
    /**
     * string owner_email = 18;
     * @return The ownerEmail.
     */
    @java.lang.Override
    public java.lang.String getOwnerEmail() {
      java.lang.Object ref = ownerEmail_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ownerEmail_ = s;
        return s;
      }
    }
    /**
     * string owner_email = 18;
     * @return The bytes for ownerEmail.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getOwnerEmailBytes() {
      java.lang.Object ref = ownerEmail_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ownerEmail_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int POLL_TIMEOUT_SECONDS_FIELD_NUMBER = 19;
    private int pollTimeoutSeconds_ = 0;
    /**
     * int32 poll_timeout_seconds = 19;
     * @return The pollTimeoutSeconds.
     */
    @java.lang.Override
    public int getPollTimeoutSeconds() {
      return pollTimeoutSeconds_;
    }

    public static final int BACKOFF_SCALE_FACTOR_FIELD_NUMBER = 20;
    private int backoffScaleFactor_ = 0;
    /**
     * int32 backoff_scale_factor = 20;
     * @return The backoffScaleFactor.
     */
    @java.lang.Override
    public int getBackoffScaleFactor() {
      return backoffScaleFactor_;
    }

    public static final int BASE_TYPE_FIELD_NUMBER = 21;
    @SuppressWarnings("serial")
    private volatile java.lang.Object baseType_ = "";
    /**
     * string base_type = 21;
     * @return The baseType.
     */
    @java.lang.Override
    public java.lang.String getBaseType() {
      java.lang.Object ref = baseType_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        baseType_ = s;
        return s;
      }
    }
    /**
     * string base_type = 21;
     * @return The bytes for baseType.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getBaseTypeBytes() {
      java.lang.Object ref = baseType_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        baseType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
      }
      if (retryCount_ != 0) {
        output.writeInt32(3, retryCount_);
      }
      if (timeoutSeconds_ != 0L) {
        output.writeInt64(4, timeoutSeconds_);
      }
      for (int i = 0; i < inputKeys_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, inputKeys_.getRaw(i));
      }
      for (int i = 0; i < outputKeys_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, outputKeys_.getRaw(i));
      }
      if (timeoutPolicy_ != com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy.RETRY.getNumber()) {
        output.writeEnum(7, timeoutPolicy_);
      }
      if (retryLogic_ != com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic.FIXED.getNumber()) {
        output.writeEnum(8, retryLogic_);
      }
      if (retryDelaySeconds_ != 0) {
        output.writeInt32(9, retryDelaySeconds_);
      }
      if (responseTimeoutSeconds_ != 0L) {
        output.writeInt64(10, responseTimeoutSeconds_);
      }
      if (concurrentExecLimit_ != 0) {
        output.writeInt32(11, concurrentExecLimit_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeStringMapTo(
          output,
          internalGetInputTemplate(),
          InputTemplateDefaultEntryHolder.defaultEntry,
          12);
      if (rateLimitPerFrequency_ != 0) {
        output.writeInt32(14, rateLimitPerFrequency_);
      }
      if (rateLimitFrequencyInSeconds_ != 0) {
        output.writeInt32(15, rateLimitFrequencyInSeconds_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isolationGroupId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 16, isolationGroupId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executionNameSpace_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 17, executionNameSpace_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerEmail_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 18, ownerEmail_);
      }
      if (pollTimeoutSeconds_ != 0) {
        output.writeInt32(19, pollTimeoutSeconds_);
      }
      if (backoffScaleFactor_ != 0) {
        output.writeInt32(20, backoffScaleFactor_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseType_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 21, baseType_);
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
      }
      if (retryCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, retryCount_);
      }
      if (timeoutSeconds_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(4, timeoutSeconds_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < inputKeys_.size(); i++) {
          dataSize += computeStringSizeNoTag(inputKeys_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getInputKeysList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < outputKeys_.size(); i++) {
          dataSize += computeStringSizeNoTag(outputKeys_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getOutputKeysList().size();
      }
      if (timeoutPolicy_ != com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy.RETRY.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(7, timeoutPolicy_);
      }
      if (retryLogic_ != com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic.FIXED.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(8, retryLogic_);
      }
      if (retryDelaySeconds_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(9, retryDelaySeconds_);
      }
      if (responseTimeoutSeconds_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(10, responseTimeoutSeconds_);
      }
      if (concurrentExecLimit_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(11, concurrentExecLimit_);
      }
      for (java.util.Map.Entry entry
           : internalGetInputTemplate().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        inputTemplate__ = InputTemplateDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(12, inputTemplate__);
      }
      if (rateLimitPerFrequency_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(14, rateLimitPerFrequency_);
      }
      if (rateLimitFrequencyInSeconds_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(15, rateLimitFrequencyInSeconds_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isolationGroupId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, isolationGroupId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executionNameSpace_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, executionNameSpace_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerEmail_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, ownerEmail_);
      }
      if (pollTimeoutSeconds_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(19, pollTimeoutSeconds_);
      }
      if (backoffScaleFactor_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(20, backoffScaleFactor_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseType_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, baseType_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.netflix.conductor.proto.TaskDefPb.TaskDef)) {
        return super.equals(obj);
      }
      com.netflix.conductor.proto.TaskDefPb.TaskDef other = (com.netflix.conductor.proto.TaskDefPb.TaskDef) obj;

      if (!getName()
          .equals(other.getName())) return false;
      if (!getDescription()
          .equals(other.getDescription())) return false;
      if (getRetryCount()
          != other.getRetryCount()) return false;
      if (getTimeoutSeconds()
          != other.getTimeoutSeconds()) return false;
      if (!getInputKeysList()
          .equals(other.getInputKeysList())) return false;
      if (!getOutputKeysList()
          .equals(other.getOutputKeysList())) return false;
      if (timeoutPolicy_ != other.timeoutPolicy_) return false;
      if (retryLogic_ != other.retryLogic_) return false;
      if (getRetryDelaySeconds()
          != other.getRetryDelaySeconds()) return false;
      if (getResponseTimeoutSeconds()
          != other.getResponseTimeoutSeconds()) return false;
      if (getConcurrentExecLimit()
          != other.getConcurrentExecLimit()) return false;
      if (!internalGetInputTemplate().equals(
          other.internalGetInputTemplate())) return false;
      if (getRateLimitPerFrequency()
          != other.getRateLimitPerFrequency()) return false;
      if (getRateLimitFrequencyInSeconds()
          != other.getRateLimitFrequencyInSeconds()) return false;
      if (!getIsolationGroupId()
          .equals(other.getIsolationGroupId())) return false;
      if (!getExecutionNameSpace()
          .equals(other.getExecutionNameSpace())) return false;
      if (!getOwnerEmail()
          .equals(other.getOwnerEmail())) return false;
      if (getPollTimeoutSeconds()
          != other.getPollTimeoutSeconds()) return false;
      if (getBackoffScaleFactor()
          != other.getBackoffScaleFactor()) return false;
      if (!getBaseType()
          .equals(other.getBaseType())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getDescription().hashCode();
      hash = (37 * hash) + RETRY_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + getRetryCount();
      hash = (37 * hash) + TIMEOUT_SECONDS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTimeoutSeconds());
      if (getInputKeysCount() > 0) {
        hash = (37 * hash) + INPUT_KEYS_FIELD_NUMBER;
        hash = (53 * hash) + getInputKeysList().hashCode();
      }
      if (getOutputKeysCount() > 0) {
        hash = (37 * hash) + OUTPUT_KEYS_FIELD_NUMBER;
        hash = (53 * hash) + getOutputKeysList().hashCode();
      }
      hash = (37 * hash) + TIMEOUT_POLICY_FIELD_NUMBER;
      hash = (53 * hash) + timeoutPolicy_;
      hash = (37 * hash) + RETRY_LOGIC_FIELD_NUMBER;
      hash = (53 * hash) + retryLogic_;
      hash = (37 * hash) + RETRY_DELAY_SECONDS_FIELD_NUMBER;
      hash = (53 * hash) + getRetryDelaySeconds();
      hash = (37 * hash) + RESPONSE_TIMEOUT_SECONDS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getResponseTimeoutSeconds());
      hash = (37 * hash) + CONCURRENT_EXEC_LIMIT_FIELD_NUMBER;
      hash = (53 * hash) + getConcurrentExecLimit();
      if (!internalGetInputTemplate().getMap().isEmpty()) {
        hash = (37 * hash) + INPUT_TEMPLATE_FIELD_NUMBER;
        hash = (53 * hash) + internalGetInputTemplate().hashCode();
      }
      hash = (37 * hash) + RATE_LIMIT_PER_FREQUENCY_FIELD_NUMBER;
      hash = (53 * hash) + getRateLimitPerFrequency();
      hash = (37 * hash) + RATE_LIMIT_FREQUENCY_IN_SECONDS_FIELD_NUMBER;
      hash = (53 * hash) + getRateLimitFrequencyInSeconds();
      hash = (37 * hash) + ISOLATION_GROUP_ID_FIELD_NUMBER;
      hash = (53 * hash) + getIsolationGroupId().hashCode();
      hash = (37 * hash) + EXECUTION_NAME_SPACE_FIELD_NUMBER;
      hash = (53 * hash) + getExecutionNameSpace().hashCode();
      hash = (37 * hash) + OWNER_EMAIL_FIELD_NUMBER;
      hash = (53 * hash) + getOwnerEmail().hashCode();
      hash = (37 * hash) + POLL_TIMEOUT_SECONDS_FIELD_NUMBER;
      hash = (53 * hash) + getPollTimeoutSeconds();
      hash = (37 * hash) + BACKOFF_SCALE_FACTOR_FIELD_NUMBER;
      hash = (53 * hash) + getBackoffScaleFactor();
      hash = (37 * hash) + BASE_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getBaseType().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.netflix.conductor.proto.TaskDefPb.TaskDef parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.netflix.conductor.proto.TaskDefPb.TaskDef prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code conductor.proto.TaskDef}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:conductor.proto.TaskDef)
        com.netflix.conductor.proto.TaskDefPb.TaskDefOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.netflix.conductor.proto.TaskDefPb.internal_static_conductor_proto_TaskDef_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 12:
            return internalGetInputTemplate();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 12:
            return internalGetMutableInputTemplate();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.netflix.conductor.proto.TaskDefPb.internal_static_conductor_proto_TaskDef_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.netflix.conductor.proto.TaskDefPb.TaskDef.class, com.netflix.conductor.proto.TaskDefPb.TaskDef.Builder.class);
      }

      // Construct using com.netflix.conductor.proto.TaskDefPb.TaskDef.newBuilder()
      private Builder() {

      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        name_ = "";
        description_ = "";
        retryCount_ = 0;
        timeoutSeconds_ = 0L;
        inputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000010);
        outputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000020);
        timeoutPolicy_ = 0;
        retryLogic_ = 0;
        retryDelaySeconds_ = 0;
        responseTimeoutSeconds_ = 0L;
        concurrentExecLimit_ = 0;
        internalGetMutableInputTemplate().clear();
        rateLimitPerFrequency_ = 0;
        rateLimitFrequencyInSeconds_ = 0;
        isolationGroupId_ = "";
        executionNameSpace_ = "";
        ownerEmail_ = "";
        pollTimeoutSeconds_ = 0;
        backoffScaleFactor_ = 0;
        baseType_ = "";
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.netflix.conductor.proto.TaskDefPb.internal_static_conductor_proto_TaskDef_descriptor;
      }

      @java.lang.Override
      public com.netflix.conductor.proto.TaskDefPb.TaskDef getDefaultInstanceForType() {
        return com.netflix.conductor.proto.TaskDefPb.TaskDef.getDefaultInstance();
      }

      @java.lang.Override
      public com.netflix.conductor.proto.TaskDefPb.TaskDef build() {
        com.netflix.conductor.proto.TaskDefPb.TaskDef result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.netflix.conductor.proto.TaskDefPb.TaskDef buildPartial() {
        com.netflix.conductor.proto.TaskDefPb.TaskDef result = new com.netflix.conductor.proto.TaskDefPb.TaskDef(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(com.netflix.conductor.proto.TaskDefPb.TaskDef result) {
        if (((bitField0_ & 0x00000010) != 0)) {
          inputKeys_ = inputKeys_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.inputKeys_ = inputKeys_;
        if (((bitField0_ & 0x00000020) != 0)) {
          outputKeys_ = outputKeys_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000020);
        }
        result.outputKeys_ = outputKeys_;
      }

      private void buildPartial0(com.netflix.conductor.proto.TaskDefPb.TaskDef result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.name_ = name_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.description_ = description_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.retryCount_ = retryCount_;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.timeoutSeconds_ = timeoutSeconds_;
        }
        if (((from_bitField0_ & 0x00000040) != 0)) {
          result.timeoutPolicy_ = timeoutPolicy_;
        }
        if (((from_bitField0_ & 0x00000080) != 0)) {
          result.retryLogic_ = retryLogic_;
        }
        if (((from_bitField0_ & 0x00000100) != 0)) {
          result.retryDelaySeconds_ = retryDelaySeconds_;
        }
        if (((from_bitField0_ & 0x00000200) != 0)) {
          result.responseTimeoutSeconds_ = responseTimeoutSeconds_;
        }
        if (((from_bitField0_ & 0x00000400) != 0)) {
          result.concurrentExecLimit_ = concurrentExecLimit_;
        }
        if (((from_bitField0_ & 0x00000800) != 0)) {
          result.inputTemplate_ = internalGetInputTemplate();
          result.inputTemplate_.makeImmutable();
        }
        if (((from_bitField0_ & 0x00001000) != 0)) {
          result.rateLimitPerFrequency_ = rateLimitPerFrequency_;
        }
        if (((from_bitField0_ & 0x00002000) != 0)) {
          result.rateLimitFrequencyInSeconds_ = rateLimitFrequencyInSeconds_;
        }
        if (((from_bitField0_ & 0x00004000) != 0)) {
          result.isolationGroupId_ = isolationGroupId_;
        }
        if (((from_bitField0_ & 0x00008000) != 0)) {
          result.executionNameSpace_ = executionNameSpace_;
        }
        if (((from_bitField0_ & 0x00010000) != 0)) {
          result.ownerEmail_ = ownerEmail_;
        }
        if (((from_bitField0_ & 0x00020000) != 0)) {
          result.pollTimeoutSeconds_ = pollTimeoutSeconds_;
        }
        if (((from_bitField0_ & 0x00040000) != 0)) {
          result.backoffScaleFactor_ = backoffScaleFactor_;
        }
        if (((from_bitField0_ & 0x00080000) != 0)) {
          result.baseType_ = baseType_;
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.netflix.conductor.proto.TaskDefPb.TaskDef) {
          return mergeFrom((com.netflix.conductor.proto.TaskDefPb.TaskDef)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.netflix.conductor.proto.TaskDefPb.TaskDef other) {
        if (other == com.netflix.conductor.proto.TaskDefPb.TaskDef.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (!other.getDescription().isEmpty()) {
          description_ = other.description_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (other.getRetryCount() != 0) {
          setRetryCount(other.getRetryCount());
        }
        if (other.getTimeoutSeconds() != 0L) {
          setTimeoutSeconds(other.getTimeoutSeconds());
        }
        if (!other.inputKeys_.isEmpty()) {
          if (inputKeys_.isEmpty()) {
            inputKeys_ = other.inputKeys_;
            bitField0_ = (bitField0_ & ~0x00000010);
          } else {
            ensureInputKeysIsMutable();
            inputKeys_.addAll(other.inputKeys_);
          }
          onChanged();
        }
        if (!other.outputKeys_.isEmpty()) {
          if (outputKeys_.isEmpty()) {
            outputKeys_ = other.outputKeys_;
            bitField0_ = (bitField0_ & ~0x00000020);
          } else {
            ensureOutputKeysIsMutable();
            outputKeys_.addAll(other.outputKeys_);
          }
          onChanged();
        }
        if (other.timeoutPolicy_ != 0) {
          setTimeoutPolicyValue(other.getTimeoutPolicyValue());
        }
        if (other.retryLogic_ != 0) {
          setRetryLogicValue(other.getRetryLogicValue());
        }
        if (other.getRetryDelaySeconds() != 0) {
          setRetryDelaySeconds(other.getRetryDelaySeconds());
        }
        if (other.getResponseTimeoutSeconds() != 0L) {
          setResponseTimeoutSeconds(other.getResponseTimeoutSeconds());
        }
        if (other.getConcurrentExecLimit() != 0) {
          setConcurrentExecLimit(other.getConcurrentExecLimit());
        }
        internalGetMutableInputTemplate().mergeFrom(
            other.internalGetInputTemplate());
        bitField0_ |= 0x00000800;
        if (other.getRateLimitPerFrequency() != 0) {
          setRateLimitPerFrequency(other.getRateLimitPerFrequency());
        }
        if (other.getRateLimitFrequencyInSeconds() != 0) {
          setRateLimitFrequencyInSeconds(other.getRateLimitFrequencyInSeconds());
        }
        if (!other.getIsolationGroupId().isEmpty()) {
          isolationGroupId_ = other.isolationGroupId_;
          bitField0_ |= 0x00004000;
          onChanged();
        }
        if (!other.getExecutionNameSpace().isEmpty()) {
          executionNameSpace_ = other.executionNameSpace_;
          bitField0_ |= 0x00008000;
          onChanged();
        }
        if (!other.getOwnerEmail().isEmpty()) {
          ownerEmail_ = other.ownerEmail_;
          bitField0_ |= 0x00010000;
          onChanged();
        }
        if (other.getPollTimeoutSeconds() != 0) {
          setPollTimeoutSeconds(other.getPollTimeoutSeconds());
        }
        if (other.getBackoffScaleFactor() != 0) {
          setBackoffScaleFactor(other.getBackoffScaleFactor());
        }
        if (!other.getBaseType().isEmpty()) {
          baseType_ = other.baseType_;
          bitField0_ |= 0x00080000;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                description_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 24: {
                retryCount_ = input.readInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              case 32: {
                timeoutSeconds_ = input.readInt64();
                bitField0_ |= 0x00000008;
                break;
              } // case 32
              case 42: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureInputKeysIsMutable();
                inputKeys_.add(s);
                break;
              } // case 42
              case 50: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureOutputKeysIsMutable();
                outputKeys_.add(s);
                break;
              } // case 50
              case 56: {
                timeoutPolicy_ = input.readEnum();
                bitField0_ |= 0x00000040;
                break;
              } // case 56
              case 64: {
                retryLogic_ = input.readEnum();
                bitField0_ |= 0x00000080;
                break;
              } // case 64
              case 72: {
                retryDelaySeconds_ = input.readInt32();
                bitField0_ |= 0x00000100;
                break;
              } // case 72
              case 80: {
                responseTimeoutSeconds_ = input.readInt64();
                bitField0_ |= 0x00000200;
                break;
              } // case 80
              case 88: {
                concurrentExecLimit_ = input.readInt32();
                bitField0_ |= 0x00000400;
                break;
              } // case 88
              case 98: {
                com.google.protobuf.MapEntry
                inputTemplate__ = input.readMessage(
                    InputTemplateDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                internalGetMutableInputTemplate().getMutableMap().put(
                    inputTemplate__.getKey(), inputTemplate__.getValue());
                bitField0_ |= 0x00000800;
                break;
              } // case 98
              case 112: {
                rateLimitPerFrequency_ = input.readInt32();
                bitField0_ |= 0x00001000;
                break;
              } // case 112
              case 120: {
                rateLimitFrequencyInSeconds_ = input.readInt32();
                bitField0_ |= 0x00002000;
                break;
              } // case 120
              case 130: {
                isolationGroupId_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00004000;
                break;
              } // case 130
              case 138: {
                executionNameSpace_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00008000;
                break;
              } // case 138
              case 146: {
                ownerEmail_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00010000;
                break;
              } // case 146
              case 152: {
                pollTimeoutSeconds_ = input.readInt32();
                bitField0_ |= 0x00020000;
                break;
              } // case 152
              case 160: {
                backoffScaleFactor_ = input.readInt32();
                bitField0_ |= 0x00040000;
                break;
              } // case 160
              case 170: {
                baseType_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00080000;
                break;
              } // case 170
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private java.lang.Object name_ = "";
      /**
       * string name = 1;
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string name = 1;
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string name = 1;
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        name_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * string name = 1;
       * @return This builder for chaining.
       */
      public Builder clearName() {
        name_ = getDefaultInstance().getName();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * string name = 1;
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        name_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private java.lang.Object description_ = "";
      /**
       * string description = 2;
       * @return The description.
       */
      public java.lang.String getDescription() {
        java.lang.Object ref = description_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          description_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string description = 2;
       * @return The bytes for description.
       */
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        java.lang.Object ref = description_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          description_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string description = 2;
       * @param value The description to set.
       * @return This builder for chaining.
       */
      public Builder setDescription(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        description_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * string description = 2;
       * @return This builder for chaining.
       */
      public Builder clearDescription() {
        description_ = getDefaultInstance().getDescription();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * string description = 2;
       * @param value The bytes for description to set.
       * @return This builder for chaining.
       */
      public Builder setDescriptionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        description_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private int retryCount_ ;
      /**
       * int32 retry_count = 3;
       * @return The retryCount.
       */
      @java.lang.Override
      public int getRetryCount() {
        return retryCount_;
      }
      /**
       * int32 retry_count = 3;
       * @param value The retryCount to set.
       * @return This builder for chaining.
       */
      public Builder setRetryCount(int value) {
        
        retryCount_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * int32 retry_count = 3;
       * @return This builder for chaining.
       */
      public Builder clearRetryCount() {
        bitField0_ = (bitField0_ & ~0x00000004);
        retryCount_ = 0;
        onChanged();
        return this;
      }

      private long timeoutSeconds_ ;
      /**
       * int64 timeout_seconds = 4;
       * @return The timeoutSeconds.
       */
      @java.lang.Override
      public long getTimeoutSeconds() {
        return timeoutSeconds_;
      }
      /**
       * int64 timeout_seconds = 4;
       * @param value The timeoutSeconds to set.
       * @return This builder for chaining.
       */
      public Builder setTimeoutSeconds(long value) {
        
        timeoutSeconds_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * int64 timeout_seconds = 4;
       * @return This builder for chaining.
       */
      public Builder clearTimeoutSeconds() {
        bitField0_ = (bitField0_ & ~0x00000008);
        timeoutSeconds_ = 0L;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList inputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureInputKeysIsMutable() {
        if (!((bitField0_ & 0x00000010) != 0)) {
          inputKeys_ = new com.google.protobuf.LazyStringArrayList(inputKeys_);
          bitField0_ |= 0x00000010;
         }
      }
      /**
       * repeated string input_keys = 5;
       * @return A list containing the inputKeys.
       */
      public com.google.protobuf.ProtocolStringList
          getInputKeysList() {
        return inputKeys_.getUnmodifiableView();
      }
      /**
       * repeated string input_keys = 5;
       * @return The count of inputKeys.
       */
      public int getInputKeysCount() {
        return inputKeys_.size();
      }
      /**
       * repeated string input_keys = 5;
       * @param index The index of the element to return.
       * @return The inputKeys at the given index.
       */
      public java.lang.String getInputKeys(int index) {
        return inputKeys_.get(index);
      }
      /**
       * repeated string input_keys = 5;
       * @param index The index of the value to return.
       * @return The bytes of the inputKeys at the given index.
       */
      public com.google.protobuf.ByteString
          getInputKeysBytes(int index) {
        return inputKeys_.getByteString(index);
      }
      /**
       * repeated string input_keys = 5;
       * @param index The index to set the value at.
       * @param value The inputKeys to set.
       * @return This builder for chaining.
       */
      public Builder setInputKeys(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureInputKeysIsMutable();
        inputKeys_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated string input_keys = 5;
       * @param value The inputKeys to add.
       * @return This builder for chaining.
       */
      public Builder addInputKeys(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureInputKeysIsMutable();
        inputKeys_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated string input_keys = 5;
       * @param values The inputKeys to add.
       * @return This builder for chaining.
       */
      public Builder addAllInputKeys(
          java.lang.Iterable values) {
        ensureInputKeysIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, inputKeys_);
        onChanged();
        return this;
      }
      /**
       * repeated string input_keys = 5;
       * @return This builder for chaining.
       */
      public Builder clearInputKeys() {
        inputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
        return this;
      }
      /**
       * repeated string input_keys = 5;
       * @param value The bytes of the inputKeys to add.
       * @return This builder for chaining.
       */
      public Builder addInputKeysBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureInputKeysIsMutable();
        inputKeys_.add(value);
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList outputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureOutputKeysIsMutable() {
        if (!((bitField0_ & 0x00000020) != 0)) {
          outputKeys_ = new com.google.protobuf.LazyStringArrayList(outputKeys_);
          bitField0_ |= 0x00000020;
         }
      }
      /**
       * repeated string output_keys = 6;
       * @return A list containing the outputKeys.
       */
      public com.google.protobuf.ProtocolStringList
          getOutputKeysList() {
        return outputKeys_.getUnmodifiableView();
      }
      /**
       * repeated string output_keys = 6;
       * @return The count of outputKeys.
       */
      public int getOutputKeysCount() {
        return outputKeys_.size();
      }
      /**
       * repeated string output_keys = 6;
       * @param index The index of the element to return.
       * @return The outputKeys at the given index.
       */
      public java.lang.String getOutputKeys(int index) {
        return outputKeys_.get(index);
      }
      /**
       * repeated string output_keys = 6;
       * @param index The index of the value to return.
       * @return The bytes of the outputKeys at the given index.
       */
      public com.google.protobuf.ByteString
          getOutputKeysBytes(int index) {
        return outputKeys_.getByteString(index);
      }
      /**
       * repeated string output_keys = 6;
       * @param index The index to set the value at.
       * @param value The outputKeys to set.
       * @return This builder for chaining.
       */
      public Builder setOutputKeys(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureOutputKeysIsMutable();
        outputKeys_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated string output_keys = 6;
       * @param value The outputKeys to add.
       * @return This builder for chaining.
       */
      public Builder addOutputKeys(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureOutputKeysIsMutable();
        outputKeys_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated string output_keys = 6;
       * @param values The outputKeys to add.
       * @return This builder for chaining.
       */
      public Builder addAllOutputKeys(
          java.lang.Iterable values) {
        ensureOutputKeysIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, outputKeys_);
        onChanged();
        return this;
      }
      /**
       * repeated string output_keys = 6;
       * @return This builder for chaining.
       */
      public Builder clearOutputKeys() {
        outputKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000020);
        onChanged();
        return this;
      }
      /**
       * repeated string output_keys = 6;
       * @param value The bytes of the outputKeys to add.
       * @return This builder for chaining.
       */
      public Builder addOutputKeysBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureOutputKeysIsMutable();
        outputKeys_.add(value);
        onChanged();
        return this;
      }

      private int timeoutPolicy_ = 0;
      /**
       * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
       * @return The enum numeric value on the wire for timeoutPolicy.
       */
      @java.lang.Override public int getTimeoutPolicyValue() {
        return timeoutPolicy_;
      }
      /**
       * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
       * @param value The enum numeric value on the wire for timeoutPolicy to set.
       * @return This builder for chaining.
       */
      public Builder setTimeoutPolicyValue(int value) {
        timeoutPolicy_ = value;
        bitField0_ |= 0x00000040;
        onChanged();
        return this;
      }
      /**
       * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
       * @return The timeoutPolicy.
       */
      @java.lang.Override
      public com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy getTimeoutPolicy() {
        com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy result = com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy.forNumber(timeoutPolicy_);
        return result == null ? com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy.UNRECOGNIZED : result;
      }
      /**
       * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
       * @param value The timeoutPolicy to set.
       * @return This builder for chaining.
       */
      public Builder setTimeoutPolicy(com.netflix.conductor.proto.TaskDefPb.TaskDef.TimeoutPolicy value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000040;
        timeoutPolicy_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .conductor.proto.TaskDef.TimeoutPolicy timeout_policy = 7;
       * @return This builder for chaining.
       */
      public Builder clearTimeoutPolicy() {
        bitField0_ = (bitField0_ & ~0x00000040);
        timeoutPolicy_ = 0;
        onChanged();
        return this;
      }

      private int retryLogic_ = 0;
      /**
       * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
       * @return The enum numeric value on the wire for retryLogic.
       */
      @java.lang.Override public int getRetryLogicValue() {
        return retryLogic_;
      }
      /**
       * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
       * @param value The enum numeric value on the wire for retryLogic to set.
       * @return This builder for chaining.
       */
      public Builder setRetryLogicValue(int value) {
        retryLogic_ = value;
        bitField0_ |= 0x00000080;
        onChanged();
        return this;
      }
      /**
       * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
       * @return The retryLogic.
       */
      @java.lang.Override
      public com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic getRetryLogic() {
        com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic result = com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic.forNumber(retryLogic_);
        return result == null ? com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic.UNRECOGNIZED : result;
      }
      /**
       * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
       * @param value The retryLogic to set.
       * @return This builder for chaining.
       */
      public Builder setRetryLogic(com.netflix.conductor.proto.TaskDefPb.TaskDef.RetryLogic value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000080;
        retryLogic_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .conductor.proto.TaskDef.RetryLogic retry_logic = 8;
       * @return This builder for chaining.
       */
      public Builder clearRetryLogic() {
        bitField0_ = (bitField0_ & ~0x00000080);
        retryLogic_ = 0;
        onChanged();
        return this;
      }

      private int retryDelaySeconds_ ;
      /**
       * int32 retry_delay_seconds = 9;
       * @return The retryDelaySeconds.
       */
      @java.lang.Override
      public int getRetryDelaySeconds() {
        return retryDelaySeconds_;
      }
      /**
       * int32 retry_delay_seconds = 9;
       * @param value The retryDelaySeconds to set.
       * @return This builder for chaining.
       */
      public Builder setRetryDelaySeconds(int value) {
        
        retryDelaySeconds_ = value;
        bitField0_ |= 0x00000100;
        onChanged();
        return this;
      }
      /**
       * int32 retry_delay_seconds = 9;
       * @return This builder for chaining.
       */
      public Builder clearRetryDelaySeconds() {
        bitField0_ = (bitField0_ & ~0x00000100);
        retryDelaySeconds_ = 0;
        onChanged();
        return this;
      }

      private long responseTimeoutSeconds_ ;
      /**
       * int64 response_timeout_seconds = 10;
       * @return The responseTimeoutSeconds.
       */
      @java.lang.Override
      public long getResponseTimeoutSeconds() {
        return responseTimeoutSeconds_;
      }
      /**
       * int64 response_timeout_seconds = 10;
       * @param value The responseTimeoutSeconds to set.
       * @return This builder for chaining.
       */
      public Builder setResponseTimeoutSeconds(long value) {
        
        responseTimeoutSeconds_ = value;
        bitField0_ |= 0x00000200;
        onChanged();
        return this;
      }
      /**
       * int64 response_timeout_seconds = 10;
       * @return This builder for chaining.
       */
      public Builder clearResponseTimeoutSeconds() {
        bitField0_ = (bitField0_ & ~0x00000200);
        responseTimeoutSeconds_ = 0L;
        onChanged();
        return this;
      }

      private int concurrentExecLimit_ ;
      /**
       * int32 concurrent_exec_limit = 11;
       * @return The concurrentExecLimit.
       */
      @java.lang.Override
      public int getConcurrentExecLimit() {
        return concurrentExecLimit_;
      }
      /**
       * int32 concurrent_exec_limit = 11;
       * @param value The concurrentExecLimit to set.
       * @return This builder for chaining.
       */
      public Builder setConcurrentExecLimit(int value) {
        
        concurrentExecLimit_ = value;
        bitField0_ |= 0x00000400;
        onChanged();
        return this;
      }
      /**
       * int32 concurrent_exec_limit = 11;
       * @return This builder for chaining.
       */
      public Builder clearConcurrentExecLimit() {
        bitField0_ = (bitField0_ & ~0x00000400);
        concurrentExecLimit_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, com.google.protobuf.Value> inputTemplate_;
      private com.google.protobuf.MapField
          internalGetInputTemplate() {
        if (inputTemplate_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              InputTemplateDefaultEntryHolder.defaultEntry);
        }
        return inputTemplate_;
      }
      private com.google.protobuf.MapField
          internalGetMutableInputTemplate() {
        if (inputTemplate_ == null) {
          inputTemplate_ = com.google.protobuf.MapField.newMapField(
              InputTemplateDefaultEntryHolder.defaultEntry);
        }
        if (!inputTemplate_.isMutable()) {
          inputTemplate_ = inputTemplate_.copy();
        }
        bitField0_ |= 0x00000800;
        onChanged();
        return inputTemplate_;
      }
      public int getInputTemplateCount() {
        return internalGetInputTemplate().getMap().size();
      }
      /**
       * map<string, .google.protobuf.Value> input_template = 12;
       */
      @java.lang.Override
      public boolean containsInputTemplate(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        return internalGetInputTemplate().getMap().containsKey(key);
      }
      /**
       * Use {@link #getInputTemplateMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map getInputTemplate() {
        return getInputTemplateMap();
      }
      /**
       * map<string, .google.protobuf.Value> input_template = 12;
       */
      @java.lang.Override
      public java.util.Map getInputTemplateMap() {
        return internalGetInputTemplate().getMap();
      }
      /**
       * map<string, .google.protobuf.Value> input_template = 12;
       */
      @java.lang.Override
      public /* nullable */
com.google.protobuf.Value getInputTemplateOrDefault(
          java.lang.String key,
          /* nullable */
com.google.protobuf.Value defaultValue) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map map =
            internalGetInputTemplate().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * map<string, .google.protobuf.Value> input_template = 12;
       */
      @java.lang.Override
      public com.google.protobuf.Value getInputTemplateOrThrow(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map map =
            internalGetInputTemplate().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
      public Builder clearInputTemplate() {
        bitField0_ = (bitField0_ & ~0x00000800);
        internalGetMutableInputTemplate().getMutableMap()
            .clear();
        return this;
      }
      /**
       * map<string, .google.protobuf.Value> input_template = 12;
       */
      public Builder removeInputTemplate(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        internalGetMutableInputTemplate().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map
          getMutableInputTemplate() {
        bitField0_ |= 0x00000800;
        return internalGetMutableInputTemplate().getMutableMap();
      }
      /**
       * map<string, .google.protobuf.Value> input_template = 12;
       */
      public Builder putInputTemplate(
          java.lang.String key,
          com.google.protobuf.Value value) {
        if (key == null) { throw new NullPointerException("map key"); }
        if (value == null) { throw new NullPointerException("map value"); }
        internalGetMutableInputTemplate().getMutableMap()
            .put(key, value);
        bitField0_ |= 0x00000800;
        return this;
      }
      /**
       * map<string, .google.protobuf.Value> input_template = 12;
       */
      public Builder putAllInputTemplate(
          java.util.Map values) {
        internalGetMutableInputTemplate().getMutableMap()
            .putAll(values);
        bitField0_ |= 0x00000800;
        return this;
      }

      private int rateLimitPerFrequency_ ;
      /**
       * int32 rate_limit_per_frequency = 14;
       * @return The rateLimitPerFrequency.
       */
      @java.lang.Override
      public int getRateLimitPerFrequency() {
        return rateLimitPerFrequency_;
      }
      /**
       * int32 rate_limit_per_frequency = 14;
       * @param value The rateLimitPerFrequency to set.
       * @return This builder for chaining.
       */
      public Builder setRateLimitPerFrequency(int value) {
        
        rateLimitPerFrequency_ = value;
        bitField0_ |= 0x00001000;
        onChanged();
        return this;
      }
      /**
       * int32 rate_limit_per_frequency = 14;
       * @return This builder for chaining.
       */
      public Builder clearRateLimitPerFrequency() {
        bitField0_ = (bitField0_ & ~0x00001000);
        rateLimitPerFrequency_ = 0;
        onChanged();
        return this;
      }

      private int rateLimitFrequencyInSeconds_ ;
      /**
       * int32 rate_limit_frequency_in_seconds = 15;
       * @return The rateLimitFrequencyInSeconds.
       */
      @java.lang.Override
      public int getRateLimitFrequencyInSeconds() {
        return rateLimitFrequencyInSeconds_;
      }
      /**
       * int32 rate_limit_frequency_in_seconds = 15;
       * @param value The rateLimitFrequencyInSeconds to set.
       * @return This builder for chaining.
       */
      public Builder setRateLimitFrequencyInSeconds(int value) {
        
        rateLimitFrequencyInSeconds_ = value;
        bitField0_ |= 0x00002000;
        onChanged();
        return this;
      }
      /**
       * int32 rate_limit_frequency_in_seconds = 15;
       * @return This builder for chaining.
       */
      public Builder clearRateLimitFrequencyInSeconds() {
        bitField0_ = (bitField0_ & ~0x00002000);
        rateLimitFrequencyInSeconds_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object isolationGroupId_ = "";
      /**
       * string isolation_group_id = 16;
       * @return The isolationGroupId.
       */
      public java.lang.String getIsolationGroupId() {
        java.lang.Object ref = isolationGroupId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          isolationGroupId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string isolation_group_id = 16;
       * @return The bytes for isolationGroupId.
       */
      public com.google.protobuf.ByteString
          getIsolationGroupIdBytes() {
        java.lang.Object ref = isolationGroupId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          isolationGroupId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string isolation_group_id = 16;
       * @param value The isolationGroupId to set.
       * @return This builder for chaining.
       */
      public Builder setIsolationGroupId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        isolationGroupId_ = value;
        bitField0_ |= 0x00004000;
        onChanged();
        return this;
      }
      /**
       * string isolation_group_id = 16;
       * @return This builder for chaining.
       */
      public Builder clearIsolationGroupId() {
        isolationGroupId_ = getDefaultInstance().getIsolationGroupId();
        bitField0_ = (bitField0_ & ~0x00004000);
        onChanged();
        return this;
      }
      /**
       * string isolation_group_id = 16;
       * @param value The bytes for isolationGroupId to set.
       * @return This builder for chaining.
       */
      public Builder setIsolationGroupIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        isolationGroupId_ = value;
        bitField0_ |= 0x00004000;
        onChanged();
        return this;
      }

      private java.lang.Object executionNameSpace_ = "";
      /**
       * string execution_name_space = 17;
       * @return The executionNameSpace.
       */
      public java.lang.String getExecutionNameSpace() {
        java.lang.Object ref = executionNameSpace_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          executionNameSpace_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string execution_name_space = 17;
       * @return The bytes for executionNameSpace.
       */
      public com.google.protobuf.ByteString
          getExecutionNameSpaceBytes() {
        java.lang.Object ref = executionNameSpace_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          executionNameSpace_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string execution_name_space = 17;
       * @param value The executionNameSpace to set.
       * @return This builder for chaining.
       */
      public Builder setExecutionNameSpace(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        executionNameSpace_ = value;
        bitField0_ |= 0x00008000;
        onChanged();
        return this;
      }
      /**
       * string execution_name_space = 17;
       * @return This builder for chaining.
       */
      public Builder clearExecutionNameSpace() {
        executionNameSpace_ = getDefaultInstance().getExecutionNameSpace();
        bitField0_ = (bitField0_ & ~0x00008000);
        onChanged();
        return this;
      }
      /**
       * string execution_name_space = 17;
       * @param value The bytes for executionNameSpace to set.
       * @return This builder for chaining.
       */
      public Builder setExecutionNameSpaceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        executionNameSpace_ = value;
        bitField0_ |= 0x00008000;
        onChanged();
        return this;
      }

      private java.lang.Object ownerEmail_ = "";
      /**
       * string owner_email = 18;
       * @return The ownerEmail.
       */
      public java.lang.String getOwnerEmail() {
        java.lang.Object ref = ownerEmail_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          ownerEmail_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string owner_email = 18;
       * @return The bytes for ownerEmail.
       */
      public com.google.protobuf.ByteString
          getOwnerEmailBytes() {
        java.lang.Object ref = ownerEmail_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          ownerEmail_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string owner_email = 18;
       * @param value The ownerEmail to set.
       * @return This builder for chaining.
       */
      public Builder setOwnerEmail(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ownerEmail_ = value;
        bitField0_ |= 0x00010000;
        onChanged();
        return this;
      }
      /**
       * string owner_email = 18;
       * @return This builder for chaining.
       */
      public Builder clearOwnerEmail() {
        ownerEmail_ = getDefaultInstance().getOwnerEmail();
        bitField0_ = (bitField0_ & ~0x00010000);
        onChanged();
        return this;
      }
      /**
       * string owner_email = 18;
       * @param value The bytes for ownerEmail to set.
       * @return This builder for chaining.
       */
      public Builder setOwnerEmailBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ownerEmail_ = value;
        bitField0_ |= 0x00010000;
        onChanged();
        return this;
      }

      private int pollTimeoutSeconds_ ;
      /**
       * int32 poll_timeout_seconds = 19;
       * @return The pollTimeoutSeconds.
       */
      @java.lang.Override
      public int getPollTimeoutSeconds() {
        return pollTimeoutSeconds_;
      }
      /**
       * int32 poll_timeout_seconds = 19;
       * @param value The pollTimeoutSeconds to set.
       * @return This builder for chaining.
       */
      public Builder setPollTimeoutSeconds(int value) {
        
        pollTimeoutSeconds_ = value;
        bitField0_ |= 0x00020000;
        onChanged();
        return this;
      }
      /**
       * int32 poll_timeout_seconds = 19;
       * @return This builder for chaining.
       */
      public Builder clearPollTimeoutSeconds() {
        bitField0_ = (bitField0_ & ~0x00020000);
        pollTimeoutSeconds_ = 0;
        onChanged();
        return this;
      }

      private int backoffScaleFactor_ ;
      /**
       * int32 backoff_scale_factor = 20;
       * @return The backoffScaleFactor.
       */
      @java.lang.Override
      public int getBackoffScaleFactor() {
        return backoffScaleFactor_;
      }
      /**
       * int32 backoff_scale_factor = 20;
       * @param value The backoffScaleFactor to set.
       * @return This builder for chaining.
       */
      public Builder setBackoffScaleFactor(int value) {
        
        backoffScaleFactor_ = value;
        bitField0_ |= 0x00040000;
        onChanged();
        return this;
      }
      /**
       * int32 backoff_scale_factor = 20;
       * @return This builder for chaining.
       */
      public Builder clearBackoffScaleFactor() {
        bitField0_ = (bitField0_ & ~0x00040000);
        backoffScaleFactor_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object baseType_ = "";
      /**
       * string base_type = 21;
       * @return The baseType.
       */
      public java.lang.String getBaseType() {
        java.lang.Object ref = baseType_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          baseType_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string base_type = 21;
       * @return The bytes for baseType.
       */
      public com.google.protobuf.ByteString
          getBaseTypeBytes() {
        java.lang.Object ref = baseType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          baseType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string base_type = 21;
       * @param value The baseType to set.
       * @return This builder for chaining.
       */
      public Builder setBaseType(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        baseType_ = value;
        bitField0_ |= 0x00080000;
        onChanged();
        return this;
      }
      /**
       * string base_type = 21;
       * @return This builder for chaining.
       */
      public Builder clearBaseType() {
        baseType_ = getDefaultInstance().getBaseType();
        bitField0_ = (bitField0_ & ~0x00080000);
        onChanged();
        return this;
      }
      /**
       * string base_type = 21;
       * @param value The bytes for baseType to set.
       * @return This builder for chaining.
       */
      public Builder setBaseTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        baseType_ = value;
        bitField0_ |= 0x00080000;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:conductor.proto.TaskDef)
    }

    // @@protoc_insertion_point(class_scope:conductor.proto.TaskDef)
    private static final com.netflix.conductor.proto.TaskDefPb.TaskDef DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.netflix.conductor.proto.TaskDefPb.TaskDef();
    }

    public static com.netflix.conductor.proto.TaskDefPb.TaskDef getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public TaskDef parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.netflix.conductor.proto.TaskDefPb.TaskDef getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_conductor_proto_TaskDef_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_conductor_proto_TaskDef_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_conductor_proto_TaskDef_InputTemplateEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_conductor_proto_TaskDef_InputTemplateEntry_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\023model/taskdef.proto\022\017conductor.proto\032\034" +
      "google/protobuf/struct.proto\"\332\006\n\007TaskDef" +
      "\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\023\n\013r" +
      "etry_count\030\003 \001(\005\022\027\n\017timeout_seconds\030\004 \001(" +
      "\003\022\022\n\ninput_keys\030\005 \003(\t\022\023\n\013output_keys\030\006 \003" +
      "(\t\022>\n\016timeout_policy\030\007 \001(\0162&.conductor.p" +
      "roto.TaskDef.TimeoutPolicy\0228\n\013retry_logi" +
      "c\030\010 \001(\0162#.conductor.proto.TaskDef.RetryL" +
      "ogic\022\033\n\023retry_delay_seconds\030\t \001(\005\022 \n\030res" +
      "ponse_timeout_seconds\030\n \001(\003\022\035\n\025concurren" +
      "t_exec_limit\030\013 \001(\005\022C\n\016input_template\030\014 \003" +
      "(\0132+.conductor.proto.TaskDef.InputTempla" +
      "teEntry\022 \n\030rate_limit_per_frequency\030\016 \001(" +
      "\005\022\'\n\037rate_limit_frequency_in_seconds\030\017 \001" +
      "(\005\022\032\n\022isolation_group_id\030\020 \001(\t\022\034\n\024execut" +
      "ion_name_space\030\021 \001(\t\022\023\n\013owner_email\030\022 \001(" +
      "\t\022\034\n\024poll_timeout_seconds\030\023 \001(\005\022\034\n\024backo" +
      "ff_scale_factor\030\024 \001(\005\022\021\n\tbase_type\030\025 \001(\t" +
      "\032L\n\022InputTemplateEntry\022\013\n\003key\030\001 \001(\t\022%\n\005v" +
      "alue\030\002 \001(\0132\026.google.protobuf.Value:\0028\001\";" +
      "\n\rTimeoutPolicy\022\t\n\005RETRY\020\000\022\017\n\013TIME_OUT_W" +
      "F\020\001\022\016\n\nALERT_ONLY\020\002\"D\n\nRetryLogic\022\t\n\005FIX" +
      "ED\020\000\022\027\n\023EXPONENTIAL_BACKOFF\020\001\022\022\n\016LINEAR_" +
      "BACKOFF\020\002Bd\n\033com.netflix.conductor.proto" +
      "B\tTaskDefPbZ:github.com/netflix/conducto" +
      "r/client/gogrpc/conductor/modelb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.protobuf.StructProto.getDescriptor(),
        });
    internal_static_conductor_proto_TaskDef_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_conductor_proto_TaskDef_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_conductor_proto_TaskDef_descriptor,
        new java.lang.String[] { "Name", "Description", "RetryCount", "TimeoutSeconds", "InputKeys", "OutputKeys", "TimeoutPolicy", "RetryLogic", "RetryDelaySeconds", "ResponseTimeoutSeconds", "ConcurrentExecLimit", "InputTemplate", "RateLimitPerFrequency", "RateLimitFrequencyInSeconds", "IsolationGroupId", "ExecutionNameSpace", "OwnerEmail", "PollTimeoutSeconds", "BackoffScaleFactor", "BaseType", });
    internal_static_conductor_proto_TaskDef_InputTemplateEntry_descriptor =
      internal_static_conductor_proto_TaskDef_descriptor.getNestedTypes().get(0);
    internal_static_conductor_proto_TaskDef_InputTemplateEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_conductor_proto_TaskDef_InputTemplateEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    com.google.protobuf.StructProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy