
com.google.cloud.dataproc.v1.TrinoJobOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dataproc-v1 Show documentation
Show all versions of proto-google-cloud-dataproc-v1 Show documentation
PROTO library for proto-google-cloud-dataproc-v1
/*
* Copyright 2024 Google LLC
*
* 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
*
* https://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: google/cloud/dataproc/v1/jobs.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dataproc.v1;
public interface TrinoJobOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.TrinoJob)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The HCFS URI of the script that contains SQL queries.
*
*
* string query_file_uri = 1;
*
* @return Whether the queryFileUri field is set.
*/
boolean hasQueryFileUri();
/**
*
*
*
* The HCFS URI of the script that contains SQL queries.
*
*
* string query_file_uri = 1;
*
* @return The queryFileUri.
*/
java.lang.String getQueryFileUri();
/**
*
*
*
* The HCFS URI of the script that contains SQL queries.
*
*
* string query_file_uri = 1;
*
* @return The bytes for queryFileUri.
*/
com.google.protobuf.ByteString getQueryFileUriBytes();
/**
*
*
*
* A list of queries.
*
*
* .google.cloud.dataproc.v1.QueryList query_list = 2;
*
* @return Whether the queryList field is set.
*/
boolean hasQueryList();
/**
*
*
*
* A list of queries.
*
*
* .google.cloud.dataproc.v1.QueryList query_list = 2;
*
* @return The queryList.
*/
com.google.cloud.dataproc.v1.QueryList getQueryList();
/**
*
*
*
* A list of queries.
*
*
* .google.cloud.dataproc.v1.QueryList query_list = 2;
*/
com.google.cloud.dataproc.v1.QueryListOrBuilder getQueryListOrBuilder();
/**
*
*
*
* 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];
*
* @return The continueOnFailure.
*/
boolean getContinueOnFailure();
/**
*
*
*
* 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];
*
* @return The outputFormat.
*/
java.lang.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];
*
* @return The bytes for outputFormat.
*/
com.google.protobuf.ByteString getOutputFormatBytes();
/**
*
*
*
* Optional. Trino client tags to attach to this query
*
*
* repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the clientTags.
*/
java.util.List getClientTagsList();
/**
*
*
*
* Optional. Trino client tags to attach to this query
*
*
* repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of clientTags.
*/
int getClientTagsCount();
/**
*
*
*
* Optional. Trino client tags to attach to this query
*
*
* repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The clientTags at the given index.
*/
java.lang.String getClientTags(int index);
/**
*
*
*
* Optional. Trino client tags to attach to this query
*
*
* repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the clientTags at the given index.
*/
com.google.protobuf.ByteString getClientTagsBytes(int index);
/**
*
*
*
* 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];
*
*/
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];
*
*/
boolean containsProperties(java.lang.String key);
/** Use {@link #getPropertiesMap()} instead. */
@java.lang.Deprecated
java.util.Map getProperties();
/**
*
*
*
* 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];
*
*/
java.util.Map 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];
*
*/
/* nullable */
java.lang.String getPropertiesOrDefault(
java.lang.String key,
/* nullable */
java.lang.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];
*
*/
java.lang.String getPropertiesOrThrow(java.lang.String key);
/**
*
*
*
* Optional. The runtime log config for job execution.
*
*
*
* .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the loggingConfig field is set.
*/
boolean hasLoggingConfig();
/**
*
*
*
* Optional. The runtime log config for job execution.
*
*
*
* .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The loggingConfig.
*/
com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig();
/**
*
*
*
* Optional. The runtime log config for job execution.
*
*
*
* .google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dataproc.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder();
com.google.cloud.dataproc.v1.TrinoJob.QueriesCase getQueriesCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy