Class RunMetadata.FunctionGraphs.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RunMetadata.FunctionGraphs.Builder>
com.google.protobuf.GeneratedMessage.Builder<RunMetadata.FunctionGraphs.Builder>
org.tensorflow.framework.RunMetadata.FunctionGraphs.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RunMetadata.FunctionGraphsOrBuilder
Enclosing class:
RunMetadata.FunctionGraphs

public static final class RunMetadata.FunctionGraphs.Builder extends com.google.protobuf.GeneratedMessage.Builder<RunMetadata.FunctionGraphs.Builder> implements RunMetadata.FunctionGraphsOrBuilder
Protobuf type tensorflow.RunMetadata.FunctionGraphs
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RunMetadata.FunctionGraphs.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.GeneratedMessage.Builder<RunMetadata.FunctionGraphs.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.GeneratedMessage.Builder<RunMetadata.FunctionGraphs.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RunMetadata.FunctionGraphs buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RunMetadata.FunctionGraphs.Builder>
    • mergeFrom

      public RunMetadata.FunctionGraphs.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<RunMetadata.FunctionGraphs.Builder>
      Throws:
      IOException
    • getPartitionGraphsList

      public List<GraphDef> getPartitionGraphsList()
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
      Specified by:
      getPartitionGraphsList in interface RunMetadata.FunctionGraphsOrBuilder
    • getPartitionGraphsCount

      public int getPartitionGraphsCount()
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
      Specified by:
      getPartitionGraphsCount in interface RunMetadata.FunctionGraphsOrBuilder
    • getPartitionGraphs

      public GraphDef getPartitionGraphs(int index)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
      Specified by:
      getPartitionGraphs in interface RunMetadata.FunctionGraphsOrBuilder
    • setPartitionGraphs

      public RunMetadata.FunctionGraphs.Builder setPartitionGraphs(int index, GraphDef value)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • setPartitionGraphs

      public RunMetadata.FunctionGraphs.Builder setPartitionGraphs(int index, GraphDef.Builder builderForValue)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • addPartitionGraphs

      public RunMetadata.FunctionGraphs.Builder addPartitionGraphs(GraphDef value)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • addPartitionGraphs

      public RunMetadata.FunctionGraphs.Builder addPartitionGraphs(int index, GraphDef value)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • addPartitionGraphs

      public RunMetadata.FunctionGraphs.Builder addPartitionGraphs(GraphDef.Builder builderForValue)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • addPartitionGraphs

      public RunMetadata.FunctionGraphs.Builder addPartitionGraphs(int index, GraphDef.Builder builderForValue)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • addAllPartitionGraphs

      public RunMetadata.FunctionGraphs.Builder addAllPartitionGraphs(Iterable<? extends GraphDef> values)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • clearPartitionGraphs

      public RunMetadata.FunctionGraphs.Builder clearPartitionGraphs()
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • removePartitionGraphs

      public RunMetadata.FunctionGraphs.Builder removePartitionGraphs(int index)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • getPartitionGraphsBuilder

      public GraphDef.Builder getPartitionGraphsBuilder(int index)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • getPartitionGraphsOrBuilder

      public GraphDefOrBuilder getPartitionGraphsOrBuilder(int index)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
      Specified by:
      getPartitionGraphsOrBuilder in interface RunMetadata.FunctionGraphsOrBuilder
    • getPartitionGraphsOrBuilderList

      public List<? extends GraphDefOrBuilder> getPartitionGraphsOrBuilderList()
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
      Specified by:
      getPartitionGraphsOrBuilderList in interface RunMetadata.FunctionGraphsOrBuilder
    • addPartitionGraphsBuilder

      public GraphDef.Builder addPartitionGraphsBuilder()
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • addPartitionGraphsBuilder

      public GraphDef.Builder addPartitionGraphsBuilder(int index)
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • getPartitionGraphsBuilderList

      public List<GraphDef.Builder> getPartitionGraphsBuilderList()
       TODO(nareshmodi): Include some sort of function/cache-key identifier?
       
      repeated .tensorflow.GraphDef partition_graphs = 1;
    • hasPreOptimizationGraph

      public boolean hasPreOptimizationGraph()
      .tensorflow.GraphDef pre_optimization_graph = 2;
      Specified by:
      hasPreOptimizationGraph in interface RunMetadata.FunctionGraphsOrBuilder
      Returns:
      Whether the preOptimizationGraph field is set.
    • getPreOptimizationGraph

      public GraphDef getPreOptimizationGraph()
      .tensorflow.GraphDef pre_optimization_graph = 2;
      Specified by:
      getPreOptimizationGraph in interface RunMetadata.FunctionGraphsOrBuilder
      Returns:
      The preOptimizationGraph.
    • setPreOptimizationGraph

      public RunMetadata.FunctionGraphs.Builder setPreOptimizationGraph(GraphDef value)
      .tensorflow.GraphDef pre_optimization_graph = 2;
    • setPreOptimizationGraph

      public RunMetadata.FunctionGraphs.Builder setPreOptimizationGraph(GraphDef.Builder builderForValue)
      .tensorflow.GraphDef pre_optimization_graph = 2;
    • mergePreOptimizationGraph

      public RunMetadata.FunctionGraphs.Builder mergePreOptimizationGraph(GraphDef value)
      .tensorflow.GraphDef pre_optimization_graph = 2;
    • clearPreOptimizationGraph

      public RunMetadata.FunctionGraphs.Builder clearPreOptimizationGraph()
      .tensorflow.GraphDef pre_optimization_graph = 2;
    • getPreOptimizationGraphBuilder

      public GraphDef.Builder getPreOptimizationGraphBuilder()
      .tensorflow.GraphDef pre_optimization_graph = 2;
    • getPreOptimizationGraphOrBuilder

      public GraphDefOrBuilder getPreOptimizationGraphOrBuilder()
      .tensorflow.GraphDef pre_optimization_graph = 2;
      Specified by:
      getPreOptimizationGraphOrBuilder in interface RunMetadata.FunctionGraphsOrBuilder
    • hasPostOptimizationGraph

      public boolean hasPostOptimizationGraph()
      .tensorflow.GraphDef post_optimization_graph = 3;
      Specified by:
      hasPostOptimizationGraph in interface RunMetadata.FunctionGraphsOrBuilder
      Returns:
      Whether the postOptimizationGraph field is set.
    • getPostOptimizationGraph

      public GraphDef getPostOptimizationGraph()
      .tensorflow.GraphDef post_optimization_graph = 3;
      Specified by:
      getPostOptimizationGraph in interface RunMetadata.FunctionGraphsOrBuilder
      Returns:
      The postOptimizationGraph.
    • setPostOptimizationGraph

      public RunMetadata.FunctionGraphs.Builder setPostOptimizationGraph(GraphDef value)
      .tensorflow.GraphDef post_optimization_graph = 3;
    • setPostOptimizationGraph

      public RunMetadata.FunctionGraphs.Builder setPostOptimizationGraph(GraphDef.Builder builderForValue)
      .tensorflow.GraphDef post_optimization_graph = 3;
    • mergePostOptimizationGraph

      public RunMetadata.FunctionGraphs.Builder mergePostOptimizationGraph(GraphDef value)
      .tensorflow.GraphDef post_optimization_graph = 3;
    • clearPostOptimizationGraph

      public RunMetadata.FunctionGraphs.Builder clearPostOptimizationGraph()
      .tensorflow.GraphDef post_optimization_graph = 3;
    • getPostOptimizationGraphBuilder

      public GraphDef.Builder getPostOptimizationGraphBuilder()
      .tensorflow.GraphDef post_optimization_graph = 3;
    • getPostOptimizationGraphOrBuilder

      public GraphDefOrBuilder getPostOptimizationGraphOrBuilder()
      .tensorflow.GraphDef post_optimization_graph = 3;
      Specified by:
      getPostOptimizationGraphOrBuilder in interface RunMetadata.FunctionGraphsOrBuilder