Package flyteidl.core

Interface Literals.LiteralOrBuilder

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

    public static interface Literals.LiteralOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasScalar

        boolean hasScalar()
         A simple value.
         
        .flyteidl.core.Scalar scalar = 1;
        Returns:
        Whether the scalar field is set.
      • getScalar

        Literals.Scalar getScalar()
         A simple value.
         
        .flyteidl.core.Scalar scalar = 1;
        Returns:
        The scalar.
      • hasCollection

        boolean hasCollection()
         A collection of literals to allow nesting.
         
        .flyteidl.core.LiteralCollection collection = 2;
        Returns:
        Whether the collection field is set.
      • getCollection

        Literals.LiteralCollection getCollection()
         A collection of literals to allow nesting.
         
        .flyteidl.core.LiteralCollection collection = 2;
        Returns:
        The collection.
      • getCollectionOrBuilder

        Literals.LiteralCollectionOrBuilder getCollectionOrBuilder()
         A collection of literals to allow nesting.
         
        .flyteidl.core.LiteralCollection collection = 2;
      • hasMap

        boolean hasMap()
         A map of strings to literals.
         
        .flyteidl.core.LiteralMap map = 3;
        Returns:
        Whether the map field is set.
      • getMap

        Literals.LiteralMap getMap()
         A map of strings to literals.
         
        .flyteidl.core.LiteralMap map = 3;
        Returns:
        The map.
      • getHash

        String getHash()
         A hash representing this literal.
         This is used for caching purposes. For more details refer to RFC 1893
         (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
         
        string hash = 4;
        Returns:
        The hash.
      • getHashBytes

        com.google.protobuf.ByteString getHashBytes()
         A hash representing this literal.
         This is used for caching purposes. For more details refer to RFC 1893
         (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
         
        string hash = 4;
        Returns:
        The bytes for hash.