Interface FixedShape.DimOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    FixedShape.Dim, FixedShape.Dim.Builder
    Enclosing class:
    FixedShape

    public static interface FixedShape.DimOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Optional name of the tensor dimension.
      com.google.protobuf.ByteString getNameBytes()
      Optional name of the tensor dimension.
      long getSize()
      optional int64 size = 1;
      boolean hasName()
      Optional name of the tensor dimension.
      boolean hasSize()
      optional int64 size = 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 Detail

      • hasSize

        boolean hasSize()
        optional int64 size = 1;
        Returns:
        Whether the size field is set.
      • getSize

        long getSize()
        optional int64 size = 1;
        Returns:
        The size.
      • hasName

        boolean hasName()
         Optional name of the tensor dimension.
         
        optional string name = 2;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Optional name of the tensor dimension.
         
        optional string name = 2;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Optional name of the tensor dimension.
         
        optional string name = 2;
        Returns:
        The bytes for name.