ClusterDef

public final class ClusterDef

 Defines a TensorFlow cluster as a set of jobs.
 
Protobuf type tensorflow.ClusterDef

Nested Classes

class ClusterDef.Builder
 Defines a TensorFlow cluster as a set of jobs. 

Constants

int JOB_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static ClusterDef
ClusterDef
final static com.google.protobuf.Descriptors.Descriptor
JobDef
getJob(int index)
 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.
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static ClusterDef.Builder
newBuilder(ClusterDef prototype)
static ClusterDef.Builder
ClusterDef.Builder
static ClusterDef
parseDelimitedFrom(InputStream input)
static ClusterDef
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterDef
parseFrom(ByteBuffer data)
static ClusterDef
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterDef
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterDef
parseFrom(com.google.protobuf.CodedInputStream input)
static ClusterDef
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterDef
parseFrom(com.google.protobuf.ByteString data)
static ClusterDef
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterDef
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
ClusterDef.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int JOB_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public static ClusterDef getDefaultInstance ()

public ClusterDef getDefaultInstanceForType ()

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

public JobDef getJob (int index)

 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 getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static ClusterDef.Builder newBuilder (ClusterDef prototype)

public static ClusterDef.Builder newBuilder ()

public ClusterDef.Builder newBuilderForType ()

public static ClusterDef parseDelimitedFrom (InputStream input)

Throws
IOException

public static ClusterDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ClusterDef parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static ClusterDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ClusterDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static ClusterDef parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static ClusterDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static ClusterDef parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static ClusterDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ClusterDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public ClusterDef.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException