public Builder setMimeType(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      mimeType_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
<pre>
The type of the file. Currently only "application/pdf", "image/tiff" and
"image/gif" are supported. Wildcards are not supported.
</pre>

<code>string mime_type = 2;</code>

@param value The mimeType to set.
@return This builder for chaining.
java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/InputConfig.java