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

package org.tensorflow.proto.framework;

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

  /**
   * <code>string name = 1;</code>
   */
  String getName();

  /**
   * <code>string name = 1;</code>
   */
  com.google.protobuf.ByteString
  getNameBytes();

  /**
   * <code>map&lt;string, .tensorflow.AttrValue&gt; attr = 2;</code>
   */
  int getAttrCount();

  /**
   * <code>map&lt;string, .tensorflow.AttrValue&gt; attr = 2;</code>
   */
  boolean containsAttr(
      String key);

  /**
   * Use {@link #getAttrMap()} instead.
   */
  @Deprecated
  java.util.Map<String, AttrValue>
  getAttr();

  /**
   * <code>map&lt;string, .tensorflow.AttrValue&gt; attr = 2;</code>
   */
  java.util.Map<String, AttrValue>
  getAttrMap();

  /**
   * <code>map&lt;string, .tensorflow.AttrValue&gt; attr = 2;</code>
   */

  AttrValue getAttrOrDefault(
      String key,
      AttrValue defaultValue);

  /**
   * <code>map&lt;string, .tensorflow.AttrValue&gt; attr = 2;</code>
   */

  AttrValue getAttrOrThrow(
      String key);
}
