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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Literals.LiteralCollectiongetCollection()A collection of literals to allow nesting.Literals.LiteralCollectionOrBuildergetCollectionOrBuilder()A collection of literals to allow nesting.StringgetHash()A hash representing this literal.com.google.protobuf.ByteStringgetHashBytes()A hash representing this literal.Literals.LiteralMapgetMap()A map of strings to literals.Literals.LiteralMapOrBuildergetMapOrBuilder()A map of strings to literals.Literals.ScalargetScalar()A simple value.Literals.ScalarOrBuildergetScalarOrBuilder()A simple value.Literals.Literal.ValueCasegetValueCase()booleanhasCollection()A collection of literals to allow nesting.booleanhasMap()A map of strings to literals.booleanhasScalar()A simple value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
getScalarOrBuilder
Literals.ScalarOrBuilder getScalarOrBuilder()
A simple value.
.flyteidl.core.Scalar scalar = 1;
-
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.
-
getMapOrBuilder
Literals.LiteralMapOrBuilder getMapOrBuilder()
A map of strings to literals.
.flyteidl.core.LiteralMap map = 3;
-
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.
-
getValueCase
Literals.Literal.ValueCase getValueCase()
-
-