org.tensorflow.distruntime.ServerDefOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto Show documentation
Show all versions of proto Show documentation
Java API for TensorFlow protocol buffers.
// 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)
com.google.protobuf.MessageOrBuilder {
/**
*
* The cluster of which this server is a member.
*
*
* .tensorflow.ClusterDef cluster = 1;
*/
boolean hasCluster();
/**
*
* The cluster of which this server is a member.
*
*
* .tensorflow.ClusterDef cluster = 1;
*/
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;
*/
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;
*/
com.google.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;
*/
int getTaskIndex();
/**
*
* The default configuration for sessions that run on this server.
*
*
* .tensorflow.ConfigProto default_session_config = 4;
*/
boolean hasDefaultSessionConfig();
/**
*
* The default configuration for sessions that run on this server.
*
*
* .tensorflow.ConfigProto default_session_config = 4;
*/
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", "grpc+verbs".
*
*
* string protocol = 5;
*/
java.lang.String getProtocol();
/**
*
* The protocol to be used by this server.
* Acceptable values include: "grpc", "grpc+verbs".
*
*
* string protocol = 5;
*/
com.google.protobuf.ByteString
getProtocolBytes();
}