TestResults.Builder

public static final class TestResults.Builder

 The output of one benchmark / test run.  Each run contains a list of
 tests or benchmarks, stored as BenchmarkEntry messages.
 This message should be emitted by the reporter (which runs the
 test / BM in a subprocess and then reads the emitted BenchmarkEntry messages;
 usually from a serialized json file, finally collecting them along
 with additional information about the test run.
 
Protobuf type tensorflow.TestResults

Public Methods

TestResults.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TestResults
build()
TestResults
TestResults.Builder
clear()
TestResults.Builder
clearBenchmarkType()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
TestResults.Builder
clearBuildConfiguration()
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
TestResults.Builder
clearCommitId()
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
TestResults.Builder
clearEntries()
 The list of tests or benchmarks in this run.
TestResults.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TestResults.Builder
clearMachineConfiguration()
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
TestResults.Builder
clearName()
 Benchmark target identifier.
TestResults.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TestResults.Builder
clearRunConfiguration()
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
TestResults.Builder
clearRunMode()
 Used for differentiating between continuous and debug builds.
TestResults.Builder
clearRunTime()
 The amount of time the total run took (wall time in seconds)
 
double run_time = 6;
TestResults.Builder
clearStartTime()
 The time the run started (in seconds of UTC time since Unix epoch)
 
int64 start_time = 5;
TestResults.Builder
clearTarget()
 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;
TestResults.Builder
clearTfVersion()
 TensorFlow version this benchmark runs against.
TestResults.Builder
clone()
TestResults.BenchmarkType
getBenchmarkType()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
int
getBenchmarkTypeValue()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
BuildConfiguration
getBuildConfiguration()
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
BuildConfiguration.Builder
getBuildConfigurationBuilder()
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
BuildConfigurationOrBuilder
getBuildConfigurationOrBuilder()
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
CommitId
getCommitId()
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
CommitId.Builder
getCommitIdBuilder()
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
CommitIdOrBuilder
getCommitIdOrBuilder()
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
TestResults
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
BenchmarkEntries
getEntries()
 The list of tests or benchmarks in this run.
BenchmarkEntries.Builder
getEntriesBuilder()
 The list of tests or benchmarks in this run.
BenchmarkEntriesOrBuilder
getEntriesOrBuilder()
 The list of tests or benchmarks in this run.
MachineConfiguration
getMachineConfiguration()
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
MachineConfiguration.Builder
getMachineConfigurationBuilder()
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
MachineConfigurationOrBuilder
getMachineConfigurationOrBuilder()
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
String
getName()
 Benchmark target identifier.
com.google.protobuf.ByteString
getNameBytes()
 Benchmark target identifier.
RunConfiguration
getRunConfiguration()
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
RunConfiguration.Builder
getRunConfigurationBuilder()
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
RunConfigurationOrBuilder
getRunConfigurationOrBuilder()
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
String
getRunMode()
 Used for differentiating between continuous and debug builds.
com.google.protobuf.ByteString
getRunModeBytes()
 Used for differentiating between continuous and debug builds.
double
getRunTime()
 The amount of time the total run took (wall time in seconds)
 
double run_time = 6;
long
getStartTime()
 The time the run started (in seconds of UTC time since Unix epoch)
 
int64 start_time = 5;
String
getTarget()
 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;
com.google.protobuf.ByteString
getTargetBytes()
 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;
String
getTfVersion()
 TensorFlow version this benchmark runs against.
com.google.protobuf.ByteString
getTfVersionBytes()
 TensorFlow version this benchmark runs against.
boolean
hasBuildConfiguration()
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
boolean
hasCommitId()
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
boolean
hasEntries()
 The list of tests or benchmarks in this run.
boolean
hasMachineConfiguration()
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
boolean
hasRunConfiguration()
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
final boolean
TestResults.Builder
mergeBuildConfiguration(BuildConfiguration value)
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
TestResults.Builder
mergeCommitId(CommitId value)
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
TestResults.Builder
mergeEntries(BenchmarkEntries value)
 The list of tests or benchmarks in this run.
TestResults.Builder
mergeFrom(com.google.protobuf.Message other)
TestResults.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TestResults.Builder
mergeMachineConfiguration(MachineConfiguration value)
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
TestResults.Builder
mergeRunConfiguration(RunConfiguration value)
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
final TestResults.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TestResults.Builder
setBenchmarkType(TestResults.BenchmarkType value)
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
TestResults.Builder
setBenchmarkTypeValue(int value)
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
TestResults.Builder
setBuildConfiguration(BuildConfiguration.Builder builderForValue)
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
TestResults.Builder
setBuildConfiguration(BuildConfiguration value)
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
TestResults.Builder
setCommitId(CommitId.Builder builderForValue)
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
TestResults.Builder
setCommitId(CommitId value)
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
TestResults.Builder
setEntries(BenchmarkEntries.Builder builderForValue)
 The list of tests or benchmarks in this run.
TestResults.Builder
setEntries(BenchmarkEntries value)
 The list of tests or benchmarks in this run.
TestResults.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TestResults.Builder
setMachineConfiguration(MachineConfiguration.Builder builderForValue)
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
TestResults.Builder
setMachineConfiguration(MachineConfiguration value)
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
TestResults.Builder
setName(String value)
 Benchmark target identifier.
TestResults.Builder
setNameBytes(com.google.protobuf.ByteString value)
 Benchmark target identifier.
TestResults.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TestResults.Builder
setRunConfiguration(RunConfiguration value)
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
TestResults.Builder
setRunConfiguration(RunConfiguration.Builder builderForValue)
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
TestResults.Builder
setRunMode(String value)
 Used for differentiating between continuous and debug builds.
TestResults.Builder
setRunModeBytes(com.google.protobuf.ByteString value)
 Used for differentiating between continuous and debug builds.
TestResults.Builder
setRunTime(double value)
 The amount of time the total run took (wall time in seconds)
 
double run_time = 6;
TestResults.Builder
setStartTime(long value)
 The time the run started (in seconds of UTC time since Unix epoch)
 
int64 start_time = 5;
TestResults.Builder
setTarget(String value)
 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;
TestResults.Builder
setTargetBytes(com.google.protobuf.ByteString value)
 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;
TestResults.Builder
setTfVersion(String value)
 TensorFlow version this benchmark runs against.
TestResults.Builder
setTfVersionBytes(com.google.protobuf.ByteString value)
 TensorFlow version this benchmark runs against.
final TestResults.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public TestResults.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TestResults build ()

public TestResults buildPartial ()

public TestResults.Builder clear ()

public TestResults.Builder clearBenchmarkType ()

.tensorflow.TestResults.BenchmarkType benchmark_type = 10;

public TestResults.Builder clearBuildConfiguration ()

 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;

public TestResults.Builder clearCommitId ()

 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;

public TestResults.Builder clearEntries ()

 The list of tests or benchmarks in this run.
 
.tensorflow.BenchmarkEntries entries = 2;

public TestResults.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public TestResults.Builder clearMachineConfiguration ()

 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;

public TestResults.Builder clearName ()

 Benchmark target identifier.
 
string name = 9;

public TestResults.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public TestResults.Builder clearRunConfiguration ()

 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;

public TestResults.Builder clearRunMode ()

 Used for differentiating between continuous and debug builds.
 Must be one of:
 * cbuild: results from continuous build.
 * presubmit: results from oneshot requests.
 * culprit: results from culprit finder rerun.
 
string run_mode = 11;

public TestResults.Builder clearRunTime ()

 The amount of time the total run took (wall time in seconds)
 
double run_time = 6;

public TestResults.Builder clearStartTime ()

 The time the run started (in seconds of UTC time since Unix epoch)
 
int64 start_time = 5;

public TestResults.Builder clearTarget ()

 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;

public TestResults.Builder clearTfVersion ()

 TensorFlow version this benchmark runs against.
 This can be either set to full version or just the major version.
 
string tf_version = 12;

public TestResults.Builder clone ()

public TestResults.BenchmarkType getBenchmarkType ()

.tensorflow.TestResults.BenchmarkType benchmark_type = 10;

public int getBenchmarkTypeValue ()

.tensorflow.TestResults.BenchmarkType benchmark_type = 10;

public BuildConfiguration getBuildConfiguration ()

 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;

public BuildConfiguration.Builder getBuildConfigurationBuilder ()

 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;

public BuildConfigurationOrBuilder getBuildConfigurationOrBuilder ()

 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;

public CommitId getCommitId ()

 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;

public CommitId.Builder getCommitIdBuilder ()

 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;

public CommitIdOrBuilder getCommitIdOrBuilder ()

 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;

public TestResults getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public BenchmarkEntries getEntries ()

 The list of tests or benchmarks in this run.
 
.tensorflow.BenchmarkEntries entries = 2;

public BenchmarkEntries.Builder getEntriesBuilder ()

 The list of tests or benchmarks in this run.
 
.tensorflow.BenchmarkEntries entries = 2;

public BenchmarkEntriesOrBuilder getEntriesOrBuilder ()

 The list of tests or benchmarks in this run.
 
.tensorflow.BenchmarkEntries entries = 2;

public MachineConfiguration getMachineConfiguration ()

 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;

public MachineConfiguration.Builder getMachineConfigurationBuilder ()

 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;

public MachineConfigurationOrBuilder getMachineConfigurationOrBuilder ()

 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;

public String getName ()

 Benchmark target identifier.
 
string name = 9;

public com.google.protobuf.ByteString getNameBytes ()

 Benchmark target identifier.
 
string name = 9;

public RunConfiguration getRunConfiguration ()

 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;

public RunConfiguration.Builder getRunConfigurationBuilder ()

 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;

public RunConfigurationOrBuilder getRunConfigurationOrBuilder ()

 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;

public String getRunMode ()

 Used for differentiating between continuous and debug builds.
 Must be one of:
 * cbuild: results from continuous build.
 * presubmit: results from oneshot requests.
 * culprit: results from culprit finder rerun.
 
string run_mode = 11;

public com.google.protobuf.ByteString getRunModeBytes ()

 Used for differentiating between continuous and debug builds.
 Must be one of:
 * cbuild: results from continuous build.
 * presubmit: results from oneshot requests.
 * culprit: results from culprit finder rerun.
 
string run_mode = 11;

public double getRunTime ()

 The amount of time the total run took (wall time in seconds)
 
double run_time = 6;

public long getStartTime ()

 The time the run started (in seconds of UTC time since Unix epoch)
 
int64 start_time = 5;

public String getTarget ()

 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;

public com.google.protobuf.ByteString getTargetBytes ()

 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;

public String getTfVersion ()

 TensorFlow version this benchmark runs against.
 This can be either set to full version or just the major version.
 
string tf_version = 12;

public com.google.protobuf.ByteString getTfVersionBytes ()

 TensorFlow version this benchmark runs against.
 This can be either set to full version or just the major version.
 
string tf_version = 12;

public boolean hasBuildConfiguration ()

 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;

public boolean hasCommitId ()

 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;

public boolean hasEntries ()

 The list of tests or benchmarks in this run.
 
.tensorflow.BenchmarkEntries entries = 2;

public boolean hasMachineConfiguration ()

 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;

public boolean hasRunConfiguration ()

 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;

public final boolean isInitialized ()

public TestResults.Builder mergeBuildConfiguration (BuildConfiguration value)

 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;

public TestResults.Builder mergeCommitId (CommitId value)

 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;

public TestResults.Builder mergeEntries (BenchmarkEntries value)

 The list of tests or benchmarks in this run.
 
.tensorflow.BenchmarkEntries entries = 2;

public TestResults.Builder mergeFrom (com.google.protobuf.Message other)

public TestResults.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public TestResults.Builder mergeMachineConfiguration (MachineConfiguration value)

 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;

public TestResults.Builder mergeRunConfiguration (RunConfiguration value)

 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;

public final TestResults.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public TestResults.Builder setBenchmarkType (TestResults.BenchmarkType value)

.tensorflow.TestResults.BenchmarkType benchmark_type = 10;

public TestResults.Builder setBenchmarkTypeValue (int value)

.tensorflow.TestResults.BenchmarkType benchmark_type = 10;

public TestResults.Builder setBuildConfiguration (BuildConfiguration.Builder builderForValue)

 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;

public TestResults.Builder setBuildConfiguration (BuildConfiguration value)

 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;

public TestResults.Builder setCommitId (CommitId.Builder builderForValue)

 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;

public TestResults.Builder setCommitId (CommitId value)

 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;

public TestResults.Builder setEntries (BenchmarkEntries.Builder builderForValue)

 The list of tests or benchmarks in this run.
 
.tensorflow.BenchmarkEntries entries = 2;

public TestResults.Builder setEntries (BenchmarkEntries value)

 The list of tests or benchmarks in this run.
 
.tensorflow.BenchmarkEntries entries = 2;

public TestResults.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TestResults.Builder setMachineConfiguration (MachineConfiguration.Builder builderForValue)

 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;

public TestResults.Builder setMachineConfiguration (MachineConfiguration value)

 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;

public TestResults.Builder setName (String value)

 Benchmark target identifier.
 
string name = 9;

public TestResults.Builder setNameBytes (com.google.protobuf.ByteString value)

 Benchmark target identifier.
 
string name = 9;

public TestResults.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public TestResults.Builder setRunConfiguration (RunConfiguration value)

 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;

public TestResults.Builder setRunConfiguration (RunConfiguration.Builder builderForValue)

 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;

public TestResults.Builder setRunMode (String value)

 Used for differentiating between continuous and debug builds.
 Must be one of:
 * cbuild: results from continuous build.
 * presubmit: results from oneshot requests.
 * culprit: results from culprit finder rerun.
 
string run_mode = 11;

public TestResults.Builder setRunModeBytes (com.google.protobuf.ByteString value)

 Used for differentiating between continuous and debug builds.
 Must be one of:
 * cbuild: results from continuous build.
 * presubmit: results from oneshot requests.
 * culprit: results from culprit finder rerun.
 
string run_mode = 11;

public TestResults.Builder setRunTime (double value)

 The amount of time the total run took (wall time in seconds)
 
double run_time = 6;

public TestResults.Builder setStartTime (long value)

 The time the run started (in seconds of UTC time since Unix epoch)
 
int64 start_time = 5;

public TestResults.Builder setTarget (String value)

 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;

public TestResults.Builder setTargetBytes (com.google.protobuf.ByteString value)

 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;

public TestResults.Builder setTfVersion (String value)

 TensorFlow version this benchmark runs against.
 This can be either set to full version or just the major version.
 
string tf_version = 12;

public TestResults.Builder setTfVersionBytes (com.google.protobuf.ByteString value)

 TensorFlow version this benchmark runs against.
 This can be either set to full version or just the major version.
 
string tf_version = 12;

public final TestResults.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)