Class SearchDataItemsRequest.OrderByAnnotation.Builder

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

public static final class SearchDataItemsRequest.OrderByAnnotation.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchDataItemsRequest.OrderByAnnotation.Builder> implements SearchDataItemsRequest.OrderByAnnotationOrBuilder
 Expression that allows ranking results based on annotation's property.
 
Protobuf type google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotation
  • 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.Builder<SearchDataItemsRequest.OrderByAnnotation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SearchDataItemsRequest.OrderByAnnotation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SearchDataItemsRequest.OrderByAnnotation.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchDataItemsRequest.OrderByAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchDataItemsRequest.OrderByAnnotation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SearchDataItemsRequest.OrderByAnnotation.Builder>
    • mergeFrom

      public SearchDataItemsRequest.OrderByAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchDataItemsRequest.OrderByAnnotation.Builder>
      Throws:
      IOException
    • 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.
    • setSavedQuery

       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];
      Parameters:
      value - The savedQuery to set.
      Returns:
      This builder for chaining.
    • clearSavedQuery

       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];
      Returns:
      This builder for chaining.
    • setSavedQueryBytes

      public SearchDataItemsRequest.OrderByAnnotation.Builder setSavedQueryBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for savedQuery to set.
      Returns:
      This builder for chaining.
    • 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.
    • setOrderBy

       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;
      Parameters:
      value - The orderBy to set.
      Returns:
      This builder for chaining.
    • clearOrderBy

       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;
      Returns:
      This builder for chaining.
    • setOrderByBytes

      public SearchDataItemsRequest.OrderByAnnotation.Builder setOrderByBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for orderBy to set.
      Returns:
      This builder for chaining.