// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-mtp-MtpObjectInfo_Builder"))]
__jni_bindgen! {
    /// public class [MtpObjectInfo.Builder](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html)
    ///
    /// Required feature: android-mtp-MtpObjectInfo_Builder
    public class MtpObjectInfo_Builder ("android/mtp/MtpObjectInfo$Builder") extends crate::java::lang::Object {

        /// [Builder](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#Builder())
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [Builder](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#Builder(android.mtp.MtpObjectInfo))
        ///
        /// Required features: "android-mtp-MtpObjectInfo"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo")))]
        pub fn new_MtpObjectInfo<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::mtp::MtpObjectInfo>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/mtp/MtpObjectInfo;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "<init>\0", "(Landroid/mtp/MtpObjectInfo;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setObjectHandle](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setObjectHandle(int))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setObjectHandle<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setObjectHandle", .descriptor == "(I)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setObjectHandle\0", "(I)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setAssociationDesc](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setAssociationDesc(int))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setAssociationDesc<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setAssociationDesc", .descriptor == "(I)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setAssociationDesc\0", "(I)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setAssociationType](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setAssociationType(int))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setAssociationType<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setAssociationType", .descriptor == "(I)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setAssociationType\0", "(I)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setCompressedSize](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setCompressedSize(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setCompressedSize<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setCompressedSize", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setCompressedSize\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setDateCreated](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setDateCreated(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setDateCreated<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setDateCreated", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setDateCreated\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setDateModified](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setDateModified(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setDateModified<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setDateModified", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setDateModified\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setFormat](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setFormat(int))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setFormat<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setFormat", .descriptor == "(I)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setFormat\0", "(I)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setImagePixDepth](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setImagePixDepth(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setImagePixDepth<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setImagePixDepth", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setImagePixDepth\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setImagePixHeight](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setImagePixHeight(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setImagePixHeight<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setImagePixHeight", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setImagePixHeight\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setImagePixWidth](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setImagePixWidth(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setImagePixWidth<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setImagePixWidth", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setImagePixWidth\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setKeywords](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setKeywords(java.lang.String))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder", feature = "java-lang-String")))]
        pub fn setKeywords<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setKeywords", .descriptor == "(Ljava/lang/String;)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setKeywords\0", "(Ljava/lang/String;)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setName](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setName(java.lang.String))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder", feature = "java-lang-String")))]
        pub fn setName<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setName", .descriptor == "(Ljava/lang/String;)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setName\0", "(Ljava/lang/String;)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setParent](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setParent(int))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setParent<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setParent", .descriptor == "(I)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setParent\0", "(I)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setProtectionStatus](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setProtectionStatus(int))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setProtectionStatus<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setProtectionStatus", .descriptor == "(I)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setProtectionStatus\0", "(I)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setSequenceNumber](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setSequenceNumber(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setSequenceNumber<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setSequenceNumber", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setSequenceNumber\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setStorageId](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setStorageId(int))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setStorageId<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setStorageId", .descriptor == "(I)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setStorageId\0", "(I)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setThumbCompressedSize](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setThumbCompressedSize(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setThumbCompressedSize<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setThumbCompressedSize", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setThumbCompressedSize\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setThumbFormat](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setThumbFormat(int))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setThumbFormat<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setThumbFormat", .descriptor == "(I)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setThumbFormat\0", "(I)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setThumbPixHeight](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setThumbPixHeight(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setThumbPixHeight<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setThumbPixHeight", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setThumbPixHeight\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setThumbPixWidth](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#setThumbPixWidth(long))
        ///
        /// Required features: "android-mtp-MtpObjectInfo_Builder"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo_Builder")))]
        pub fn setThumbPixWidth<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo_Builder>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "setThumbPixWidth", .descriptor == "(J)Landroid/mtp/MtpObjectInfo$Builder;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "setThumbPixWidth\0", "(J)Landroid/mtp/MtpObjectInfo$Builder;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [build](https://developer.android.com/reference/android/mtp/MtpObjectInfo.Builder.html#build())
        ///
        /// Required features: "android-mtp-MtpObjectInfo"
        #[cfg(any(feature = "all", all(feature = "android-mtp-MtpObjectInfo")))]
        pub fn build<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::mtp::MtpObjectInfo>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/mtp/MtpObjectInfo$Builder", java.flags == PUBLIC, .name == "build", .descriptor == "()Landroid/mtp/MtpObjectInfo;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/mtp/MtpObjectInfo$Builder\0", "build\0", "()Landroid/mtp/MtpObjectInfo;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}
