// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/saved_object_graph.proto

package org.tensorflow.proto.framework;

public interface SavedObjectOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.SavedObject)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Objects which this object depends on: named edges in the dependency
   * graph.
   * Note: currently only valid if kind == "user_object" or "resource".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;</code>
   */
  java.util.List<org.tensorflow.proto.framework.TrackableObjectGraph.TrackableObject.ObjectReference> 
      getChildrenList();
  /**
   * <pre>
   * Objects which this object depends on: named edges in the dependency
   * graph.
   * Note: currently only valid if kind == "user_object" or "resource".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;</code>
   */
  org.tensorflow.proto.framework.TrackableObjectGraph.TrackableObject.ObjectReference getChildren(int index);
  /**
   * <pre>
   * Objects which this object depends on: named edges in the dependency
   * graph.
   * Note: currently only valid if kind == "user_object" or "resource".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;</code>
   */
  int getChildrenCount();
  /**
   * <pre>
   * Objects which this object depends on: named edges in the dependency
   * graph.
   * Note: currently only valid if kind == "user_object" or "resource".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;</code>
   */
  java.util.List<? extends org.tensorflow.proto.framework.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> 
      getChildrenOrBuilderList();
  /**
   * <pre>
   * Objects which this object depends on: named edges in the dependency
   * graph.
   * Note: currently only valid if kind == "user_object" or "resource".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1;</code>
   */
  org.tensorflow.proto.framework.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder getChildrenOrBuilder(
      int index);

  /**
   * <pre>
   * Slot variables owned by this object. This describes the three-way
   * (optimizer, variable, slot variable) relationship; none of the three
   * depend on the others directly.
   * Note: currently only valid if kind == "user_object".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;</code>
   */
  java.util.List<org.tensorflow.proto.framework.TrackableObjectGraph.TrackableObject.SlotVariableReference> 
      getSlotVariablesList();
  /**
   * <pre>
   * Slot variables owned by this object. This describes the three-way
   * (optimizer, variable, slot variable) relationship; none of the three
   * depend on the others directly.
   * Note: currently only valid if kind == "user_object".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;</code>
   */
  org.tensorflow.proto.framework.TrackableObjectGraph.TrackableObject.SlotVariableReference getSlotVariables(int index);
  /**
   * <pre>
   * Slot variables owned by this object. This describes the three-way
   * (optimizer, variable, slot variable) relationship; none of the three
   * depend on the others directly.
   * Note: currently only valid if kind == "user_object".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;</code>
   */
  int getSlotVariablesCount();
  /**
   * <pre>
   * Slot variables owned by this object. This describes the three-way
   * (optimizer, variable, slot variable) relationship; none of the three
   * depend on the others directly.
   * Note: currently only valid if kind == "user_object".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;</code>
   */
  java.util.List<? extends org.tensorflow.proto.framework.TrackableObjectGraph.TrackableObject.SlotVariableReferenceOrBuilder> 
      getSlotVariablesOrBuilderList();
  /**
   * <pre>
   * Slot variables owned by this object. This describes the three-way
   * (optimizer, variable, slot variable) relationship; none of the three
   * depend on the others directly.
   * Note: currently only valid if kind == "user_object".
   * </pre>
   *
   * <code>repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3;</code>
   */
  org.tensorflow.proto.framework.TrackableObjectGraph.TrackableObject.SlotVariableReferenceOrBuilder getSlotVariablesOrBuilder(
      int index);

  /**
   * <code>.tensorflow.SavedUserObject user_object = 4;</code>
   */
  boolean hasUserObject();
  /**
   * <code>.tensorflow.SavedUserObject user_object = 4;</code>
   */
  org.tensorflow.proto.framework.SavedUserObject getUserObject();
  /**
   * <code>.tensorflow.SavedUserObject user_object = 4;</code>
   */
  org.tensorflow.proto.framework.SavedUserObjectOrBuilder getUserObjectOrBuilder();

  /**
   * <code>.tensorflow.SavedAsset asset = 5;</code>
   */
  boolean hasAsset();
  /**
   * <code>.tensorflow.SavedAsset asset = 5;</code>
   */
  org.tensorflow.proto.framework.SavedAsset getAsset();
  /**
   * <code>.tensorflow.SavedAsset asset = 5;</code>
   */
  org.tensorflow.proto.framework.SavedAssetOrBuilder getAssetOrBuilder();

  /**
   * <code>.tensorflow.SavedFunction function = 6;</code>
   */
  boolean hasFunction();
  /**
   * <code>.tensorflow.SavedFunction function = 6;</code>
   */
  org.tensorflow.proto.framework.SavedFunction getFunction();
  /**
   * <code>.tensorflow.SavedFunction function = 6;</code>
   */
  org.tensorflow.proto.framework.SavedFunctionOrBuilder getFunctionOrBuilder();

  /**
   * <code>.tensorflow.SavedVariable variable = 7;</code>
   */
  boolean hasVariable();
  /**
   * <code>.tensorflow.SavedVariable variable = 7;</code>
   */
  org.tensorflow.proto.framework.SavedVariable getVariable();
  /**
   * <code>.tensorflow.SavedVariable variable = 7;</code>
   */
  org.tensorflow.proto.framework.SavedVariableOrBuilder getVariableOrBuilder();

  /**
   * <code>.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;</code>
   */
  boolean hasBareConcreteFunction();
  /**
   * <code>.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;</code>
   */
  org.tensorflow.proto.framework.SavedBareConcreteFunction getBareConcreteFunction();
  /**
   * <code>.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;</code>
   */
  org.tensorflow.proto.framework.SavedBareConcreteFunctionOrBuilder getBareConcreteFunctionOrBuilder();

  /**
   * <code>.tensorflow.SavedConstant constant = 9;</code>
   */
  boolean hasConstant();
  /**
   * <code>.tensorflow.SavedConstant constant = 9;</code>
   */
  org.tensorflow.proto.framework.SavedConstant getConstant();
  /**
   * <code>.tensorflow.SavedConstant constant = 9;</code>
   */
  org.tensorflow.proto.framework.SavedConstantOrBuilder getConstantOrBuilder();

  /**
   * <code>.tensorflow.SavedResource resource = 10;</code>
   */
  boolean hasResource();
  /**
   * <code>.tensorflow.SavedResource resource = 10;</code>
   */
  org.tensorflow.proto.framework.SavedResource getResource();
  /**
   * <code>.tensorflow.SavedResource resource = 10;</code>
   */
  org.tensorflow.proto.framework.SavedResourceOrBuilder getResourceOrBuilder();

  /**
   * <code>.tensorflow.CapturedTensor captured_tensor = 12;</code>
   */
  boolean hasCapturedTensor();
  /**
   * <code>.tensorflow.CapturedTensor captured_tensor = 12;</code>
   */
  org.tensorflow.proto.framework.CapturedTensor getCapturedTensor();
  /**
   * <code>.tensorflow.CapturedTensor captured_tensor = 12;</code>
   */
  org.tensorflow.proto.framework.CapturedTensorOrBuilder getCapturedTensorOrBuilder();

  /**
   * <code>map&lt;string, .tensorflow.SaveableObject&gt; saveable_objects = 11;</code>
   */
  int getSaveableObjectsCount();
  /**
   * <code>map&lt;string, .tensorflow.SaveableObject&gt; saveable_objects = 11;</code>
   */
  boolean containsSaveableObjects(
      java.lang.String key);
  /**
   * Use {@link #getSaveableObjectsMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, org.tensorflow.proto.framework.SaveableObject>
  getSaveableObjects();
  /**
   * <code>map&lt;string, .tensorflow.SaveableObject&gt; saveable_objects = 11;</code>
   */
  java.util.Map<java.lang.String, org.tensorflow.proto.framework.SaveableObject>
  getSaveableObjectsMap();
  /**
   * <code>map&lt;string, .tensorflow.SaveableObject&gt; saveable_objects = 11;</code>
   */

  org.tensorflow.proto.framework.SaveableObject getSaveableObjectsOrDefault(
      java.lang.String key,
      org.tensorflow.proto.framework.SaveableObject defaultValue);
  /**
   * <code>map&lt;string, .tensorflow.SaveableObject&gt; saveable_objects = 11;</code>
   */

  org.tensorflow.proto.framework.SaveableObject getSaveableObjectsOrThrow(
      java.lang.String key);

  /**
   * <pre>
   * The fields below are filled when the user serializes a registered Trackable
   * class. Registered classes may save additional metadata and supersede the
   * default loading process where nodes are recreated from the proto.
   * The name of the registered class of the form "{package}.{class_name}".
   * This field is used to search for the registered class at loading time.
   * </pre>
   *
   * <code>string registered_name = 13;</code>
   */
  java.lang.String getRegisteredName();
  /**
   * <pre>
   * The fields below are filled when the user serializes a registered Trackable
   * class. Registered classes may save additional metadata and supersede the
   * default loading process where nodes are recreated from the proto.
   * The name of the registered class of the form "{package}.{class_name}".
   * This field is used to search for the registered class at loading time.
   * </pre>
   *
   * <code>string registered_name = 13;</code>
   */
  com.google.protobuf.ByteString
      getRegisteredNameBytes();

  /**
   * <pre>
   * The user-generated proto storing metadata for this object, to be passed to
   * the registered classes's _deserialize_from_proto method when this object is
   * loaded from the SavedModel.
   * </pre>
   *
   * <code>.google.protobuf.Any serialized_user_proto = 14;</code>
   */
  boolean hasSerializedUserProto();
  /**
   * <pre>
   * The user-generated proto storing metadata for this object, to be passed to
   * the registered classes's _deserialize_from_proto method when this object is
   * loaded from the SavedModel.
   * </pre>
   *
   * <code>.google.protobuf.Any serialized_user_proto = 14;</code>
   */
  com.google.protobuf.Any getSerializedUserProto();
  /**
   * <pre>
   * The user-generated proto storing metadata for this object, to be passed to
   * the registered classes's _deserialize_from_proto method when this object is
   * loaded from the SavedModel.
   * </pre>
   *
   * <code>.google.protobuf.Any serialized_user_proto = 14;</code>
   */
  com.google.protobuf.AnyOrBuilder getSerializedUserProtoOrBuilder();

  public org.tensorflow.proto.framework.SavedObject.KindCase getKindCase();
}
