public static final class ClusterDef.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder> implements ClusterDefOrBuilder
Defines a TensorFlow cluster as a set of jobs.Protobuf type
tensorflow.ClusterDef| Modifier and Type | Method and Description |
|---|---|
ClusterDef.Builder |
addAllJob(Iterable<? extends JobDef> values)
The jobs that comprise the cluster.
|
ClusterDef.Builder |
addJob(int index,
JobDef.Builder builderForValue)
The jobs that comprise the cluster.
|
ClusterDef.Builder |
addJob(int index,
JobDef value)
The jobs that comprise the cluster.
|
ClusterDef.Builder |
addJob(JobDef.Builder builderForValue)
The jobs that comprise the cluster.
|
ClusterDef.Builder |
addJob(JobDef value)
The jobs that comprise the cluster.
|
JobDef.Builder |
addJobBuilder()
The jobs that comprise the cluster.
|
JobDef.Builder |
addJobBuilder(int index)
The jobs that comprise the cluster.
|
ClusterDef.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ClusterDef |
build() |
ClusterDef |
buildPartial() |
ClusterDef.Builder |
clear() |
ClusterDef.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
ClusterDef.Builder |
clearJob()
The jobs that comprise the cluster.
|
ClusterDef.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
ClusterDef.Builder |
clone() |
ClusterDef |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClusterDef.Builder |
mergeFrom(ClusterDef other) |
ClusterDef.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
ClusterDef.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
ClusterDef.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
ClusterDef.Builder |
removeJob(int index)
The jobs that comprise the cluster.
|
ClusterDef.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ClusterDef.Builder |
setJob(int index,
JobDef.Builder builderForValue)
The jobs that comprise the cluster.
|
ClusterDef.Builder |
setJob(int index,
JobDef value)
The jobs that comprise the cluster.
|
ClusterDef.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
ClusterDef.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic ClusterDef build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic ClusterDef buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic ClusterDef.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<ClusterDef.Builder>public ClusterDef.Builder mergeFrom(ClusterDef other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public ClusterDef.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<ClusterDef.Builder>IOExceptionpublic List<JobDef> getJobList()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;getJobList in interface ClusterDefOrBuilderpublic int getJobCount()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;getJobCount in interface ClusterDefOrBuilderpublic JobDef getJob(int index)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;getJob in interface ClusterDefOrBuilderpublic ClusterDef.Builder setJob(int index, JobDef value)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;public ClusterDef.Builder setJob(int index, JobDef.Builder builderForValue)
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(int index, 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 addAllJob(Iterable<? extends JobDef> values)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;public ClusterDef.Builder clearJob()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;public ClusterDef.Builder removeJob(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 JobDefOrBuilder getJobOrBuilder(int index)
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;getJobOrBuilder in interface ClusterDefOrBuilderpublic List<? extends JobDefOrBuilder> getJobOrBuilderList()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;getJobOrBuilderList in interface ClusterDefOrBuilderpublic JobDef.Builder addJobBuilder()
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 List<JobDef.Builder> getJobBuilderList()
The jobs that comprise the cluster.
repeated .tensorflow.JobDef job = 1;public final ClusterDef.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>public final ClusterDef.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ClusterDef.Builder>Copyright © 2018. All rights reserved.