public sealed class TrinoJob : IMessage<TrinoJob>, IEquatable<TrinoJob>, IDeepCloneable<TrinoJob>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class TrinoJob.
A Dataproc job for running Trino queries.
IMPORTANT: The Dataproc Trino Optional
Component
must be enabled when the cluster is created to submit a Trino job to the
cluster.
Optional. Whether to continue executing queries if a query fails.
The default value is false. Setting to true can be useful when
executing independent parallel queries.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation page covers the \u003ccode\u003eTrinoJob\u003c/code\u003e class within the Google Cloud Dataproc v1 API, which is used for running Trino queries on a Dataproc cluster.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eTrinoJob\u003c/code\u003e class is 5.17.0, and the page also provides documentation links to numerous previous versions, dating back to version 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrinoJob\u003c/code\u003e class allows users to define various properties for their Trino job, including client tags, output format, session properties, and whether to continue on failure.\u003c/p\u003e\n"],["\u003cp\u003eTo use the \u003ccode\u003eTrinoJob\u003c/code\u003e class, the Dataproc Trino Optional Component must be enabled during cluster creation.\u003c/p\u003e\n"],["\u003cp\u003eTrino queries can be submitted either via a list of queries, or from a script file located at a HCFS URI.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class TrinoJob (5.20.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.20.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.TrinoJob)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.TrinoJob) \n\n public sealed class TrinoJob : IMessage\u003cTrinoJob\u003e, IEquatable\u003cTrinoJob\u003e, IDeepCloneable\u003cTrinoJob\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class TrinoJob.\n\nA Dataproc job for running [Trino](https://trino.io/) queries.\n**IMPORTANT** : The [Dataproc Trino Optional\nComponent](https://cloud.google.com/dataproc/docs/concepts/components/trino)\nmust be enabled when the cluster is created to submit a Trino job to the\ncluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TrinoJob \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TrinoJob](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.TrinoJob), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TrinoJob](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.TrinoJob), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TrinoJob](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.TrinoJob), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataproc.V1](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataproc.V1.dll\n\nConstructors\n------------\n\n### TrinoJob()\n\n public TrinoJob()\n\n### TrinoJob(TrinoJob)\n\n public TrinoJob(TrinoJob other)\n\nProperties\n----------\n\n### ClientTags\n\n public RepeatedField\u003cstring\u003e ClientTags { get; }\n\nOptional. Trino client tags to attach to this query\n\n### ContinueOnFailure\n\n public bool ContinueOnFailure { get; set; }\n\nOptional. Whether to continue executing queries if a query fails.\nThe default value is `false`. Setting to `true` can be useful when\nexecuting independent parallel queries.\n\n### HasQueryFileUri\n\n public bool HasQueryFileUri { get; }\n\nGets whether the \"query_file_uri\" field is set\n\n### LoggingConfig\n\n public LoggingConfig LoggingConfig { get; set; }\n\nOptional. The runtime log config for job execution.\n\n### OutputFormat\n\n public string OutputFormat { get; set; }\n\nOptional. The format in which query output will be displayed. See the\nTrino documentation for supported output formats\n\n### Properties\n\n public MapField\u003cstring, string\u003e Properties { get; }\n\nOptional. A mapping of property names to values. Used to set Trino\n[session properties](https://trino.io/docs/current/sql/set-session.html)\nEquivalent to using the --session flag in the Trino CLI\n\n### QueriesCase\n\n public TrinoJob.QueriesOneofCase QueriesCase { get; }\n\n### QueryFileUri\n\n public string QueryFileUri { get; set; }\n\nThe HCFS URI of the script that contains SQL queries.\n\n### QueryList\n\n public QueryList QueryList { get; set; }\n\nA list of queries."]]