Class ImportFeatureValuesOperationMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesOperationMetadata.Builder>
com.google.cloud.aiplatform.v1.ImportFeatureValuesOperationMetadata.Builder
All Implemented Interfaces:
ImportFeatureValuesOperationMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportFeatureValuesOperationMetadata

public static final class ImportFeatureValuesOperationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesOperationMetadata.Builder> implements ImportFeatureValuesOperationMetadataOrBuilder
 Details of operations that perform import Feature values.
 
Protobuf type google.cloud.aiplatform.v1.ImportFeatureValuesOperationMetadata
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesOperationMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public ImportFeatureValuesOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportFeatureValuesOperationMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesOperationMetadata.Builder>
    • mergeFrom

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

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

      public GenericOperationMetadata getGenericMetadata()
       Operation metadata for Featurestore import Feature values.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
      Specified by:
      getGenericMetadata in interface ImportFeatureValuesOperationMetadataOrBuilder
      Returns:
      The genericMetadata.
    • setGenericMetadata

       Operation metadata for Featurestore import Feature values.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
    • setGenericMetadata

       Operation metadata for Featurestore import Feature values.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
    • mergeGenericMetadata

       Operation metadata for Featurestore import Feature values.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
    • clearGenericMetadata

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

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

      public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()
       Operation metadata for Featurestore import Feature values.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
      Specified by:
      getGenericMetadataOrBuilder in interface ImportFeatureValuesOperationMetadataOrBuilder
    • getImportedEntityCount

      public long getImportedEntityCount()
       Number of entities that have been imported by the operation.
       
      int64 imported_entity_count = 2;
      Specified by:
      getImportedEntityCount in interface ImportFeatureValuesOperationMetadataOrBuilder
      Returns:
      The importedEntityCount.
    • 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.
    • getImportedFeatureValueCount

      public long getImportedFeatureValueCount()
       Number of Feature values that have been imported by the operation.
       
      int64 imported_feature_value_count = 3;
      Specified by:
      getImportedFeatureValueCount in interface ImportFeatureValuesOperationMetadataOrBuilder
      Returns:
      The importedFeatureValueCount.
    • 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.
    • getSourceUrisCount

      public int getSourceUrisCount()
       The source URI from where Feature values are imported.
       
      repeated string source_uris = 4;
      Specified by:
      getSourceUrisCount in interface ImportFeatureValuesOperationMetadataOrBuilder
      Returns:
      The count of 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

       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.
    • addAllSourceUris

       The source URI from where Feature values are imported.
       
      repeated string source_uris = 4;
      Parameters:
      values - The sourceUris to add.
      Returns:
      This builder for chaining.
    • clearSourceUris

       The source URI from where Feature values are imported.
       
      repeated string source_uris = 4;
      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.
    • getTimestampOutsideRetentionRowsCount

      public long getTimestampOutsideRetentionRowsCount()
       The number rows that weren't ingested due to having timestamps outside the
       retention boundary.
       
      int64 timestamp_outside_retention_rows_count = 7;
      Specified by:
      getTimestampOutsideRetentionRowsCount in interface ImportFeatureValuesOperationMetadataOrBuilder
      Returns:
      The timestampOutsideRetentionRowsCount.
    • 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.
    • getBlockingOperationIdsList

      public List<Long> getBlockingOperationIdsList()
       List of ImportFeatureValues operations running under a single EntityType
       that are blocking this operation.
       
      repeated int64 blocking_operation_ids = 8;
      Specified by:
      getBlockingOperationIdsList in interface ImportFeatureValuesOperationMetadataOrBuilder
      Returns:
      A list containing the blockingOperationIds.
    • 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.