Package flyteidl.core

Class Literals.StructuredDatasetMetadata.Builder

    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Literals.StructuredDatasetMetadata.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Literals.StructuredDatasetMetadata.Builder>
      • getDefaultInstanceForType

        public Literals.StructuredDatasetMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Literals.StructuredDatasetMetadata build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Literals.StructuredDatasetMetadata buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Literals.StructuredDatasetMetadata.Builder>
      • hasStructuredDatasetType

        public boolean hasStructuredDatasetType()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
        Specified by:
        hasStructuredDatasetType in interface Literals.StructuredDatasetMetadataOrBuilder
        Returns:
        Whether the structuredDatasetType field is set.
      • getStructuredDatasetType

        public Types.StructuredDatasetType getStructuredDatasetType()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
        Specified by:
        getStructuredDatasetType in interface Literals.StructuredDatasetMetadataOrBuilder
        Returns:
        The structuredDatasetType.
      • setStructuredDatasetType

        public Literals.StructuredDatasetMetadata.Builder setStructuredDatasetType​(Types.StructuredDatasetType value)
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
      • setStructuredDatasetType

        public Literals.StructuredDatasetMetadata.Builder setStructuredDatasetType​(Types.StructuredDatasetType.Builder builderForValue)
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
      • mergeStructuredDatasetType

        public Literals.StructuredDatasetMetadata.Builder mergeStructuredDatasetType​(Types.StructuredDatasetType value)
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
      • clearStructuredDatasetType

        public Literals.StructuredDatasetMetadata.Builder clearStructuredDatasetType()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
      • getStructuredDatasetTypeBuilder

        public Types.StructuredDatasetType.Builder getStructuredDatasetTypeBuilder()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
      • getStructuredDatasetTypeOrBuilder

        public Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;
        Specified by:
        getStructuredDatasetTypeOrBuilder in interface Literals.StructuredDatasetMetadataOrBuilder
      • getStructuredDatasetTypeFieldBuilder

        private com.google.protobuf.SingleFieldBuilderV3<Types.StructuredDatasetType,​Types.StructuredDatasetType.Builder,​Types.StructuredDatasetTypeOrBuilder> getStructuredDatasetTypeFieldBuilder()
         Bundle the type information along with the literal.
         This is here because StructuredDatasets can often be more defined at run time than at compile time.
         That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
         without any column information, but at run time, you might have that column information.
         flytekit python will copy this type information into the literal, from the type information, if not provided by
         the various plugins (encoders).
         Since this field is run time generated, it's not used for any type checking.
         
        .flyteidl.core.StructuredDatasetType structured_dataset_type = 1;