Interface IndexDatapoint.NumericRestrictionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
IndexDatapoint.NumericRestriction, IndexDatapoint.NumericRestriction.Builder
Enclosing class:
IndexDatapoint

public static interface IndexDatapoint.NumericRestrictionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The namespace of this restriction. e.g.: cost.
    com.google.protobuf.ByteString
    The namespace of this restriction. e.g.: cost.
    This MUST be specified for queries and must NOT be specified for datapoints.
    int
    This MUST be specified for queries and must NOT be specified for datapoints.
     
    double
    Represents 64 bit float.
    float
    Represents 32 bit float.
    long
    Represents 64 bit integer.
    boolean
    Represents 64 bit float.
    boolean
    Represents 32 bit float.
    boolean
    Represents 64 bit integer.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasValueInt

      boolean hasValueInt()
       Represents 64 bit integer.
       
      int64 value_int = 2;
      Returns:
      Whether the valueInt field is set.
    • getValueInt

      long getValueInt()
       Represents 64 bit integer.
       
      int64 value_int = 2;
      Returns:
      The valueInt.
    • hasValueFloat

      boolean hasValueFloat()
       Represents 32 bit float.
       
      float value_float = 3;
      Returns:
      Whether the valueFloat field is set.
    • getValueFloat

      float getValueFloat()
       Represents 32 bit float.
       
      float value_float = 3;
      Returns:
      The valueFloat.
    • hasValueDouble

      boolean hasValueDouble()
       Represents 64 bit float.
       
      double value_double = 4;
      Returns:
      Whether the valueDouble field is set.
    • getValueDouble

      double getValueDouble()
       Represents 64 bit float.
       
      double value_double = 4;
      Returns:
      The valueDouble.
    • getNamespace

      String getNamespace()
       The namespace of this restriction. e.g.: cost.
       
      string namespace = 1;
      Returns:
      The namespace.
    • getNamespaceBytes

      com.google.protobuf.ByteString getNamespaceBytes()
       The namespace of this restriction. e.g.: cost.
       
      string namespace = 1;
      Returns:
      The bytes for namespace.
    • getOpValue

      int getOpValue()
       This MUST be specified for queries and must NOT be specified for
       datapoints.
       
      .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5;
      Returns:
      The enum numeric value on the wire for op.
    • getOp

       This MUST be specified for queries and must NOT be specified for
       datapoints.
       
      .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5;
      Returns:
      The op.
    • getValueCase