
com.google.cloud.dataproc.v1.SparkSqlBatchOrBuilder 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/batches.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dataproc.v1;
public interface SparkSqlBatchOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.SparkSqlBatch)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The HCFS URI of the script that contains Spark SQL queries to
* execute.
*
*
* string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The queryFileUri.
*/
java.lang.String getQueryFileUri();
/**
*
*
*
* Required. The HCFS URI of the script that contains Spark SQL queries to
* execute.
*
*
* string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for queryFileUri.
*/
com.google.protobuf.ByteString getQueryFileUriBytes();
/**
*
*
*
* Optional. Mapping of query variable names to values (equivalent to the
* Spark SQL command: `SET name="value";`).
*
*
* map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
int getQueryVariablesCount();
/**
*
*
*
* Optional. Mapping of query variable names to values (equivalent to the
* Spark SQL command: `SET name="value";`).
*
*
* map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
boolean containsQueryVariables(java.lang.String key);
/** Use {@link #getQueryVariablesMap()} instead. */
@java.lang.Deprecated
java.util.Map getQueryVariables();
/**
*
*
*
* Optional. Mapping of query variable names to values (equivalent to the
* Spark SQL command: `SET name="value";`).
*
*
* map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.util.Map getQueryVariablesMap();
/**
*
*
*
* Optional. Mapping of query variable names to values (equivalent to the
* Spark SQL command: `SET name="value";`).
*
*
* map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
/* nullable */
java.lang.String getQueryVariablesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Optional. Mapping of query variable names to values (equivalent to the
* Spark SQL command: `SET name="value";`).
*
*
* map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.lang.String getQueryVariablesOrThrow(java.lang.String key);
/**
*
*
*
* Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
*
*
* repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the jarFileUris.
*/
java.util.List getJarFileUrisList();
/**
*
*
*
* Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
*
*
* repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of jarFileUris.
*/
int getJarFileUrisCount();
/**
*
*
*
* Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
*
*
* repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The jarFileUris at the given index.
*/
java.lang.String getJarFileUris(int index);
/**
*
*
*
* Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
*
*
* repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the jarFileUris at the given index.
*/
com.google.protobuf.ByteString getJarFileUrisBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy