Interface FunctionDef.ArgAttrsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FunctionDef.ArgAttrs, FunctionDef.ArgAttrs.Builder
Enclosing class:
FunctionDef

public static interface FunctionDef.ArgAttrsOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    boolean containsAttr​(java.lang.String key)
    map<string, .tensorflow.AttrValue> attr = 1;
    java.util.Map<java.lang.String,​AttrValue> getAttr()
    Deprecated.
    int getAttrCount()
    map<string, .tensorflow.AttrValue> attr = 1;
    java.util.Map<java.lang.String,​AttrValue> getAttrMap()
    map<string, .tensorflow.AttrValue> attr = 1;
    AttrValue getAttrOrDefault​(java.lang.String key, AttrValue defaultValue)
    map<string, .tensorflow.AttrValue> attr = 1;
    AttrValue getAttrOrThrow​(java.lang.String key)
    map<string, .tensorflow.AttrValue> attr = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAttrCount

      int getAttrCount()
      map<string, .tensorflow.AttrValue> attr = 1;
    • containsAttr

      boolean containsAttr​(java.lang.String key)
      map<string, .tensorflow.AttrValue> attr = 1;
    • getAttr

      @Deprecated java.util.Map<java.lang.String,​AttrValue> getAttr()
      Deprecated.
      Use getAttrMap() instead.
    • getAttrMap

      java.util.Map<java.lang.String,​AttrValue> getAttrMap()
      map<string, .tensorflow.AttrValue> attr = 1;
    • getAttrOrDefault

      AttrValue getAttrOrDefault​(java.lang.String key, AttrValue defaultValue)
      map<string, .tensorflow.AttrValue> attr = 1;
    • getAttrOrThrow

      AttrValue getAttrOrThrow​(java.lang.String key)
      map<string, .tensorflow.AttrValue> attr = 1;