Interface SessionServiceOuterClass.SessionRunRequestOrBuilder

    • Method Detail

      • hasModelSpec

        boolean hasModelSpec()
         Model Specification. If version is not specified, will use the latest
         (numerical) version.
         
        .tensorflow.serving.ModelSpec model_spec = 1;
        Returns:
        Whether the modelSpec field is set.
      • getModelSpec

        Model.ModelSpec getModelSpec()
         Model Specification. If version is not specified, will use the latest
         (numerical) version.
         
        .tensorflow.serving.ModelSpec model_spec = 1;
        Returns:
        The modelSpec.
      • getModelSpecOrBuilder

        Model.ModelSpecOrBuilder getModelSpecOrBuilder()
         Model Specification. If version is not specified, will use the latest
         (numerical) version.
         
        .tensorflow.serving.ModelSpec model_spec = 1;
      • getFeedList

        java.util.List<NamedTensorProto> getFeedList()
         Tensors to be fed in the step. Each feed is a named tensor.
         
        repeated .tensorflow.NamedTensorProto feed = 2;
      • getFeed

        NamedTensorProto getFeed​(int index)
         Tensors to be fed in the step. Each feed is a named tensor.
         
        repeated .tensorflow.NamedTensorProto feed = 2;
      • getFeedCount

        int getFeedCount()
         Tensors to be fed in the step. Each feed is a named tensor.
         
        repeated .tensorflow.NamedTensorProto feed = 2;
      • getFeedOrBuilderList

        java.util.List<? extends NamedTensorProtoOrBuilder> getFeedOrBuilderList()
         Tensors to be fed in the step. Each feed is a named tensor.
         
        repeated .tensorflow.NamedTensorProto feed = 2;
      • getFeedOrBuilder

        NamedTensorProtoOrBuilder getFeedOrBuilder​(int index)
         Tensors to be fed in the step. Each feed is a named tensor.
         
        repeated .tensorflow.NamedTensorProto feed = 2;
      • getFetchList

        java.util.List<java.lang.String> getFetchList()
         Fetches. A list of tensor names. The caller expects a tensor to
         be returned for each fetch[i] (see RunResponse.tensor). The
         order of specified fetches does not change the execution order.
         
        repeated string fetch = 3;
        Returns:
        A list containing the fetch.
      • getFetchCount

        int getFetchCount()
         Fetches. A list of tensor names. The caller expects a tensor to
         be returned for each fetch[i] (see RunResponse.tensor). The
         order of specified fetches does not change the execution order.
         
        repeated string fetch = 3;
        Returns:
        The count of fetch.
      • getFetch

        java.lang.String getFetch​(int index)
         Fetches. A list of tensor names. The caller expects a tensor to
         be returned for each fetch[i] (see RunResponse.tensor). The
         order of specified fetches does not change the execution order.
         
        repeated string fetch = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The fetch at the given index.
      • getFetchBytes

        com.google.protobuf.ByteString getFetchBytes​(int index)
         Fetches. A list of tensor names. The caller expects a tensor to
         be returned for each fetch[i] (see RunResponse.tensor). The
         order of specified fetches does not change the execution order.
         
        repeated string fetch = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the fetch at the given index.
      • getTargetList

        java.util.List<java.lang.String> getTargetList()
         Target Nodes. A list of node names. The named nodes will be run
         to but their outputs will not be fetched.
         
        repeated string target = 4;
        Returns:
        A list containing the target.
      • getTargetCount

        int getTargetCount()
         Target Nodes. A list of node names. The named nodes will be run
         to but their outputs will not be fetched.
         
        repeated string target = 4;
        Returns:
        The count of target.
      • getTarget

        java.lang.String getTarget​(int index)
         Target Nodes. A list of node names. The named nodes will be run
         to but their outputs will not be fetched.
         
        repeated string target = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The target at the given index.
      • getTargetBytes

        com.google.protobuf.ByteString getTargetBytes​(int index)
         Target Nodes. A list of node names. The named nodes will be run
         to but their outputs will not be fetched.
         
        repeated string target = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the target at the given index.
      • hasOptions

        boolean hasOptions()
         Options for the run call. **Currently ignored.**
         
        .tensorflow.RunOptions options = 5;
        Returns:
        Whether the options field is set.
      • getOptions

        RunOptions getOptions()
         Options for the run call. **Currently ignored.**
         
        .tensorflow.RunOptions options = 5;
        Returns:
        The options.
      • getOptionsOrBuilder

        RunOptionsOrBuilder getOptionsOrBuilder()
         Options for the run call. **Currently ignored.**
         
        .tensorflow.RunOptions options = 5;