Package api

Interface Testspec.TestSpecOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Testspec.TestSpec, Testspec.TestSpec.Builder
    Enclosing class:
    Testspec

    public static interface Testspec.TestSpecOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getJobsList

        List<SubmitOuterClass.JobSubmitRequestItem> getJobsList()
         Jobs to submit.
         The n jobs herein are copied BatchSize times to produce n*BatchSize jobs.
         A batch of n*BatchSize such jobs are submitted in each API call.
         NumBatches such batches are submitted in total.
         
        repeated .api.JobSubmitRequestItem jobs = 1;
      • getJobs

        SubmitOuterClass.JobSubmitRequestItem getJobs​(int index)
         Jobs to submit.
         The n jobs herein are copied BatchSize times to produce n*BatchSize jobs.
         A batch of n*BatchSize such jobs are submitted in each API call.
         NumBatches such batches are submitted in total.
         
        repeated .api.JobSubmitRequestItem jobs = 1;
      • getJobsCount

        int getJobsCount()
         Jobs to submit.
         The n jobs herein are copied BatchSize times to produce n*BatchSize jobs.
         A batch of n*BatchSize such jobs are submitted in each API call.
         NumBatches such batches are submitted in total.
         
        repeated .api.JobSubmitRequestItem jobs = 1;
      • getJobsOrBuilderList

        List<? extends SubmitOuterClass.JobSubmitRequestItemOrBuilder> getJobsOrBuilderList()
         Jobs to submit.
         The n jobs herein are copied BatchSize times to produce n*BatchSize jobs.
         A batch of n*BatchSize such jobs are submitted in each API call.
         NumBatches such batches are submitted in total.
         
        repeated .api.JobSubmitRequestItem jobs = 1;
      • getJobsOrBuilder

        SubmitOuterClass.JobSubmitRequestItemOrBuilder getJobsOrBuilder​(int index)
         Jobs to submit.
         The n jobs herein are copied BatchSize times to produce n*BatchSize jobs.
         A batch of n*BatchSize such jobs are submitted in each API call.
         NumBatches such batches are submitted in total.
         
        repeated .api.JobSubmitRequestItem jobs = 1;
      • getExpectedEventsList

        List<EventOuterClass.EventMessage> getExpectedEventsList()
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • getExpectedEvents

        EventOuterClass.EventMessage getExpectedEvents​(int index)
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • getExpectedEventsCount

        int getExpectedEventsCount()
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • getExpectedEventsOrBuilderList

        List<? extends EventOuterClass.EventMessageOrBuilder> getExpectedEventsOrBuilderList()
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • getExpectedEventsOrBuilder

        EventOuterClass.EventMessageOrBuilder getExpectedEventsOrBuilder​(int index)
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • getQueue

        String getQueue()
         Queue to submit jobs to.
         
        string queue = 3;
        Returns:
        The queue.
      • getQueueBytes

        com.google.protobuf.ByteString getQueueBytes()
         Queue to submit jobs to.
         
        string queue = 3;
        Returns:
        The bytes for queue.
      • getJobSetId

        String getJobSetId()
         Job set to submit jobs to.
         
        string job_set_id = 4;
        Returns:
        The jobSetId.
      • getJobSetIdBytes

        com.google.protobuf.ByteString getJobSetIdBytes()
         Job set to submit jobs to.
         
        string job_set_id = 4;
        Returns:
        The bytes for jobSetId.
      • getNumBatches

        int getNumBatches()
         Number of batches of jobs to submit.
         If 0, will submit forever.
         
        uint32 num_batches = 5;
        Returns:
        The numBatches.
      • getBatchSize

        int getBatchSize()
         Number of copies of the provided jobs to submit per batch.
         
        uint32 batch_size = 6;
        Returns:
        The batchSize.
      • hasInterval

        boolean hasInterval()
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
        Returns:
        Whether the interval field is set.
      • getInterval

        com.google.protobuf.Duration getInterval()
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
        Returns:
        The interval.
      • getIntervalOrBuilder

        com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
      • hasTimeout

        boolean hasTimeout()
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
        Returns:
        Whether the timeout field is set.
      • getTimeout

        com.google.protobuf.Duration getTimeout()
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
        Returns:
        The timeout.
      • getTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
      • getCancelValue

        int getCancelValue()
        .api.TestSpec.Cancel cancel = 9;
        Returns:
        The enum numeric value on the wire for cancel.
      • getName

        String getName()
         Test name. Defaults to the filename if not provided.
         
        string name = 10;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Test name. Defaults to the filename if not provided.
         
        string name = 10;
        Returns:
        The bytes for name.
      • getRandomClientId

        boolean getRandomClientId()
         Randomize clientId if not provided
         
        bool random_client_id = 11;
        Returns:
        The randomClientId.
      • getGetLogs

        boolean getGetLogs()
         Toggle should testsuite scrape Armada Job (pod) logs
         
        bool get_logs = 12;
        Returns:
        The getLogs.
      • getEnvironment

        String getEnvironment()
         Value of the environment label set on exported Prometheus metrics.
         
        string environment = 13;
        Returns:
        The environment.
      • getEnvironmentBytes

        com.google.protobuf.ByteString getEnvironmentBytes()
         Value of the environment label set on exported Prometheus metrics.
         
        string environment = 13;
        Returns:
        The bytes for environment.
      • getTarget

        String getTarget()
         Value of the target label set on exported Prometheus metrics.
         
        string target = 14;
        Returns:
        The target.
      • getTargetBytes

        com.google.protobuf.ByteString getTargetBytes()
         Value of the target label set on exported Prometheus metrics.
         
        string target = 14;
        Returns:
        The bytes for target.