public static final class SearchDataItemsRequest.OrderByAnnotation extends GeneratedMessageV3 implements SearchDataItemsRequest.OrderByAnnotationOrBuilder
Expression that allows ranking results based on annotation's property.
Protobuf type google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.OrderByAnnotation
Static Fields
public static final int ORDER_BY_FIELD_NUMBER
Field Value
public static final int SAVED_QUERY_FIELD_NUMBER
Field Value
Static Methods
public static SearchDataItemsRequest.OrderByAnnotation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static SearchDataItemsRequest.OrderByAnnotation.Builder newBuilder()
Returns
public static SearchDataItemsRequest.OrderByAnnotation.Builder newBuilder(SearchDataItemsRequest.OrderByAnnotation prototype)
Parameter
Returns
public static SearchDataItemsRequest.OrderByAnnotation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static SearchDataItemsRequest.OrderByAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<SearchDataItemsRequest.OrderByAnnotation> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public SearchDataItemsRequest.OrderByAnnotation getDefaultInstanceForType()
Returns
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;
Returns
Type | Description |
String | The orderBy.
|
public 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;
Returns
public Parser<SearchDataItemsRequest.OrderByAnnotation> getParserForType()
Returns
Overrides
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];
Returns
Type | Description |
String | The savedQuery.
|
public 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];
Returns
Type | Description |
ByteString | The bytes for savedQuery.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SearchDataItemsRequest.OrderByAnnotation.Builder newBuilderForType()
Returns
protected SearchDataItemsRequest.OrderByAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public SearchDataItemsRequest.OrderByAnnotation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions