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

ai.promoted.proto.delivery.BlenderConfig Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: proto/delivery/blender.proto

package ai.promoted.proto.delivery;

/**
 * Protobuf type {@code delivery.BlenderConfig}
 */
public final class BlenderConfig extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:delivery.BlenderConfig)
    BlenderConfigOrBuilder {
private static final long serialVersionUID = 0L;
  // Use BlenderConfig.newBuilder() to construct.
  private BlenderConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private BlenderConfig() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private BlenderConfig(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            ai.promoted.proto.delivery.BlenderExpression.Builder subBuilder = null;
            if (qualityScore_ != null) {
              subBuilder = qualityScore_.toBuilder();
            }
            qualityScore_ = input.readMessage(ai.promoted.proto.delivery.BlenderExpression.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(qualityScore_);
              qualityScore_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            ai.promoted.proto.delivery.BlenderSortKey.Builder subBuilder = null;
            if (sortKey_ != null) {
              subBuilder = sortKey_.toBuilder();
            }
            sortKey_ = input.readMessage(ai.promoted.proto.delivery.BlenderSortKey.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(sortKey_);
              sortKey_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return ai.promoted.proto.delivery.Blender.internal_static_delivery_BlenderConfig_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return ai.promoted.proto.delivery.Blender.internal_static_delivery_BlenderConfig_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            ai.promoted.proto.delivery.BlenderConfig.class, ai.promoted.proto.delivery.BlenderConfig.Builder.class);
  }

  public static final int QUALITY_SCORE_FIELD_NUMBER = 1;
  private ai.promoted.proto.delivery.BlenderExpression qualityScore_;
  /**
   * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
   * @return Whether the qualityScore field is set.
   */
  @java.lang.Override
  public boolean hasQualityScore() {
    return qualityScore_ != null;
  }
  /**
   * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
   * @return The qualityScore.
   */
  @java.lang.Override
  public ai.promoted.proto.delivery.BlenderExpression getQualityScore() {
    return qualityScore_ == null ? ai.promoted.proto.delivery.BlenderExpression.getDefaultInstance() : qualityScore_;
  }
  /**
   * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
   */
  @java.lang.Override
  public ai.promoted.proto.delivery.BlenderExpressionOrBuilder getQualityScoreOrBuilder() {
    return getQualityScore();
  }

  public static final int SORT_KEY_FIELD_NUMBER = 2;
  private ai.promoted.proto.delivery.BlenderSortKey sortKey_;
  /**
   * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
   * @return Whether the sortKey field is set.
   */
  @java.lang.Override
  public boolean hasSortKey() {
    return sortKey_ != null;
  }
  /**
   * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
   * @return The sortKey.
   */
  @java.lang.Override
  public ai.promoted.proto.delivery.BlenderSortKey getSortKey() {
    return sortKey_ == null ? ai.promoted.proto.delivery.BlenderSortKey.getDefaultInstance() : sortKey_;
  }
  /**
   * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
   */
  @java.lang.Override
  public ai.promoted.proto.delivery.BlenderSortKeyOrBuilder getSortKeyOrBuilder() {
    return getSortKey();
  }

  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 (qualityScore_ != null) {
      output.writeMessage(1, getQualityScore());
    }
    if (sortKey_ != null) {
      output.writeMessage(2, getSortKey());
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (qualityScore_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getQualityScore());
    }
    if (sortKey_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getSortKey());
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof ai.promoted.proto.delivery.BlenderConfig)) {
      return super.equals(obj);
    }
    ai.promoted.proto.delivery.BlenderConfig other = (ai.promoted.proto.delivery.BlenderConfig) obj;

    if (hasQualityScore() != other.hasQualityScore()) return false;
    if (hasQualityScore()) {
      if (!getQualityScore()
          .equals(other.getQualityScore())) return false;
    }
    if (hasSortKey() != other.hasSortKey()) return false;
    if (hasSortKey()) {
      if (!getSortKey()
          .equals(other.getSortKey())) return false;
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (hasQualityScore()) {
      hash = (37 * hash) + QUALITY_SCORE_FIELD_NUMBER;
      hash = (53 * hash) + getQualityScore().hashCode();
    }
    if (hasSortKey()) {
      hash = (37 * hash) + SORT_KEY_FIELD_NUMBER;
      hash = (53 * hash) + getSortKey().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static ai.promoted.proto.delivery.BlenderConfig parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static ai.promoted.proto.delivery.BlenderConfig parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static ai.promoted.proto.delivery.BlenderConfig parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static ai.promoted.proto.delivery.BlenderConfig parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static ai.promoted.proto.delivery.BlenderConfig parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static ai.promoted.proto.delivery.BlenderConfig parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static ai.promoted.proto.delivery.BlenderConfig parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static ai.promoted.proto.delivery.BlenderConfig 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 ai.promoted.proto.delivery.BlenderConfig parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static ai.promoted.proto.delivery.BlenderConfig 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 ai.promoted.proto.delivery.BlenderConfig parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static ai.promoted.proto.delivery.BlenderConfig 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(ai.promoted.proto.delivery.BlenderConfig 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 delivery.BlenderConfig}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:delivery.BlenderConfig)
      ai.promoted.proto.delivery.BlenderConfigOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return ai.promoted.proto.delivery.Blender.internal_static_delivery_BlenderConfig_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return ai.promoted.proto.delivery.Blender.internal_static_delivery_BlenderConfig_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              ai.promoted.proto.delivery.BlenderConfig.class, ai.promoted.proto.delivery.BlenderConfig.Builder.class);
    }

    // Construct using ai.promoted.proto.delivery.BlenderConfig.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (qualityScoreBuilder_ == null) {
        qualityScore_ = null;
      } else {
        qualityScore_ = null;
        qualityScoreBuilder_ = null;
      }
      if (sortKeyBuilder_ == null) {
        sortKey_ = null;
      } else {
        sortKey_ = null;
        sortKeyBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return ai.promoted.proto.delivery.Blender.internal_static_delivery_BlenderConfig_descriptor;
    }

    @java.lang.Override
    public ai.promoted.proto.delivery.BlenderConfig getDefaultInstanceForType() {
      return ai.promoted.proto.delivery.BlenderConfig.getDefaultInstance();
    }

    @java.lang.Override
    public ai.promoted.proto.delivery.BlenderConfig build() {
      ai.promoted.proto.delivery.BlenderConfig result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public ai.promoted.proto.delivery.BlenderConfig buildPartial() {
      ai.promoted.proto.delivery.BlenderConfig result = new ai.promoted.proto.delivery.BlenderConfig(this);
      if (qualityScoreBuilder_ == null) {
        result.qualityScore_ = qualityScore_;
      } else {
        result.qualityScore_ = qualityScoreBuilder_.build();
      }
      if (sortKeyBuilder_ == null) {
        result.sortKey_ = sortKey_;
      } else {
        result.sortKey_ = sortKeyBuilder_.build();
      }
      onBuilt();
      return result;
    }

    @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 ai.promoted.proto.delivery.BlenderConfig) {
        return mergeFrom((ai.promoted.proto.delivery.BlenderConfig)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(ai.promoted.proto.delivery.BlenderConfig other) {
      if (other == ai.promoted.proto.delivery.BlenderConfig.getDefaultInstance()) return this;
      if (other.hasQualityScore()) {
        mergeQualityScore(other.getQualityScore());
      }
      if (other.hasSortKey()) {
        mergeSortKey(other.getSortKey());
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      ai.promoted.proto.delivery.BlenderConfig parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (ai.promoted.proto.delivery.BlenderConfig) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private ai.promoted.proto.delivery.BlenderExpression qualityScore_;
    private com.google.protobuf.SingleFieldBuilderV3<
        ai.promoted.proto.delivery.BlenderExpression, ai.promoted.proto.delivery.BlenderExpression.Builder, ai.promoted.proto.delivery.BlenderExpressionOrBuilder> qualityScoreBuilder_;
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     * @return Whether the qualityScore field is set.
     */
    public boolean hasQualityScore() {
      return qualityScoreBuilder_ != null || qualityScore_ != null;
    }
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     * @return The qualityScore.
     */
    public ai.promoted.proto.delivery.BlenderExpression getQualityScore() {
      if (qualityScoreBuilder_ == null) {
        return qualityScore_ == null ? ai.promoted.proto.delivery.BlenderExpression.getDefaultInstance() : qualityScore_;
      } else {
        return qualityScoreBuilder_.getMessage();
      }
    }
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     */
    public Builder setQualityScore(ai.promoted.proto.delivery.BlenderExpression value) {
      if (qualityScoreBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        qualityScore_ = value;
        onChanged();
      } else {
        qualityScoreBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     */
    public Builder setQualityScore(
        ai.promoted.proto.delivery.BlenderExpression.Builder builderForValue) {
      if (qualityScoreBuilder_ == null) {
        qualityScore_ = builderForValue.build();
        onChanged();
      } else {
        qualityScoreBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     */
    public Builder mergeQualityScore(ai.promoted.proto.delivery.BlenderExpression value) {
      if (qualityScoreBuilder_ == null) {
        if (qualityScore_ != null) {
          qualityScore_ =
            ai.promoted.proto.delivery.BlenderExpression.newBuilder(qualityScore_).mergeFrom(value).buildPartial();
        } else {
          qualityScore_ = value;
        }
        onChanged();
      } else {
        qualityScoreBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     */
    public Builder clearQualityScore() {
      if (qualityScoreBuilder_ == null) {
        qualityScore_ = null;
        onChanged();
      } else {
        qualityScore_ = null;
        qualityScoreBuilder_ = null;
      }

      return this;
    }
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     */
    public ai.promoted.proto.delivery.BlenderExpression.Builder getQualityScoreBuilder() {
      
      onChanged();
      return getQualityScoreFieldBuilder().getBuilder();
    }
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     */
    public ai.promoted.proto.delivery.BlenderExpressionOrBuilder getQualityScoreOrBuilder() {
      if (qualityScoreBuilder_ != null) {
        return qualityScoreBuilder_.getMessageOrBuilder();
      } else {
        return qualityScore_ == null ?
            ai.promoted.proto.delivery.BlenderExpression.getDefaultInstance() : qualityScore_;
      }
    }
    /**
     * .delivery.BlenderExpression quality_score = 1 [json_name = "qualityScore"];
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        ai.promoted.proto.delivery.BlenderExpression, ai.promoted.proto.delivery.BlenderExpression.Builder, ai.promoted.proto.delivery.BlenderExpressionOrBuilder> 
        getQualityScoreFieldBuilder() {
      if (qualityScoreBuilder_ == null) {
        qualityScoreBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            ai.promoted.proto.delivery.BlenderExpression, ai.promoted.proto.delivery.BlenderExpression.Builder, ai.promoted.proto.delivery.BlenderExpressionOrBuilder>(
                getQualityScore(),
                getParentForChildren(),
                isClean());
        qualityScore_ = null;
      }
      return qualityScoreBuilder_;
    }

    private ai.promoted.proto.delivery.BlenderSortKey sortKey_;
    private com.google.protobuf.SingleFieldBuilderV3<
        ai.promoted.proto.delivery.BlenderSortKey, ai.promoted.proto.delivery.BlenderSortKey.Builder, ai.promoted.proto.delivery.BlenderSortKeyOrBuilder> sortKeyBuilder_;
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     * @return Whether the sortKey field is set.
     */
    public boolean hasSortKey() {
      return sortKeyBuilder_ != null || sortKey_ != null;
    }
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     * @return The sortKey.
     */
    public ai.promoted.proto.delivery.BlenderSortKey getSortKey() {
      if (sortKeyBuilder_ == null) {
        return sortKey_ == null ? ai.promoted.proto.delivery.BlenderSortKey.getDefaultInstance() : sortKey_;
      } else {
        return sortKeyBuilder_.getMessage();
      }
    }
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     */
    public Builder setSortKey(ai.promoted.proto.delivery.BlenderSortKey value) {
      if (sortKeyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        sortKey_ = value;
        onChanged();
      } else {
        sortKeyBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     */
    public Builder setSortKey(
        ai.promoted.proto.delivery.BlenderSortKey.Builder builderForValue) {
      if (sortKeyBuilder_ == null) {
        sortKey_ = builderForValue.build();
        onChanged();
      } else {
        sortKeyBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     */
    public Builder mergeSortKey(ai.promoted.proto.delivery.BlenderSortKey value) {
      if (sortKeyBuilder_ == null) {
        if (sortKey_ != null) {
          sortKey_ =
            ai.promoted.proto.delivery.BlenderSortKey.newBuilder(sortKey_).mergeFrom(value).buildPartial();
        } else {
          sortKey_ = value;
        }
        onChanged();
      } else {
        sortKeyBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     */
    public Builder clearSortKey() {
      if (sortKeyBuilder_ == null) {
        sortKey_ = null;
        onChanged();
      } else {
        sortKey_ = null;
        sortKeyBuilder_ = null;
      }

      return this;
    }
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     */
    public ai.promoted.proto.delivery.BlenderSortKey.Builder getSortKeyBuilder() {
      
      onChanged();
      return getSortKeyFieldBuilder().getBuilder();
    }
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     */
    public ai.promoted.proto.delivery.BlenderSortKeyOrBuilder getSortKeyOrBuilder() {
      if (sortKeyBuilder_ != null) {
        return sortKeyBuilder_.getMessageOrBuilder();
      } else {
        return sortKey_ == null ?
            ai.promoted.proto.delivery.BlenderSortKey.getDefaultInstance() : sortKey_;
      }
    }
    /**
     * .delivery.BlenderSortKey sort_key = 2 [json_name = "sortKey"];
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        ai.promoted.proto.delivery.BlenderSortKey, ai.promoted.proto.delivery.BlenderSortKey.Builder, ai.promoted.proto.delivery.BlenderSortKeyOrBuilder> 
        getSortKeyFieldBuilder() {
      if (sortKeyBuilder_ == null) {
        sortKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            ai.promoted.proto.delivery.BlenderSortKey, ai.promoted.proto.delivery.BlenderSortKey.Builder, ai.promoted.proto.delivery.BlenderSortKeyOrBuilder>(
                getSortKey(),
                getParentForChildren(),
                isClean());
        sortKey_ = null;
      }
      return sortKeyBuilder_;
    }
    @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:delivery.BlenderConfig)
  }

  // @@protoc_insertion_point(class_scope:delivery.BlenderConfig)
  private static final ai.promoted.proto.delivery.BlenderConfig DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new ai.promoted.proto.delivery.BlenderConfig();
  }

  public static ai.promoted.proto.delivery.BlenderConfig getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public BlenderConfig parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new BlenderConfig(input, extensionRegistry);
    }
  };

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

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

  @java.lang.Override
  public ai.promoted.proto.delivery.BlenderConfig getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy