trait NaturalLanguageDomainOrBuilder extends MessageOrBuilder
- Alphabetic
- By Inheritance
- NaturalLanguageDomainOrBuilder
- MessageOrBuilder
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def findInitializationErrors(): List[String]
- Definition Classes
- MessageOrBuilder
- abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- MessageOrBuilder
- abstract def getCoverage(): FeatureCoverageConstraints
optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2;
optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2;
- returns
The coverage.
- abstract def getCoverageOrBuilder(): FeatureCoverageConstraintsOrBuilder
optional .tensorflow.metadata.v0.FeatureCoverageConstraints coverage = 2;
- abstract def getDefaultInstanceForType(): Message
- Definition Classes
- MessageOrBuilder → MessageLiteOrBuilder
- abstract def getDescriptorForType(): Descriptor
- Definition Classes
- MessageOrBuilder
- abstract def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getInitializationErrorString(): String
- Definition Classes
- MessageOrBuilder
- 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.
- 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.
- abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- MessageOrBuilder
- abstract def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- MessageOrBuilder
- 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.
- abstract def getSequenceLengthConstraintsOrBuilder(): SequenceLengthConstraintsOrBuilder
optional .tensorflow.metadata.v0.SequenceLengthConstraints sequence_length_constraints = 5;
- abstract def getTokenConstraints(index: Int): SequenceValueConstraints
repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;
- abstract def getTokenConstraintsCount(): Int
repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;
- abstract def getTokenConstraintsList(): List[SequenceValueConstraints]
repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;
- abstract def getTokenConstraintsOrBuilder(index: Int): SequenceValueConstraintsOrBuilder
repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;
- abstract def getTokenConstraintsOrBuilderList(): List[_ <: SequenceValueConstraintsOrBuilder]
repeated .tensorflow.metadata.v0.SequenceValueConstraints token_constraints = 3;
- abstract def getUnknownFields(): UnknownFieldSet
- Definition Classes
- MessageOrBuilder
- 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.
- 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.
- 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.
- abstract def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- 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.
- abstract def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- 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.
- 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.
- abstract def isInitialized(): Boolean
- Definition Classes
- MessageLiteOrBuilder
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()