/* * Copyright 2019 The Grafeas Authors. All rights reserved. * * 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: grafeas/v1/provenance.proto package io.grafeas.v1; public interface CommandOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.Command) com.google.protobuf.MessageOrBuilder { /** * * *
   * Required. Name of the command, as presented on the command line, or if the
   * command is packaged as a Docker container, as presented to `docker pull`.
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * Required. Name of the command, as presented on the command line, or if the
   * command is packaged as a Docker container, as presented to `docker pull`.
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Environment variables set before running this command.
   * 
* * repeated string env = 2; * * @return A list containing the env. */ java.util.List getEnvList(); /** * * *
   * Environment variables set before running this command.
   * 
* * repeated string env = 2; * * @return The count of env. */ int getEnvCount(); /** * * *
   * Environment variables set before running this command.
   * 
* * repeated string env = 2; * * @param index The index of the element to return. * @return The env at the given index. */ java.lang.String getEnv(int index); /** * * *
   * Environment variables set before running this command.
   * 
* * repeated string env = 2; * * @param index The index of the value to return. * @return The bytes of the env at the given index. */ com.google.protobuf.ByteString getEnvBytes(int index); /** * * *
   * Command-line arguments used when executing this command.
   * 
* * repeated string args = 3; * * @return A list containing the args. */ java.util.List getArgsList(); /** * * *
   * Command-line arguments used when executing this command.
   * 
* * repeated string args = 3; * * @return The count of args. */ int getArgsCount(); /** * * *
   * Command-line arguments used when executing this command.
   * 
* * repeated string args = 3; * * @param index The index of the element to return. * @return The args at the given index. */ java.lang.String getArgs(int index); /** * * *
   * Command-line arguments used when executing this command.
   * 
* * repeated string args = 3; * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ com.google.protobuf.ByteString getArgsBytes(int index); /** * * *
   * Working directory (relative to project source root) used when running this
   * command.
   * 
* * string dir = 4; * * @return The dir. */ java.lang.String getDir(); /** * * *
   * Working directory (relative to project source root) used when running this
   * command.
   * 
* * string dir = 4; * * @return The bytes for dir. */ com.google.protobuf.ByteString getDirBytes(); /** * * *
   * Optional unique identifier for this command, used in wait_for to reference
   * this command as a dependency.
   * 
* * string id = 5; * * @return The id. */ java.lang.String getId(); /** * * *
   * Optional unique identifier for this command, used in wait_for to reference
   * this command as a dependency.
   * 
* * string id = 5; * * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * * *
   * The ID(s) of the command(s) that this command depends on.
   * 
* * repeated string wait_for = 6; * * @return A list containing the waitFor. */ java.util.List getWaitForList(); /** * * *
   * The ID(s) of the command(s) that this command depends on.
   * 
* * repeated string wait_for = 6; * * @return The count of waitFor. */ int getWaitForCount(); /** * * *
   * The ID(s) of the command(s) that this command depends on.
   * 
* * repeated string wait_for = 6; * * @param index The index of the element to return. * @return The waitFor at the given index. */ java.lang.String getWaitFor(int index); /** * * *
   * The ID(s) of the command(s) that this command depends on.
   * 
* * repeated string wait_for = 6; * * @param index The index of the value to return. * @return The bytes of the waitFor at the given index. */ com.google.protobuf.ByteString getWaitForBytes(int index); }