Class CostGraphDef.Node.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
org.tensorflow.framework.CostGraphDef.Node.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, CostGraphDef.NodeOrBuilder
Enclosing class:
CostGraphDef.Node

public static final class CostGraphDef.Node.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder> implements CostGraphDef.NodeOrBuilder
Protobuf type tensorflow.CostGraphDef.Node
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • clear

      public CostGraphDef.Node.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • getDefaultInstanceForType

      public CostGraphDef.Node getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CostGraphDef.Node build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CostGraphDef.Node buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public CostGraphDef.Node.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • setField

      public CostGraphDef.Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • clearField

      public CostGraphDef.Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • clearOneof

      public CostGraphDef.Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • setRepeatedField

      public CostGraphDef.Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • addRepeatedField

      public CostGraphDef.Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • mergeFrom

      public CostGraphDef.Node.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>
    • mergeFrom

      public CostGraphDef.Node.Builder mergeFrom(CostGraphDef.Node other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • mergeFrom

      public CostGraphDef.Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The name of the node. Names are globally unique.
       
      string name = 1;
      Specified by:
      getName in interface CostGraphDef.NodeOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the node. Names are globally unique.
       
      string name = 1;
      Specified by:
      getNameBytes in interface CostGraphDef.NodeOrBuilder
      Returns:
      The bytes for name.
    • setName

      public CostGraphDef.Node.Builder setName(String value)
       The name of the node. Names are globally unique.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public CostGraphDef.Node.Builder clearName()
       The name of the node. Names are globally unique.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public CostGraphDef.Node.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the node. Names are globally unique.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDevice

      public String getDevice()
       The device of the node. Can be empty if the node is mapped to the
       default partition or partitioning hasn't been run yet.
       
      string device = 2;
      Specified by:
      getDevice in interface CostGraphDef.NodeOrBuilder
      Returns:
      The device.
    • getDeviceBytes

      public com.google.protobuf.ByteString getDeviceBytes()
       The device of the node. Can be empty if the node is mapped to the
       default partition or partitioning hasn't been run yet.
       
      string device = 2;
      Specified by:
      getDeviceBytes in interface CostGraphDef.NodeOrBuilder
      Returns:
      The bytes for device.
    • setDevice

      public CostGraphDef.Node.Builder setDevice(String value)
       The device of the node. Can be empty if the node is mapped to the
       default partition or partitioning hasn't been run yet.
       
      string device = 2;
      Parameters:
      value - The device to set.
      Returns:
      This builder for chaining.
    • clearDevice

      public CostGraphDef.Node.Builder clearDevice()
       The device of the node. Can be empty if the node is mapped to the
       default partition or partitioning hasn't been run yet.
       
      string device = 2;
      Returns:
      This builder for chaining.
    • setDeviceBytes

      public CostGraphDef.Node.Builder setDeviceBytes(com.google.protobuf.ByteString value)
       The device of the node. Can be empty if the node is mapped to the
       default partition or partitioning hasn't been run yet.
       
      string device = 2;
      Parameters:
      value - The bytes for device to set.
      Returns:
      This builder for chaining.
    • getId

      public int getId()
       The id of the node. Node ids are only unique inside a partition.
       
      int32 id = 3;
      Specified by:
      getId in interface CostGraphDef.NodeOrBuilder
      Returns:
      The id.
    • setId

      public CostGraphDef.Node.Builder setId(int value)
       The id of the node. Node ids are only unique inside a partition.
       
      int32 id = 3;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public CostGraphDef.Node.Builder clearId()
       The id of the node. Node ids are only unique inside a partition.
       
      int32 id = 3;
      Returns:
      This builder for chaining.
    • getInputInfoList

      public List<CostGraphDef.Node.InputInfo> getInputInfoList()
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
      Specified by:
      getInputInfoList in interface CostGraphDef.NodeOrBuilder
    • getInputInfoCount

      public int getInputInfoCount()
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
      Specified by:
      getInputInfoCount in interface CostGraphDef.NodeOrBuilder
    • getInputInfo

      public CostGraphDef.Node.InputInfo getInputInfo(int index)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
      Specified by:
      getInputInfo in interface CostGraphDef.NodeOrBuilder
    • setInputInfo

      public CostGraphDef.Node.Builder setInputInfo(int index, CostGraphDef.Node.InputInfo value)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • setInputInfo

      public CostGraphDef.Node.Builder setInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • addInputInfo

      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • addInputInfo

      public CostGraphDef.Node.Builder addInputInfo(int index, CostGraphDef.Node.InputInfo value)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • addInputInfo

      public CostGraphDef.Node.Builder addInputInfo(CostGraphDef.Node.InputInfo.Builder builderForValue)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • addInputInfo

      public CostGraphDef.Node.Builder addInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • addAllInputInfo

      public CostGraphDef.Node.Builder addAllInputInfo(Iterable<? extends CostGraphDef.Node.InputInfo> values)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • clearInputInfo

      public CostGraphDef.Node.Builder clearInputInfo()
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • removeInputInfo

      public CostGraphDef.Node.Builder removeInputInfo(int index)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • getInputInfoBuilder

      public CostGraphDef.Node.InputInfo.Builder getInputInfoBuilder(int index)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • getInputInfoOrBuilder

      public CostGraphDef.Node.InputInfoOrBuilder getInputInfoOrBuilder(int index)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
      Specified by:
      getInputInfoOrBuilder in interface CostGraphDef.NodeOrBuilder
    • getInputInfoOrBuilderList

      public List<? extends CostGraphDef.Node.InputInfoOrBuilder> getInputInfoOrBuilderList()
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
      Specified by:
      getInputInfoOrBuilderList in interface CostGraphDef.NodeOrBuilder
    • addInputInfoBuilder

      public CostGraphDef.Node.InputInfo.Builder addInputInfoBuilder()
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • addInputInfoBuilder

      public CostGraphDef.Node.InputInfo.Builder addInputInfoBuilder(int index)
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • getInputInfoBuilderList

      public List<CostGraphDef.Node.InputInfo.Builder> getInputInfoBuilderList()
      repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
    • getOutputInfoList

      public List<CostGraphDef.Node.OutputInfo> getOutputInfoList()
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
      Specified by:
      getOutputInfoList in interface CostGraphDef.NodeOrBuilder
    • getOutputInfoCount

      public int getOutputInfoCount()
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
      Specified by:
      getOutputInfoCount in interface CostGraphDef.NodeOrBuilder
    • getOutputInfo

      public CostGraphDef.Node.OutputInfo getOutputInfo(int index)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
      Specified by:
      getOutputInfo in interface CostGraphDef.NodeOrBuilder
    • setOutputInfo

      public CostGraphDef.Node.Builder setOutputInfo(int index, CostGraphDef.Node.OutputInfo value)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • setOutputInfo

      public CostGraphDef.Node.Builder setOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • addOutputInfo

      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • addOutputInfo

      public CostGraphDef.Node.Builder addOutputInfo(int index, CostGraphDef.Node.OutputInfo value)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • addOutputInfo

      public CostGraphDef.Node.Builder addOutputInfo(CostGraphDef.Node.OutputInfo.Builder builderForValue)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • addOutputInfo

      public CostGraphDef.Node.Builder addOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • addAllOutputInfo

      public CostGraphDef.Node.Builder addAllOutputInfo(Iterable<? extends CostGraphDef.Node.OutputInfo> values)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • clearOutputInfo

      public CostGraphDef.Node.Builder clearOutputInfo()
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • removeOutputInfo

      public CostGraphDef.Node.Builder removeOutputInfo(int index)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • getOutputInfoBuilder

      public CostGraphDef.Node.OutputInfo.Builder getOutputInfoBuilder(int index)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • getOutputInfoOrBuilder

      public CostGraphDef.Node.OutputInfoOrBuilder getOutputInfoOrBuilder(int index)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
      Specified by:
      getOutputInfoOrBuilder in interface CostGraphDef.NodeOrBuilder
    • getOutputInfoOrBuilderList

      public List<? extends CostGraphDef.Node.OutputInfoOrBuilder> getOutputInfoOrBuilderList()
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
      Specified by:
      getOutputInfoOrBuilderList in interface CostGraphDef.NodeOrBuilder
    • addOutputInfoBuilder

      public CostGraphDef.Node.OutputInfo.Builder addOutputInfoBuilder()
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • addOutputInfoBuilder

      public CostGraphDef.Node.OutputInfo.Builder addOutputInfoBuilder(int index)
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • getOutputInfoBuilderList

      public List<CostGraphDef.Node.OutputInfo.Builder> getOutputInfoBuilderList()
      repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
    • getTemporaryMemorySize

      public long getTemporaryMemorySize()
       Temporary memory used by this node.
       
      int64 temporary_memory_size = 6;
      Specified by:
      getTemporaryMemorySize in interface CostGraphDef.NodeOrBuilder
      Returns:
      The temporaryMemorySize.
    • setTemporaryMemorySize

      public CostGraphDef.Node.Builder setTemporaryMemorySize(long value)
       Temporary memory used by this node.
       
      int64 temporary_memory_size = 6;
      Parameters:
      value - The temporaryMemorySize to set.
      Returns:
      This builder for chaining.
    • clearTemporaryMemorySize

      public CostGraphDef.Node.Builder clearTemporaryMemorySize()
       Temporary memory used by this node.
       
      int64 temporary_memory_size = 6;
      Returns:
      This builder for chaining.
    • getPersistentMemorySize

      public long getPersistentMemorySize()
       Persistent memory used by this node.
       
      int64 persistent_memory_size = 12;
      Specified by:
      getPersistentMemorySize in interface CostGraphDef.NodeOrBuilder
      Returns:
      The persistentMemorySize.
    • setPersistentMemorySize

      public CostGraphDef.Node.Builder setPersistentMemorySize(long value)
       Persistent memory used by this node.
       
      int64 persistent_memory_size = 12;
      Parameters:
      value - The persistentMemorySize to set.
      Returns:
      This builder for chaining.
    • clearPersistentMemorySize

      public CostGraphDef.Node.Builder clearPersistentMemorySize()
       Persistent memory used by this node.
       
      int64 persistent_memory_size = 12;
      Returns:
      This builder for chaining.
    • getHostTempMemorySize

      @Deprecated public long getHostTempMemorySize()
      Deprecated.
      tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=68
      int64 host_temp_memory_size = 10 [deprecated = true];
      Specified by:
      getHostTempMemorySize in interface CostGraphDef.NodeOrBuilder
      Returns:
      The hostTempMemorySize.
    • setHostTempMemorySize

      @Deprecated public CostGraphDef.Node.Builder setHostTempMemorySize(long value)
      Deprecated.
      tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=68
      int64 host_temp_memory_size = 10 [deprecated = true];
      Parameters:
      value - The hostTempMemorySize to set.
      Returns:
      This builder for chaining.
    • clearHostTempMemorySize

      @Deprecated public CostGraphDef.Node.Builder clearHostTempMemorySize()
      Deprecated.
      tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=68
      int64 host_temp_memory_size = 10 [deprecated = true];
      Returns:
      This builder for chaining.
    • getDeviceTempMemorySize

      @Deprecated public long getDeviceTempMemorySize()
      Deprecated.
      tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=69
      int64 device_temp_memory_size = 11 [deprecated = true];
      Specified by:
      getDeviceTempMemorySize in interface CostGraphDef.NodeOrBuilder
      Returns:
      The deviceTempMemorySize.
    • setDeviceTempMemorySize

      @Deprecated public CostGraphDef.Node.Builder setDeviceTempMemorySize(long value)
      Deprecated.
      tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=69
      int64 device_temp_memory_size = 11 [deprecated = true];
      Parameters:
      value - The deviceTempMemorySize to set.
      Returns:
      This builder for chaining.
    • clearDeviceTempMemorySize

      @Deprecated public CostGraphDef.Node.Builder clearDeviceTempMemorySize()
      Deprecated.
      tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=69
      int64 device_temp_memory_size = 11 [deprecated = true];
      Returns:
      This builder for chaining.
    • getDevicePersistentMemorySize

      @Deprecated public long getDevicePersistentMemorySize()
      Deprecated.
      tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=70
      int64 device_persistent_memory_size = 16 [deprecated = true];
      Specified by:
      getDevicePersistentMemorySize in interface CostGraphDef.NodeOrBuilder
      Returns:
      The devicePersistentMemorySize.
    • setDevicePersistentMemorySize

      @Deprecated public CostGraphDef.Node.Builder setDevicePersistentMemorySize(long value)
      Deprecated.
      tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=70
      int64 device_persistent_memory_size = 16 [deprecated = true];
      Parameters:
      value - The devicePersistentMemorySize to set.
      Returns:
      This builder for chaining.
    • clearDevicePersistentMemorySize

      @Deprecated public CostGraphDef.Node.Builder clearDevicePersistentMemorySize()
      Deprecated.
      tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=70
      int64 device_persistent_memory_size = 16 [deprecated = true];
      Returns:
      This builder for chaining.
    • getComputeCost

      public long getComputeCost()
       Estimate of the computational cost of this node, in microseconds.
       
      int64 compute_cost = 9;
      Specified by:
      getComputeCost in interface CostGraphDef.NodeOrBuilder
      Returns:
      The computeCost.
    • setComputeCost

      public CostGraphDef.Node.Builder setComputeCost(long value)
       Estimate of the computational cost of this node, in microseconds.
       
      int64 compute_cost = 9;
      Parameters:
      value - The computeCost to set.
      Returns:
      This builder for chaining.
    • clearComputeCost

      public CostGraphDef.Node.Builder clearComputeCost()
       Estimate of the computational cost of this node, in microseconds.
       
      int64 compute_cost = 9;
      Returns:
      This builder for chaining.
    • getComputeTime

      public long getComputeTime()
       Analytical estimate of the computational cost of this node, in
       microseconds.
       
      int64 compute_time = 14;
      Specified by:
      getComputeTime in interface CostGraphDef.NodeOrBuilder
      Returns:
      The computeTime.
    • setComputeTime

      public CostGraphDef.Node.Builder setComputeTime(long value)
       Analytical estimate of the computational cost of this node, in
       microseconds.
       
      int64 compute_time = 14;
      Parameters:
      value - The computeTime to set.
      Returns:
      This builder for chaining.
    • clearComputeTime

      public CostGraphDef.Node.Builder clearComputeTime()
       Analytical estimate of the computational cost of this node, in
       microseconds.
       
      int64 compute_time = 14;
      Returns:
      This builder for chaining.
    • getMemoryTime

      public long getMemoryTime()
       Analytical estimate of the memory access cost of this node, in
       microseconds.
       
      int64 memory_time = 15;
      Specified by:
      getMemoryTime in interface CostGraphDef.NodeOrBuilder
      Returns:
      The memoryTime.
    • setMemoryTime

      public CostGraphDef.Node.Builder setMemoryTime(long value)
       Analytical estimate of the memory access cost of this node, in
       microseconds.
       
      int64 memory_time = 15;
      Parameters:
      value - The memoryTime to set.
      Returns:
      This builder for chaining.
    • clearMemoryTime

      public CostGraphDef.Node.Builder clearMemoryTime()
       Analytical estimate of the memory access cost of this node, in
       microseconds.
       
      int64 memory_time = 15;
      Returns:
      This builder for chaining.
    • getIsFinal

      public boolean getIsFinal()
       If true, the output is permanent: it can't be discarded, because this
       node is part of the "final output". Nodes may depend on final nodes.
       
      bool is_final = 7;
      Specified by:
      getIsFinal in interface CostGraphDef.NodeOrBuilder
      Returns:
      The isFinal.
    • setIsFinal

      public CostGraphDef.Node.Builder setIsFinal(boolean value)
       If true, the output is permanent: it can't be discarded, because this
       node is part of the "final output". Nodes may depend on final nodes.
       
      bool is_final = 7;
      Parameters:
      value - The isFinal to set.
      Returns:
      This builder for chaining.
    • clearIsFinal

      public CostGraphDef.Node.Builder clearIsFinal()
       If true, the output is permanent: it can't be discarded, because this
       node is part of the "final output". Nodes may depend on final nodes.
       
      bool is_final = 7;
      Returns:
      This builder for chaining.
    • getControlInputList

      public List<Integer> getControlInputList()
       Ids of the control inputs for this node.
       
      repeated int32 control_input = 8;
      Specified by:
      getControlInputList in interface CostGraphDef.NodeOrBuilder
      Returns:
      A list containing the controlInput.
    • getControlInputCount

      public int getControlInputCount()
       Ids of the control inputs for this node.
       
      repeated int32 control_input = 8;
      Specified by:
      getControlInputCount in interface CostGraphDef.NodeOrBuilder
      Returns:
      The count of controlInput.
    • getControlInput

      public int getControlInput(int index)
       Ids of the control inputs for this node.
       
      repeated int32 control_input = 8;
      Specified by:
      getControlInput in interface CostGraphDef.NodeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The controlInput at the given index.
    • setControlInput

      public CostGraphDef.Node.Builder setControlInput(int index, int value)
       Ids of the control inputs for this node.
       
      repeated int32 control_input = 8;
      Parameters:
      index - The index to set the value at.
      value - The controlInput to set.
      Returns:
      This builder for chaining.
    • addControlInput

      public CostGraphDef.Node.Builder addControlInput(int value)
       Ids of the control inputs for this node.
       
      repeated int32 control_input = 8;
      Parameters:
      value - The controlInput to add.
      Returns:
      This builder for chaining.
    • addAllControlInput

      public CostGraphDef.Node.Builder addAllControlInput(Iterable<? extends Integer> values)
       Ids of the control inputs for this node.
       
      repeated int32 control_input = 8;
      Parameters:
      values - The controlInput to add.
      Returns:
      This builder for chaining.
    • clearControlInput

      public CostGraphDef.Node.Builder clearControlInput()
       Ids of the control inputs for this node.
       
      repeated int32 control_input = 8;
      Returns:
      This builder for chaining.
    • getInaccurate

      public boolean getInaccurate()
       Are the costs inaccurate?
       
      bool inaccurate = 17;
      Specified by:
      getInaccurate in interface CostGraphDef.NodeOrBuilder
      Returns:
      The inaccurate.
    • setInaccurate

      public CostGraphDef.Node.Builder setInaccurate(boolean value)
       Are the costs inaccurate?
       
      bool inaccurate = 17;
      Parameters:
      value - The inaccurate to set.
      Returns:
      This builder for chaining.
    • clearInaccurate

      public CostGraphDef.Node.Builder clearInaccurate()
       Are the costs inaccurate?
       
      bool inaccurate = 17;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final CostGraphDef.Node.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
    • mergeUnknownFields

      public final CostGraphDef.Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>