All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dataproc.v1.HiveJobOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2020 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

package com.google.cloud.dataproc.v1;

public interface HiveJobOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.HiveJob)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The HCFS URI of the script that contains Hive queries.
   * 
* * string query_file_uri = 1; * * @return The queryFileUri. */ java.lang.String getQueryFileUri(); /** * * *
   * The HCFS URI of the script that contains Hive 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. Mapping of query variable names to values (equivalent to the
   * Hive command: `SET name="value";`).
   * 
* * map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ int getScriptVariablesCount(); /** * * *
   * Optional. Mapping of query variable names to values (equivalent to the
   * Hive command: `SET name="value";`).
   * 
* * map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ boolean containsScriptVariables(java.lang.String key); /** Use {@link #getScriptVariablesMap()} instead. */ @java.lang.Deprecated java.util.Map getScriptVariables(); /** * * *
   * Optional. Mapping of query variable names to values (equivalent to the
   * Hive command: `SET name="value";`).
   * 
* * map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.Map getScriptVariablesMap(); /** * * *
   * Optional. Mapping of query variable names to values (equivalent to the
   * Hive command: `SET name="value";`).
   * 
* * map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ java.lang.String getScriptVariablesOrDefault(java.lang.String key, java.lang.String defaultValue); /** * * *
   * Optional. Mapping of query variable names to values (equivalent to the
   * Hive command: `SET name="value";`).
   * 
* * map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ java.lang.String getScriptVariablesOrThrow(java.lang.String key); /** * * *
   * Optional. A mapping of property names and values, used to configure Hive.
   * Properties that conflict with values set by the Dataproc API may be
   * overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml,
   * /etc/hive/conf/hive-site.xml, and classes in user code.
   * 
* * map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ int getPropertiesCount(); /** * * *
   * Optional. A mapping of property names and values, used to configure Hive.
   * Properties that conflict with values set by the Dataproc API may be
   * overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml,
   * /etc/hive/conf/hive-site.xml, and classes in user code.
   * 
* * map<string, string> properties = 5 [(.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 and values, used to configure Hive.
   * Properties that conflict with values set by the Dataproc API may be
   * overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml,
   * /etc/hive/conf/hive-site.xml, and classes in user code.
   * 
* * map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.Map getPropertiesMap(); /** * * *
   * Optional. A mapping of property names and values, used to configure Hive.
   * Properties that conflict with values set by the Dataproc API may be
   * overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml,
   * /etc/hive/conf/hive-site.xml, and classes in user code.
   * 
* * map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ java.lang.String getPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue); /** * * *
   * Optional. A mapping of property names and values, used to configure Hive.
   * Properties that conflict with values set by the Dataproc API may be
   * overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml,
   * /etc/hive/conf/hive-site.xml, and classes in user code.
   * 
* * map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ java.lang.String getPropertiesOrThrow(java.lang.String key); /** * * *
   * Optional. HCFS URIs of jar files to add to the CLASSPATH of the
   * Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes
   * and UDFs.
   * 
* * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the jarFileUris. */ java.util.List getJarFileUrisList(); /** * * *
   * Optional. HCFS URIs of jar files to add to the CLASSPATH of the
   * Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes
   * and UDFs.
   * 
* * repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of jarFileUris. */ int getJarFileUrisCount(); /** * * *
   * Optional. HCFS URIs of jar files to add to the CLASSPATH of the
   * Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes
   * and UDFs.
   * 
* * repeated string jar_file_uris = 6 [(.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 add to the CLASSPATH of the
   * Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes
   * and UDFs.
   * 
* * repeated string jar_file_uris = 6 [(.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); public com.google.cloud.dataproc.v1.HiveJob.QueriesCase getQueriesCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy