com.netflix.genie.proto.JobSpecificationOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: genie.proto
package com.netflix.genie.proto;
public interface JobSpecificationOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.netflix.genie.proto.JobSpecification)
com.google.protobuf.MessageOrBuilder {
/**
*
* Deprecated by fields 11 & 12. Populated for backward compatibility.
*
*
* repeated string command_args = 1 [deprecated = true];
* @return A list containing the commandArgs.
*/
@java.lang.Deprecated java.util.List
getCommandArgsList();
/**
*
* Deprecated by fields 11 & 12. Populated for backward compatibility.
*
*
* repeated string command_args = 1 [deprecated = true];
* @return The count of commandArgs.
*/
@java.lang.Deprecated int getCommandArgsCount();
/**
*
* Deprecated by fields 11 & 12. Populated for backward compatibility.
*
*
* repeated string command_args = 1 [deprecated = true];
* @param index The index of the element to return.
* @return The commandArgs at the given index.
*/
@java.lang.Deprecated java.lang.String getCommandArgs(int index);
/**
*
* Deprecated by fields 11 & 12. Populated for backward compatibility.
*
*
* repeated string command_args = 1 [deprecated = true];
* @param index The index of the value to return.
* @return The bytes of the commandArgs at the given index.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getCommandArgsBytes(int index);
/**
* .com.netflix.genie.proto.ExecutionResource job = 2;
* @return Whether the job field is set.
*/
boolean hasJob();
/**
* .com.netflix.genie.proto.ExecutionResource job = 2;
* @return The job.
*/
com.netflix.genie.proto.ExecutionResource getJob();
/**
* .com.netflix.genie.proto.ExecutionResource job = 2;
*/
com.netflix.genie.proto.ExecutionResourceOrBuilder getJobOrBuilder();
/**
* .com.netflix.genie.proto.ExecutionResource cluster = 3;
* @return Whether the cluster field is set.
*/
boolean hasCluster();
/**
* .com.netflix.genie.proto.ExecutionResource cluster = 3;
* @return The cluster.
*/
com.netflix.genie.proto.ExecutionResource getCluster();
/**
* .com.netflix.genie.proto.ExecutionResource cluster = 3;
*/
com.netflix.genie.proto.ExecutionResourceOrBuilder getClusterOrBuilder();
/**
* .com.netflix.genie.proto.ExecutionResource command = 4;
* @return Whether the command field is set.
*/
boolean hasCommand();
/**
* .com.netflix.genie.proto.ExecutionResource command = 4;
* @return The command.
*/
com.netflix.genie.proto.ExecutionResource getCommand();
/**
* .com.netflix.genie.proto.ExecutionResource command = 4;
*/
com.netflix.genie.proto.ExecutionResourceOrBuilder getCommandOrBuilder();
/**
* repeated .com.netflix.genie.proto.ExecutionResource applications = 5;
*/
java.util.List
getApplicationsList();
/**
* repeated .com.netflix.genie.proto.ExecutionResource applications = 5;
*/
com.netflix.genie.proto.ExecutionResource getApplications(int index);
/**
* repeated .com.netflix.genie.proto.ExecutionResource applications = 5;
*/
int getApplicationsCount();
/**
* repeated .com.netflix.genie.proto.ExecutionResource applications = 5;
*/
java.util.List extends com.netflix.genie.proto.ExecutionResourceOrBuilder>
getApplicationsOrBuilderList();
/**
* repeated .com.netflix.genie.proto.ExecutionResource applications = 5;
*/
com.netflix.genie.proto.ExecutionResourceOrBuilder getApplicationsOrBuilder(
int index);
/**
* map<string, string> environment_variables = 6;
*/
int getEnvironmentVariablesCount();
/**
* map<string, string> environment_variables = 6;
*/
boolean containsEnvironmentVariables(
java.lang.String key);
/**
* Use {@link #getEnvironmentVariablesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getEnvironmentVariables();
/**
* map<string, string> environment_variables = 6;
*/
java.util.Map
getEnvironmentVariablesMap();
/**
* map<string, string> environment_variables = 6;
*/
java.lang.String getEnvironmentVariablesOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
* map<string, string> environment_variables = 6;
*/
java.lang.String getEnvironmentVariablesOrThrow(
java.lang.String key);
/**
* bool is_interactive = 7;
* @return The isInteractive.
*/
boolean getIsInteractive();
/**
* string job_directory_location = 8;
* @return The jobDirectoryLocation.
*/
java.lang.String getJobDirectoryLocation();
/**
* string job_directory_location = 8;
* @return The bytes for jobDirectoryLocation.
*/
com.google.protobuf.ByteString
getJobDirectoryLocationBytes();
/**
* string archive_location = 9;
* @return The archiveLocation.
*/
java.lang.String getArchiveLocation();
/**
* string archive_location = 9;
* @return The bytes for archiveLocation.
*/
com.google.protobuf.ByteString
getArchiveLocationBytes();
/**
*
* Optional number of seconds from start when the job should timeout
*
*
* .google.protobuf.Int32Value timeout = 10;
* @return Whether the timeout field is set.
*/
boolean hasTimeout();
/**
*
* Optional number of seconds from start when the job should timeout
*
*
* .google.protobuf.Int32Value timeout = 10;
* @return The timeout.
*/
com.google.protobuf.Int32Value getTimeout();
/**
*
* Optional number of seconds from start when the job should timeout
*
*
* .google.protobuf.Int32Value timeout = 10;
*/
com.google.protobuf.Int32ValueOrBuilder getTimeoutOrBuilder();
/**
* repeated string executable_and_args = 11;
* @return A list containing the executableAndArgs.
*/
java.util.List
getExecutableAndArgsList();
/**
* repeated string executable_and_args = 11;
* @return The count of executableAndArgs.
*/
int getExecutableAndArgsCount();
/**
* repeated string executable_and_args = 11;
* @param index The index of the element to return.
* @return The executableAndArgs at the given index.
*/
java.lang.String getExecutableAndArgs(int index);
/**
* repeated string executable_and_args = 11;
* @param index The index of the value to return.
* @return The bytes of the executableAndArgs at the given index.
*/
com.google.protobuf.ByteString
getExecutableAndArgsBytes(int index);
/**
* repeated string job_args = 12;
* @return A list containing the jobArgs.
*/
java.util.List
getJobArgsList();
/**
* repeated string job_args = 12;
* @return The count of jobArgs.
*/
int getJobArgsCount();
/**
* repeated string job_args = 12;
* @param index The index of the element to return.
* @return The jobArgs at the given index.
*/
java.lang.String getJobArgs(int index);
/**
* repeated string job_args = 12;
* @param index The index of the value to return.
* @return The bytes of the jobArgs at the given index.
*/
com.google.protobuf.ByteString
getJobArgsBytes(int index);
}