Packages

t

org.tensorflow.metadata.v0

NaturalLanguageDomainOrBuilder

trait NaturalLanguageDomainOrBuilder extends MessageOrBuilder

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NaturalLanguageDomainOrBuilder
  2. MessageOrBuilder
  3. MessageLiteOrBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def findInitializationErrors(): List[String]
    Definition Classes
    MessageOrBuilder
  2. abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    MessageOrBuilder
  3. abstract def getCoverage(): FeatureCoverageConstraints

    optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2;

    optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2;

    returns

    The coverage.

  4. abstract def getCoverageOrBuilder(): FeatureCoverageConstraintsOrBuilder

    optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2;

  5. abstract def getDefaultInstanceForType(): Message
    Definition Classes
    MessageOrBuilder → MessageLiteOrBuilder
  6. abstract def getDescriptorForType(): Descriptor
    Definition Classes
    MessageOrBuilder
  7. abstract def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    MessageOrBuilder
  8. abstract def getInitializationErrorString(): String
    Definition Classes
    MessageOrBuilder
  9. abstract def getLocationConstraintRegex(): String

    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.
    

    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;

    returns

    The locationConstraintRegex.

  10. abstract def getLocationConstraintRegexBytes(): ByteString

    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.
    

    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;

    returns

    The bytes for locationConstraintRegex.

  11. abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    MessageOrBuilder
  12. abstract def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    MessageOrBuilder
  13. abstract def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    MessageOrBuilder
  14. abstract def getSequenceLengthConstraints(): SequenceLengthConstraints

    optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5;

    optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5;

    returns

    The sequenceLengthConstraints.

  15. abstract def getSequenceLengthConstraintsOrBuilder(): SequenceLengthConstraintsOrBuilder

    optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5;

  16. abstract def getTokenConstraints(index: Int): SequenceValueConstraints

    repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;

  17. abstract def getTokenConstraintsCount(): Int

    repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;

  18. abstract def getTokenConstraintsList(): List[SequenceValueConstraints]

    repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;

  19. abstract def getTokenConstraintsOrBuilder(index: Int): SequenceValueConstraintsOrBuilder

    repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;

  20. abstract def getTokenConstraintsOrBuilderList(): List[_ <: SequenceValueConstraintsOrBuilder]

    repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;

  21. abstract def getUnknownFields(): UnknownFieldSet
    Definition Classes
    MessageOrBuilder
  22. abstract def getVocabulary(): String

    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.
    

    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;

    returns

    The vocabulary.

  23. abstract def getVocabularyBytes(): ByteString

    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.
    

    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;

    returns

    The bytes for vocabulary.

  24. abstract def hasCoverage(): Boolean

    optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2;

    optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2;

    returns

    Whether the coverage field is set.

  25. abstract def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  26. abstract def hasLocationConstraintRegex(): Boolean

    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.
    

    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;

    returns

    Whether the locationConstraintRegex field is set.

  27. abstract def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  28. abstract def hasSequenceLengthConstraints(): Boolean

    optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5;

    optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5;

    returns

    Whether the sequenceLengthConstraints field is set.

  29. abstract def hasVocabulary(): Boolean

    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.
    

    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;

    returns

    Whether the vocabulary field is set.

  30. abstract def isInitialized(): Boolean
    Definition Classes
    MessageLiteOrBuilder

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from MessageOrBuilder

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped