content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // NO CHECKED-IN PROTOBUF GENCODE
  // source: messages.proto
  // Protobuf Java Version: 4.28.2
  
  package finsky.protos;
  
  /**
   * Protobuf type {@code finsky.protos.PreFetch}
   */
  public  final class PreFetch extends
      com.google.protobuf.GeneratedMessageLite<
          PreFetch, PreFetch.Builder> implements
      // @@protoc_insertion_point(message_implements:finsky.protos.PreFetch)
      PreFetchOrBuilder {
    private PreFetch() {
      url_ = "";
      etag_ = "";
    }
    private int bitField0_;
    public static final int URL_FIELD_NUMBER = 1;
    private java.lang.String url_;
    /**
     * <code>optional string url = 1;</code>
     * @return Whether the url field is set.
     */
    @java.lang.Override
    public boolean hasUrl() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional string url = 1;</code>
     * @return The url.
     */
    @java.lang.Override
    public java.lang.String getUrl() {
      return url_;
    }
    /**
     * <code>optional string url = 1;</code>
     * @return The bytes for url.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUrlBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(url_);
    }
    /**
     * <code>optional string url = 1;</code>
     * @param value The url to set.
     */
    private void setUrl(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
    bitField0_ |= 0x00000001;
      url_ = value;
    }
    /**
     * <code>optional string url = 1;</code>
     */
    private void clearUrl() {
      bitField0_ = (bitField0_ & ~0x00000001);
      url_ = getDefaultInstance().getUrl();
    }
    /**
     * <code>optional string url = 1;</code>
     * @param value The bytes for url to set.
     */
    private void setUrlBytes(
        com.google.protobuf.ByteString value) {
      url_ = value.toStringUtf8();
      bitField0_ |= 0x00000001;
    }
  
    public static final int RESPONSE_FIELD_NUMBER = 2;
    private finsky.protos.ResponseWrapper response_;
    /**
     * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
     */
    @java.lang.Override
    public boolean hasResponse() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
     */
    @java.lang.Override
    public finsky.protos.ResponseWrapper getResponse() {
      return response_ == null ? finsky.protos.ResponseWrapper.getDefaultInstance() : response_;
    }
    /**
     * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
     */
    private void setResponse(finsky.protos.ResponseWrapper value) {
      value.getClass();
    response_ = value;
      bitField0_ |= 0x00000002;
      }
    /**
     * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeResponse(finsky.protos.ResponseWrapper value) {
      value.getClass();
    if (response_ != null &&
          response_ != finsky.protos.ResponseWrapper.getDefaultInstance()) {
        response_ =
          finsky.protos.ResponseWrapper.newBuilder(response_).mergeFrom(value).buildPartial();
      } else {
        response_ = value;
      }
      bitField0_ |= 0x00000002;
    }
    /**
     * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
     */
    private void clearResponse() {  response_ = null;
      bitField0_ = (bitField0_ & ~0x00000002);
    }
  
    public static final int ETAG_FIELD_NUMBER = 3;
    private java.lang.String etag_;
    /**
     * <code>optional string etag = 3;</code>
     * @return Whether the etag field is set.
     */
    @java.lang.Override
    public boolean hasEtag() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>optional string etag = 3;</code>
     * @return The etag.
     */
    @java.lang.Override
    public java.lang.String getEtag() {
      return etag_;
    }
    /**
     * <code>optional string etag = 3;</code>
     * @return The bytes for etag.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getEtagBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(etag_);
    }
    /**
     * <code>optional string etag = 3;</code>
     * @param value The etag to set.
     */
    private void setEtag(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
    bitField0_ |= 0x00000004;
      etag_ = value;
    }
    /**
     * <code>optional string etag = 3;</code>
     */
    private void clearEtag() {
      bitField0_ = (bitField0_ & ~0x00000004);
      etag_ = getDefaultInstance().getEtag();
    }
    /**
     * <code>optional string etag = 3;</code>
     * @param value The bytes for etag to set.
     */
    private void setEtagBytes(
        com.google.protobuf.ByteString value) {
      etag_ = value.toStringUtf8();
      bitField0_ |= 0x00000004;
    }
  
    public static final int TTL_FIELD_NUMBER = 4;
    private long ttl_;
    /**
     * <code>optional int64 ttl = 4;</code>
     * @return Whether the ttl field is set.
     */
    @java.lang.Override
    public boolean hasTtl() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>optional int64 ttl = 4;</code>
     * @return The ttl.
     */
    @java.lang.Override
    public long getTtl() {
      return ttl_;
    }
    /**
     * <code>optional int64 ttl = 4;</code>
     * @param value The ttl to set.
     */
    private void setTtl(long value) {
      bitField0_ |= 0x00000008;
      ttl_ = value;
    }
    /**
     * <code>optional int64 ttl = 4;</code>
     */
    private void clearTtl() {
      bitField0_ = (bitField0_ & ~0x00000008);
      ttl_ = 0L;
    }
  
    public static final int SOFTTTL_FIELD_NUMBER = 5;
    private long softTtl_;
    /**
     * <code>optional int64 softTtl = 5;</code>
     * @return Whether the softTtl field is set.
     */
    @java.lang.Override
    public boolean hasSoftTtl() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <code>optional int64 softTtl = 5;</code>
     * @return The softTtl.
     */
    @java.lang.Override
    public long getSoftTtl() {
      return softTtl_;
    }
    /**
     * <code>optional int64 softTtl = 5;</code>
     * @param value The softTtl to set.
     */
    private void setSoftTtl(long value) {
      bitField0_ |= 0x00000010;
      softTtl_ = value;
    }
    /**
     * <code>optional int64 softTtl = 5;</code>
     */
    private void clearSoftTtl() {
      bitField0_ = (bitField0_ & ~0x00000010);
      softTtl_ = 0L;
    }
  
    public static finsky.protos.PreFetch parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.PreFetch parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.PreFetch parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.PreFetch parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.PreFetch parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.PreFetch parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.PreFetch parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static finsky.protos.PreFetch parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
  
    public static finsky.protos.PreFetch parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
  
    public static finsky.protos.PreFetch parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static finsky.protos.PreFetch parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static finsky.protos.PreFetch parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
  
    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(finsky.protos.PreFetch prototype) {
      return DEFAULT_INSTANCE.createBuilder(prototype);
    }
  
    /**
     * Protobuf type {@code finsky.protos.PreFetch}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          finsky.protos.PreFetch, Builder> implements
        // @@protoc_insertion_point(builder_implements:finsky.protos.PreFetch)
        finsky.protos.PreFetchOrBuilder {
      // Construct using finsky.protos.PreFetch.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }
  
  
      /**
       * <code>optional string url = 1;</code>
       * @return Whether the url field is set.
       */
      @java.lang.Override
      public boolean hasUrl() {
        return instance.hasUrl();
      }
      /**
       * <code>optional string url = 1;</code>
       * @return The url.
       */
      @java.lang.Override
      public java.lang.String getUrl() {
        return instance.getUrl();
      }
      /**
       * <code>optional string url = 1;</code>
       * @return The bytes for url.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getUrlBytes() {
        return instance.getUrlBytes();
      }
      /**
       * <code>optional string url = 1;</code>
       * @param value The url to set.
       * @return This builder for chaining.
       */
      public Builder setUrl(
          java.lang.String value) {
        copyOnWrite();
        instance.setUrl(value);
        return this;
      }
      /**
       * <code>optional string url = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearUrl() {
        copyOnWrite();
        instance.clearUrl();
        return this;
      }
      /**
       * <code>optional string url = 1;</code>
       * @param value The bytes for url to set.
       * @return This builder for chaining.
       */
      public Builder setUrlBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setUrlBytes(value);
        return this;
      }
  
      /**
       * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
       */
      @java.lang.Override
      public boolean hasResponse() {
        return instance.hasResponse();
      }
      /**
       * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
       */
      @java.lang.Override
      public finsky.protos.ResponseWrapper getResponse() {
        return instance.getResponse();
      }
      /**
       * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
       */
      public Builder setResponse(finsky.protos.ResponseWrapper value) {
        copyOnWrite();
        instance.setResponse(value);
        return this;
        }
      /**
       * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
       */
      public Builder setResponse(
          finsky.protos.ResponseWrapper.Builder builderForValue) {
        copyOnWrite();
        instance.setResponse(builderForValue.build());
        return this;
      }
      /**
       * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
       */
      public Builder mergeResponse(finsky.protos.ResponseWrapper value) {
        copyOnWrite();
        instance.mergeResponse(value);
        return this;
      }
      /**
       * <code>optional .finsky.protos.ResponseWrapper response = 2;</code>
       */
      public Builder clearResponse() {  copyOnWrite();
        instance.clearResponse();
        return this;
      }
  
      /**
       * <code>optional string etag = 3;</code>
       * @return Whether the etag field is set.
       */
      @java.lang.Override
      public boolean hasEtag() {
        return instance.hasEtag();
      }
      /**
       * <code>optional string etag = 3;</code>
       * @return The etag.
       */
      @java.lang.Override
      public java.lang.String getEtag() {
        return instance.getEtag();
      }
      /**
       * <code>optional string etag = 3;</code>
       * @return The bytes for etag.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getEtagBytes() {
        return instance.getEtagBytes();
      }
      /**
       * <code>optional string etag = 3;</code>
       * @param value The etag to set.
       * @return This builder for chaining.
       */
      public Builder setEtag(
          java.lang.String value) {
        copyOnWrite();
        instance.setEtag(value);
        return this;
      }
      /**
       * <code>optional string etag = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearEtag() {
        copyOnWrite();
        instance.clearEtag();
        return this;
      }
      /**
       * <code>optional string etag = 3;</code>
       * @param value The bytes for etag to set.
       * @return This builder for chaining.
       */
      public Builder setEtagBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setEtagBytes(value);
        return this;
      }
  
      /**
       * <code>optional int64 ttl = 4;</code>
       * @return Whether the ttl field is set.
       */
      @java.lang.Override
      public boolean hasTtl() {
        return instance.hasTtl();
      }
      /**
       * <code>optional int64 ttl = 4;</code>
       * @return The ttl.
       */
      @java.lang.Override
      public long getTtl() {
        return instance.getTtl();
      }
      /**
       * <code>optional int64 ttl = 4;</code>
       * @param value The ttl to set.
       * @return This builder for chaining.
       */
      public Builder setTtl(long value) {
        copyOnWrite();
        instance.setTtl(value);
        return this;
      }
      /**
       * <code>optional int64 ttl = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearTtl() {
        copyOnWrite();
        instance.clearTtl();
        return this;
      }
  
      /**
       * <code>optional int64 softTtl = 5;</code>
       * @return Whether the softTtl field is set.
       */
      @java.lang.Override
      public boolean hasSoftTtl() {
        return instance.hasSoftTtl();
      }
      /**
       * <code>optional int64 softTtl = 5;</code>
       * @return The softTtl.
       */
      @java.lang.Override
      public long getSoftTtl() {
        return instance.getSoftTtl();
      }
      /**
       * <code>optional int64 softTtl = 5;</code>
       * @param value The softTtl to set.
       * @return This builder for chaining.
       */
      public Builder setSoftTtl(long value) {
        copyOnWrite();
        instance.setSoftTtl(value);
        return this;
      }
      /**
       * <code>optional int64 softTtl = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearSoftTtl() {
        copyOnWrite();
        instance.clearSoftTtl();
        return this;
      }
  
      // @@protoc_insertion_point(builder_scope:finsky.protos.PreFetch)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new finsky.protos.PreFetch();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "bitField0_",
              "url_",
              "response_",
              "etag_",
              "ttl_",
              "softTtl_",
            };
            java.lang.String info =
                "\u0001\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
                "\u1009\u0001\u0003\u1008\u0002\u0004\u1002\u0003\u0005\u1002\u0004";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<finsky.protos.PreFetch> parser = PARSER;
          if (parser == null) {
            synchronized (finsky.protos.PreFetch.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<finsky.protos.PreFetch>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }
  
  
    // @@protoc_insertion_point(class_scope:finsky.protos.PreFetch)
    private static final finsky.protos.PreFetch DEFAULT_INSTANCE;
    static {
      PreFetch defaultInstance = new PreFetch();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        PreFetch.class, defaultInstance);
    }
  
    public static finsky.protos.PreFetch getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
  
    private static volatile com.google.protobuf.Parser<PreFetch> PARSER;
  
    public static com.google.protobuf.Parser<PreFetch> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }
  
  