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

ai.promoted.proto.delivery.LeafExpression 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.LeafExpression}
 */
public final class LeafExpression extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:delivery.LeafExpression)
    LeafExpressionOrBuilder {
private static final long serialVersionUID = 0L;
  // Use LeafExpression.newBuilder() to construct.
  private LeafExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private LeafExpression() {
    lookups_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private LeafExpression(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    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: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              lookups_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            lookups_.add(
                input.readMessage(ai.promoted.proto.delivery.Lookup.parser(), extensionRegistry));
            break;
          }
          case 21: {

            default_ = input.readFloat();
            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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        lookups_ = java.util.Collections.unmodifiableList(lookups_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return ai.promoted.proto.delivery.Blender.internal_static_delivery_LeafExpression_descriptor;
  }

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

  public static final int LOOKUPS_FIELD_NUMBER = 1;
  private java.util.List lookups_;
  /**
   * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
   */
  @java.lang.Override
  public java.util.List getLookupsList() {
    return lookups_;
  }
  /**
   * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
   */
  @java.lang.Override
  public java.util.List 
      getLookupsOrBuilderList() {
    return lookups_;
  }
  /**
   * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
   */
  @java.lang.Override
  public int getLookupsCount() {
    return lookups_.size();
  }
  /**
   * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
   */
  @java.lang.Override
  public ai.promoted.proto.delivery.Lookup getLookups(int index) {
    return lookups_.get(index);
  }
  /**
   * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
   */
  @java.lang.Override
  public ai.promoted.proto.delivery.LookupOrBuilder getLookupsOrBuilder(
      int index) {
    return lookups_.get(index);
  }

  public static final int DEFAULT_FIELD_NUMBER = 2;
  private float default_;
  /**
   * float default = 2 [json_name = "default"];
   * @return The default.
   */
  @java.lang.Override
  public float getDefault() {
    return default_;
  }

  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 {
    for (int i = 0; i < lookups_.size(); i++) {
      output.writeMessage(1, lookups_.get(i));
    }
    if (default_ != 0F) {
      output.writeFloat(2, default_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < lookups_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, lookups_.get(i));
    }
    if (default_ != 0F) {
      size += com.google.protobuf.CodedOutputStream
        .computeFloatSize(2, default_);
    }
    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.LeafExpression)) {
      return super.equals(obj);
    }
    ai.promoted.proto.delivery.LeafExpression other = (ai.promoted.proto.delivery.LeafExpression) obj;

    if (!getLookupsList()
        .equals(other.getLookupsList())) return false;
    if (java.lang.Float.floatToIntBits(getDefault())
        != java.lang.Float.floatToIntBits(
            other.getDefault())) 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 (getLookupsCount() > 0) {
      hash = (37 * hash) + LOOKUPS_FIELD_NUMBER;
      hash = (53 * hash) + getLookupsList().hashCode();
    }
    hash = (37 * hash) + DEFAULT_FIELD_NUMBER;
    hash = (53 * hash) + java.lang.Float.floatToIntBits(
        getDefault());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getLookupsFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (lookupsBuilder_ == null) {
        lookups_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        lookupsBuilder_.clear();
      }
      default_ = 0F;

      return this;
    }

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

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

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

    @java.lang.Override
    public ai.promoted.proto.delivery.LeafExpression buildPartial() {
      ai.promoted.proto.delivery.LeafExpression result = new ai.promoted.proto.delivery.LeafExpression(this);
      int from_bitField0_ = bitField0_;
      if (lookupsBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          lookups_ = java.util.Collections.unmodifiableList(lookups_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.lookups_ = lookups_;
      } else {
        result.lookups_ = lookupsBuilder_.build();
      }
      result.default_ = default_;
      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.LeafExpression) {
        return mergeFrom((ai.promoted.proto.delivery.LeafExpression)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(ai.promoted.proto.delivery.LeafExpression other) {
      if (other == ai.promoted.proto.delivery.LeafExpression.getDefaultInstance()) return this;
      if (lookupsBuilder_ == null) {
        if (!other.lookups_.isEmpty()) {
          if (lookups_.isEmpty()) {
            lookups_ = other.lookups_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureLookupsIsMutable();
            lookups_.addAll(other.lookups_);
          }
          onChanged();
        }
      } else {
        if (!other.lookups_.isEmpty()) {
          if (lookupsBuilder_.isEmpty()) {
            lookupsBuilder_.dispose();
            lookupsBuilder_ = null;
            lookups_ = other.lookups_;
            bitField0_ = (bitField0_ & ~0x00000001);
            lookupsBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getLookupsFieldBuilder() : null;
          } else {
            lookupsBuilder_.addAllMessages(other.lookups_);
          }
        }
      }
      if (other.getDefault() != 0F) {
        setDefault(other.getDefault());
      }
      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.LeafExpression parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (ai.promoted.proto.delivery.LeafExpression) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.util.List lookups_ =
      java.util.Collections.emptyList();
    private void ensureLookupsIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        lookups_ = new java.util.ArrayList(lookups_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        ai.promoted.proto.delivery.Lookup, ai.promoted.proto.delivery.Lookup.Builder, ai.promoted.proto.delivery.LookupOrBuilder> lookupsBuilder_;

    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public java.util.List getLookupsList() {
      if (lookupsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(lookups_);
      } else {
        return lookupsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public int getLookupsCount() {
      if (lookupsBuilder_ == null) {
        return lookups_.size();
      } else {
        return lookupsBuilder_.getCount();
      }
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public ai.promoted.proto.delivery.Lookup getLookups(int index) {
      if (lookupsBuilder_ == null) {
        return lookups_.get(index);
      } else {
        return lookupsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder setLookups(
        int index, ai.promoted.proto.delivery.Lookup value) {
      if (lookupsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLookupsIsMutable();
        lookups_.set(index, value);
        onChanged();
      } else {
        lookupsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder setLookups(
        int index, ai.promoted.proto.delivery.Lookup.Builder builderForValue) {
      if (lookupsBuilder_ == null) {
        ensureLookupsIsMutable();
        lookups_.set(index, builderForValue.build());
        onChanged();
      } else {
        lookupsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder addLookups(ai.promoted.proto.delivery.Lookup value) {
      if (lookupsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLookupsIsMutable();
        lookups_.add(value);
        onChanged();
      } else {
        lookupsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder addLookups(
        int index, ai.promoted.proto.delivery.Lookup value) {
      if (lookupsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLookupsIsMutable();
        lookups_.add(index, value);
        onChanged();
      } else {
        lookupsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder addLookups(
        ai.promoted.proto.delivery.Lookup.Builder builderForValue) {
      if (lookupsBuilder_ == null) {
        ensureLookupsIsMutable();
        lookups_.add(builderForValue.build());
        onChanged();
      } else {
        lookupsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder addLookups(
        int index, ai.promoted.proto.delivery.Lookup.Builder builderForValue) {
      if (lookupsBuilder_ == null) {
        ensureLookupsIsMutable();
        lookups_.add(index, builderForValue.build());
        onChanged();
      } else {
        lookupsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder addAllLookups(
        java.lang.Iterable values) {
      if (lookupsBuilder_ == null) {
        ensureLookupsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, lookups_);
        onChanged();
      } else {
        lookupsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder clearLookups() {
      if (lookupsBuilder_ == null) {
        lookups_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        lookupsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public Builder removeLookups(int index) {
      if (lookupsBuilder_ == null) {
        ensureLookupsIsMutable();
        lookups_.remove(index);
        onChanged();
      } else {
        lookupsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public ai.promoted.proto.delivery.Lookup.Builder getLookupsBuilder(
        int index) {
      return getLookupsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public ai.promoted.proto.delivery.LookupOrBuilder getLookupsOrBuilder(
        int index) {
      if (lookupsBuilder_ == null) {
        return lookups_.get(index);  } else {
        return lookupsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public java.util.List 
         getLookupsOrBuilderList() {
      if (lookupsBuilder_ != null) {
        return lookupsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(lookups_);
      }
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public ai.promoted.proto.delivery.Lookup.Builder addLookupsBuilder() {
      return getLookupsFieldBuilder().addBuilder(
          ai.promoted.proto.delivery.Lookup.getDefaultInstance());
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public ai.promoted.proto.delivery.Lookup.Builder addLookupsBuilder(
        int index) {
      return getLookupsFieldBuilder().addBuilder(
          index, ai.promoted.proto.delivery.Lookup.getDefaultInstance());
    }
    /**
     * repeated .delivery.Lookup lookups = 1 [json_name = "lookups"];
     */
    public java.util.List 
         getLookupsBuilderList() {
      return getLookupsFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        ai.promoted.proto.delivery.Lookup, ai.promoted.proto.delivery.Lookup.Builder, ai.promoted.proto.delivery.LookupOrBuilder> 
        getLookupsFieldBuilder() {
      if (lookupsBuilder_ == null) {
        lookupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            ai.promoted.proto.delivery.Lookup, ai.promoted.proto.delivery.Lookup.Builder, ai.promoted.proto.delivery.LookupOrBuilder>(
                lookups_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        lookups_ = null;
      }
      return lookupsBuilder_;
    }

    private float default_ ;
    /**
     * float default = 2 [json_name = "default"];
     * @return The default.
     */
    @java.lang.Override
    public float getDefault() {
      return default_;
    }
    /**
     * float default = 2 [json_name = "default"];
     * @param value The default to set.
     * @return This builder for chaining.
     */
    public Builder setDefault(float value) {
      
      default_ = value;
      onChanged();
      return this;
    }
    /**
     * float default = 2 [json_name = "default"];
     * @return This builder for chaining.
     */
    public Builder clearDefault() {
      
      default_ = 0F;
      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:delivery.LeafExpression)
  }

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

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

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public LeafExpression parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new LeafExpression(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.LeafExpression getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy