Class RunGraphResponse.Builder

    • 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 class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
      • clear

        public RunGraphResponse.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
      • getDefaultInstanceForType

        public RunGraphResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public RunGraphResponse build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public RunGraphResponse buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public RunGraphResponse.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
      • clearField

        public RunGraphResponse.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
      • clearOneof

        public RunGraphResponse.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
      • mergeFrom

        public RunGraphResponse.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RunGraphResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RunGraphResponse.Builder>
        Throws:
        IOException
      • 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 interface RunGraphResponseOrBuilder
      • 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 interface RunGraphResponseOrBuilder
      • 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;
      • 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;
      • 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;
      • 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 interface RunGraphResponseOrBuilder
        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 interface RunGraphResponseOrBuilder
        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 interface RunGraphResponseOrBuilder
      • hasCostGraph

        public boolean hasCostGraph()
        .tensorflow.CostGraphDef cost_graph = 3;
        Specified by:
        hasCostGraph in interface RunGraphResponseOrBuilder
        Returns:
        Whether the costGraph field is set.
      • getCostGraphBuilder

        public CostGraphDef.Builder getCostGraphBuilder()
        .tensorflow.CostGraphDef cost_graph = 3;
      • 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;
      • 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 interface RunGraphResponseOrBuilder
        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 interface RunGraphResponseOrBuilder
        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.
      • getStatusErrorMessageBytes

        public org.nd4j.shade.protobuf.ByteString getStatusErrorMessageBytes()
        string status_error_message = 6;
        Specified by:
        getStatusErrorMessageBytes in interface RunGraphResponseOrBuilder
        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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>
      • mergeUnknownFields

        public final RunGraphResponse.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunGraphResponse.Builder>