
org.tensorflow.distruntime.RunGraphRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tensorflow-client Show documentation
Show all versions of tensorflow-client Show documentation
Prebuilt tensorflow serving client
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/worker.proto
package org.tensorflow.distruntime;
public interface RunGraphRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.RunGraphRequest)
com.google.protobuf.MessageOrBuilder {
/**
* * session_handle is the master-generated unique id for this session.
* If session_handle is non-empty, it must be the same as used when
* registering the graph. If it is empty, a single global namespace is used to
* search for the graph_handle.
*
*
* optional string session_handle = 8;
*/
java.lang.String getSessionHandle();
/**
* * session_handle is the master-generated unique id for this session.
* If session_handle is non-empty, it must be the same as used when
* registering the graph. If it is empty, a single global namespace is used to
* search for the graph_handle.
*
*
* optional string session_handle = 8;
*/
com.google.protobuf.ByteString
getSessionHandleBytes();
/**
* * REQUIRED: graph_handle must be returned by a RegisterGraph call
* to the same WorkerService.
*
*
* optional string graph_handle = 1;
*/
java.lang.String getGraphHandle();
/**
* * REQUIRED: graph_handle must be returned by a RegisterGraph call
* to the same WorkerService.
*
*
* optional string graph_handle = 1;
*/
com.google.protobuf.ByteString
getGraphHandleBytes();
/**
* * A unique ID to distinguish different runs of the same graph.
* The master generates a global unique `step_id` to distinguish
* different runs of the graph computation. Subgraphs communicate
* (e.g., send/recv ops) with each other using `step_id` to
* distinguish tensors generated by different runs.
*
*
* optional int64 step_id = 2;
*/
long getStepId();
/**
* * Options for this step.
*
*
* optional .tensorflow.ExecutorOpts exec_opts = 5;
*/
boolean hasExecOpts();
/**
* * Options for this step.
*
*
* optional .tensorflow.ExecutorOpts exec_opts = 5;
*/
org.tensorflow.distruntime.ExecutorOpts getExecOpts();
/**
* * Options for this step.
*
*
* optional .tensorflow.ExecutorOpts exec_opts = 5;
*/
org.tensorflow.distruntime.ExecutorOptsOrBuilder getExecOptsOrBuilder();
/**
* * Runs the graph.
* Sends the tensors in "send" into the graph before the run and
* fetches the keys into `RunGraphResponse.recv` after the run.
*
*
* repeated .tensorflow.NamedTensorProto send = 3;
*/
java.util.List
getSendList();
/**
* * Runs the graph.
* Sends the tensors in "send" into the graph before the run and
* fetches the keys into `RunGraphResponse.recv` after the run.
*
*
* repeated .tensorflow.NamedTensorProto send = 3;
*/
org.tensorflow.framework.NamedTensorProto getSend(int index);
/**
* * Runs the graph.
* Sends the tensors in "send" into the graph before the run and
* fetches the keys into `RunGraphResponse.recv` after the run.
*
*
* repeated .tensorflow.NamedTensorProto send = 3;
*/
int getSendCount();
/**
* * Runs the graph.
* Sends the tensors in "send" into the graph before the run and
* fetches the keys into `RunGraphResponse.recv` after the run.
*
*
* repeated .tensorflow.NamedTensorProto send = 3;
*/
java.util.List
getSendOrBuilderList();
/**
* * Runs the graph.
* Sends the tensors in "send" into the graph before the run and
* fetches the keys into `RunGraphResponse.recv` after the run.
*
*
* repeated .tensorflow.NamedTensorProto send = 3;
*/
org.tensorflow.framework.NamedTensorProtoOrBuilder getSendOrBuilder(
int index);
/**
* repeated string recv_key = 4;
*/
java.util.List
getRecvKeyList();
/**
* repeated string recv_key = 4;
*/
int getRecvKeyCount();
/**
* repeated string recv_key = 4;
*/
java.lang.String getRecvKey(int index);
/**
* repeated string recv_key = 4;
*/
com.google.protobuf.ByteString
getRecvKeyBytes(int index);
/**
* * True if the RunGraphRequest is a partial run request.
*
*
* optional bool is_partial = 6;
*/
boolean getIsPartial();
/**
* * True if this is the last partial run request in a sequence of requests.
*
*
* optional bool is_last_partial_run = 7;
*/
boolean getIsLastPartialRun();
}