org.tensorflow.distruntime.ExtendSessionRequestOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/master.proto
package org.tensorflow.distruntime;
public interface ExtendSessionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.ExtendSessionRequest)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* REQUIRED: session_handle must be returned by a CreateSession call
* to the same master service.
*
*
* string session_handle = 1;
* @return The sessionHandle.
*/
java.lang.String getSessionHandle();
/**
*
* REQUIRED: session_handle must be returned by a CreateSession call
* to the same master service.
*
*
* string session_handle = 1;
* @return The bytes for sessionHandle.
*/
org.nd4j.shade.protobuf.ByteString
getSessionHandleBytes();
/**
*
* REQUIRED: The nodes to be added to the session's graph. If any node has
* the same name as an existing node, the operation will fail with
* ILLEGAL_ARGUMENT.
*
*
* .tensorflow.GraphDef graph_def = 2;
* @return Whether the graphDef field is set.
*/
boolean hasGraphDef();
/**
*
* REQUIRED: The nodes to be added to the session's graph. If any node has
* the same name as an existing node, the operation will fail with
* ILLEGAL_ARGUMENT.
*
*
* .tensorflow.GraphDef graph_def = 2;
* @return The graphDef.
*/
org.tensorflow.framework.GraphDef getGraphDef();
/**
*
* REQUIRED: The nodes to be added to the session's graph. If any node has
* the same name as an existing node, the operation will fail with
* ILLEGAL_ARGUMENT.
*
*
* .tensorflow.GraphDef graph_def = 2;
*/
org.tensorflow.framework.GraphDefOrBuilder getGraphDefOrBuilder();
/**
*
* REQUIRED: The version number of the graph to be extended. This will be
* tested against the current server-side version number, and the operation
* will fail with FAILED_PRECONDITION if they do not match.
*
*
* int64 current_graph_version = 3;
* @return The currentGraphVersion.
*/
long getCurrentGraphVersion();
}