All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tensorflow.metadata.v0.SparseFeatureOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow_metadata/proto/v0/schema.proto

// Protobuf Java Version: 3.25.4
package org.tensorflow.metadata.v0;

public interface SparseFeatureOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.metadata.v0.SparseFeature)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Name for the sparse feature. This should not clash with other features in
   * the same schema.
   * 
* * optional string name = 1; * @return Whether the name field is set. */ boolean hasName(); /** *
   * Name for the sparse feature. This should not clash with other features in
   * the same schema.
   * 
* * optional string name = 1; * @return The name. */ java.lang.String getName(); /** *
   * Name for the sparse feature. This should not clash with other features in
   * the same schema.
   * 
* * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
   * This field is no longer supported. Instead, use:
   * lifecycle_stage: DEPRECATED
   * TODO(b/111450258): remove this.
   * 
* * optional bool deprecated = 2 [deprecated = true]; * @deprecated tensorflow.metadata.v0.SparseFeature.deprecated is deprecated. * See tensorflow_metadata/proto/v0/schema.proto;l=409 * @return Whether the deprecated field is set. */ @java.lang.Deprecated boolean hasDeprecated(); /** *
   * This field is no longer supported. Instead, use:
   * lifecycle_stage: DEPRECATED
   * TODO(b/111450258): remove this.
   * 
* * optional bool deprecated = 2 [deprecated = true]; * @deprecated tensorflow.metadata.v0.SparseFeature.deprecated is deprecated. * See tensorflow_metadata/proto/v0/schema.proto;l=409 * @return The deprecated. */ @java.lang.Deprecated boolean getDeprecated(); /** *
   * The lifecycle_stage determines where a feature is expected to be used,
   * and therefore how important issues with it are.
   * 
* * optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 7; * @return Whether the lifecycleStage field is set. */ boolean hasLifecycleStage(); /** *
   * The lifecycle_stage determines where a feature is expected to be used,
   * and therefore how important issues with it are.
   * 
* * optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 7; * @return The lifecycleStage. */ org.tensorflow.metadata.v0.LifecycleStage getLifecycleStage(); /** *
   * Constraints on the presence of this feature in examples.
   * Deprecated, this is inferred by the referred features.
   * 
* * optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true]; * @deprecated tensorflow.metadata.v0.SparseFeature.presence is deprecated. * See tensorflow_metadata/proto/v0/schema.proto;l=421 * @return Whether the presence field is set. */ @java.lang.Deprecated boolean hasPresence(); /** *
   * Constraints on the presence of this feature in examples.
   * Deprecated, this is inferred by the referred features.
   * 
* * optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true]; * @deprecated tensorflow.metadata.v0.SparseFeature.presence is deprecated. * See tensorflow_metadata/proto/v0/schema.proto;l=421 * @return The presence. */ @java.lang.Deprecated org.tensorflow.metadata.v0.FeaturePresence getPresence(); /** *
   * Constraints on the presence of this feature in examples.
   * Deprecated, this is inferred by the referred features.
   * 
* * optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true]; */ @java.lang.Deprecated org.tensorflow.metadata.v0.FeaturePresenceOrBuilder getPresenceOrBuilder(); /** *
   * Shape of the sparse tensor that this SparseFeature represents.
   * Currently not supported.
   * TODO(b/109669962): Consider deriving this from the referred features.
   * 
* * optional .tensorflow.metadata.v0.FixedShape dense_shape = 5; * @return Whether the denseShape field is set. */ boolean hasDenseShape(); /** *
   * Shape of the sparse tensor that this SparseFeature represents.
   * Currently not supported.
   * TODO(b/109669962): Consider deriving this from the referred features.
   * 
* * optional .tensorflow.metadata.v0.FixedShape dense_shape = 5; * @return The denseShape. */ org.tensorflow.metadata.v0.FixedShape getDenseShape(); /** *
   * Shape of the sparse tensor that this SparseFeature represents.
   * Currently not supported.
   * TODO(b/109669962): Consider deriving this from the referred features.
   * 
* * optional .tensorflow.metadata.v0.FixedShape dense_shape = 5; */ org.tensorflow.metadata.v0.FixedShapeOrBuilder getDenseShapeOrBuilder(); /** *
   * Features that represent indexes. Should be integers >= 0.
   * 
* * repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6; */ java.util.List getIndexFeatureList(); /** *
   * Features that represent indexes. Should be integers >= 0.
   * 
* * repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6; */ org.tensorflow.metadata.v0.SparseFeature.IndexFeature getIndexFeature(int index); /** *
   * Features that represent indexes. Should be integers >= 0.
   * 
* * repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6; */ int getIndexFeatureCount(); /** *
   * Features that represent indexes. Should be integers >= 0.
   * 
* * repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6; */ java.util.List getIndexFeatureOrBuilderList(); /** *
   * Features that represent indexes. Should be integers >= 0.
   * 
* * repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6; */ org.tensorflow.metadata.v0.SparseFeature.IndexFeatureOrBuilder getIndexFeatureOrBuilder( int index); /** *
   * If true then the index values are already sorted lexicographically.
   * 
* * optional bool is_sorted = 8; * @return Whether the isSorted field is set. */ boolean hasIsSorted(); /** *
   * If true then the index values are already sorted lexicographically.
   * 
* * optional bool is_sorted = 8; * @return The isSorted. */ boolean getIsSorted(); /** *
   * required
   * 
* * optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9; * @return Whether the valueFeature field is set. */ boolean hasValueFeature(); /** *
   * required
   * 
* * optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9; * @return The valueFeature. */ org.tensorflow.metadata.v0.SparseFeature.ValueFeature getValueFeature(); /** *
   * required
   * 
* * optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9; */ org.tensorflow.metadata.v0.SparseFeature.ValueFeatureOrBuilder getValueFeatureOrBuilder(); /** *
   * Type of value feature.
   * Deprecated, this is inferred by the referred features.
   * 
* * optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true]; * @deprecated tensorflow.metadata.v0.SparseFeature.type is deprecated. * See tensorflow_metadata/proto/v0/schema.proto;l=448 * @return Whether the type field is set. */ @java.lang.Deprecated boolean hasType(); /** *
   * Type of value feature.
   * Deprecated, this is inferred by the referred features.
   * 
* * optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true]; * @deprecated tensorflow.metadata.v0.SparseFeature.type is deprecated. * See tensorflow_metadata/proto/v0/schema.proto;l=448 * @return The type. */ @java.lang.Deprecated org.tensorflow.metadata.v0.FeatureType getType(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy