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.TypeAnnotationgetAnnotation()This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior.Types.TypeAnnotationOrBuildergetAnnotationOrBuilder()This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior.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.EnumTypegetEnumType()Defines an enum with pre-defined string values.Types.EnumTypeOrBuildergetEnumTypeOrBuilder()Defines an enum with pre-defined string values.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.TypeStructuregetStructure()Hints to improve type matching.Types.StructuredDatasetTypegetStructuredDatasetType()Generalized schema supportTypes.StructuredDatasetTypeOrBuildergetStructuredDatasetTypeOrBuilder()Generalized schema supportTypes.TypeStructureOrBuildergetStructureOrBuilder()Hints to improve type matching.Types.LiteralType.TypeCasegetTypeCase()Types.UnionTypegetUnionType()Defines an union type with pre-defined LiteralTypes.Types.UnionTypeOrBuildergetUnionTypeOrBuilder()Defines an union type with pre-defined LiteralTypes.booleanhasAnnotation()This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior.booleanhasBlob()A blob might have specialized implementation details depending on associated metadata.booleanhasCollectionType()Defines the type of the value of a collection.booleanhasEnumType()Defines an enum with pre-defined string values.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.booleanhasSimple()A simple type that can be compared one-to-one with another.booleanhasStructure()Hints to improve type matching.booleanhasStructuredDatasetType()Generalized schema supportbooleanhasUnionType()Defines an union type with pre-defined LiteralTypes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSimple
boolean hasSimple()
A simple type that can be compared one-to-one with another.
.flyteidl.core.SimpleType simple = 1;- Returns:
- Whether the simple field is set.
-
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;
-
hasEnumType
boolean hasEnumType()
Defines an enum with pre-defined string values.
.flyteidl.core.EnumType enum_type = 7;- Returns:
- Whether the enumType field is set.
-
getEnumType
Types.EnumType getEnumType()
Defines an enum with pre-defined string values.
.flyteidl.core.EnumType enum_type = 7;- Returns:
- The enumType.
-
getEnumTypeOrBuilder
Types.EnumTypeOrBuilder getEnumTypeOrBuilder()
Defines an enum with pre-defined string values.
.flyteidl.core.EnumType enum_type = 7;
-
hasStructuredDatasetType
boolean hasStructuredDatasetType()
Generalized schema support
.flyteidl.core.StructuredDatasetType structured_dataset_type = 8;- Returns:
- Whether the structuredDatasetType field is set.
-
getStructuredDatasetType
Types.StructuredDatasetType getStructuredDatasetType()
Generalized schema support
.flyteidl.core.StructuredDatasetType structured_dataset_type = 8;- Returns:
- The structuredDatasetType.
-
getStructuredDatasetTypeOrBuilder
Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder()
Generalized schema support
.flyteidl.core.StructuredDatasetType structured_dataset_type = 8;
-
hasUnionType
boolean hasUnionType()
Defines an union type with pre-defined LiteralTypes.
.flyteidl.core.UnionType union_type = 10;- Returns:
- Whether the unionType field is set.
-
getUnionType
Types.UnionType getUnionType()
Defines an union type with pre-defined LiteralTypes.
.flyteidl.core.UnionType union_type = 10;- Returns:
- The unionType.
-
getUnionTypeOrBuilder
Types.UnionTypeOrBuilder getUnionTypeOrBuilder()
Defines an union type with pre-defined LiteralTypes.
.flyteidl.core.UnionType union_type = 10;
-
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;
-
hasAnnotation
boolean hasAnnotation()
This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior.
.flyteidl.core.TypeAnnotation annotation = 9;- Returns:
- Whether the annotation field is set.
-
getAnnotation
Types.TypeAnnotation getAnnotation()
This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior.
.flyteidl.core.TypeAnnotation annotation = 9;- Returns:
- The annotation.
-
getAnnotationOrBuilder
Types.TypeAnnotationOrBuilder getAnnotationOrBuilder()
This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior.
.flyteidl.core.TypeAnnotation annotation = 9;
-
hasStructure
boolean hasStructure()
Hints to improve type matching.
.flyteidl.core.TypeStructure structure = 11;- Returns:
- Whether the structure field is set.
-
getStructure
Types.TypeStructure getStructure()
Hints to improve type matching.
.flyteidl.core.TypeStructure structure = 11;- Returns:
- The structure.
-
getStructureOrBuilder
Types.TypeStructureOrBuilder getStructureOrBuilder()
Hints to improve type matching.
.flyteidl.core.TypeStructure structure = 11;
-
getTypeCase
Types.LiteralType.TypeCase getTypeCase()
-
-