final class Path extends GeneratedMessageV3 with PathOrBuilder
A path is a more general substitute for the name of a field or feature that can be used for flat examples as well as structured data. For example, if we had data in a protocol buffer: message Person { int age = 1; optional string gender = 2; repeated Person parent = 3; } Thus, here the path {step:["parent", "age"]} in statistics would refer to the age of a parent, and {step:["parent", "parent", "age"]} would refer to the age of a grandparent. This allows us to distinguish between the statistics of parents' ages and grandparents' ages. In general, repeated messages are to be preferred to linked lists of arbitrary length. For SequenceExample, if we have a feature list "foo", this is represented by {step:["##SEQUENCE##", "foo"]}.
Protobuf type tensorflow.metadata.v0.Path
- Source
- Path.java
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Path
- PathOrBuilder
- GeneratedMessageV3
- Serializable
- AbstractMessage
- Message
- MessageOrBuilder
- AbstractMessageLite
- MessageLite
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def equals(obj: AnyRef): Boolean
- Definition Classes
- Path → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def findInitializationErrors(): List[String]
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getDefaultInstanceForType(): Path
- Definition Classes
- Path → MessageOrBuilder → MessageLiteOrBuilder
- Annotations
- @Override()
- def getDescriptorForType(): Descriptor
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getInitializationErrorString(): String
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- def getParserForType(): Parser[Path]
- Definition Classes
- Path → GeneratedMessageV3 → Message → MessageLite
- Annotations
- @Override()
- def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getSerializedSize(): Int
- Definition Classes
- Path → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- def getStep(index: Int): String
Any string is a valid step. However, whenever possible have a step be [A-Za-z0-9_]+.
Any string is a valid step. However, whenever possible have a step be [A-Za-z0-9_]+.
repeated string step = 1;
- index
The index of the element to return.
- returns
The step at the given index.
- Definition Classes
- Path → PathOrBuilder
- def getStepBytes(index: Int): ByteString
Any string is a valid step. However, whenever possible have a step be [A-Za-z0-9_]+.
Any string is a valid step. However, whenever possible have a step be [A-Za-z0-9_]+.
repeated string step = 1;
- index
The index of the value to return.
- returns
The bytes of the step at the given index.
- Definition Classes
- Path → PathOrBuilder
- def getStepCount(): Int
Any string is a valid step. However, whenever possible have a step be [A-Za-z0-9_]+.
Any string is a valid step. However, whenever possible have a step be [A-Za-z0-9_]+.
repeated string step = 1;
- returns
The count of step.
- Definition Classes
- Path → PathOrBuilder
- def getStepList(): ProtocolStringList
Any string is a valid step. However, whenever possible have a step be [A-Za-z0-9_]+.
Any string is a valid step. However, whenever possible have a step be [A-Za-z0-9_]+.
repeated string step = 1;
- returns
A list containing the step.
- Definition Classes
- Path → PathOrBuilder
- def getUnknownFields(): UnknownFieldSet
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- def hashCode(): Int
- Definition Classes
- Path → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- final def isInitialized(): Boolean
- Definition Classes
- Path → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
- Annotations
- @Override()
- def newBuilderForType(): Builder
- Definition Classes
- Path → Message → MessageLite
- Annotations
- @Override()
- def toBuilder(): Builder
- Definition Classes
- Path → Message → MessageLite
- Annotations
- @Override()
- def toByteArray(): Array[Byte]
- Definition Classes
- AbstractMessageLite → MessageLite
- def toByteString(): ByteString
- Definition Classes
- AbstractMessageLite → MessageLite
- final def toString(): String
- Definition Classes
- AbstractMessage → Message → AnyRef → Any
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
- def writeTo(output: CodedOutputStream): Unit
- Definition Classes
- Path → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- def writeTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])