Package api

Class Testspec.TestSpec.Builder

  • All Implemented Interfaces:
    Testspec.TestSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Testspec.TestSpec

    public static final class Testspec.TestSpec.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
    implements Testspec.TestSpecOrBuilder
     Defines a test case for the Armada test suite.
     Defined as a proto message to enable unmarshalling oneof fields.
     
    Protobuf type api.TestSpec
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • clear

        public Testspec.TestSpec.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • getDefaultInstanceForType

        public Testspec.TestSpec getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Testspec.TestSpec build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Testspec.TestSpec buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Testspec.TestSpec.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • setField

        public Testspec.TestSpec.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • clearField

        public Testspec.TestSpec.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • clearOneof

        public Testspec.TestSpec.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • setRepeatedField

        public Testspec.TestSpec.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • addRepeatedField

        public Testspec.TestSpec.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • mergeFrom

        public Testspec.TestSpec.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Testspec.TestSpec.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • mergeFrom

        public Testspec.TestSpec.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Testspec.TestSpec.Builder>
        Throws:
        IOException
      • getJobsList

        public 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;
        Specified by:
        getJobsList in interface Testspec.TestSpecOrBuilder
      • getJobsCount

        public 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;
        Specified by:
        getJobsCount in interface Testspec.TestSpecOrBuilder
      • getJobs

        public 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;
        Specified by:
        getJobs in interface Testspec.TestSpecOrBuilder
      • setJobs

        public Testspec.TestSpec.Builder setJobs​(int index,
                                                 SubmitOuterClass.JobSubmitRequestItem value)
         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;
      • setJobs

        public Testspec.TestSpec.Builder setJobs​(int index,
                                                 SubmitOuterClass.JobSubmitRequestItem.Builder builderForValue)
         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;
      • addJobs

        public Testspec.TestSpec.Builder addJobs​(SubmitOuterClass.JobSubmitRequestItem value)
         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;
      • addJobs

        public Testspec.TestSpec.Builder addJobs​(int index,
                                                 SubmitOuterClass.JobSubmitRequestItem value)
         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;
      • addJobs

        public Testspec.TestSpec.Builder addJobs​(SubmitOuterClass.JobSubmitRequestItem.Builder builderForValue)
         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;
      • addJobs

        public Testspec.TestSpec.Builder addJobs​(int index,
                                                 SubmitOuterClass.JobSubmitRequestItem.Builder builderForValue)
         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;
      • addAllJobs

        public Testspec.TestSpec.Builder addAllJobs​(Iterable<? extends SubmitOuterClass.JobSubmitRequestItem> values)
         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;
      • clearJobs

        public Testspec.TestSpec.Builder clearJobs()
         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;
      • removeJobs

        public Testspec.TestSpec.Builder removeJobs​(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;
      • getJobsBuilder

        public SubmitOuterClass.JobSubmitRequestItem.Builder getJobsBuilder​(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;
      • addJobsBuilder

        public SubmitOuterClass.JobSubmitRequestItem.Builder addJobsBuilder()
         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;
      • addJobsBuilder

        public SubmitOuterClass.JobSubmitRequestItem.Builder addJobsBuilder​(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;
      • getJobsBuilderList

        public List<SubmitOuterClass.JobSubmitRequestItem.Builder> getJobsBuilderList()
         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;
      • getExpectedEventsCount

        public int getExpectedEventsCount()
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
        Specified by:
        getExpectedEventsCount in interface Testspec.TestSpecOrBuilder
      • clearExpectedEvents

        public Testspec.TestSpec.Builder clearExpectedEvents()
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • removeExpectedEvents

        public Testspec.TestSpec.Builder removeExpectedEvents​(int index)
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • getExpectedEventsBuilder

        public EventOuterClass.EventMessage.Builder getExpectedEventsBuilder​(int index)
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • addExpectedEventsBuilder

        public EventOuterClass.EventMessage.Builder addExpectedEventsBuilder()
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • addExpectedEventsBuilder

        public EventOuterClass.EventMessage.Builder addExpectedEventsBuilder​(int index)
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • getExpectedEventsBuilderList

        public List<EventOuterClass.EventMessage.Builder> getExpectedEventsBuilderList()
         Events expected in response to submitting each job.
         
        repeated .api.EventMessage expected_events = 2;
      • getQueueBytes

        public com.google.protobuf.ByteString getQueueBytes()
         Queue to submit jobs to.
         
        string queue = 3;
        Specified by:
        getQueueBytes in interface Testspec.TestSpecOrBuilder
        Returns:
        The bytes for queue.
      • setQueue

        public Testspec.TestSpec.Builder setQueue​(String value)
         Queue to submit jobs to.
         
        string queue = 3;
        Parameters:
        value - The queue to set.
        Returns:
        This builder for chaining.
      • clearQueue

        public Testspec.TestSpec.Builder clearQueue()
         Queue to submit jobs to.
         
        string queue = 3;
        Returns:
        This builder for chaining.
      • setQueueBytes

        public Testspec.TestSpec.Builder setQueueBytes​(com.google.protobuf.ByteString value)
         Queue to submit jobs to.
         
        string queue = 3;
        Parameters:
        value - The bytes for queue to set.
        Returns:
        This builder for chaining.
      • getJobSetIdBytes

        public com.google.protobuf.ByteString getJobSetIdBytes()
         Job set to submit jobs to.
         
        string job_set_id = 4;
        Specified by:
        getJobSetIdBytes in interface Testspec.TestSpecOrBuilder
        Returns:
        The bytes for jobSetId.
      • setJobSetId

        public Testspec.TestSpec.Builder setJobSetId​(String value)
         Job set to submit jobs to.
         
        string job_set_id = 4;
        Parameters:
        value - The jobSetId to set.
        Returns:
        This builder for chaining.
      • clearJobSetId

        public Testspec.TestSpec.Builder clearJobSetId()
         Job set to submit jobs to.
         
        string job_set_id = 4;
        Returns:
        This builder for chaining.
      • setJobSetIdBytes

        public Testspec.TestSpec.Builder setJobSetIdBytes​(com.google.protobuf.ByteString value)
         Job set to submit jobs to.
         
        string job_set_id = 4;
        Parameters:
        value - The bytes for jobSetId to set.
        Returns:
        This builder for chaining.
      • getNumBatches

        public int getNumBatches()
         Number of batches of jobs to submit.
         If 0, will submit forever.
         
        uint32 num_batches = 5;
        Specified by:
        getNumBatches in interface Testspec.TestSpecOrBuilder
        Returns:
        The numBatches.
      • setNumBatches

        public Testspec.TestSpec.Builder setNumBatches​(int value)
         Number of batches of jobs to submit.
         If 0, will submit forever.
         
        uint32 num_batches = 5;
        Parameters:
        value - The numBatches to set.
        Returns:
        This builder for chaining.
      • clearNumBatches

        public Testspec.TestSpec.Builder clearNumBatches()
         Number of batches of jobs to submit.
         If 0, will submit forever.
         
        uint32 num_batches = 5;
        Returns:
        This builder for chaining.
      • getBatchSize

        public int getBatchSize()
         Number of copies of the provided jobs to submit per batch.
         
        uint32 batch_size = 6;
        Specified by:
        getBatchSize in interface Testspec.TestSpecOrBuilder
        Returns:
        The batchSize.
      • setBatchSize

        public Testspec.TestSpec.Builder setBatchSize​(int value)
         Number of copies of the provided jobs to submit per batch.
         
        uint32 batch_size = 6;
        Parameters:
        value - The batchSize to set.
        Returns:
        This builder for chaining.
      • clearBatchSize

        public Testspec.TestSpec.Builder clearBatchSize()
         Number of copies of the provided jobs to submit per batch.
         
        uint32 batch_size = 6;
        Returns:
        This builder for chaining.
      • hasInterval

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

        public com.google.protobuf.Duration getInterval()
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
        Specified by:
        getInterval in interface Testspec.TestSpecOrBuilder
        Returns:
        The interval.
      • setInterval

        public Testspec.TestSpec.Builder setInterval​(com.google.protobuf.Duration value)
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
      • setInterval

        public Testspec.TestSpec.Builder setInterval​(com.google.protobuf.Duration.Builder builderForValue)
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
      • mergeInterval

        public Testspec.TestSpec.Builder mergeInterval​(com.google.protobuf.Duration value)
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
      • clearInterval

        public Testspec.TestSpec.Builder clearInterval()
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
      • getIntervalBuilder

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

        public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
         Time between batches.
         If 0, jobs are submitted as quickly as possible.
         
        .google.protobuf.Duration interval = 7;
        Specified by:
        getIntervalOrBuilder in interface Testspec.TestSpecOrBuilder
      • hasTimeout

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

        public com.google.protobuf.Duration getTimeout()
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
        Specified by:
        getTimeout in interface Testspec.TestSpecOrBuilder
        Returns:
        The timeout.
      • setTimeout

        public Testspec.TestSpec.Builder setTimeout​(com.google.protobuf.Duration value)
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
      • setTimeout

        public Testspec.TestSpec.Builder setTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
      • mergeTimeout

        public Testspec.TestSpec.Builder mergeTimeout​(com.google.protobuf.Duration value)
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
      • clearTimeout

        public Testspec.TestSpec.Builder clearTimeout()
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
      • getTimeoutBuilder

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

        public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
         Number of seconds to wait for jobs to finish.
         
        .google.protobuf.Duration timeout = 8;
        Specified by:
        getTimeoutOrBuilder in interface Testspec.TestSpecOrBuilder
      • getCancelValue

        public int getCancelValue()
        .api.TestSpec.Cancel cancel = 9;
        Specified by:
        getCancelValue in interface Testspec.TestSpecOrBuilder
        Returns:
        The enum numeric value on the wire for cancel.
      • setCancelValue

        public Testspec.TestSpec.Builder setCancelValue​(int value)
        .api.TestSpec.Cancel cancel = 9;
        Parameters:
        value - The enum numeric value on the wire for cancel to set.
        Returns:
        This builder for chaining.
      • clearCancel

        public Testspec.TestSpec.Builder clearCancel()
        .api.TestSpec.Cancel cancel = 9;
        Returns:
        This builder for chaining.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Test name. Defaults to the filename if not provided.
         
        string name = 10;
        Specified by:
        getNameBytes in interface Testspec.TestSpecOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Testspec.TestSpec.Builder setName​(String value)
         Test name. Defaults to the filename if not provided.
         
        string name = 10;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Testspec.TestSpec.Builder clearName()
         Test name. Defaults to the filename if not provided.
         
        string name = 10;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Testspec.TestSpec.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Test name. Defaults to the filename if not provided.
         
        string name = 10;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getRandomClientId

        public boolean getRandomClientId()
         Randomize clientId if not provided
         
        bool random_client_id = 11;
        Specified by:
        getRandomClientId in interface Testspec.TestSpecOrBuilder
        Returns:
        The randomClientId.
      • setRandomClientId

        public Testspec.TestSpec.Builder setRandomClientId​(boolean value)
         Randomize clientId if not provided
         
        bool random_client_id = 11;
        Parameters:
        value - The randomClientId to set.
        Returns:
        This builder for chaining.
      • clearRandomClientId

        public Testspec.TestSpec.Builder clearRandomClientId()
         Randomize clientId if not provided
         
        bool random_client_id = 11;
        Returns:
        This builder for chaining.
      • getGetLogs

        public boolean getGetLogs()
         Toggle should testsuite scrape Armada Job (pod) logs
         
        bool get_logs = 12;
        Specified by:
        getGetLogs in interface Testspec.TestSpecOrBuilder
        Returns:
        The getLogs.
      • setGetLogs

        public Testspec.TestSpec.Builder setGetLogs​(boolean value)
         Toggle should testsuite scrape Armada Job (pod) logs
         
        bool get_logs = 12;
        Parameters:
        value - The getLogs to set.
        Returns:
        This builder for chaining.
      • clearGetLogs

        public Testspec.TestSpec.Builder clearGetLogs()
         Toggle should testsuite scrape Armada Job (pod) logs
         
        bool get_logs = 12;
        Returns:
        This builder for chaining.
      • getEnvironment

        public String getEnvironment()
         Value of the environment label set on exported Prometheus metrics.
         
        string environment = 13;
        Specified by:
        getEnvironment in interface Testspec.TestSpecOrBuilder
        Returns:
        The environment.
      • getEnvironmentBytes

        public com.google.protobuf.ByteString getEnvironmentBytes()
         Value of the environment label set on exported Prometheus metrics.
         
        string environment = 13;
        Specified by:
        getEnvironmentBytes in interface Testspec.TestSpecOrBuilder
        Returns:
        The bytes for environment.
      • setEnvironment

        public Testspec.TestSpec.Builder setEnvironment​(String value)
         Value of the environment label set on exported Prometheus metrics.
         
        string environment = 13;
        Parameters:
        value - The environment to set.
        Returns:
        This builder for chaining.
      • clearEnvironment

        public Testspec.TestSpec.Builder clearEnvironment()
         Value of the environment label set on exported Prometheus metrics.
         
        string environment = 13;
        Returns:
        This builder for chaining.
      • setEnvironmentBytes

        public Testspec.TestSpec.Builder setEnvironmentBytes​(com.google.protobuf.ByteString value)
         Value of the environment label set on exported Prometheus metrics.
         
        string environment = 13;
        Parameters:
        value - The bytes for environment to set.
        Returns:
        This builder for chaining.
      • getTarget

        public String getTarget()
         Value of the target label set on exported Prometheus metrics.
         
        string target = 14;
        Specified by:
        getTarget in interface Testspec.TestSpecOrBuilder
        Returns:
        The target.
      • getTargetBytes

        public com.google.protobuf.ByteString getTargetBytes()
         Value of the target label set on exported Prometheus metrics.
         
        string target = 14;
        Specified by:
        getTargetBytes in interface Testspec.TestSpecOrBuilder
        Returns:
        The bytes for target.
      • setTarget

        public Testspec.TestSpec.Builder setTarget​(String value)
         Value of the target label set on exported Prometheus metrics.
         
        string target = 14;
        Parameters:
        value - The target to set.
        Returns:
        This builder for chaining.
      • clearTarget

        public Testspec.TestSpec.Builder clearTarget()
         Value of the target label set on exported Prometheus metrics.
         
        string target = 14;
        Returns:
        This builder for chaining.
      • setTargetBytes

        public Testspec.TestSpec.Builder setTargetBytes​(com.google.protobuf.ByteString value)
         Value of the target label set on exported Prometheus metrics.
         
        string target = 14;
        Parameters:
        value - The bytes for target to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Testspec.TestSpec.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>
      • mergeUnknownFields

        public final Testspec.TestSpec.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Testspec.TestSpec.Builder>