Package flyteidl.core
Interface Types.LiteralTypeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Types.LiteralType,Types.LiteralType.Builder
- Enclosing class:
- Types
public static interface Types.LiteralTypeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Types.BlobTypegetBlob()A blob might have specialized implementation details depending on associated metadata.Types.BlobTypeOrBuildergetBlobOrBuilder()A blob might have specialized implementation details depending on associated metadata.Types.LiteralTypegetCollectionType()Defines the type of the value of a collection.Types.LiteralTypeOrBuildergetCollectionTypeOrBuilder()Defines the type of the value of a collection.Types.LiteralTypegetMapValueType()Defines the type of the value of a map type.Types.LiteralTypeOrBuildergetMapValueTypeOrBuilder()Defines the type of the value of a map type.com.google.protobuf.StructgetMetadata()This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.com.google.protobuf.StructOrBuildergetMetadataOrBuilder()This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.Types.SchemaTypegetSchema()A complex type that requires matching of inner fields.Types.SchemaTypeOrBuildergetSchemaOrBuilder()A complex type that requires matching of inner fields.Types.SimpleTypegetSimple()A simple type that can be compared one-to-one with another.intgetSimpleValue()A simple type that can be compared one-to-one with another.Types.LiteralType.TypeCasegetTypeCase()booleanhasBlob()A blob might have specialized implementation details depending on associated metadata.booleanhasCollectionType()Defines the type of the value of a collection.booleanhasMapValueType()Defines the type of the value of a map type.booleanhasMetadata()This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.booleanhasSchema()A complex type that requires matching of inner fields.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSimpleValue
int getSimpleValue()
A simple type that can be compared one-to-one with another.
.flyteidl.core.SimpleType simple = 1;- Returns:
- The enum numeric value on the wire for simple.
-
getSimple
Types.SimpleType getSimple()
A simple type that can be compared one-to-one with another.
.flyteidl.core.SimpleType simple = 1;- Returns:
- The simple.
-
hasSchema
boolean hasSchema()
A complex type that requires matching of inner fields.
.flyteidl.core.SchemaType schema = 2;- Returns:
- Whether the schema field is set.
-
getSchema
Types.SchemaType getSchema()
A complex type that requires matching of inner fields.
.flyteidl.core.SchemaType schema = 2;- Returns:
- The schema.
-
getSchemaOrBuilder
Types.SchemaTypeOrBuilder getSchemaOrBuilder()
A complex type that requires matching of inner fields.
.flyteidl.core.SchemaType schema = 2;
-
hasCollectionType
boolean hasCollectionType()
Defines the type of the value of a collection. Only homogeneous collections are allowed.
.flyteidl.core.LiteralType collection_type = 3;- Returns:
- Whether the collectionType field is set.
-
getCollectionType
Types.LiteralType getCollectionType()
Defines the type of the value of a collection. Only homogeneous collections are allowed.
.flyteidl.core.LiteralType collection_type = 3;- Returns:
- The collectionType.
-
getCollectionTypeOrBuilder
Types.LiteralTypeOrBuilder getCollectionTypeOrBuilder()
Defines the type of the value of a collection. Only homogeneous collections are allowed.
.flyteidl.core.LiteralType collection_type = 3;
-
hasMapValueType
boolean hasMapValueType()
Defines the type of the value of a map type. The type of the key is always a string.
.flyteidl.core.LiteralType map_value_type = 4;- Returns:
- Whether the mapValueType field is set.
-
getMapValueType
Types.LiteralType getMapValueType()
Defines the type of the value of a map type. The type of the key is always a string.
.flyteidl.core.LiteralType map_value_type = 4;- Returns:
- The mapValueType.
-
getMapValueTypeOrBuilder
Types.LiteralTypeOrBuilder getMapValueTypeOrBuilder()
Defines the type of the value of a map type. The type of the key is always a string.
.flyteidl.core.LiteralType map_value_type = 4;
-
hasBlob
boolean hasBlob()
A blob might have specialized implementation details depending on associated metadata.
.flyteidl.core.BlobType blob = 5;- Returns:
- Whether the blob field is set.
-
getBlob
Types.BlobType getBlob()
A blob might have specialized implementation details depending on associated metadata.
.flyteidl.core.BlobType blob = 5;- Returns:
- The blob.
-
getBlobOrBuilder
Types.BlobTypeOrBuilder getBlobOrBuilder()
A blob might have specialized implementation details depending on associated metadata.
.flyteidl.core.BlobType blob = 5;
-
hasMetadata
boolean hasMetadata()
This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type.
.google.protobuf.Struct metadata = 6;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()
This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type.
.google.protobuf.Struct metadata = 6;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type.
.google.protobuf.Struct metadata = 6;
-
getTypeCase
Types.LiteralType.TypeCase getTypeCase()
-
-