Class ImportFeatureValuesRequest.Builder

    • 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<ImportFeatureValuesRequest.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<ImportFeatureValuesRequest.Builder>
      • getDefaultInstanceForType

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

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

        public ImportFeatureValuesRequest 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<ImportFeatureValuesRequest.Builder>
      • mergeFrom

        public ImportFeatureValuesRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportFeatureValuesRequest.Builder>
        Throws:
        IOException
      • getAvroSourceBuilder

        public AvroSource.Builder getAvroSourceBuilder()
        .google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;
      • getBigquerySourceBuilder

        public BigQuerySource.Builder getBigquerySourceBuilder()
        .google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;
      • getCsvSourceBuilder

        public CsvSource.Builder getCsvSourceBuilder()
        .google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;
      • hasFeatureTimeField

        public boolean hasFeatureTimeField()
         Source column that holds the Feature timestamp for all Feature
         values in each entity.
         
        string feature_time_field = 6;
        Specified by:
        hasFeatureTimeField in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        Whether the featureTimeField field is set.
      • getFeatureTimeFieldBytes

        public com.google.protobuf.ByteString getFeatureTimeFieldBytes()
         Source column that holds the Feature timestamp for all Feature
         values in each entity.
         
        string feature_time_field = 6;
        Specified by:
        getFeatureTimeFieldBytes in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        The bytes for featureTimeField.
      • setFeatureTimeField

        public ImportFeatureValuesRequest.Builder setFeatureTimeField​(String value)
         Source column that holds the Feature timestamp for all Feature
         values in each entity.
         
        string feature_time_field = 6;
        Parameters:
        value - The featureTimeField to set.
        Returns:
        This builder for chaining.
      • clearFeatureTimeField

        public ImportFeatureValuesRequest.Builder clearFeatureTimeField()
         Source column that holds the Feature timestamp for all Feature
         values in each entity.
         
        string feature_time_field = 6;
        Returns:
        This builder for chaining.
      • setFeatureTimeFieldBytes

        public ImportFeatureValuesRequest.Builder setFeatureTimeFieldBytes​(com.google.protobuf.ByteString value)
         Source column that holds the Feature timestamp for all Feature
         values in each entity.
         
        string feature_time_field = 6;
        Parameters:
        value - The bytes for featureTimeField to set.
        Returns:
        This builder for chaining.
      • hasFeatureTime

        public boolean hasFeatureTime()
         Single Feature timestamp for all entities being imported. The
         timestamp must not have higher than millisecond precision.
         
        .google.protobuf.Timestamp feature_time = 7;
        Specified by:
        hasFeatureTime in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        Whether the featureTime field is set.
      • getFeatureTime

        public com.google.protobuf.Timestamp getFeatureTime()
         Single Feature timestamp for all entities being imported. The
         timestamp must not have higher than millisecond precision.
         
        .google.protobuf.Timestamp feature_time = 7;
        Specified by:
        getFeatureTime in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        The featureTime.
      • setFeatureTime

        public ImportFeatureValuesRequest.Builder setFeatureTime​(com.google.protobuf.Timestamp value)
         Single Feature timestamp for all entities being imported. The
         timestamp must not have higher than millisecond precision.
         
        .google.protobuf.Timestamp feature_time = 7;
      • setFeatureTime

        public ImportFeatureValuesRequest.Builder setFeatureTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Single Feature timestamp for all entities being imported. The
         timestamp must not have higher than millisecond precision.
         
        .google.protobuf.Timestamp feature_time = 7;
      • mergeFeatureTime

        public ImportFeatureValuesRequest.Builder mergeFeatureTime​(com.google.protobuf.Timestamp value)
         Single Feature timestamp for all entities being imported. The
         timestamp must not have higher than millisecond precision.
         
        .google.protobuf.Timestamp feature_time = 7;
      • clearFeatureTime

        public ImportFeatureValuesRequest.Builder clearFeatureTime()
         Single Feature timestamp for all entities being imported. The
         timestamp must not have higher than millisecond precision.
         
        .google.protobuf.Timestamp feature_time = 7;
      • getFeatureTimeBuilder

        public com.google.protobuf.Timestamp.Builder getFeatureTimeBuilder()
         Single Feature timestamp for all entities being imported. The
         timestamp must not have higher than millisecond precision.
         
        .google.protobuf.Timestamp feature_time = 7;
      • getFeatureTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getFeatureTimeOrBuilder()
         Single Feature timestamp for all entities being imported. The
         timestamp must not have higher than millisecond precision.
         
        .google.protobuf.Timestamp feature_time = 7;
        Specified by:
        getFeatureTimeOrBuilder in interface ImportFeatureValuesRequestOrBuilder
      • getEntityType

        public String getEntityType()
         Required. The resource name of the EntityType grouping the Features for
         which values are being imported. Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getEntityType in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        The entityType.
      • getEntityTypeBytes

        public com.google.protobuf.ByteString getEntityTypeBytes()
         Required. The resource name of the EntityType grouping the Features for
         which values are being imported. Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getEntityTypeBytes in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        The bytes for entityType.
      • setEntityType

        public ImportFeatureValuesRequest.Builder setEntityType​(String value)
         Required. The resource name of the EntityType grouping the Features for
         which values are being imported. Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The entityType to set.
        Returns:
        This builder for chaining.
      • clearEntityType

        public ImportFeatureValuesRequest.Builder clearEntityType()
         Required. The resource name of the EntityType grouping the Features for
         which values are being imported. Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setEntityTypeBytes

        public ImportFeatureValuesRequest.Builder setEntityTypeBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the EntityType grouping the Features for
         which values are being imported. Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for entityType to set.
        Returns:
        This builder for chaining.
      • getEntityIdField

        public String getEntityIdField()
         Source column that holds entity IDs. If not provided, entity IDs are
         extracted from the column named entity_id.
         
        string entity_id_field = 5;
        Specified by:
        getEntityIdField in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        The entityIdField.
      • getEntityIdFieldBytes

        public com.google.protobuf.ByteString getEntityIdFieldBytes()
         Source column that holds entity IDs. If not provided, entity IDs are
         extracted from the column named entity_id.
         
        string entity_id_field = 5;
        Specified by:
        getEntityIdFieldBytes in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        The bytes for entityIdField.
      • setEntityIdField

        public ImportFeatureValuesRequest.Builder setEntityIdField​(String value)
         Source column that holds entity IDs. If not provided, entity IDs are
         extracted from the column named entity_id.
         
        string entity_id_field = 5;
        Parameters:
        value - The entityIdField to set.
        Returns:
        This builder for chaining.
      • clearEntityIdField

        public ImportFeatureValuesRequest.Builder clearEntityIdField()
         Source column that holds entity IDs. If not provided, entity IDs are
         extracted from the column named entity_id.
         
        string entity_id_field = 5;
        Returns:
        This builder for chaining.
      • setEntityIdFieldBytes

        public ImportFeatureValuesRequest.Builder setEntityIdFieldBytes​(com.google.protobuf.ByteString value)
         Source column that holds entity IDs. If not provided, entity IDs are
         extracted from the column named entity_id.
         
        string entity_id_field = 5;
        Parameters:
        value - The bytes for entityIdField to set.
        Returns:
        This builder for chaining.
      • getFeatureSpecsList

        public List<ImportFeatureValuesRequest.FeatureSpec> getFeatureSpecsList()
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFeatureSpecsList in interface ImportFeatureValuesRequestOrBuilder
      • getFeatureSpecsCount

        public int getFeatureSpecsCount()
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFeatureSpecsCount in interface ImportFeatureValuesRequestOrBuilder
      • getFeatureSpecs

        public ImportFeatureValuesRequest.FeatureSpec getFeatureSpecs​(int index)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFeatureSpecs in interface ImportFeatureValuesRequestOrBuilder
      • setFeatureSpecs

        public ImportFeatureValuesRequest.Builder setFeatureSpecs​(int index,
                                                                  ImportFeatureValuesRequest.FeatureSpec value)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • setFeatureSpecs

        public ImportFeatureValuesRequest.Builder setFeatureSpecs​(int index,
                                                                  ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • addFeatureSpecs

        public ImportFeatureValuesRequest.Builder addFeatureSpecs​(ImportFeatureValuesRequest.FeatureSpec value)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • addFeatureSpecs

        public ImportFeatureValuesRequest.Builder addFeatureSpecs​(int index,
                                                                  ImportFeatureValuesRequest.FeatureSpec value)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • addFeatureSpecs

        public ImportFeatureValuesRequest.Builder addFeatureSpecs​(ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • addFeatureSpecs

        public ImportFeatureValuesRequest.Builder addFeatureSpecs​(int index,
                                                                  ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • addAllFeatureSpecs

        public ImportFeatureValuesRequest.Builder addAllFeatureSpecs​(Iterable<? extends ImportFeatureValuesRequest.FeatureSpec> values)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • clearFeatureSpecs

        public ImportFeatureValuesRequest.Builder clearFeatureSpecs()
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • removeFeatureSpecs

        public ImportFeatureValuesRequest.Builder removeFeatureSpecs​(int index)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • getFeatureSpecsBuilder

        public ImportFeatureValuesRequest.FeatureSpec.Builder getFeatureSpecsBuilder​(int index)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • getFeatureSpecsOrBuilder

        public ImportFeatureValuesRequest.FeatureSpecOrBuilder getFeatureSpecsOrBuilder​(int index)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFeatureSpecsOrBuilder in interface ImportFeatureValuesRequestOrBuilder
      • getFeatureSpecsOrBuilderList

        public List<? extends ImportFeatureValuesRequest.FeatureSpecOrBuilder> getFeatureSpecsOrBuilderList()
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFeatureSpecsOrBuilderList in interface ImportFeatureValuesRequestOrBuilder
      • addFeatureSpecsBuilder

        public ImportFeatureValuesRequest.FeatureSpec.Builder addFeatureSpecsBuilder()
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • addFeatureSpecsBuilder

        public ImportFeatureValuesRequest.FeatureSpec.Builder addFeatureSpecsBuilder​(int index)
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • getFeatureSpecsBuilderList

        public List<ImportFeatureValuesRequest.FeatureSpec.Builder> getFeatureSpecsBuilderList()
         Required. Specifications defining which Feature values to import from the
         entity. The request fails if no feature_specs are provided, and having
         multiple feature_specs for one Feature is not allowed.
         
        repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];
      • getDisableOnlineServing

        public boolean getDisableOnlineServing()
         If set, data will not be imported for online serving. This
         is typically used for backfilling, where Feature generation timestamps are
         not in the timestamp range needed for online serving.
         
        bool disable_online_serving = 9;
        Specified by:
        getDisableOnlineServing in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        The disableOnlineServing.
      • setDisableOnlineServing

        public ImportFeatureValuesRequest.Builder setDisableOnlineServing​(boolean value)
         If set, data will not be imported for online serving. This
         is typically used for backfilling, where Feature generation timestamps are
         not in the timestamp range needed for online serving.
         
        bool disable_online_serving = 9;
        Parameters:
        value - The disableOnlineServing to set.
        Returns:
        This builder for chaining.
      • clearDisableOnlineServing

        public ImportFeatureValuesRequest.Builder clearDisableOnlineServing()
         If set, data will not be imported for online serving. This
         is typically used for backfilling, where Feature generation timestamps are
         not in the timestamp range needed for online serving.
         
        bool disable_online_serving = 9;
        Returns:
        This builder for chaining.
      • getWorkerCount

        public int getWorkerCount()
         Specifies the number of workers that are used to write data to the
         Featurestore. Consider the online serving capacity that you require to
         achieve the desired import throughput without interfering with online
         serving. The value must be positive, and less than or equal to 100.
         If not set, defaults to using 1 worker. The low count ensures minimal
         impact on online serving performance.
         
        int32 worker_count = 11;
        Specified by:
        getWorkerCount in interface ImportFeatureValuesRequestOrBuilder
        Returns:
        The workerCount.
      • setWorkerCount

        public ImportFeatureValuesRequest.Builder setWorkerCount​(int value)
         Specifies the number of workers that are used to write data to the
         Featurestore. Consider the online serving capacity that you require to
         achieve the desired import throughput without interfering with online
         serving. The value must be positive, and less than or equal to 100.
         If not set, defaults to using 1 worker. The low count ensures minimal
         impact on online serving performance.
         
        int32 worker_count = 11;
        Parameters:
        value - The workerCount to set.
        Returns:
        This builder for chaining.
      • clearWorkerCount

        public ImportFeatureValuesRequest.Builder clearWorkerCount()
         Specifies the number of workers that are used to write data to the
         Featurestore. Consider the online serving capacity that you require to
         achieve the desired import throughput without interfering with online
         serving. The value must be positive, and less than or equal to 100.
         If not set, defaults to using 1 worker. The low count ensures minimal
         impact on online serving performance.
         
        int32 worker_count = 11;
        Returns:
        This builder for chaining.
      • setDisableIngestionAnalysis

        public ImportFeatureValuesRequest.Builder setDisableIngestionAnalysis​(boolean value)
         If true, API doesn't start ingestion analysis pipeline.
         
        bool disable_ingestion_analysis = 12;
        Parameters:
        value - The disableIngestionAnalysis to set.
        Returns:
        This builder for chaining.
      • clearDisableIngestionAnalysis

        public ImportFeatureValuesRequest.Builder clearDisableIngestionAnalysis()
         If true, API doesn't start ingestion analysis pipeline.
         
        bool disable_ingestion_analysis = 12;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ImportFeatureValuesRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportFeatureValuesRequest.Builder>
      • mergeUnknownFields

        public final ImportFeatureValuesRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportFeatureValuesRequest.Builder>