Packages

c

org.tensorflow.metadata.v0

NaturalLanguageDomain

final class NaturalLanguageDomain extends GeneratedMessageV3 with NaturalLanguageDomainOrBuilder

Natural language text.

Protobuf type tensorflow.metadata.v0.NaturalLanguageDomain

Source
NaturalLanguageDomain.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NaturalLanguageDomain
  2. NaturalLanguageDomainOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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(obj: AnyRef): Boolean
    Definition Classes
    NaturalLanguageDomain → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getCoverage(): FeatureCoverageConstraints

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

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

    returns

    The coverage.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  13. def getCoverageOrBuilder(): FeatureCoverageConstraintsOrBuilder

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

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

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  14. def getDefaultInstanceForType(): NaturalLanguageDomain
    Definition Classes
    NaturalLanguageDomain → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  15. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  16. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  17. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  18. 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.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  19. 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.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  20. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  21. def getParserForType(): Parser[NaturalLanguageDomain]
    Definition Classes
    NaturalLanguageDomain → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  22. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  23. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  24. def getSequenceLengthConstraints(): SequenceLengthConstraints

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

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

    returns

    The sequenceLengthConstraints.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  25. def getSequenceLengthConstraintsOrBuilder(): SequenceLengthConstraintsOrBuilder

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

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

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  26. def getSerializedSize(): Int
    Definition Classes
    NaturalLanguageDomain → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  27. def getTokenConstraints(index: Int): SequenceValueConstraints

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

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

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  28. def getTokenConstraintsCount(): Int

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

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

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  29. def getTokenConstraintsList(): List[SequenceValueConstraints]

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

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

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  30. def getTokenConstraintsOrBuilder(index: Int): SequenceValueConstraintsOrBuilder

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

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

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  31. def getTokenConstraintsOrBuilderList(): List[_ <: SequenceValueConstraintsOrBuilder]

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

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

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  32. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  33. 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.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  34. 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.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  35. def hasCoverage(): Boolean

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

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

    returns

    Whether the coverage field is set.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  36. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  37. 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.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  38. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  39. 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.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  40. 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.

    Definition Classes
    NaturalLanguageDomainNaturalLanguageDomainOrBuilder
    Annotations
    @Override()
  41. def hashCode(): Int
    Definition Classes
    NaturalLanguageDomain → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  42. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[v0]
    Definition Classes
    NaturalLanguageDomain → GeneratedMessageV3
    Annotations
    @Override()
  43. def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  44. final def isInitialized(): Boolean
    Definition Classes
    NaturalLanguageDomain → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[v0]
    Definition Classes
    NaturalLanguageDomain → GeneratedMessageV3
    Annotations
    @Override()
  49. def newBuilderForType(): Builder
    Definition Classes
    NaturalLanguageDomain → Message → MessageLite
    Annotations
    @Override()
  50. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  51. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[v0]
    Definition Classes
    NaturalLanguageDomain → GeneratedMessageV3
    Annotations
    @Override() @SuppressWarnings()
  52. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  55. def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  56. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  57. def toBuilder(): Builder
    Definition Classes
    NaturalLanguageDomain → Message → MessageLite
    Annotations
    @Override()
  58. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  59. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  60. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  64. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  65. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  66. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    NaturalLanguageDomain → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  67. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @Deprecated
    Deprecated
  2. def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped