public static final class
RunConfiguration.Builder
Run-specific items such as arguments to the test / benchmark.
tensorflow.RunConfiguration
Public Methods
RunConfiguration.Builder |
addAllArgument(Iterable<String> values)
repeated string argument = 1;
|
RunConfiguration.Builder |
addArgument(String value)
repeated string argument = 1;
|
RunConfiguration.Builder |
addArgumentBytes(com.google.protobuf.ByteString value)
repeated string argument = 1;
|
RunConfiguration.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
RunConfiguration |
build()
|
RunConfiguration | |
RunConfiguration.Builder |
clear()
|
RunConfiguration.Builder |
clearArgument()
repeated string argument = 1;
|
RunConfiguration.Builder | |
RunConfiguration.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
RunConfiguration.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
RunConfiguration.Builder |
clone()
|
boolean |
containsEnvVars(String key)
Environment variables used to run the test/benchmark. |
String |
getArgument(int index)
repeated string argument = 1;
|
com.google.protobuf.ByteString |
getArgumentBytes(int index)
repeated string argument = 1;
|
int |
getArgumentCount()
repeated string argument = 1;
|
com.google.protobuf.ProtocolStringList |
getArgumentList()
repeated string argument = 1;
|
RunConfiguration | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<String, String> |
getEnvVars()
Use
getEnvVarsMap() instead. |
int |
getEnvVarsCount()
Environment variables used to run the test/benchmark. |
Map<String, String> |
getEnvVarsMap()
Environment variables used to run the test/benchmark. |
String |
getEnvVarsOrDefault(String key, String defaultValue)
Environment variables used to run the test/benchmark. |
String |
getEnvVarsOrThrow(String key)
Environment variables used to run the test/benchmark. |
Map<String, String> |
getMutableEnvVars()
Use alternate mutation accessors instead.
|
final boolean | |
RunConfiguration.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
RunConfiguration.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final RunConfiguration.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
RunConfiguration.Builder |
putAllEnvVars(Map<String, String> values)
Environment variables used to run the test/benchmark. |
RunConfiguration.Builder |
putEnvVars(String key, String value)
Environment variables used to run the test/benchmark. |
RunConfiguration.Builder |
removeEnvVars(String key)
Environment variables used to run the test/benchmark. |
RunConfiguration.Builder |
setArgument(int index, String value)
repeated string argument = 1;
|
RunConfiguration.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
RunConfiguration.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final RunConfiguration.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public RunConfiguration.Builder addAllArgument (Iterable<String> values)
repeated string argument = 1;
public RunConfiguration.Builder addArgumentBytes (com.google.protobuf.ByteString value)
repeated string argument = 1;
public RunConfiguration.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public boolean containsEnvVars (String key)
Environment variables used to run the test/benchmark.
map<string, string> env_vars = 2;
public String getArgument (int index)
repeated string argument = 1;
public com.google.protobuf.ByteString getArgumentBytes (int index)
repeated string argument = 1;
public int getArgumentCount ()
repeated string argument = 1;
public com.google.protobuf.ProtocolStringList getArgumentList ()
repeated string argument = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getEnvVarsCount ()
Environment variables used to run the test/benchmark.
map<string, string> env_vars = 2;
public Map<String, String> getEnvVarsMap ()
Environment variables used to run the test/benchmark.
map<string, string> env_vars = 2;
public String getEnvVarsOrDefault (String key, String defaultValue)
Environment variables used to run the test/benchmark.
map<string, string> env_vars = 2;
public String getEnvVarsOrThrow (String key)
Environment variables used to run the test/benchmark.
map<string, string> env_vars = 2;
public Map<String, String> getMutableEnvVars ()
Use alternate mutation accessors instead.
public final boolean isInitialized ()
public RunConfiguration.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final RunConfiguration.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public RunConfiguration.Builder putAllEnvVars (Map<String, String> values)
Environment variables used to run the test/benchmark.
map<string, string> env_vars = 2;
public RunConfiguration.Builder putEnvVars (String key, String value)
Environment variables used to run the test/benchmark.
map<string, string> env_vars = 2;
public RunConfiguration.Builder removeEnvVars (String key)
Environment variables used to run the test/benchmark.
map<string, string> env_vars = 2;