public static final class
ClusterDef.Builder
Defines a TensorFlow cluster as a set of jobs.Protobuf type
tensorflow.ClusterDef
Public Methods
ClusterDef.Builder | |
ClusterDef.Builder | |
ClusterDef.Builder | |
ClusterDef.Builder | |
ClusterDef.Builder | |
JobDef.Builder |
addJobBuilder(int index)
The jobs that comprise the cluster. |
JobDef.Builder |
addJobBuilder()
The jobs that comprise the cluster. |
ClusterDef.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
ClusterDef |
build()
|
ClusterDef | |
ClusterDef.Builder |
clear()
|
ClusterDef.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
ClusterDef.Builder |
clearJob()
The jobs that comprise the cluster. |
ClusterDef.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
ClusterDef.Builder |
clone()
|
ClusterDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
JobDef |
getJob(int index)
The jobs that comprise the cluster. |
JobDef.Builder |
getJobBuilder(int index)
The jobs that comprise the cluster. |
List<JobDef.Builder> |
getJobBuilderList()
The jobs that comprise the cluster. |
int |
getJobCount()
The jobs that comprise the cluster. |
List<JobDef> |
getJobList()
The jobs that comprise the cluster. |
JobDefOrBuilder |
getJobOrBuilder(int index)
The jobs that comprise the cluster. |
List<? extends JobDefOrBuilder> |
getJobOrBuilderList()
The jobs that comprise the cluster. |
final boolean | |
ClusterDef.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
ClusterDef.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final ClusterDef.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
ClusterDef.Builder |
removeJob(int index)
The jobs that comprise the cluster. |
ClusterDef.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
ClusterDef.Builder | |
ClusterDef.Builder | |
ClusterDef.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final ClusterDef.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public ClusterDef.Builder addAllJob (Iterable<? extends JobDef> values)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public ClusterDef.Builder addJob (JobDef value)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public ClusterDef.Builder addJob (JobDef.Builder builderForValue)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public ClusterDef.Builder addJob (int index, JobDef.Builder builderForValue)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public ClusterDef.Builder addJob (int index, JobDef value)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public JobDef.Builder addJobBuilder (int index)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public JobDef.Builder addJobBuilder ()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public ClusterDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ClusterDef.Builder clearJob ()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public JobDef getJob (int index)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public JobDef.Builder getJobBuilder (int index)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public List<JobDef.Builder> getJobBuilderList ()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public int getJobCount ()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public List<JobDef> getJobList ()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public JobDefOrBuilder getJobOrBuilder (int index)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public List<? extends JobDefOrBuilder> getJobOrBuilderList ()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public final boolean isInitialized ()
public ClusterDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final ClusterDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ClusterDef.Builder removeJob (int index)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public ClusterDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ClusterDef.Builder setJob (int index, JobDef.Builder builderForValue)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
public ClusterDef.Builder setJob (int index, JobDef value)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;