Interface ServerDefOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ServerDef, ServerDef.Builder

    public interface ServerDefOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasCluster

        boolean hasCluster()
         The cluster of which this server is a member.
         
        .org.platanios.tensorflow.proto.ClusterDef cluster = 1;
        Returns:
        Whether the cluster field is set.
      • getCluster

        ClusterDef getCluster()
         The cluster of which this server is a member.
         
        .org.platanios.tensorflow.proto.ClusterDef cluster = 1;
        Returns:
        The cluster.
      • getClusterOrBuilder

        ClusterDefOrBuilder getClusterOrBuilder()
         The cluster of which this server is a member.
         
        .org.platanios.tensorflow.proto.ClusterDef cluster = 1;
      • getJobName

        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;
        Returns:
        The jobName.
      • getJobNameBytes

        com.google.protobuf.ByteString getJobNameBytes()
         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;
        Returns:
        The bytes for jobName.
      • getTaskIndex

        int getTaskIndex()
         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;
        Returns:
        The taskIndex.
      • hasDefaultSessionConfig

        boolean hasDefaultSessionConfig()
         The default configuration for sessions that run on this server.
         
        .org.platanios.tensorflow.proto.ConfigProto default_session_config = 4;
        Returns:
        Whether the defaultSessionConfig field is set.
      • getDefaultSessionConfig

        ConfigProto getDefaultSessionConfig()
         The default configuration for sessions that run on this server.
         
        .org.platanios.tensorflow.proto.ConfigProto default_session_config = 4;
        Returns:
        The defaultSessionConfig.
      • getDefaultSessionConfigOrBuilder

        ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder()
         The default configuration for sessions that run on this server.
         
        .org.platanios.tensorflow.proto.ConfigProto default_session_config = 4;
      • getProtocol

        java.lang.String getProtocol()
         The protocol to be used by this server.
         Acceptable values include: "grpc", "grpc+verbs".
         
        string protocol = 5;
        Returns:
        The protocol.
      • getProtocolBytes

        com.google.protobuf.ByteString getProtocolBytes()
         The protocol to be used by this server.
         Acceptable values include: "grpc", "grpc+verbs".
         
        string protocol = 5;
        Returns:
        The bytes for protocol.
      • getPort

        int getPort()
         The server port. If not set, then we identify the port from the job_name.
         
        int32 port = 6;
        Returns:
        The port.
      • hasClusterDeviceFilters

        boolean hasClusterDeviceFilters()
         Device filters for remote tasks in the cluster.
         NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
         
        .org.platanios.tensorflow.proto.ClusterDeviceFilters cluster_device_filters = 7;
        Returns:
        Whether the clusterDeviceFilters field is set.
      • getClusterDeviceFilters

        ClusterDeviceFilters getClusterDeviceFilters()
         Device filters for remote tasks in the cluster.
         NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
         
        .org.platanios.tensorflow.proto.ClusterDeviceFilters cluster_device_filters = 7;
        Returns:
        The clusterDeviceFilters.
      • getClusterDeviceFiltersOrBuilder

        ClusterDeviceFiltersOrBuilder getClusterDeviceFiltersOrBuilder()
         Device filters for remote tasks in the cluster.
         NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
         
        .org.platanios.tensorflow.proto.ClusterDeviceFilters cluster_device_filters = 7;