org.tensorflow.distruntime.ServerDefOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/tensorflow_server.proto
package org.tensorflow.distruntime;
public interface ServerDefOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.ServerDef)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* The cluster of which this server is a member.
*
*
* .tensorflow.ClusterDef cluster = 1;
* @return Whether the cluster field is set.
*/
boolean hasCluster();
/**
*
* The cluster of which this server is a member.
*
*
* .tensorflow.ClusterDef cluster = 1;
* @return The cluster.
*/
org.tensorflow.distruntime.ClusterDef getCluster();
/**
*
* The cluster of which this server is a member.
*
*
* .tensorflow.ClusterDef cluster = 1;
*/
org.tensorflow.distruntime.ClusterDefOrBuilder getClusterOrBuilder();
/**
*
* The name of the job of which this server is a member.
* NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field
* that matches this name.
*
*
* string job_name = 2;
* @return The jobName.
*/
java.lang.String getJobName();
/**
*
* The name of the job of which this server is a member.
* NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field
* that matches this name.
*
*
* string job_name = 2;
* @return The bytes for jobName.
*/
org.nd4j.shade.protobuf.ByteString
getJobNameBytes();
/**
*
* The task index of this server in its job.
* NOTE: The `cluster` field must contain a `JobDef` with a matching `name`
* and a mapping in its `tasks` field for this index.
*
*
* int32 task_index = 3;
* @return The taskIndex.
*/
int getTaskIndex();
/**
*
* The default configuration for sessions that run on this server.
*
*
* .tensorflow.ConfigProto default_session_config = 4;
* @return Whether the defaultSessionConfig field is set.
*/
boolean hasDefaultSessionConfig();
/**
*
* The default configuration for sessions that run on this server.
*
*
* .tensorflow.ConfigProto default_session_config = 4;
* @return The defaultSessionConfig.
*/
org.tensorflow.framework.ConfigProto getDefaultSessionConfig();
/**
*
* The default configuration for sessions that run on this server.
*
*
* .tensorflow.ConfigProto default_session_config = 4;
*/
org.tensorflow.framework.ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder();
/**
*
* The protocol to be used by this server.
* Acceptable values include: "grpc".
*
*
* string protocol = 5;
* @return The protocol.
*/
java.lang.String getProtocol();
/**
*
* The protocol to be used by this server.
* Acceptable values include: "grpc".
*
*
* string protocol = 5;
* @return The bytes for protocol.
*/
org.nd4j.shade.protobuf.ByteString
getProtocolBytes();
}