Packages

final class CustomMetric extends GeneratedMessageV3 with CustomMetricOrBuilder

A custom metric.
Prefer using or adding an explicit metric message
and only use this generic message as a last resort.
NEXT_TAG: 4

Protobuf type tensorflow.metadata.v0.CustomMetric

Source
CustomMetric.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CustomMetric
  2. CustomMetricOrBuilder
  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. def equals(obj: AnyRef): Boolean
    Definition Classes
    CustomMetric → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  2. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  3. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  4. def getDefaultInstanceForType(): CustomMetric
    Definition Classes
    CustomMetric → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  5. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  6. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  7. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  8. def getIsMaximized(): Boolean

    True if the metric is maximized: false if it is minimized.
    Must be specified if the CustomMetric is used as an objective.
    

    True if the metric is maximized: false if it is minimized.
    Must be specified if the CustomMetric is used as an objective.
    

    bool is_maximized = 2;

    returns

    The isMaximized.

    Definition Classes
    CustomMetricCustomMetricOrBuilder
    Annotations
    @Override()
  9. def getName(): String

    The display name of a metric computed by the model. The name should match
    ^[a-zA-Z0-9\s]{1,25}$ and must be unique across all performance metrics.
    Trailing and leading spaces will be truncated before matching.
    

    The display name of a metric computed by the model. The name should match
    ^[a-zA-Z0-9\s]{1,25}$ and must be unique across all performance metrics.
    Trailing and leading spaces will be truncated before matching.
    

    string name = 1;

    returns

    The name.

    Definition Classes
    CustomMetricCustomMetricOrBuilder
    Annotations
    @Override()
  10. def getNameBytes(): ByteString

    The display name of a metric computed by the model. The name should match
    ^[a-zA-Z0-9\s]{1,25}$ and must be unique across all performance metrics.
    Trailing and leading spaces will be truncated before matching.
    

    The display name of a metric computed by the model. The name should match
    ^[a-zA-Z0-9\s]{1,25}$ and must be unique across all performance metrics.
    Trailing and leading spaces will be truncated before matching.
    

    string name = 1;

    returns

    The bytes for name.

    Definition Classes
    CustomMetricCustomMetricOrBuilder
    Annotations
    @Override()
  11. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  12. def getParserForType(): Parser[CustomMetric]
    Definition Classes
    CustomMetric → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  13. def getRegistrySpec(): RegistrySpec

    Specification of the metric in the binary’s metric registry.
    

    Specification of the metric in the binary’s metric registry.
    

    .tensorflow.metadata.v0.CustomMetric.RegistrySpec registry_spec = 3;

    returns

    The registrySpec.

    Definition Classes
    CustomMetricCustomMetricOrBuilder
    Annotations
    @Override()
  14. def getRegistrySpecOrBuilder(): RegistrySpecOrBuilder

    Specification of the metric in the binary’s metric registry.
    

    Specification of the metric in the binary’s metric registry.
    

    .tensorflow.metadata.v0.CustomMetric.RegistrySpec registry_spec = 3;

    Definition Classes
    CustomMetricCustomMetricOrBuilder
    Annotations
    @Override()
  15. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  16. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  17. def getSerializedSize(): Int
    Definition Classes
    CustomMetric → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  18. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  19. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  20. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  21. def hasRegistrySpec(): Boolean

    Specification of the metric in the binary’s metric registry.
    

    Specification of the metric in the binary’s metric registry.
    

    .tensorflow.metadata.v0.CustomMetric.RegistrySpec registry_spec = 3;

    returns

    Whether the registrySpec field is set.

    Definition Classes
    CustomMetricCustomMetricOrBuilder
    Annotations
    @Override()
  22. def hashCode(): Int
    Definition Classes
    CustomMetric → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  23. final def isInitialized(): Boolean
    Definition Classes
    CustomMetric → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  24. def newBuilderForType(): Builder
    Definition Classes
    CustomMetric → Message → MessageLite
    Annotations
    @Override()
  25. def toBuilder(): Builder
    Definition Classes
    CustomMetric → Message → MessageLite
    Annotations
    @Override()
  26. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  27. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  28. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  29. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  30. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    CustomMetric → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  31. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])