Package org.tensorflow.distruntime
Class RunGraphResponse.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
- org.tensorflow.distruntime.RunGraphResponse.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
,RunGraphResponseOrBuilder
- Enclosing class:
- RunGraphResponse
public static final class RunGraphResponse.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder> implements RunGraphResponseOrBuilder
Protobuf typetensorflow.RunGraphResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RunGraphResponse.Builder
addAllPartitionGraph(Iterable<? extends GraphDef> values)
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
addAllRecv(Iterable<? extends NamedTensorProto> values)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
addPartitionGraph(int index, GraphDef value)
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
addPartitionGraph(int index, GraphDef.Builder builderForValue)
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
addPartitionGraph(GraphDef value)
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
addPartitionGraph(GraphDef.Builder builderForValue)
repeated .tensorflow.GraphDef partition_graph = 4;
GraphDef.Builder
addPartitionGraphBuilder()
repeated .tensorflow.GraphDef partition_graph = 4;
GraphDef.Builder
addPartitionGraphBuilder(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
addRecv(int index, NamedTensorProto value)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
addRecv(int index, NamedTensorProto.Builder builderForValue)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
addRecv(NamedTensorProto value)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
addRecv(NamedTensorProto.Builder builderForValue)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.NamedTensorProto.Builder
addRecvBuilder()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.NamedTensorProto.Builder
addRecvBuilder(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RunGraphResponse
build()
RunGraphResponse
buildPartial()
RunGraphResponse.Builder
clear()
RunGraphResponse.Builder
clearCostGraph()
.tensorflow.CostGraphDef cost_graph = 3;
RunGraphResponse.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
RunGraphResponse.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
RunGraphResponse.Builder
clearPartitionGraph()
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
clearRecv()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
clearStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunGraphResponse.Builder
clearStatusErrorMessage()
string status_error_message = 6;
RunGraphResponse.Builder
clearStepStats()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here.RunGraphResponse.Builder
clone()
CostGraphDef
getCostGraph()
.tensorflow.CostGraphDef cost_graph = 3;
CostGraphDef.Builder
getCostGraphBuilder()
.tensorflow.CostGraphDef cost_graph = 3;
CostGraphDefOrBuilder
getCostGraphOrBuilder()
.tensorflow.CostGraphDef cost_graph = 3;
RunGraphResponse
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
GraphDef
getPartitionGraph(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
GraphDef.Builder
getPartitionGraphBuilder(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
List<GraphDef.Builder>
getPartitionGraphBuilderList()
repeated .tensorflow.GraphDef partition_graph = 4;
int
getPartitionGraphCount()
repeated .tensorflow.GraphDef partition_graph = 4;
List<GraphDef>
getPartitionGraphList()
repeated .tensorflow.GraphDef partition_graph = 4;
GraphDefOrBuilder
getPartitionGraphOrBuilder(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
List<? extends GraphDefOrBuilder>
getPartitionGraphOrBuilderList()
repeated .tensorflow.GraphDef partition_graph = 4;
NamedTensorProto
getRecv(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.NamedTensorProto.Builder
getRecvBuilder(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.List<NamedTensorProto.Builder>
getRecvBuilderList()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.int
getRecvCount()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.List<NamedTensorProto>
getRecvList()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.NamedTensorProtoOrBuilder
getRecvOrBuilder(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.List<? extends NamedTensorProtoOrBuilder>
getRecvOrBuilderList()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.Code
getStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.int
getStatusCodeValue()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.String
getStatusErrorMessage()
string status_error_message = 6;
org.nd4j.shade.protobuf.ByteString
getStatusErrorMessageBytes()
string status_error_message = 6;
StepStats
getStepStats()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here.StepStats.Builder
getStepStatsBuilder()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here.StepStatsOrBuilder
getStepStatsOrBuilder()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here.boolean
hasCostGraph()
.tensorflow.CostGraphDef cost_graph = 3;
boolean
hasStepStats()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RunGraphResponse.Builder
mergeCostGraph(CostGraphDef value)
.tensorflow.CostGraphDef cost_graph = 3;
RunGraphResponse.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
RunGraphResponse.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
RunGraphResponse.Builder
mergeFrom(RunGraphResponse other)
RunGraphResponse.Builder
mergeStepStats(StepStats value)
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here.RunGraphResponse.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
RunGraphResponse.Builder
removePartitionGraph(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
removeRecv(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
setCostGraph(CostGraphDef value)
.tensorflow.CostGraphDef cost_graph = 3;
RunGraphResponse.Builder
setCostGraph(CostGraphDef.Builder builderForValue)
.tensorflow.CostGraphDef cost_graph = 3;
RunGraphResponse.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RunGraphResponse.Builder
setPartitionGraph(int index, GraphDef value)
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
setPartitionGraph(int index, GraphDef.Builder builderForValue)
repeated .tensorflow.GraphDef partition_graph = 4;
RunGraphResponse.Builder
setRecv(int index, NamedTensorProto value)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
setRecv(int index, NamedTensorProto.Builder builderForValue)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.RunGraphResponse.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RunGraphResponse.Builder
setStatusCode(Code value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunGraphResponse.Builder
setStatusCodeValue(int value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunGraphResponse.Builder
setStatusErrorMessage(String value)
string status_error_message = 6;
RunGraphResponse.Builder
setStatusErrorMessageBytes(org.nd4j.shade.protobuf.ByteString value)
string status_error_message = 6;
RunGraphResponse.Builder
setStepStats(StepStats value)
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here.RunGraphResponse.Builder
setStepStats(StepStats.Builder builderForValue)
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here.RunGraphResponse.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
clear
public RunGraphResponse.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
getDefaultInstanceForType
public RunGraphResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RunGraphResponse build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RunGraphResponse buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RunGraphResponse.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
setField
public RunGraphResponse.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
clearField
public RunGraphResponse.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
clearOneof
public RunGraphResponse.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
setRepeatedField
public RunGraphResponse.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
addRepeatedField
public RunGraphResponse.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
mergeFrom
public RunGraphResponse.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RunGraphResponse.Builder>
-
mergeFrom
public RunGraphResponse.Builder mergeFrom(RunGraphResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
mergeFrom
public RunGraphResponse.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RunGraphResponse.Builder>
- Throws:
IOException
-
getRecvList
public List<NamedTensorProto> getRecvList()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
- Specified by:
getRecvList
in interfaceRunGraphResponseOrBuilder
-
getRecvCount
public int getRecvCount()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
- Specified by:
getRecvCount
in interfaceRunGraphResponseOrBuilder
-
getRecv
public NamedTensorProto getRecv(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
- Specified by:
getRecv
in interfaceRunGraphResponseOrBuilder
-
setRecv
public RunGraphResponse.Builder setRecv(int index, NamedTensorProto value)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
setRecv
public RunGraphResponse.Builder setRecv(int index, NamedTensorProto.Builder builderForValue)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
addRecv
public RunGraphResponse.Builder addRecv(NamedTensorProto value)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
addRecv
public RunGraphResponse.Builder addRecv(int index, NamedTensorProto value)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
addRecv
public RunGraphResponse.Builder addRecv(NamedTensorProto.Builder builderForValue)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
addRecv
public RunGraphResponse.Builder addRecv(int index, NamedTensorProto.Builder builderForValue)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
addAllRecv
public RunGraphResponse.Builder addAllRecv(Iterable<? extends NamedTensorProto> values)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
clearRecv
public RunGraphResponse.Builder clearRecv()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
removeRecv
public RunGraphResponse.Builder removeRecv(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
getRecvBuilder
public NamedTensorProto.Builder getRecvBuilder(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
getRecvOrBuilder
public NamedTensorProtoOrBuilder getRecvOrBuilder(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
- Specified by:
getRecvOrBuilder
in interfaceRunGraphResponseOrBuilder
-
getRecvOrBuilderList
public List<? extends NamedTensorProtoOrBuilder> getRecvOrBuilderList()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
- Specified by:
getRecvOrBuilderList
in interfaceRunGraphResponseOrBuilder
-
addRecvBuilder
public NamedTensorProto.Builder addRecvBuilder()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
addRecvBuilder
public NamedTensorProto.Builder addRecvBuilder(int index)
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
getRecvBuilderList
public List<NamedTensorProto.Builder> getRecvBuilderList()
A list of tensors corresponding to those requested by `RunGraphRequest.recv_key`.
repeated .tensorflow.NamedTensorProto recv = 1;
-
hasStepStats
public boolean hasStepStats()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.
.tensorflow.StepStats step_stats = 2;
- Specified by:
hasStepStats
in interfaceRunGraphResponseOrBuilder
- Returns:
- Whether the stepStats field is set.
-
getStepStats
public StepStats getStepStats()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.
.tensorflow.StepStats step_stats = 2;
- Specified by:
getStepStats
in interfaceRunGraphResponseOrBuilder
- Returns:
- The stepStats.
-
setStepStats
public RunGraphResponse.Builder setStepStats(StepStats value)
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.
.tensorflow.StepStats step_stats = 2;
-
setStepStats
public RunGraphResponse.Builder setStepStats(StepStats.Builder builderForValue)
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.
.tensorflow.StepStats step_stats = 2;
-
mergeStepStats
public RunGraphResponse.Builder mergeStepStats(StepStats value)
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.
.tensorflow.StepStats step_stats = 2;
-
clearStepStats
public RunGraphResponse.Builder clearStepStats()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.
.tensorflow.StepStats step_stats = 2;
-
getStepStatsBuilder
public StepStats.Builder getStepStatsBuilder()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.
.tensorflow.StepStats step_stats = 2;
-
getStepStatsOrBuilder
public StepStatsOrBuilder getStepStatsOrBuilder()
If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.
.tensorflow.StepStats step_stats = 2;
- Specified by:
getStepStatsOrBuilder
in interfaceRunGraphResponseOrBuilder
-
hasCostGraph
public boolean hasCostGraph()
.tensorflow.CostGraphDef cost_graph = 3;
- Specified by:
hasCostGraph
in interfaceRunGraphResponseOrBuilder
- Returns:
- Whether the costGraph field is set.
-
getCostGraph
public CostGraphDef getCostGraph()
.tensorflow.CostGraphDef cost_graph = 3;
- Specified by:
getCostGraph
in interfaceRunGraphResponseOrBuilder
- Returns:
- The costGraph.
-
setCostGraph
public RunGraphResponse.Builder setCostGraph(CostGraphDef value)
.tensorflow.CostGraphDef cost_graph = 3;
-
setCostGraph
public RunGraphResponse.Builder setCostGraph(CostGraphDef.Builder builderForValue)
.tensorflow.CostGraphDef cost_graph = 3;
-
mergeCostGraph
public RunGraphResponse.Builder mergeCostGraph(CostGraphDef value)
.tensorflow.CostGraphDef cost_graph = 3;
-
clearCostGraph
public RunGraphResponse.Builder clearCostGraph()
.tensorflow.CostGraphDef cost_graph = 3;
-
getCostGraphBuilder
public CostGraphDef.Builder getCostGraphBuilder()
.tensorflow.CostGraphDef cost_graph = 3;
-
getCostGraphOrBuilder
public CostGraphDefOrBuilder getCostGraphOrBuilder()
.tensorflow.CostGraphDef cost_graph = 3;
- Specified by:
getCostGraphOrBuilder
in interfaceRunGraphResponseOrBuilder
-
getPartitionGraphList
public List<GraphDef> getPartitionGraphList()
repeated .tensorflow.GraphDef partition_graph = 4;
- Specified by:
getPartitionGraphList
in interfaceRunGraphResponseOrBuilder
-
getPartitionGraphCount
public int getPartitionGraphCount()
repeated .tensorflow.GraphDef partition_graph = 4;
- Specified by:
getPartitionGraphCount
in interfaceRunGraphResponseOrBuilder
-
getPartitionGraph
public GraphDef getPartitionGraph(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
- Specified by:
getPartitionGraph
in interfaceRunGraphResponseOrBuilder
-
setPartitionGraph
public RunGraphResponse.Builder setPartitionGraph(int index, GraphDef value)
repeated .tensorflow.GraphDef partition_graph = 4;
-
setPartitionGraph
public RunGraphResponse.Builder setPartitionGraph(int index, GraphDef.Builder builderForValue)
repeated .tensorflow.GraphDef partition_graph = 4;
-
addPartitionGraph
public RunGraphResponse.Builder addPartitionGraph(GraphDef value)
repeated .tensorflow.GraphDef partition_graph = 4;
-
addPartitionGraph
public RunGraphResponse.Builder addPartitionGraph(int index, GraphDef value)
repeated .tensorflow.GraphDef partition_graph = 4;
-
addPartitionGraph
public RunGraphResponse.Builder addPartitionGraph(GraphDef.Builder builderForValue)
repeated .tensorflow.GraphDef partition_graph = 4;
-
addPartitionGraph
public RunGraphResponse.Builder addPartitionGraph(int index, GraphDef.Builder builderForValue)
repeated .tensorflow.GraphDef partition_graph = 4;
-
addAllPartitionGraph
public RunGraphResponse.Builder addAllPartitionGraph(Iterable<? extends GraphDef> values)
repeated .tensorflow.GraphDef partition_graph = 4;
-
clearPartitionGraph
public RunGraphResponse.Builder clearPartitionGraph()
repeated .tensorflow.GraphDef partition_graph = 4;
-
removePartitionGraph
public RunGraphResponse.Builder removePartitionGraph(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
-
getPartitionGraphBuilder
public GraphDef.Builder getPartitionGraphBuilder(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
-
getPartitionGraphOrBuilder
public GraphDefOrBuilder getPartitionGraphOrBuilder(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
- Specified by:
getPartitionGraphOrBuilder
in interfaceRunGraphResponseOrBuilder
-
getPartitionGraphOrBuilderList
public List<? extends GraphDefOrBuilder> getPartitionGraphOrBuilderList()
repeated .tensorflow.GraphDef partition_graph = 4;
- Specified by:
getPartitionGraphOrBuilderList
in interfaceRunGraphResponseOrBuilder
-
addPartitionGraphBuilder
public GraphDef.Builder addPartitionGraphBuilder()
repeated .tensorflow.GraphDef partition_graph = 4;
-
addPartitionGraphBuilder
public GraphDef.Builder addPartitionGraphBuilder(int index)
repeated .tensorflow.GraphDef partition_graph = 4;
-
getPartitionGraphBuilderList
public List<GraphDef.Builder> getPartitionGraphBuilderList()
repeated .tensorflow.GraphDef partition_graph = 4;
-
getStatusCodeValue
public int getStatusCodeValue()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 5;
- Specified by:
getStatusCodeValue
in interfaceRunGraphResponseOrBuilder
- Returns:
- The enum numeric value on the wire for statusCode.
-
setStatusCodeValue
public RunGraphResponse.Builder setStatusCodeValue(int value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 5;
- Parameters:
value
- The enum numeric value on the wire for statusCode to set.- Returns:
- This builder for chaining.
-
getStatusCode
public Code getStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 5;
- Specified by:
getStatusCode
in interfaceRunGraphResponseOrBuilder
- Returns:
- The statusCode.
-
setStatusCode
public RunGraphResponse.Builder setStatusCode(Code value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 5;
- Parameters:
value
- The statusCode to set.- Returns:
- This builder for chaining.
-
clearStatusCode
public RunGraphResponse.Builder clearStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.tensorflow.error.Code status_code = 5;
- Returns:
- This builder for chaining.
-
getStatusErrorMessage
public String getStatusErrorMessage()
string status_error_message = 6;
- Specified by:
getStatusErrorMessage
in interfaceRunGraphResponseOrBuilder
- Returns:
- The statusErrorMessage.
-
getStatusErrorMessageBytes
public org.nd4j.shade.protobuf.ByteString getStatusErrorMessageBytes()
string status_error_message = 6;
- Specified by:
getStatusErrorMessageBytes
in interfaceRunGraphResponseOrBuilder
- Returns:
- The bytes for statusErrorMessage.
-
setStatusErrorMessage
public RunGraphResponse.Builder setStatusErrorMessage(String value)
string status_error_message = 6;
- Parameters:
value
- The statusErrorMessage to set.- Returns:
- This builder for chaining.
-
clearStatusErrorMessage
public RunGraphResponse.Builder clearStatusErrorMessage()
string status_error_message = 6;
- Returns:
- This builder for chaining.
-
setStatusErrorMessageBytes
public RunGraphResponse.Builder setStatusErrorMessageBytes(org.nd4j.shade.protobuf.ByteString value)
string status_error_message = 6;
- Parameters:
value
- The bytes for statusErrorMessage to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RunGraphResponse.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
mergeUnknownFields
public final RunGraphResponse.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
-
-