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

org.tensorflow.metadata.v0.NaturalLanguageDomainOrBuilder 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 NaturalLanguageDomainOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.metadata.v0.NaturalLanguageDomain)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Name of the vocabulary associated with the NaturalLanguageDomain.
   * When computing and validating stats using TFDV,
   * tfdv.StatsOptions.vocab_paths should map this name to a vocabulary file.
   * 
* * optional string vocabulary = 1; * @return Whether the vocabulary field is set. */ boolean hasVocabulary(); /** *
   * Name of the vocabulary associated with the NaturalLanguageDomain.
   * When computing and validating stats using TFDV,
   * tfdv.StatsOptions.vocab_paths should map this name to a vocabulary file.
   * 
* * optional string vocabulary = 1; * @return The vocabulary. */ java.lang.String getVocabulary(); /** *
   * Name of the vocabulary associated with the NaturalLanguageDomain.
   * When computing and validating stats using TFDV,
   * tfdv.StatsOptions.vocab_paths should map this name to a vocabulary file.
   * 
* * optional string vocabulary = 1; * @return The bytes for vocabulary. */ com.google.protobuf.ByteString getVocabularyBytes(); /** * optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2; * @return Whether the coverage field is set. */ boolean hasCoverage(); /** * optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2; * @return The coverage. */ org.tensorflow.metadata.v0.FeatureCoverageConstraints getCoverage(); /** * optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2; */ org.tensorflow.metadata.v0.FeatureCoverageConstraintsOrBuilder getCoverageOrBuilder(); /** * repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3; */ java.util.List getTokenConstraintsList(); /** * repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3; */ org.tensorflow.metadata.v0.SequenceValueConstraints getTokenConstraints(int index); /** * repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3; */ int getTokenConstraintsCount(); /** * repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3; */ java.util.List getTokenConstraintsOrBuilderList(); /** * repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3; */ org.tensorflow.metadata.v0.SequenceValueConstraintsOrBuilder getTokenConstraintsOrBuilder( int index); /** * optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5; * @return Whether the sequenceLengthConstraints field is set. */ boolean hasSequenceLengthConstraints(); /** * optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5; * @return The sequenceLengthConstraints. */ org.tensorflow.metadata.v0.SequenceLengthConstraints getSequenceLengthConstraints(); /** * optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5; */ org.tensorflow.metadata.v0.SequenceLengthConstraintsOrBuilder getSequenceLengthConstraintsOrBuilder(); /** *
   * Specifies the location constraints as a function of the tokens specified
   * in token_constraints.
   *
   * String tokens will be specified by S_TOKEN_, (e.g. S_(PAD)_) and integer
   * tokens will be specified as I_#_ (e.g. I_123_).
   * A_T_ will match any token that has not been specified in token_constraints.
   * Parenthesis, +, and * are supported.
   * _ will be escapable with a \ for tokens containing it (e.g. FOO\_BAR).
   *
   * For example, a two-sequence BERT model may look as follows:
   * S_(CLS)_ A_T_+ S_(SEP)_ A_T_+ S_(SEP)_ S_(PAD)_*
   *
   * Note: Support for this field is not yet implemented. Please do not use.
   * TODO(b/188095987): Remove warning once field is implemented.
   * 
* * optional string location_constraint_regex = 4; * @return Whether the locationConstraintRegex field is set. */ boolean hasLocationConstraintRegex(); /** *
   * Specifies the location constraints as a function of the tokens specified
   * in token_constraints.
   *
   * String tokens will be specified by S_TOKEN_, (e.g. S_(PAD)_) and integer
   * tokens will be specified as I_#_ (e.g. I_123_).
   * A_T_ will match any token that has not been specified in token_constraints.
   * Parenthesis, +, and * are supported.
   * _ will be escapable with a \ for tokens containing it (e.g. FOO\_BAR).
   *
   * For example, a two-sequence BERT model may look as follows:
   * S_(CLS)_ A_T_+ S_(SEP)_ A_T_+ S_(SEP)_ S_(PAD)_*
   *
   * Note: Support for this field is not yet implemented. Please do not use.
   * TODO(b/188095987): Remove warning once field is implemented.
   * 
* * optional string location_constraint_regex = 4; * @return The locationConstraintRegex. */ java.lang.String getLocationConstraintRegex(); /** *
   * Specifies the location constraints as a function of the tokens specified
   * in token_constraints.
   *
   * String tokens will be specified by S_TOKEN_, (e.g. S_(PAD)_) and integer
   * tokens will be specified as I_#_ (e.g. I_123_).
   * A_T_ will match any token that has not been specified in token_constraints.
   * Parenthesis, +, and * are supported.
   * _ will be escapable with a \ for tokens containing it (e.g. FOO\_BAR).
   *
   * For example, a two-sequence BERT model may look as follows:
   * S_(CLS)_ A_T_+ S_(SEP)_ A_T_+ S_(SEP)_ S_(PAD)_*
   *
   * Note: Support for this field is not yet implemented. Please do not use.
   * TODO(b/188095987): Remove warning once field is implemented.
   * 
* * optional string location_constraint_regex = 4; * @return The bytes for locationConstraintRegex. */ com.google.protobuf.ByteString getLocationConstraintRegexBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy