Class RemoteFusedGraphExecuteInfo.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, RemoteFusedGraphExecuteInfoOrBuilder
    Enclosing class:
    RemoteFusedGraphExecuteInfo

    public static final class RemoteFusedGraphExecuteInfo.Builder
    extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RemoteFusedGraphExecuteInfo.Builder>
    implements RemoteFusedGraphExecuteInfoOrBuilder
     Protocol buffer representing a handle to a tensorflow resource. Handles are
     not valid across executions, but can be serialized back and forth from within
     a single run.
     
    Protobuf type tensorflow.RemoteFusedGraphExecuteInfo
    • 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<RemoteFusedGraphExecuteInfo.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<RemoteFusedGraphExecuteInfo.Builder>
      • getDefaultInstanceForType

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

        public RemoteFusedGraphExecuteInfo 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 RemoteFusedGraphExecuteInfo buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • setRepeatedField

        public RemoteFusedGraphExecuteInfo.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<RemoteFusedGraphExecuteInfo.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<RemoteFusedGraphExecuteInfo.Builder>
      • mergeFrom

        public RemoteFusedGraphExecuteInfo.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<RemoteFusedGraphExecuteInfo.Builder>
        Throws:
        IOException
      • getRemoteGraphBuilder

        public GraphDef.Builder getRemoteGraphBuilder()
         Definition of remote graph
         
        .tensorflow.GraphDef remote_graph = 1;
      • getGraphInputNodeNameList

        public org.nd4j.shade.protobuf.ProtocolStringList getGraphInputNodeNameList()
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Specified by:
        getGraphInputNodeNameList in interface RemoteFusedGraphExecuteInfoOrBuilder
        Returns:
        A list containing the graphInputNodeName.
      • getGraphInputNodeName

        public String getGraphInputNodeName​(int index)
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Specified by:
        getGraphInputNodeName in interface RemoteFusedGraphExecuteInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The graphInputNodeName at the given index.
      • getGraphInputNodeNameBytes

        public org.nd4j.shade.protobuf.ByteString getGraphInputNodeNameBytes​(int index)
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Specified by:
        getGraphInputNodeNameBytes in interface RemoteFusedGraphExecuteInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the graphInputNodeName at the given index.
      • setGraphInputNodeName

        public RemoteFusedGraphExecuteInfo.Builder setGraphInputNodeName​(int index,
                                                                         String value)
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Parameters:
        index - The index to set the value at.
        value - The graphInputNodeName to set.
        Returns:
        This builder for chaining.
      • addGraphInputNodeName

        public RemoteFusedGraphExecuteInfo.Builder addGraphInputNodeName​(String value)
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Parameters:
        value - The graphInputNodeName to add.
        Returns:
        This builder for chaining.
      • addAllGraphInputNodeName

        public RemoteFusedGraphExecuteInfo.Builder addAllGraphInputNodeName​(Iterable<String> values)
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Parameters:
        values - The graphInputNodeName to add.
        Returns:
        This builder for chaining.
      • clearGraphInputNodeName

        public RemoteFusedGraphExecuteInfo.Builder clearGraphInputNodeName()
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Returns:
        This builder for chaining.
      • addGraphInputNodeNameBytes

        public RemoteFusedGraphExecuteInfo.Builder addGraphInputNodeNameBytes​(org.nd4j.shade.protobuf.ByteString value)
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Parameters:
        value - The bytes of the graphInputNodeName to add.
        Returns:
        This builder for chaining.
      • getGraphOutputNodeNameList

        public org.nd4j.shade.protobuf.ProtocolStringList getGraphOutputNodeNameList()
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Specified by:
        getGraphOutputNodeNameList in interface RemoteFusedGraphExecuteInfoOrBuilder
        Returns:
        A list containing the graphOutputNodeName.
      • getGraphOutputNodeName

        public String getGraphOutputNodeName​(int index)
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Specified by:
        getGraphOutputNodeName in interface RemoteFusedGraphExecuteInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The graphOutputNodeName at the given index.
      • getGraphOutputNodeNameBytes

        public org.nd4j.shade.protobuf.ByteString getGraphOutputNodeNameBytes​(int index)
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Specified by:
        getGraphOutputNodeNameBytes in interface RemoteFusedGraphExecuteInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the graphOutputNodeName at the given index.
      • setGraphOutputNodeName

        public RemoteFusedGraphExecuteInfo.Builder setGraphOutputNodeName​(int index,
                                                                          String value)
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Parameters:
        index - The index to set the value at.
        value - The graphOutputNodeName to set.
        Returns:
        This builder for chaining.
      • addGraphOutputNodeName

        public RemoteFusedGraphExecuteInfo.Builder addGraphOutputNodeName​(String value)
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Parameters:
        value - The graphOutputNodeName to add.
        Returns:
        This builder for chaining.
      • addAllGraphOutputNodeName

        public RemoteFusedGraphExecuteInfo.Builder addAllGraphOutputNodeName​(Iterable<String> values)
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Parameters:
        values - The graphOutputNodeName to add.
        Returns:
        This builder for chaining.
      • clearGraphOutputNodeName

        public RemoteFusedGraphExecuteInfo.Builder clearGraphOutputNodeName()
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Returns:
        This builder for chaining.
      • addGraphOutputNodeNameBytes

        public RemoteFusedGraphExecuteInfo.Builder addGraphOutputNodeNameBytes​(org.nd4j.shade.protobuf.ByteString value)
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Parameters:
        value - The bytes of the graphOutputNodeName to add.
        Returns:
        This builder for chaining.
      • setExecutorName

        public RemoteFusedGraphExecuteInfo.Builder setExecutorName​(String value)
         Executor's name
         
        string executor_name = 4;
        Parameters:
        value - The executorName to set.
        Returns:
        This builder for chaining.
      • setExecutorNameBytes

        public RemoteFusedGraphExecuteInfo.Builder setExecutorNameBytes​(org.nd4j.shade.protobuf.ByteString value)
         Executor's name
         
        string executor_name = 4;
        Parameters:
        value - The bytes for executorName to set.
        Returns:
        This builder for chaining.
      • getSerializedExecutorParameters

        public org.nd4j.shade.protobuf.ByteString getSerializedExecutorParameters()
         Optional: Parameters given to the executor
         
        bytes serialized_executor_parameters = 5;
        Specified by:
        getSerializedExecutorParameters in interface RemoteFusedGraphExecuteInfoOrBuilder
        Returns:
        The serializedExecutorParameters.
      • setSerializedExecutorParameters

        public RemoteFusedGraphExecuteInfo.Builder setSerializedExecutorParameters​(org.nd4j.shade.protobuf.ByteString value)
         Optional: Parameters given to the executor
         
        bytes serialized_executor_parameters = 5;
        Parameters:
        value - The serializedExecutorParameters to set.
        Returns:
        This builder for chaining.
      • clearSerializedExecutorParameters

        public RemoteFusedGraphExecuteInfo.Builder clearSerializedExecutorParameters()
         Optional: Parameters given to the executor
         
        bytes serialized_executor_parameters = 5;
        Returns:
        This builder for chaining.
      • getDefaultGraphInputTensorShapeCount

        public int getDefaultGraphInputTensorShapeCount()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
        Specified by:
        getDefaultGraphInputTensorShapeCount in interface RemoteFusedGraphExecuteInfoOrBuilder
      • clearDefaultGraphInputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder clearDefaultGraphInputTensorShape()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
      • removeDefaultGraphInputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder removeDefaultGraphInputTensorShape​(int index)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
      • getDefaultGraphInputTensorShapeBuilder

        public RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder getDefaultGraphInputTensorShapeBuilder​(int index)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
      • addDefaultGraphInputTensorShapeBuilder

        public RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder addDefaultGraphInputTensorShapeBuilder()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
      • addDefaultGraphInputTensorShapeBuilder

        public RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder addDefaultGraphInputTensorShapeBuilder​(int index)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
      • getDefaultGraphInputTensorShapeBuilderList

        public List<RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder> getDefaultGraphInputTensorShapeBuilderList()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
      • getDefaultGraphOutputTensorShapeCount

        public int getDefaultGraphOutputTensorShapeCount()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
        Specified by:
        getDefaultGraphOutputTensorShapeCount in interface RemoteFusedGraphExecuteInfoOrBuilder
      • setDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder setDefaultGraphOutputTensorShape​(int index,
                                                                                    RemoteFusedGraphExecuteInfo.TensorShapeTypeProto value)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • setDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder setDefaultGraphOutputTensorShape​(int index,
                                                                                    RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder builderForValue)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • addDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder addDefaultGraphOutputTensorShape​(RemoteFusedGraphExecuteInfo.TensorShapeTypeProto value)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • addDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder addDefaultGraphOutputTensorShape​(int index,
                                                                                    RemoteFusedGraphExecuteInfo.TensorShapeTypeProto value)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • addDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder addDefaultGraphOutputTensorShape​(RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder builderForValue)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • addDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder addDefaultGraphOutputTensorShape​(int index,
                                                                                    RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder builderForValue)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • addAllDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder addAllDefaultGraphOutputTensorShape​(Iterable<? extends RemoteFusedGraphExecuteInfo.TensorShapeTypeProto> values)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • clearDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder clearDefaultGraphOutputTensorShape()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • removeDefaultGraphOutputTensorShape

        public RemoteFusedGraphExecuteInfo.Builder removeDefaultGraphOutputTensorShape​(int index)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • getDefaultGraphOutputTensorShapeBuilder

        public RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder getDefaultGraphOutputTensorShapeBuilder​(int index)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • addDefaultGraphOutputTensorShapeBuilder

        public RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder addDefaultGraphOutputTensorShapeBuilder()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • addDefaultGraphOutputTensorShapeBuilder

        public RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder addDefaultGraphOutputTensorShapeBuilder​(int index)
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • getDefaultGraphOutputTensorShapeBuilderList

        public List<RemoteFusedGraphExecuteInfo.TensorShapeTypeProto.Builder> getDefaultGraphOutputTensorShapeBuilderList()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
      • setUnknownFields

        public final RemoteFusedGraphExecuteInfo.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<RemoteFusedGraphExecuteInfo.Builder>
      • mergeUnknownFields

        public final RemoteFusedGraphExecuteInfo.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<RemoteFusedGraphExecuteInfo.Builder>