Class SearchDataItemsRequest.OrderByAnnotation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotation
All Implemented Interfaces:
SearchDataItemsRequest.OrderByAnnotationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
SearchDataItemsRequest

public static final class SearchDataItemsRequest.OrderByAnnotation extends com.google.protobuf.GeneratedMessage implements SearchDataItemsRequest.OrderByAnnotationOrBuilder
 Expression that allows ranking results based on annotation's property.
 
Protobuf type google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotation
See Also:
  • Field Details

    • SAVED_QUERY_FIELD_NUMBER

      public static final int SAVED_QUERY_FIELD_NUMBER
      See Also:
    • ORDER_BY_FIELD_NUMBER

      public static final int ORDER_BY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSavedQuery

      public String getSavedQuery()
       Required. Saved query of the Annotation. Only Annotations belong to this
       saved query will be considered for ordering.
       
      string saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSavedQuery in interface SearchDataItemsRequest.OrderByAnnotationOrBuilder
      Returns:
      The savedQuery.
    • getSavedQueryBytes

      public com.google.protobuf.ByteString getSavedQueryBytes()
       Required. Saved query of the Annotation. Only Annotations belong to this
       saved query will be considered for ordering.
       
      string saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSavedQueryBytes in interface SearchDataItemsRequest.OrderByAnnotationOrBuilder
      Returns:
      The bytes for savedQuery.
    • getOrderBy

      public String getOrderBy()
       A comma-separated list of annotation fields to order by, sorted in
       ascending order. Use "desc" after a field name for descending. Must also
       specify saved_query.
       
      string order_by = 2;
      Specified by:
      getOrderBy in interface SearchDataItemsRequest.OrderByAnnotationOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       A comma-separated list of annotation fields to order by, sorted in
       ascending order. Use "desc" after a field name for descending. Must also
       specify saved_query.
       
      string order_by = 2;
      Specified by:
      getOrderByBytes in interface SearchDataItemsRequest.OrderByAnnotationOrBuilder
      Returns:
      The bytes for orderBy.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchDataItemsRequest.OrderByAnnotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SearchDataItemsRequest.OrderByAnnotation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SearchDataItemsRequest.OrderByAnnotation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SearchDataItemsRequest.OrderByAnnotation> parser()
    • getParserForType

      public com.google.protobuf.Parser<SearchDataItemsRequest.OrderByAnnotation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SearchDataItemsRequest.OrderByAnnotation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder