Package com.google.cloud.dataproc.v1
Interface TrinoJobOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrinoJob,TrinoJob.Builder
public interface TrinoJobOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsProperties(String key)Optional.StringgetClientTags(int index)Optional.com.google.protobuf.ByteStringgetClientTagsBytes(int index)Optional.intgetClientTagsCount()Optional.List<String>getClientTagsList()Optional.booleangetContinueOnFailure()Optional.LoggingConfiggetLoggingConfig()Optional.LoggingConfigOrBuildergetLoggingConfigOrBuilder()Optional.StringgetOutputFormat()Optional.com.google.protobuf.ByteStringgetOutputFormatBytes()Optional.Map<String,String>getProperties()Deprecated.intgetPropertiesCount()Optional.Map<String,String>getPropertiesMap()Optional.StringgetPropertiesOrDefault(String key, String defaultValue)Optional.StringgetPropertiesOrThrow(String key)Optional.TrinoJob.QueriesCasegetQueriesCase()StringgetQueryFileUri()The HCFS URI of the script that contains SQL queries.com.google.protobuf.ByteStringgetQueryFileUriBytes()The HCFS URI of the script that contains SQL queries.QueryListgetQueryList()A list of queries.QueryListOrBuildergetQueryListOrBuilder()A list of queries.booleanhasLoggingConfig()Optional.booleanhasQueryFileUri()The HCFS URI of the script that contains SQL queries.booleanhasQueryList()A list of queries.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasQueryFileUri
boolean hasQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Returns:
- Whether the queryFileUri field is set.
-
getQueryFileUri
String getQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Returns:
- The queryFileUri.
-
getQueryFileUriBytes
com.google.protobuf.ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Returns:
- The bytes for queryFileUri.
-
hasQueryList
boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;- Returns:
- Whether the queryList field is set.
-
getQueryList
QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;- Returns:
- The queryList.
-
getQueryListOrBuilder
QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
-
getContinueOnFailure
boolean getContinueOnFailure()
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.
bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The continueOnFailure.
-
getOutputFormat
String getOutputFormat()
Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats
string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The outputFormat.
-
getOutputFormatBytes
com.google.protobuf.ByteString getOutputFormatBytes()
Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats
string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for outputFormat.
-
getClientTagsList
List<String> getClientTagsList()
Optional. Trino client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the clientTags.
-
getClientTagsCount
int getClientTagsCount()
Optional. Trino client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of clientTags.
-
getClientTags
String getClientTags(int index)
Optional. Trino client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The clientTags at the given index.
-
getClientTagsBytes
com.google.protobuf.ByteString getClientTagsBytes(int index)
Optional. Trino client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the clientTags at the given index.
-
getPropertiesCount
int getPropertiesCount()
Optional. A mapping of property names to values. Used to set Trino [session properties](https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
-
containsProperties
boolean containsProperties(String key)
Optional. A mapping of property names to values. Used to set Trino [session properties](https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getProperties
@Deprecated Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()instead.
-
getPropertiesMap
Map<String,String> getPropertiesMap()
Optional. A mapping of property names to values. Used to set Trino [session properties](https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getPropertiesOrDefault
String getPropertiesOrDefault(String key, String defaultValue)
Optional. A mapping of property names to values. Used to set Trino [session properties](https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getPropertiesOrThrow
String getPropertiesOrThrow(String key)
Optional. A mapping of property names to values. Used to set Trino [session properties](https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
-
hasLoggingConfig
boolean hasLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
LoggingConfig getLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getQueriesCase
TrinoJob.QueriesCase getQueriesCase()
-
-