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

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

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

        public ImportFeatureValuesOperationMetadata 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<ImportFeatureValuesOperationMetadata.Builder>
      • hasGenericMetadata

        public boolean hasGenericMetadata()
         Operation metadata for Featurestore import Feature values.
         
        .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
        Specified by:
        hasGenericMetadata in interface ImportFeatureValuesOperationMetadataOrBuilder
        Returns:
        Whether the genericMetadata field is set.
      • clearGenericMetadata

        public ImportFeatureValuesOperationMetadata.Builder clearGenericMetadata()
         Operation metadata for Featurestore import Feature values.
         
        .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
      • getGenericMetadataBuilder

        public GenericOperationMetadata.Builder getGenericMetadataBuilder()
         Operation metadata for Featurestore import Feature values.
         
        .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
      • setImportedEntityCount

        public ImportFeatureValuesOperationMetadata.Builder setImportedEntityCount​(long value)
         Number of entities that have been imported by the operation.
         
        int64 imported_entity_count = 2;
        Parameters:
        value - The importedEntityCount to set.
        Returns:
        This builder for chaining.
      • clearImportedEntityCount

        public ImportFeatureValuesOperationMetadata.Builder clearImportedEntityCount()
         Number of entities that have been imported by the operation.
         
        int64 imported_entity_count = 2;
        Returns:
        This builder for chaining.
      • setImportedFeatureValueCount

        public ImportFeatureValuesOperationMetadata.Builder setImportedFeatureValueCount​(long value)
         Number of Feature values that have been imported by the operation.
         
        int64 imported_feature_value_count = 3;
        Parameters:
        value - The importedFeatureValueCount to set.
        Returns:
        This builder for chaining.
      • clearImportedFeatureValueCount

        public ImportFeatureValuesOperationMetadata.Builder clearImportedFeatureValueCount()
         Number of Feature values that have been imported by the operation.
         
        int64 imported_feature_value_count = 3;
        Returns:
        This builder for chaining.
      • getSourceUrisList

        public com.google.protobuf.ProtocolStringList getSourceUrisList()
         The source URI from where Feature values are imported.
         
        repeated string source_uris = 4;
        Specified by:
        getSourceUrisList in interface ImportFeatureValuesOperationMetadataOrBuilder
        Returns:
        A list containing the sourceUris.
      • getSourceUris

        public String getSourceUris​(int index)
         The source URI from where Feature values are imported.
         
        repeated string source_uris = 4;
        Specified by:
        getSourceUris in interface ImportFeatureValuesOperationMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The sourceUris at the given index.
      • getSourceUrisBytes

        public com.google.protobuf.ByteString getSourceUrisBytes​(int index)
         The source URI from where Feature values are imported.
         
        repeated string source_uris = 4;
        Specified by:
        getSourceUrisBytes in interface ImportFeatureValuesOperationMetadataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sourceUris at the given index.
      • setSourceUris

        public ImportFeatureValuesOperationMetadata.Builder setSourceUris​(int index,
                                                                          String value)
         The source URI from where Feature values are imported.
         
        repeated string source_uris = 4;
        Parameters:
        index - The index to set the value at.
        value - The sourceUris to set.
        Returns:
        This builder for chaining.
      • addSourceUris

        public ImportFeatureValuesOperationMetadata.Builder addSourceUris​(String value)
         The source URI from where Feature values are imported.
         
        repeated string source_uris = 4;
        Parameters:
        value - The sourceUris to add.
        Returns:
        This builder for chaining.
      • addSourceUrisBytes

        public ImportFeatureValuesOperationMetadata.Builder addSourceUrisBytes​(com.google.protobuf.ByteString value)
         The source URI from where Feature values are imported.
         
        repeated string source_uris = 4;
        Parameters:
        value - The bytes of the sourceUris to add.
        Returns:
        This builder for chaining.
      • getInvalidRowCount

        public long getInvalidRowCount()
         The number of rows in input source that weren't imported due to either
         * Not having any featureValues.
         * Having a null entityId.
         * Having a null timestamp.
         * Not being parsable (applicable for CSV sources).
         
        int64 invalid_row_count = 6;
        Specified by:
        getInvalidRowCount in interface ImportFeatureValuesOperationMetadataOrBuilder
        Returns:
        The invalidRowCount.
      • setInvalidRowCount

        public ImportFeatureValuesOperationMetadata.Builder setInvalidRowCount​(long value)
         The number of rows in input source that weren't imported due to either
         * Not having any featureValues.
         * Having a null entityId.
         * Having a null timestamp.
         * Not being parsable (applicable for CSV sources).
         
        int64 invalid_row_count = 6;
        Parameters:
        value - The invalidRowCount to set.
        Returns:
        This builder for chaining.
      • clearInvalidRowCount

        public ImportFeatureValuesOperationMetadata.Builder clearInvalidRowCount()
         The number of rows in input source that weren't imported due to either
         * Not having any featureValues.
         * Having a null entityId.
         * Having a null timestamp.
         * Not being parsable (applicable for CSV sources).
         
        int64 invalid_row_count = 6;
        Returns:
        This builder for chaining.
      • setTimestampOutsideRetentionRowsCount

        public ImportFeatureValuesOperationMetadata.Builder setTimestampOutsideRetentionRowsCount​(long value)
         The number rows that weren't ingested due to having timestamps outside the
         retention boundary.
         
        int64 timestamp_outside_retention_rows_count = 7;
        Parameters:
        value - The timestampOutsideRetentionRowsCount to set.
        Returns:
        This builder for chaining.
      • clearTimestampOutsideRetentionRowsCount

        public ImportFeatureValuesOperationMetadata.Builder clearTimestampOutsideRetentionRowsCount()
         The number rows that weren't ingested due to having timestamps outside the
         retention boundary.
         
        int64 timestamp_outside_retention_rows_count = 7;
        Returns:
        This builder for chaining.
      • getBlockingOperationIdsCount

        public int getBlockingOperationIdsCount()
         List of ImportFeatureValues operations running under a single EntityType
         that are blocking this operation.
         
        repeated int64 blocking_operation_ids = 8;
        Specified by:
        getBlockingOperationIdsCount in interface ImportFeatureValuesOperationMetadataOrBuilder
        Returns:
        The count of blockingOperationIds.
      • getBlockingOperationIds

        public long getBlockingOperationIds​(int index)
         List of ImportFeatureValues operations running under a single EntityType
         that are blocking this operation.
         
        repeated int64 blocking_operation_ids = 8;
        Specified by:
        getBlockingOperationIds in interface ImportFeatureValuesOperationMetadataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The blockingOperationIds at the given index.
      • setBlockingOperationIds

        public ImportFeatureValuesOperationMetadata.Builder setBlockingOperationIds​(int index,
                                                                                    long value)
         List of ImportFeatureValues operations running under a single EntityType
         that are blocking this operation.
         
        repeated int64 blocking_operation_ids = 8;
        Parameters:
        index - The index to set the value at.
        value - The blockingOperationIds to set.
        Returns:
        This builder for chaining.
      • addBlockingOperationIds

        public ImportFeatureValuesOperationMetadata.Builder addBlockingOperationIds​(long value)
         List of ImportFeatureValues operations running under a single EntityType
         that are blocking this operation.
         
        repeated int64 blocking_operation_ids = 8;
        Parameters:
        value - The blockingOperationIds to add.
        Returns:
        This builder for chaining.
      • addAllBlockingOperationIds

        public ImportFeatureValuesOperationMetadata.Builder addAllBlockingOperationIds​(Iterable<? extends Long> values)
         List of ImportFeatureValues operations running under a single EntityType
         that are blocking this operation.
         
        repeated int64 blocking_operation_ids = 8;
        Parameters:
        values - The blockingOperationIds to add.
        Returns:
        This builder for chaining.
      • clearBlockingOperationIds

        public ImportFeatureValuesOperationMetadata.Builder clearBlockingOperationIds()
         List of ImportFeatureValues operations running under a single EntityType
         that are blocking this operation.
         
        repeated int64 blocking_operation_ids = 8;
        Returns:
        This builder for chaining.