Class ClusterDef.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ClusterDef.Builder>
com.google.protobuf.GeneratedMessage.Builder<ClusterDef.Builder>
org.tensorflow.proto.ClusterDef.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, ClusterDefOrBuilder
- Enclosing class:
ClusterDef
public static final class ClusterDef.Builder
extends GeneratedMessage.Builder<ClusterDef.Builder>
implements ClusterDefOrBuilder
Defines a TensorFlow cluster as a set of jobs.Protobuf type
tensorflow.ClusterDef-
Method Summary
Modifier and TypeMethodDescriptionThe jobs that comprise the cluster.The jobs that comprise the cluster.addJob(int index, JobDef.Builder builderForValue) The jobs that comprise the cluster.The jobs that comprise the cluster.addJob(JobDef.Builder builderForValue) The jobs that comprise the cluster.The jobs that comprise the cluster.addJobBuilder(int index) The jobs that comprise the cluster.build()clear()clearJob()The jobs that comprise the cluster.static final Descriptors.DescriptorgetJob(int index) The jobs that comprise the cluster.getJobBuilder(int index) The jobs that comprise the cluster.The jobs that comprise the cluster.intThe jobs that comprise the cluster.The jobs that comprise the cluster.getJobOrBuilder(int index) The jobs that comprise the cluster.List<? extends JobDefOrBuilder> The jobs that comprise the cluster.protected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(ClusterDef other) removeJob(int index) The jobs that comprise the cluster.The jobs that comprise the cluster.setJob(int index, JobDef.Builder builderForValue) The jobs that comprise the cluster.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<ClusterDef.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<ClusterDef.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<ClusterDef.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ClusterDef.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<ClusterDef.Builder>
-
mergeFrom
public ClusterDef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ClusterDef.Builder>- Throws:
IOException
-
getJobList
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;- Specified by:
getJobListin interfaceClusterDefOrBuilder
-
getJobCount
public int getJobCount()The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;- Specified by:
getJobCountin interfaceClusterDefOrBuilder
-
getJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;- Specified by:
getJobin interfaceClusterDefOrBuilder
-
setJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
setJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
addJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
addJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
addJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
addJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
addAllJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
clearJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
removeJob
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
getJobBuilder
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
getJobOrBuilder
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;- Specified by:
getJobOrBuilderin interfaceClusterDefOrBuilder
-
getJobOrBuilderList
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;- Specified by:
getJobOrBuilderListin interfaceClusterDefOrBuilder
-
addJobBuilder
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
addJobBuilder
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1; -
getJobBuilderList
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;
-