/*
 * Copyright (c) 2020. Kin-Hong Wong. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

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

package object_detection.protos;

public final class Model {
  private Model() {}
  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 DetectionModelOrBuilder extends
      // @@protoc_insertion_point(interface_extends:object_detection.protos.DetectionModel)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
     * @return Whether the fasterRcnn field is set.
     */
    boolean hasFasterRcnn();
    /**
     * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
     * @return The fasterRcnn.
     */
    object_detection.protos.FasterRcnnOuterClass.FasterRcnn getFasterRcnn();
    /**
     * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
     */
    object_detection.protos.FasterRcnnOuterClass.FasterRcnnOrBuilder getFasterRcnnOrBuilder();

    /**
     * <code>.object_detection.protos.Ssd ssd = 2;</code>
     * @return Whether the ssd field is set.
     */
    boolean hasSsd();
    /**
     * <code>.object_detection.protos.Ssd ssd = 2;</code>
     * @return The ssd.
     */
    object_detection.protos.SsdOuterClass.Ssd getSsd();
    /**
     * <code>.object_detection.protos.Ssd ssd = 2;</code>
     */
    object_detection.protos.SsdOuterClass.SsdOrBuilder getSsdOrBuilder();

    /**
     * <pre>
     * This can be used to define experimental models. To define your own
     * experimental meta architecture, populate a key in the
     * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
     * value to a function that builds your model.
     * </pre>
     *
     * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
     * @return Whether the experimentalModel field is set.
     */
    boolean hasExperimentalModel();
    /**
     * <pre>
     * This can be used to define experimental models. To define your own
     * experimental meta architecture, populate a key in the
     * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
     * value to a function that builds your model.
     * </pre>
     *
     * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
     * @return The experimentalModel.
     */
    object_detection.protos.Model.ExperimentalModel getExperimentalModel();
    /**
     * <pre>
     * This can be used to define experimental models. To define your own
     * experimental meta architecture, populate a key in the
     * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
     * value to a function that builds your model.
     * </pre>
     *
     * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
     */
    object_detection.protos.Model.ExperimentalModelOrBuilder getExperimentalModelOrBuilder();

    /**
     * <code>.object_detection.protos.CenterNet center_net = 4;</code>
     * @return Whether the centerNet field is set.
     */
    boolean hasCenterNet();
    /**
     * <code>.object_detection.protos.CenterNet center_net = 4;</code>
     * @return The centerNet.
     */
    object_detection.protos.CenterNetOuterClass.CenterNet getCenterNet();
    /**
     * <code>.object_detection.protos.CenterNet center_net = 4;</code>
     */
    object_detection.protos.CenterNetOuterClass.CenterNetOrBuilder getCenterNetOrBuilder();

    public object_detection.protos.Model.DetectionModel.ModelCase getModelCase();
  }
  /**
   * <pre>
   * Top level configuration for DetectionModels.
   * </pre>
   *
   * Protobuf type {@code object_detection.protos.DetectionModel}
   */
  public static final class DetectionModel extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:object_detection.protos.DetectionModel)
      DetectionModelOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DetectionModel.newBuilder() to construct.
    private DetectionModel(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DetectionModel() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DetectionModel(
        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: {
              object_detection.protos.FasterRcnnOuterClass.FasterRcnn.Builder subBuilder = null;
              if (modelCase_ == 1) {
                subBuilder = ((object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_).toBuilder();
              }
              model_ =
                  input.readMessage(object_detection.protos.FasterRcnnOuterClass.FasterRcnn.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_);
                model_ = subBuilder.buildPartial();
              }
              modelCase_ = 1;
              break;
            }
            case 18: {
              object_detection.protos.SsdOuterClass.Ssd.Builder subBuilder = null;
              if (modelCase_ == 2) {
                subBuilder = ((object_detection.protos.SsdOuterClass.Ssd) model_).toBuilder();
              }
              model_ =
                  input.readMessage(object_detection.protos.SsdOuterClass.Ssd.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((object_detection.protos.SsdOuterClass.Ssd) model_);
                model_ = subBuilder.buildPartial();
              }
              modelCase_ = 2;
              break;
            }
            case 26: {
              object_detection.protos.Model.ExperimentalModel.Builder subBuilder = null;
              if (modelCase_ == 3) {
                subBuilder = ((object_detection.protos.Model.ExperimentalModel) model_).toBuilder();
              }
              model_ =
                  input.readMessage(object_detection.protos.Model.ExperimentalModel.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((object_detection.protos.Model.ExperimentalModel) model_);
                model_ = subBuilder.buildPartial();
              }
              modelCase_ = 3;
              break;
            }
            case 34: {
              object_detection.protos.CenterNetOuterClass.CenterNet.Builder subBuilder = null;
              if (modelCase_ == 4) {
                subBuilder = ((object_detection.protos.CenterNetOuterClass.CenterNet) model_).toBuilder();
              }
              model_ =
                  input.readMessage(object_detection.protos.CenterNetOuterClass.CenterNet.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((object_detection.protos.CenterNetOuterClass.CenterNet) model_);
                model_ = subBuilder.buildPartial();
              }
              modelCase_ = 4;
              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 object_detection.protos.Model.internal_static_object_detection_protos_DetectionModel_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return object_detection.protos.Model.internal_static_object_detection_protos_DetectionModel_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              object_detection.protos.Model.DetectionModel.class, object_detection.protos.Model.DetectionModel.Builder.class);
    }

    private int bitField0_;
    private int modelCase_ = 0;
    private java.lang.Object model_;
    public enum ModelCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      FASTER_RCNN(1),
      SSD(2),
      EXPERIMENTAL_MODEL(3),
      CENTER_NET(4),
      MODEL_NOT_SET(0);
      private final int value;
      private ModelCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ModelCase valueOf(int value) {
        return forNumber(value);
      }

      public static ModelCase forNumber(int value) {
        switch (value) {
          case 1: return FASTER_RCNN;
          case 2: return SSD;
          case 3: return EXPERIMENTAL_MODEL;
          case 4: return CENTER_NET;
          case 0: return MODEL_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public ModelCase
    getModelCase() {
      return ModelCase.forNumber(
          modelCase_);
    }

    public static final int FASTER_RCNN_FIELD_NUMBER = 1;
    /**
     * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
     * @return Whether the fasterRcnn field is set.
     */
    @java.lang.Override
    public boolean hasFasterRcnn() {
      return modelCase_ == 1;
    }
    /**
     * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
     * @return The fasterRcnn.
     */
    @java.lang.Override
    public object_detection.protos.FasterRcnnOuterClass.FasterRcnn getFasterRcnn() {
      if (modelCase_ == 1) {
         return (object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_;
      }
      return object_detection.protos.FasterRcnnOuterClass.FasterRcnn.getDefaultInstance();
    }
    /**
     * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
     */
    @java.lang.Override
    public object_detection.protos.FasterRcnnOuterClass.FasterRcnnOrBuilder getFasterRcnnOrBuilder() {
      if (modelCase_ == 1) {
         return (object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_;
      }
      return object_detection.protos.FasterRcnnOuterClass.FasterRcnn.getDefaultInstance();
    }

    public static final int SSD_FIELD_NUMBER = 2;
    /**
     * <code>.object_detection.protos.Ssd ssd = 2;</code>
     * @return Whether the ssd field is set.
     */
    @java.lang.Override
    public boolean hasSsd() {
      return modelCase_ == 2;
    }
    /**
     * <code>.object_detection.protos.Ssd ssd = 2;</code>
     * @return The ssd.
     */
    @java.lang.Override
    public object_detection.protos.SsdOuterClass.Ssd getSsd() {
      if (modelCase_ == 2) {
         return (object_detection.protos.SsdOuterClass.Ssd) model_;
      }
      return object_detection.protos.SsdOuterClass.Ssd.getDefaultInstance();
    }
    /**
     * <code>.object_detection.protos.Ssd ssd = 2;</code>
     */
    @java.lang.Override
    public object_detection.protos.SsdOuterClass.SsdOrBuilder getSsdOrBuilder() {
      if (modelCase_ == 2) {
         return (object_detection.protos.SsdOuterClass.Ssd) model_;
      }
      return object_detection.protos.SsdOuterClass.Ssd.getDefaultInstance();
    }

    public static final int EXPERIMENTAL_MODEL_FIELD_NUMBER = 3;
    /**
     * <pre>
     * This can be used to define experimental models. To define your own
     * experimental meta architecture, populate a key in the
     * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
     * value to a function that builds your model.
     * </pre>
     *
     * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
     * @return Whether the experimentalModel field is set.
     */
    @java.lang.Override
    public boolean hasExperimentalModel() {
      return modelCase_ == 3;
    }
    /**
     * <pre>
     * This can be used to define experimental models. To define your own
     * experimental meta architecture, populate a key in the
     * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
     * value to a function that builds your model.
     * </pre>
     *
     * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
     * @return The experimentalModel.
     */
    @java.lang.Override
    public object_detection.protos.Model.ExperimentalModel getExperimentalModel() {
      if (modelCase_ == 3) {
         return (object_detection.protos.Model.ExperimentalModel) model_;
      }
      return object_detection.protos.Model.ExperimentalModel.getDefaultInstance();
    }
    /**
     * <pre>
     * This can be used to define experimental models. To define your own
     * experimental meta architecture, populate a key in the
     * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
     * value to a function that builds your model.
     * </pre>
     *
     * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
     */
    @java.lang.Override
    public object_detection.protos.Model.ExperimentalModelOrBuilder getExperimentalModelOrBuilder() {
      if (modelCase_ == 3) {
         return (object_detection.protos.Model.ExperimentalModel) model_;
      }
      return object_detection.protos.Model.ExperimentalModel.getDefaultInstance();
    }

    public static final int CENTER_NET_FIELD_NUMBER = 4;
    /**
     * <code>.object_detection.protos.CenterNet center_net = 4;</code>
     * @return Whether the centerNet field is set.
     */
    @java.lang.Override
    public boolean hasCenterNet() {
      return modelCase_ == 4;
    }
    /**
     * <code>.object_detection.protos.CenterNet center_net = 4;</code>
     * @return The centerNet.
     */
    @java.lang.Override
    public object_detection.protos.CenterNetOuterClass.CenterNet getCenterNet() {
      if (modelCase_ == 4) {
         return (object_detection.protos.CenterNetOuterClass.CenterNet) model_;
      }
      return object_detection.protos.CenterNetOuterClass.CenterNet.getDefaultInstance();
    }
    /**
     * <code>.object_detection.protos.CenterNet center_net = 4;</code>
     */
    @java.lang.Override
    public object_detection.protos.CenterNetOuterClass.CenterNetOrBuilder getCenterNetOrBuilder() {
      if (modelCase_ == 4) {
         return (object_detection.protos.CenterNetOuterClass.CenterNet) model_;
      }
      return object_detection.protos.CenterNetOuterClass.CenterNet.getDefaultInstance();
    }

    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 (modelCase_ == 1) {
        output.writeMessage(1, (object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_);
      }
      if (modelCase_ == 2) {
        output.writeMessage(2, (object_detection.protos.SsdOuterClass.Ssd) model_);
      }
      if (modelCase_ == 3) {
        output.writeMessage(3, (object_detection.protos.Model.ExperimentalModel) model_);
      }
      if (modelCase_ == 4) {
        output.writeMessage(4, (object_detection.protos.CenterNetOuterClass.CenterNet) model_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (modelCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, (object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_);
      }
      if (modelCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (object_detection.protos.SsdOuterClass.Ssd) model_);
      }
      if (modelCase_ == 3) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, (object_detection.protos.Model.ExperimentalModel) model_);
      }
      if (modelCase_ == 4) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, (object_detection.protos.CenterNetOuterClass.CenterNet) model_);
      }
      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 object_detection.protos.Model.DetectionModel)) {
        return super.equals(obj);
      }
      object_detection.protos.Model.DetectionModel other = (object_detection.protos.Model.DetectionModel) obj;

      if (!getModelCase().equals(other.getModelCase())) return false;
      switch (modelCase_) {
        case 1:
          if (!getFasterRcnn()
              .equals(other.getFasterRcnn())) return false;
          break;
        case 2:
          if (!getSsd()
              .equals(other.getSsd())) return false;
          break;
        case 3:
          if (!getExperimentalModel()
              .equals(other.getExperimentalModel())) return false;
          break;
        case 4:
          if (!getCenterNet()
              .equals(other.getCenterNet())) return false;
          break;
        case 0:
        default:
      }
      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();
      switch (modelCase_) {
        case 1:
          hash = (37 * hash) + FASTER_RCNN_FIELD_NUMBER;
          hash = (53 * hash) + getFasterRcnn().hashCode();
          break;
        case 2:
          hash = (37 * hash) + SSD_FIELD_NUMBER;
          hash = (53 * hash) + getSsd().hashCode();
          break;
        case 3:
          hash = (37 * hash) + EXPERIMENTAL_MODEL_FIELD_NUMBER;
          hash = (53 * hash) + getExperimentalModel().hashCode();
          break;
        case 4:
          hash = (37 * hash) + CENTER_NET_FIELD_NUMBER;
          hash = (53 * hash) + getCenterNet().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static object_detection.protos.Model.DetectionModel parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static object_detection.protos.Model.DetectionModel parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static object_detection.protos.Model.DetectionModel parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static object_detection.protos.Model.DetectionModel parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static object_detection.protos.Model.DetectionModel parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static object_detection.protos.Model.DetectionModel parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static object_detection.protos.Model.DetectionModel parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static object_detection.protos.Model.DetectionModel 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 object_detection.protos.Model.DetectionModel parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static object_detection.protos.Model.DetectionModel 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 object_detection.protos.Model.DetectionModel parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static object_detection.protos.Model.DetectionModel 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(object_detection.protos.Model.DetectionModel 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;
    }
    /**
     * <pre>
     * Top level configuration for DetectionModels.
     * </pre>
     *
     * Protobuf type {@code object_detection.protos.DetectionModel}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:object_detection.protos.DetectionModel)
        object_detection.protos.Model.DetectionModelOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return object_detection.protos.Model.internal_static_object_detection_protos_DetectionModel_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return object_detection.protos.Model.internal_static_object_detection_protos_DetectionModel_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                object_detection.protos.Model.DetectionModel.class, object_detection.protos.Model.DetectionModel.Builder.class);
      }

      // Construct using object_detection.protos.Model.DetectionModel.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();
        modelCase_ = 0;
        model_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return object_detection.protos.Model.internal_static_object_detection_protos_DetectionModel_descriptor;
      }

      @java.lang.Override
      public object_detection.protos.Model.DetectionModel getDefaultInstanceForType() {
        return object_detection.protos.Model.DetectionModel.getDefaultInstance();
      }

      @java.lang.Override
      public object_detection.protos.Model.DetectionModel build() {
        object_detection.protos.Model.DetectionModel result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public object_detection.protos.Model.DetectionModel buildPartial() {
        object_detection.protos.Model.DetectionModel result = new object_detection.protos.Model.DetectionModel(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (modelCase_ == 1) {
          if (fasterRcnnBuilder_ == null) {
            result.model_ = model_;
          } else {
            result.model_ = fasterRcnnBuilder_.build();
          }
        }
        if (modelCase_ == 2) {
          if (ssdBuilder_ == null) {
            result.model_ = model_;
          } else {
            result.model_ = ssdBuilder_.build();
          }
        }
        if (modelCase_ == 3) {
          if (experimentalModelBuilder_ == null) {
            result.model_ = model_;
          } else {
            result.model_ = experimentalModelBuilder_.build();
          }
        }
        if (modelCase_ == 4) {
          if (centerNetBuilder_ == null) {
            result.model_ = model_;
          } else {
            result.model_ = centerNetBuilder_.build();
          }
        }
        result.bitField0_ = to_bitField0_;
        result.modelCase_ = modelCase_;
        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 object_detection.protos.Model.DetectionModel) {
          return mergeFrom((object_detection.protos.Model.DetectionModel)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(object_detection.protos.Model.DetectionModel other) {
        if (other == object_detection.protos.Model.DetectionModel.getDefaultInstance()) return this;
        switch (other.getModelCase()) {
          case FASTER_RCNN: {
            mergeFasterRcnn(other.getFasterRcnn());
            break;
          }
          case SSD: {
            mergeSsd(other.getSsd());
            break;
          }
          case EXPERIMENTAL_MODEL: {
            mergeExperimentalModel(other.getExperimentalModel());
            break;
          }
          case CENTER_NET: {
            mergeCenterNet(other.getCenterNet());
            break;
          }
          case MODEL_NOT_SET: {
            break;
          }
        }
        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 {
        object_detection.protos.Model.DetectionModel parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (object_detection.protos.Model.DetectionModel) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int modelCase_ = 0;
      private java.lang.Object model_;
      public ModelCase
          getModelCase() {
        return ModelCase.forNumber(
            modelCase_);
      }

      public Builder clearModel() {
        modelCase_ = 0;
        model_ = null;
        onChanged();
        return this;
      }

      private int bitField0_;

      private com.google.protobuf.SingleFieldBuilderV3<
          object_detection.protos.FasterRcnnOuterClass.FasterRcnn, object_detection.protos.FasterRcnnOuterClass.FasterRcnn.Builder, object_detection.protos.FasterRcnnOuterClass.FasterRcnnOrBuilder> fasterRcnnBuilder_;
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       * @return Whether the fasterRcnn field is set.
       */
      @java.lang.Override
      public boolean hasFasterRcnn() {
        return modelCase_ == 1;
      }
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       * @return The fasterRcnn.
       */
      @java.lang.Override
      public object_detection.protos.FasterRcnnOuterClass.FasterRcnn getFasterRcnn() {
        if (fasterRcnnBuilder_ == null) {
          if (modelCase_ == 1) {
            return (object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_;
          }
          return object_detection.protos.FasterRcnnOuterClass.FasterRcnn.getDefaultInstance();
        } else {
          if (modelCase_ == 1) {
            return fasterRcnnBuilder_.getMessage();
          }
          return object_detection.protos.FasterRcnnOuterClass.FasterRcnn.getDefaultInstance();
        }
      }
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       */
      public Builder setFasterRcnn(object_detection.protos.FasterRcnnOuterClass.FasterRcnn value) {
        if (fasterRcnnBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          model_ = value;
          onChanged();
        } else {
          fasterRcnnBuilder_.setMessage(value);
        }
        modelCase_ = 1;
        return this;
      }
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       */
      public Builder setFasterRcnn(
          object_detection.protos.FasterRcnnOuterClass.FasterRcnn.Builder builderForValue) {
        if (fasterRcnnBuilder_ == null) {
          model_ = builderForValue.build();
          onChanged();
        } else {
          fasterRcnnBuilder_.setMessage(builderForValue.build());
        }
        modelCase_ = 1;
        return this;
      }
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       */
      public Builder mergeFasterRcnn(object_detection.protos.FasterRcnnOuterClass.FasterRcnn value) {
        if (fasterRcnnBuilder_ == null) {
          if (modelCase_ == 1 &&
              model_ != object_detection.protos.FasterRcnnOuterClass.FasterRcnn.getDefaultInstance()) {
            model_ = object_detection.protos.FasterRcnnOuterClass.FasterRcnn.newBuilder((object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_)
                .mergeFrom(value).buildPartial();
          } else {
            model_ = value;
          }
          onChanged();
        } else {
          if (modelCase_ == 1) {
            fasterRcnnBuilder_.mergeFrom(value);
          }
          fasterRcnnBuilder_.setMessage(value);
        }
        modelCase_ = 1;
        return this;
      }
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       */
      public Builder clearFasterRcnn() {
        if (fasterRcnnBuilder_ == null) {
          if (modelCase_ == 1) {
            modelCase_ = 0;
            model_ = null;
            onChanged();
          }
        } else {
          if (modelCase_ == 1) {
            modelCase_ = 0;
            model_ = null;
          }
          fasterRcnnBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       */
      public object_detection.protos.FasterRcnnOuterClass.FasterRcnn.Builder getFasterRcnnBuilder() {
        return getFasterRcnnFieldBuilder().getBuilder();
      }
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       */
      @java.lang.Override
      public object_detection.protos.FasterRcnnOuterClass.FasterRcnnOrBuilder getFasterRcnnOrBuilder() {
        if ((modelCase_ == 1) && (fasterRcnnBuilder_ != null)) {
          return fasterRcnnBuilder_.getMessageOrBuilder();
        } else {
          if (modelCase_ == 1) {
            return (object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_;
          }
          return object_detection.protos.FasterRcnnOuterClass.FasterRcnn.getDefaultInstance();
        }
      }
      /**
       * <code>.object_detection.protos.FasterRcnn faster_rcnn = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          object_detection.protos.FasterRcnnOuterClass.FasterRcnn, object_detection.protos.FasterRcnnOuterClass.FasterRcnn.Builder, object_detection.protos.FasterRcnnOuterClass.FasterRcnnOrBuilder>
          getFasterRcnnFieldBuilder() {
        if (fasterRcnnBuilder_ == null) {
          if (!(modelCase_ == 1)) {
            model_ = object_detection.protos.FasterRcnnOuterClass.FasterRcnn.getDefaultInstance();
          }
          fasterRcnnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              object_detection.protos.FasterRcnnOuterClass.FasterRcnn, object_detection.protos.FasterRcnnOuterClass.FasterRcnn.Builder, object_detection.protos.FasterRcnnOuterClass.FasterRcnnOrBuilder>(
                  (object_detection.protos.FasterRcnnOuterClass.FasterRcnn) model_,
                  getParentForChildren(),
                  isClean());
          model_ = null;
        }
        modelCase_ = 1;
        onChanged();;
        return fasterRcnnBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          object_detection.protos.SsdOuterClass.Ssd, object_detection.protos.SsdOuterClass.Ssd.Builder, object_detection.protos.SsdOuterClass.SsdOrBuilder> ssdBuilder_;
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       * @return Whether the ssd field is set.
       */
      @java.lang.Override
      public boolean hasSsd() {
        return modelCase_ == 2;
      }
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       * @return The ssd.
       */
      @java.lang.Override
      public object_detection.protos.SsdOuterClass.Ssd getSsd() {
        if (ssdBuilder_ == null) {
          if (modelCase_ == 2) {
            return (object_detection.protos.SsdOuterClass.Ssd) model_;
          }
          return object_detection.protos.SsdOuterClass.Ssd.getDefaultInstance();
        } else {
          if (modelCase_ == 2) {
            return ssdBuilder_.getMessage();
          }
          return object_detection.protos.SsdOuterClass.Ssd.getDefaultInstance();
        }
      }
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       */
      public Builder setSsd(object_detection.protos.SsdOuterClass.Ssd value) {
        if (ssdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          model_ = value;
          onChanged();
        } else {
          ssdBuilder_.setMessage(value);
        }
        modelCase_ = 2;
        return this;
      }
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       */
      public Builder setSsd(
          object_detection.protos.SsdOuterClass.Ssd.Builder builderForValue) {
        if (ssdBuilder_ == null) {
          model_ = builderForValue.build();
          onChanged();
        } else {
          ssdBuilder_.setMessage(builderForValue.build());
        }
        modelCase_ = 2;
        return this;
      }
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       */
      public Builder mergeSsd(object_detection.protos.SsdOuterClass.Ssd value) {
        if (ssdBuilder_ == null) {
          if (modelCase_ == 2 &&
              model_ != object_detection.protos.SsdOuterClass.Ssd.getDefaultInstance()) {
            model_ = object_detection.protos.SsdOuterClass.Ssd.newBuilder((object_detection.protos.SsdOuterClass.Ssd) model_)
                .mergeFrom(value).buildPartial();
          } else {
            model_ = value;
          }
          onChanged();
        } else {
          if (modelCase_ == 2) {
            ssdBuilder_.mergeFrom(value);
          }
          ssdBuilder_.setMessage(value);
        }
        modelCase_ = 2;
        return this;
      }
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       */
      public Builder clearSsd() {
        if (ssdBuilder_ == null) {
          if (modelCase_ == 2) {
            modelCase_ = 0;
            model_ = null;
            onChanged();
          }
        } else {
          if (modelCase_ == 2) {
            modelCase_ = 0;
            model_ = null;
          }
          ssdBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       */
      public object_detection.protos.SsdOuterClass.Ssd.Builder getSsdBuilder() {
        return getSsdFieldBuilder().getBuilder();
      }
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       */
      @java.lang.Override
      public object_detection.protos.SsdOuterClass.SsdOrBuilder getSsdOrBuilder() {
        if ((modelCase_ == 2) && (ssdBuilder_ != null)) {
          return ssdBuilder_.getMessageOrBuilder();
        } else {
          if (modelCase_ == 2) {
            return (object_detection.protos.SsdOuterClass.Ssd) model_;
          }
          return object_detection.protos.SsdOuterClass.Ssd.getDefaultInstance();
        }
      }
      /**
       * <code>.object_detection.protos.Ssd ssd = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          object_detection.protos.SsdOuterClass.Ssd, object_detection.protos.SsdOuterClass.Ssd.Builder, object_detection.protos.SsdOuterClass.SsdOrBuilder>
          getSsdFieldBuilder() {
        if (ssdBuilder_ == null) {
          if (!(modelCase_ == 2)) {
            model_ = object_detection.protos.SsdOuterClass.Ssd.getDefaultInstance();
          }
          ssdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              object_detection.protos.SsdOuterClass.Ssd, object_detection.protos.SsdOuterClass.Ssd.Builder, object_detection.protos.SsdOuterClass.SsdOrBuilder>(
                  (object_detection.protos.SsdOuterClass.Ssd) model_,
                  getParentForChildren(),
                  isClean());
          model_ = null;
        }
        modelCase_ = 2;
        onChanged();;
        return ssdBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          object_detection.protos.Model.ExperimentalModel, object_detection.protos.Model.ExperimentalModel.Builder, object_detection.protos.Model.ExperimentalModelOrBuilder> experimentalModelBuilder_;
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       * @return Whether the experimentalModel field is set.
       */
      @java.lang.Override
      public boolean hasExperimentalModel() {
        return modelCase_ == 3;
      }
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       * @return The experimentalModel.
       */
      @java.lang.Override
      public object_detection.protos.Model.ExperimentalModel getExperimentalModel() {
        if (experimentalModelBuilder_ == null) {
          if (modelCase_ == 3) {
            return (object_detection.protos.Model.ExperimentalModel) model_;
          }
          return object_detection.protos.Model.ExperimentalModel.getDefaultInstance();
        } else {
          if (modelCase_ == 3) {
            return experimentalModelBuilder_.getMessage();
          }
          return object_detection.protos.Model.ExperimentalModel.getDefaultInstance();
        }
      }
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       */
      public Builder setExperimentalModel(object_detection.protos.Model.ExperimentalModel value) {
        if (experimentalModelBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          model_ = value;
          onChanged();
        } else {
          experimentalModelBuilder_.setMessage(value);
        }
        modelCase_ = 3;
        return this;
      }
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       */
      public Builder setExperimentalModel(
          object_detection.protos.Model.ExperimentalModel.Builder builderForValue) {
        if (experimentalModelBuilder_ == null) {
          model_ = builderForValue.build();
          onChanged();
        } else {
          experimentalModelBuilder_.setMessage(builderForValue.build());
        }
        modelCase_ = 3;
        return this;
      }
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       */
      public Builder mergeExperimentalModel(object_detection.protos.Model.ExperimentalModel value) {
        if (experimentalModelBuilder_ == null) {
          if (modelCase_ == 3 &&
              model_ != object_detection.protos.Model.ExperimentalModel.getDefaultInstance()) {
            model_ = object_detection.protos.Model.ExperimentalModel.newBuilder((object_detection.protos.Model.ExperimentalModel) model_)
                .mergeFrom(value).buildPartial();
          } else {
            model_ = value;
          }
          onChanged();
        } else {
          if (modelCase_ == 3) {
            experimentalModelBuilder_.mergeFrom(value);
          }
          experimentalModelBuilder_.setMessage(value);
        }
        modelCase_ = 3;
        return this;
      }
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       */
      public Builder clearExperimentalModel() {
        if (experimentalModelBuilder_ == null) {
          if (modelCase_ == 3) {
            modelCase_ = 0;
            model_ = null;
            onChanged();
          }
        } else {
          if (modelCase_ == 3) {
            modelCase_ = 0;
            model_ = null;
          }
          experimentalModelBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       */
      public object_detection.protos.Model.ExperimentalModel.Builder getExperimentalModelBuilder() {
        return getExperimentalModelFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       */
      @java.lang.Override
      public object_detection.protos.Model.ExperimentalModelOrBuilder getExperimentalModelOrBuilder() {
        if ((modelCase_ == 3) && (experimentalModelBuilder_ != null)) {
          return experimentalModelBuilder_.getMessageOrBuilder();
        } else {
          if (modelCase_ == 3) {
            return (object_detection.protos.Model.ExperimentalModel) model_;
          }
          return object_detection.protos.Model.ExperimentalModel.getDefaultInstance();
        }
      }
      /**
       * <pre>
       * This can be used to define experimental models. To define your own
       * experimental meta architecture, populate a key in the
       * model_builder.EXPERIMENTAL_META_ARCH_BUILDER_MAP dict and set its
       * value to a function that builds your model.
       * </pre>
       *
       * <code>.object_detection.protos.ExperimentalModel experimental_model = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          object_detection.protos.Model.ExperimentalModel, object_detection.protos.Model.ExperimentalModel.Builder, object_detection.protos.Model.ExperimentalModelOrBuilder>
          getExperimentalModelFieldBuilder() {
        if (experimentalModelBuilder_ == null) {
          if (!(modelCase_ == 3)) {
            model_ = object_detection.protos.Model.ExperimentalModel.getDefaultInstance();
          }
          experimentalModelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              object_detection.protos.Model.ExperimentalModel, object_detection.protos.Model.ExperimentalModel.Builder, object_detection.protos.Model.ExperimentalModelOrBuilder>(
                  (object_detection.protos.Model.ExperimentalModel) model_,
                  getParentForChildren(),
                  isClean());
          model_ = null;
        }
        modelCase_ = 3;
        onChanged();;
        return experimentalModelBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          object_detection.protos.CenterNetOuterClass.CenterNet, object_detection.protos.CenterNetOuterClass.CenterNet.Builder, object_detection.protos.CenterNetOuterClass.CenterNetOrBuilder> centerNetBuilder_;
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       * @return Whether the centerNet field is set.
       */
      @java.lang.Override
      public boolean hasCenterNet() {
        return modelCase_ == 4;
      }
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       * @return The centerNet.
       */
      @java.lang.Override
      public object_detection.protos.CenterNetOuterClass.CenterNet getCenterNet() {
        if (centerNetBuilder_ == null) {
          if (modelCase_ == 4) {
            return (object_detection.protos.CenterNetOuterClass.CenterNet) model_;
          }
          return object_detection.protos.CenterNetOuterClass.CenterNet.getDefaultInstance();
        } else {
          if (modelCase_ == 4) {
            return centerNetBuilder_.getMessage();
          }
          return object_detection.protos.CenterNetOuterClass.CenterNet.getDefaultInstance();
        }
      }
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       */
      public Builder setCenterNet(object_detection.protos.CenterNetOuterClass.CenterNet value) {
        if (centerNetBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          model_ = value;
          onChanged();
        } else {
          centerNetBuilder_.setMessage(value);
        }
        modelCase_ = 4;
        return this;
      }
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       */
      public Builder setCenterNet(
          object_detection.protos.CenterNetOuterClass.CenterNet.Builder builderForValue) {
        if (centerNetBuilder_ == null) {
          model_ = builderForValue.build();
          onChanged();
        } else {
          centerNetBuilder_.setMessage(builderForValue.build());
        }
        modelCase_ = 4;
        return this;
      }
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       */
      public Builder mergeCenterNet(object_detection.protos.CenterNetOuterClass.CenterNet value) {
        if (centerNetBuilder_ == null) {
          if (modelCase_ == 4 &&
              model_ != object_detection.protos.CenterNetOuterClass.CenterNet.getDefaultInstance()) {
            model_ = object_detection.protos.CenterNetOuterClass.CenterNet.newBuilder((object_detection.protos.CenterNetOuterClass.CenterNet) model_)
                .mergeFrom(value).buildPartial();
          } else {
            model_ = value;
          }
          onChanged();
        } else {
          if (modelCase_ == 4) {
            centerNetBuilder_.mergeFrom(value);
          }
          centerNetBuilder_.setMessage(value);
        }
        modelCase_ = 4;
        return this;
      }
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       */
      public Builder clearCenterNet() {
        if (centerNetBuilder_ == null) {
          if (modelCase_ == 4) {
            modelCase_ = 0;
            model_ = null;
            onChanged();
          }
        } else {
          if (modelCase_ == 4) {
            modelCase_ = 0;
            model_ = null;
          }
          centerNetBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       */
      public object_detection.protos.CenterNetOuterClass.CenterNet.Builder getCenterNetBuilder() {
        return getCenterNetFieldBuilder().getBuilder();
      }
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       */
      @java.lang.Override
      public object_detection.protos.CenterNetOuterClass.CenterNetOrBuilder getCenterNetOrBuilder() {
        if ((modelCase_ == 4) && (centerNetBuilder_ != null)) {
          return centerNetBuilder_.getMessageOrBuilder();
        } else {
          if (modelCase_ == 4) {
            return (object_detection.protos.CenterNetOuterClass.CenterNet) model_;
          }
          return object_detection.protos.CenterNetOuterClass.CenterNet.getDefaultInstance();
        }
      }
      /**
       * <code>.object_detection.protos.CenterNet center_net = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          object_detection.protos.CenterNetOuterClass.CenterNet, object_detection.protos.CenterNetOuterClass.CenterNet.Builder, object_detection.protos.CenterNetOuterClass.CenterNetOrBuilder>
          getCenterNetFieldBuilder() {
        if (centerNetBuilder_ == null) {
          if (!(modelCase_ == 4)) {
            model_ = object_detection.protos.CenterNetOuterClass.CenterNet.getDefaultInstance();
          }
          centerNetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              object_detection.protos.CenterNetOuterClass.CenterNet, object_detection.protos.CenterNetOuterClass.CenterNet.Builder, object_detection.protos.CenterNetOuterClass.CenterNetOrBuilder>(
                  (object_detection.protos.CenterNetOuterClass.CenterNet) model_,
                  getParentForChildren(),
                  isClean());
          model_ = null;
        }
        modelCase_ = 4;
        onChanged();;
        return centerNetBuilder_;
      }
      @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:object_detection.protos.DetectionModel)
    }

    // @@protoc_insertion_point(class_scope:object_detection.protos.DetectionModel)
    private static final object_detection.protos.Model.DetectionModel DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new object_detection.protos.Model.DetectionModel();
    }

    public static object_detection.protos.Model.DetectionModel getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public object_detection.protos.Model.DetectionModel getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ExperimentalModelOrBuilder extends
      // @@protoc_insertion_point(interface_extends:object_detection.protos.ExperimentalModel)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional string name = 1;</code>
     * @return Whether the name field is set.
     */
    boolean hasName();
    /**
     * <code>optional string name = 1;</code>
     * @return The name.
     */
    java.lang.String getName();
    /**
     * <code>optional string name = 1;</code>
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();
  }
  /**
   * Protobuf type {@code object_detection.protos.ExperimentalModel}
   */
  public static final class ExperimentalModel extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:object_detection.protos.ExperimentalModel)
      ExperimentalModelOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExperimentalModel.newBuilder() to construct.
    private ExperimentalModel(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ExperimentalModel() {
      name_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ExperimentalModel(
        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: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000001;
              name_ = bs;
              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 object_detection.protos.Model.internal_static_object_detection_protos_ExperimentalModel_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return object_detection.protos.Model.internal_static_object_detection_protos_ExperimentalModel_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              object_detection.protos.Model.ExperimentalModel.class, object_detection.protos.Model.ExperimentalModel.Builder.class);
    }

    private int bitField0_;
    public static final int NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object name_;
    /**
     * <code>optional string name = 1;</code>
     * @return Whether the name field is set.
     */
    @java.lang.Override
    public boolean hasName() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional string name = 1;</code>
     * @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();
        if (bs.isValidUtf8()) {
          name_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string name = 1;</code>
     * @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;
      }
    }

    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 (((bitField0_ & 0x00000001) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      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 object_detection.protos.Model.ExperimentalModel)) {
        return super.equals(obj);
      }
      object_detection.protos.Model.ExperimentalModel other = (object_detection.protos.Model.ExperimentalModel) obj;

      if (hasName() != other.hasName()) return false;
      if (hasName()) {
        if (!getName()
            .equals(other.getName())) 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 (hasName()) {
        hash = (37 * hash) + NAME_FIELD_NUMBER;
        hash = (53 * hash) + getName().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return object_detection.protos.Model.internal_static_object_detection_protos_ExperimentalModel_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                object_detection.protos.Model.ExperimentalModel.class, object_detection.protos.Model.ExperimentalModel.Builder.class);
      }

      // Construct using object_detection.protos.Model.ExperimentalModel.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();
        name_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return object_detection.protos.Model.internal_static_object_detection_protos_ExperimentalModel_descriptor;
      }

      @java.lang.Override
      public object_detection.protos.Model.ExperimentalModel getDefaultInstanceForType() {
        return object_detection.protos.Model.ExperimentalModel.getDefaultInstance();
      }

      @java.lang.Override
      public object_detection.protos.Model.ExperimentalModel build() {
        object_detection.protos.Model.ExperimentalModel result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public object_detection.protos.Model.ExperimentalModel buildPartial() {
        object_detection.protos.Model.ExperimentalModel result = new object_detection.protos.Model.ExperimentalModel(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.name_ = name_;
        result.bitField0_ = to_bitField0_;
        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 object_detection.protos.Model.ExperimentalModel) {
          return mergeFrom((object_detection.protos.Model.ExperimentalModel)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(object_detection.protos.Model.ExperimentalModel other) {
        if (other == object_detection.protos.Model.ExperimentalModel.getDefaultInstance()) return this;
        if (other.hasName()) {
          bitField0_ |= 0x00000001;
          name_ = other.name_;
          onChanged();
        }
        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 {
        object_detection.protos.Model.ExperimentalModel parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (object_detection.protos.Model.ExperimentalModel) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object name_ = "";
      /**
       * <code>optional string name = 1;</code>
       * @return Whether the name field is set.
       */
      public boolean hasName() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>optional string name = 1;</code>
       * @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();
          if (bs.isValidUtf8()) {
            name_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string name = 1;</code>
       * @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;
        }
      }
      /**
       * <code>optional string name = 1;</code>
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string name = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearName() {
        bitField0_ = (bitField0_ & ~0x00000001);
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * <code>optional string name = 1;</code>
       * @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();
  }
  bitField0_ |= 0x00000001;
        name_ = value;
        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:object_detection.protos.ExperimentalModel)
    }

    // @@protoc_insertion_point(class_scope:object_detection.protos.ExperimentalModel)
    private static final object_detection.protos.Model.ExperimentalModel DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new object_detection.protos.Model.ExperimentalModel();
    }

    public static object_detection.protos.Model.ExperimentalModel getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public object_detection.protos.Model.ExperimentalModel getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_object_detection_protos_DetectionModel_descriptor;
  private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_object_detection_protos_DetectionModel_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_object_detection_protos_ExperimentalModel_descriptor;
  private static final
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_object_detection_protos_ExperimentalModel_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#object_detection/protos/model.proto\022\027o" +
      "bject_detection.protos\032(object_detection" +
      "/protos/center_net.proto\032)object_detecti" +
      "on/protos/faster_rcnn.proto\032!object_dete" +
      "ction/protos/ssd.proto\"\206\002\n\016DetectionMode" +
      "l\022:\n\013faster_rcnn\030\001 \001(\0132#.object_detectio" +
      "n.protos.FasterRcnnH\000\022+\n\003ssd\030\002 \001(\0132\034.obj" +
      "ect_detection.protos.SsdH\000\022H\n\022experiment" +
      "al_model\030\003 \001(\0132*.object_detection.protos" +
      ".ExperimentalModelH\000\0228\n\ncenter_net\030\004 \001(\013" +
      "2\".object_detection.protos.CenterNetH\000B\007" +
      "\n\005model\"!\n\021ExperimentalModel\022\014\n\004name\030\001 \001" +
      "(\t"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          object_detection.protos.CenterNetOuterClass.getDescriptor(),
          object_detection.protos.FasterRcnnOuterClass.getDescriptor(),
          object_detection.protos.SsdOuterClass.getDescriptor(),
        });
    internal_static_object_detection_protos_DetectionModel_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_object_detection_protos_DetectionModel_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_object_detection_protos_DetectionModel_descriptor,
        new java.lang.String[] { "FasterRcnn", "Ssd", "ExperimentalModel", "CenterNet", "Model", });
    internal_static_object_detection_protos_ExperimentalModel_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_object_detection_protos_ExperimentalModel_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_object_detection_protos_ExperimentalModel_descriptor,
        new java.lang.String[] { "Name", });
    object_detection.protos.CenterNetOuterClass.getDescriptor();
    object_detection.protos.FasterRcnnOuterClass.getDescriptor();
    object_detection.protos.SsdOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
