Package org.tensorflow.distruntime
Class RunGraphRequest.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
- org.tensorflow.distruntime.RunGraphRequest.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,RunGraphRequestOrBuilder
- Enclosing class:
- RunGraphRequest
public static final class RunGraphRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder> implements RunGraphRequestOrBuilder
Protobuf typetensorflow.RunGraphRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RunGraphRequest.BuilderaddAllRecvKey(Iterable<String> values)repeated string recv_key = 4;RunGraphRequest.BuilderaddAllSend(Iterable<? extends NamedTensorProto> values)Runs the graph.RunGraphRequest.BuilderaddRecvKey(String value)repeated string recv_key = 4;RunGraphRequest.BuilderaddRecvKeyBytes(org.nd4j.shade.protobuf.ByteString value)repeated string recv_key = 4;RunGraphRequest.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)RunGraphRequest.BuilderaddSend(int index, NamedTensorProto value)Runs the graph.RunGraphRequest.BuilderaddSend(int index, NamedTensorProto.Builder builderForValue)Runs the graph.RunGraphRequest.BuilderaddSend(NamedTensorProto value)Runs the graph.RunGraphRequest.BuilderaddSend(NamedTensorProto.Builder builderForValue)Runs the graph.NamedTensorProto.BuilderaddSendBuilder()Runs the graph.NamedTensorProto.BuilderaddSendBuilder(int index)Runs the graph.RunGraphRequestbuild()RunGraphRequestbuildPartial()RunGraphRequest.Builderclear()RunGraphRequest.BuilderclearCreateWorkerSessionCalled()Set to true if `CreateWorkerSession` was called for `session_handle`.RunGraphRequest.BuilderclearExecOpts()Options for this step.RunGraphRequest.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)RunGraphRequest.BuilderclearGraphHandle()REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.RunGraphRequest.BuilderclearIsLastPartialRun()True if this is the last partial run request in a sequence of requests.RunGraphRequest.BuilderclearIsPartial()True if the RunGraphRequest is a partial run request.RunGraphRequest.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)RunGraphRequest.BuilderclearRecvKey()repeated string recv_key = 4;RunGraphRequest.BuilderclearSend()Runs the graph.RunGraphRequest.BuilderclearSessionHandle()session_handle is the master-generated unique id for this session.RunGraphRequest.BuilderclearStepId()A unique ID to distinguish different runs of the same graph.RunGraphRequest.BuilderclearStoreErrorsInResponseBody()If true then some errors, e.g., execution errors that have long error messages, may return an OK RunGraphResponse with the actual error saved in the status_code/status_error_message fields of the response body.RunGraphRequest.Builderclone()booleangetCreateWorkerSessionCalled()Set to true if `CreateWorkerSession` was called for `session_handle`.RunGraphRequestgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()ExecutorOptsgetExecOpts()Options for this step.ExecutorOpts.BuildergetExecOptsBuilder()Options for this step.ExecutorOptsOrBuildergetExecOptsOrBuilder()Options for this step.StringgetGraphHandle()REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.org.nd4j.shade.protobuf.ByteStringgetGraphHandleBytes()REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.booleangetIsLastPartialRun()True if this is the last partial run request in a sequence of requests.booleangetIsPartial()True if the RunGraphRequest is a partial run request.StringgetRecvKey(int index)repeated string recv_key = 4;org.nd4j.shade.protobuf.ByteStringgetRecvKeyBytes(int index)repeated string recv_key = 4;intgetRecvKeyCount()repeated string recv_key = 4;org.nd4j.shade.protobuf.ProtocolStringListgetRecvKeyList()repeated string recv_key = 4;NamedTensorProtogetSend(int index)Runs the graph.NamedTensorProto.BuildergetSendBuilder(int index)Runs the graph.List<NamedTensorProto.Builder>getSendBuilderList()Runs the graph.intgetSendCount()Runs the graph.List<NamedTensorProto>getSendList()Runs the graph.NamedTensorProtoOrBuildergetSendOrBuilder(int index)Runs the graph.List<? extends NamedTensorProtoOrBuilder>getSendOrBuilderList()Runs the graph.StringgetSessionHandle()session_handle is the master-generated unique id for this session.org.nd4j.shade.protobuf.ByteStringgetSessionHandleBytes()session_handle is the master-generated unique id for this session.longgetStepId()A unique ID to distinguish different runs of the same graph.booleangetStoreErrorsInResponseBody()If true then some errors, e.g., execution errors that have long error messages, may return an OK RunGraphResponse with the actual error saved in the status_code/status_error_message fields of the response body.booleanhasExecOpts()Options for this step.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RunGraphRequest.BuildermergeExecOpts(ExecutorOpts value)Options for this step.RunGraphRequest.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)RunGraphRequest.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)RunGraphRequest.BuildermergeFrom(RunGraphRequest other)RunGraphRequest.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)RunGraphRequest.BuilderremoveSend(int index)Runs the graph.RunGraphRequest.BuildersetCreateWorkerSessionCalled(boolean value)Set to true if `CreateWorkerSession` was called for `session_handle`.RunGraphRequest.BuildersetExecOpts(ExecutorOpts value)Options for this step.RunGraphRequest.BuildersetExecOpts(ExecutorOpts.Builder builderForValue)Options for this step.RunGraphRequest.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)RunGraphRequest.BuildersetGraphHandle(String value)REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.RunGraphRequest.BuildersetGraphHandleBytes(org.nd4j.shade.protobuf.ByteString value)REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.RunGraphRequest.BuildersetIsLastPartialRun(boolean value)True if this is the last partial run request in a sequence of requests.RunGraphRequest.BuildersetIsPartial(boolean value)True if the RunGraphRequest is a partial run request.RunGraphRequest.BuildersetRecvKey(int index, String value)repeated string recv_key = 4;RunGraphRequest.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RunGraphRequest.BuildersetSend(int index, NamedTensorProto value)Runs the graph.RunGraphRequest.BuildersetSend(int index, NamedTensorProto.Builder builderForValue)Runs the graph.RunGraphRequest.BuildersetSessionHandle(String value)session_handle is the master-generated unique id for this session.RunGraphRequest.BuildersetSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)session_handle is the master-generated unique id for this session.RunGraphRequest.BuildersetStepId(long value)A unique ID to distinguish different runs of the same graph.RunGraphRequest.BuildersetStoreErrorsInResponseBody(boolean value)If true then some errors, e.g., execution errors that have long error messages, may return an OK RunGraphResponse with the actual error saved in the status_code/status_error_message fields of the response body.RunGraphRequest.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
clear
public RunGraphRequest.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
getDefaultInstanceForType
public RunGraphRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RunGraphRequest build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RunGraphRequest buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RunGraphRequest.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
setField
public RunGraphRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
clearField
public RunGraphRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
clearOneof
public RunGraphRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
setRepeatedField
public RunGraphRequest.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
addRepeatedField
public RunGraphRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
mergeFrom
public RunGraphRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RunGraphRequest.Builder>
-
mergeFrom
public RunGraphRequest.Builder mergeFrom(RunGraphRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
mergeFrom
public RunGraphRequest.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RunGraphRequest.Builder>- Throws:
IOException
-
getSessionHandle
public 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.
string session_handle = 8;- Specified by:
getSessionHandlein interfaceRunGraphRequestOrBuilder- Returns:
- The sessionHandle.
-
getSessionHandleBytes
public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
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.
string session_handle = 8;- Specified by:
getSessionHandleBytesin interfaceRunGraphRequestOrBuilder- Returns:
- The bytes for sessionHandle.
-
setSessionHandle
public RunGraphRequest.Builder setSessionHandle(String value)
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.
string session_handle = 8;- Parameters:
value- The sessionHandle to set.- Returns:
- This builder for chaining.
-
clearSessionHandle
public RunGraphRequest.Builder clearSessionHandle()
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.
string session_handle = 8;- Returns:
- This builder for chaining.
-
setSessionHandleBytes
public RunGraphRequest.Builder setSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)
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.
string session_handle = 8;- Parameters:
value- The bytes for sessionHandle to set.- Returns:
- This builder for chaining.
-
getCreateWorkerSessionCalled
public boolean getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 10;- Specified by:
getCreateWorkerSessionCalledin interfaceRunGraphRequestOrBuilder- Returns:
- The createWorkerSessionCalled.
-
setCreateWorkerSessionCalled
public RunGraphRequest.Builder setCreateWorkerSessionCalled(boolean value)
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 10;- Parameters:
value- The createWorkerSessionCalled to set.- Returns:
- This builder for chaining.
-
clearCreateWorkerSessionCalled
public RunGraphRequest.Builder clearCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 10;- Returns:
- This builder for chaining.
-
getGraphHandle
public String getGraphHandle()
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
string graph_handle = 1;- Specified by:
getGraphHandlein interfaceRunGraphRequestOrBuilder- Returns:
- The graphHandle.
-
getGraphHandleBytes
public org.nd4j.shade.protobuf.ByteString getGraphHandleBytes()
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
string graph_handle = 1;- Specified by:
getGraphHandleBytesin interfaceRunGraphRequestOrBuilder- Returns:
- The bytes for graphHandle.
-
setGraphHandle
public RunGraphRequest.Builder setGraphHandle(String value)
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
string graph_handle = 1;- Parameters:
value- The graphHandle to set.- Returns:
- This builder for chaining.
-
clearGraphHandle
public RunGraphRequest.Builder clearGraphHandle()
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
string graph_handle = 1;- Returns:
- This builder for chaining.
-
setGraphHandleBytes
public RunGraphRequest.Builder setGraphHandleBytes(org.nd4j.shade.protobuf.ByteString value)
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
string graph_handle = 1;- Parameters:
value- The bytes for graphHandle to set.- Returns:
- This builder for chaining.
-
getStepId
public long getStepId()
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.
int64 step_id = 2;- Specified by:
getStepIdin interfaceRunGraphRequestOrBuilder- Returns:
- The stepId.
-
setStepId
public RunGraphRequest.Builder setStepId(long value)
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.
int64 step_id = 2;- Parameters:
value- The stepId to set.- Returns:
- This builder for chaining.
-
clearStepId
public RunGraphRequest.Builder clearStepId()
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.
int64 step_id = 2;- Returns:
- This builder for chaining.
-
hasExecOpts
public boolean hasExecOpts()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;- Specified by:
hasExecOptsin interfaceRunGraphRequestOrBuilder- Returns:
- Whether the execOpts field is set.
-
getExecOpts
public ExecutorOpts getExecOpts()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;- Specified by:
getExecOptsin interfaceRunGraphRequestOrBuilder- Returns:
- The execOpts.
-
setExecOpts
public RunGraphRequest.Builder setExecOpts(ExecutorOpts value)
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;
-
setExecOpts
public RunGraphRequest.Builder setExecOpts(ExecutorOpts.Builder builderForValue)
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;
-
mergeExecOpts
public RunGraphRequest.Builder mergeExecOpts(ExecutorOpts value)
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;
-
clearExecOpts
public RunGraphRequest.Builder clearExecOpts()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;
-
getExecOptsBuilder
public ExecutorOpts.Builder getExecOptsBuilder()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;
-
getExecOptsOrBuilder
public ExecutorOptsOrBuilder getExecOptsOrBuilder()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;- Specified by:
getExecOptsOrBuilderin interfaceRunGraphRequestOrBuilder
-
getSendList
public List<NamedTensorProto> 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;- Specified by:
getSendListin interfaceRunGraphRequestOrBuilder
-
getSendCount
public 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;- Specified by:
getSendCountin interfaceRunGraphRequestOrBuilder
-
getSend
public 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;- Specified by:
getSendin interfaceRunGraphRequestOrBuilder
-
setSend
public RunGraphRequest.Builder setSend(int index, NamedTensorProto value)
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;
-
setSend
public RunGraphRequest.Builder setSend(int index, NamedTensorProto.Builder builderForValue)
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;
-
addSend
public RunGraphRequest.Builder addSend(NamedTensorProto value)
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;
-
addSend
public RunGraphRequest.Builder addSend(int index, NamedTensorProto value)
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;
-
addSend
public RunGraphRequest.Builder addSend(NamedTensorProto.Builder builderForValue)
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;
-
addSend
public RunGraphRequest.Builder addSend(int index, NamedTensorProto.Builder builderForValue)
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;
-
addAllSend
public RunGraphRequest.Builder addAllSend(Iterable<? extends NamedTensorProto> values)
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;
-
clearSend
public RunGraphRequest.Builder clearSend()
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;
-
removeSend
public RunGraphRequest.Builder removeSend(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;
-
getSendBuilder
public NamedTensorProto.Builder getSendBuilder(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;
-
getSendOrBuilder
public NamedTensorProtoOrBuilder getSendOrBuilder(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;- Specified by:
getSendOrBuilderin interfaceRunGraphRequestOrBuilder
-
getSendOrBuilderList
public List<? extends NamedTensorProtoOrBuilder> 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;- Specified by:
getSendOrBuilderListin interfaceRunGraphRequestOrBuilder
-
addSendBuilder
public NamedTensorProto.Builder addSendBuilder()
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;
-
addSendBuilder
public NamedTensorProto.Builder addSendBuilder(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;
-
getSendBuilderList
public List<NamedTensorProto.Builder> getSendBuilderList()
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;
-
getRecvKeyList
public org.nd4j.shade.protobuf.ProtocolStringList getRecvKeyList()
repeated string recv_key = 4;- Specified by:
getRecvKeyListin interfaceRunGraphRequestOrBuilder- Returns:
- A list containing the recvKey.
-
getRecvKeyCount
public int getRecvKeyCount()
repeated string recv_key = 4;- Specified by:
getRecvKeyCountin interfaceRunGraphRequestOrBuilder- Returns:
- The count of recvKey.
-
getRecvKey
public String getRecvKey(int index)
repeated string recv_key = 4;- Specified by:
getRecvKeyin interfaceRunGraphRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The recvKey at the given index.
-
getRecvKeyBytes
public org.nd4j.shade.protobuf.ByteString getRecvKeyBytes(int index)
repeated string recv_key = 4;- Specified by:
getRecvKeyBytesin interfaceRunGraphRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the recvKey at the given index.
-
setRecvKey
public RunGraphRequest.Builder setRecvKey(int index, String value)
repeated string recv_key = 4;- Parameters:
index- The index to set the value at.value- The recvKey to set.- Returns:
- This builder for chaining.
-
addRecvKey
public RunGraphRequest.Builder addRecvKey(String value)
repeated string recv_key = 4;- Parameters:
value- The recvKey to add.- Returns:
- This builder for chaining.
-
addAllRecvKey
public RunGraphRequest.Builder addAllRecvKey(Iterable<String> values)
repeated string recv_key = 4;- Parameters:
values- The recvKey to add.- Returns:
- This builder for chaining.
-
clearRecvKey
public RunGraphRequest.Builder clearRecvKey()
repeated string recv_key = 4;- Returns:
- This builder for chaining.
-
addRecvKeyBytes
public RunGraphRequest.Builder addRecvKeyBytes(org.nd4j.shade.protobuf.ByteString value)
repeated string recv_key = 4;- Parameters:
value- The bytes of the recvKey to add.- Returns:
- This builder for chaining.
-
getIsPartial
public boolean getIsPartial()
True if the RunGraphRequest is a partial run request.
bool is_partial = 6;- Specified by:
getIsPartialin interfaceRunGraphRequestOrBuilder- Returns:
- The isPartial.
-
setIsPartial
public RunGraphRequest.Builder setIsPartial(boolean value)
True if the RunGraphRequest is a partial run request.
bool is_partial = 6;- Parameters:
value- The isPartial to set.- Returns:
- This builder for chaining.
-
clearIsPartial
public RunGraphRequest.Builder clearIsPartial()
True if the RunGraphRequest is a partial run request.
bool is_partial = 6;- Returns:
- This builder for chaining.
-
getIsLastPartialRun
public boolean getIsLastPartialRun()
True if this is the last partial run request in a sequence of requests.
bool is_last_partial_run = 7;- Specified by:
getIsLastPartialRunin interfaceRunGraphRequestOrBuilder- Returns:
- The isLastPartialRun.
-
setIsLastPartialRun
public RunGraphRequest.Builder setIsLastPartialRun(boolean value)
True if this is the last partial run request in a sequence of requests.
bool is_last_partial_run = 7;- Parameters:
value- The isLastPartialRun to set.- Returns:
- This builder for chaining.
-
clearIsLastPartialRun
public RunGraphRequest.Builder clearIsLastPartialRun()
True if this is the last partial run request in a sequence of requests.
bool is_last_partial_run = 7;- Returns:
- This builder for chaining.
-
getStoreErrorsInResponseBody
public boolean getStoreErrorsInResponseBody()
If true then some errors, e.g., execution errors that have long error messages, may return an OK RunGraphResponse with the actual error saved in the status_code/status_error_message fields of the response body. This is a workaround since the RPC subsystem may truncate long metadata messages.
bool store_errors_in_response_body = 9;- Specified by:
getStoreErrorsInResponseBodyin interfaceRunGraphRequestOrBuilder- Returns:
- The storeErrorsInResponseBody.
-
setStoreErrorsInResponseBody
public RunGraphRequest.Builder setStoreErrorsInResponseBody(boolean value)
If true then some errors, e.g., execution errors that have long error messages, may return an OK RunGraphResponse with the actual error saved in the status_code/status_error_message fields of the response body. This is a workaround since the RPC subsystem may truncate long metadata messages.
bool store_errors_in_response_body = 9;- Parameters:
value- The storeErrorsInResponseBody to set.- Returns:
- This builder for chaining.
-
clearStoreErrorsInResponseBody
public RunGraphRequest.Builder clearStoreErrorsInResponseBody()
If true then some errors, e.g., execution errors that have long error messages, may return an OK RunGraphResponse with the actual error saved in the status_code/status_error_message fields of the response body. This is a workaround since the RPC subsystem may truncate long metadata messages.
bool store_errors_in_response_body = 9;- Returns:
- This builder for chaining.
-
setUnknownFields
public final RunGraphRequest.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
mergeUnknownFields
public final RunGraphRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphRequest.Builder>
-
-