public static final class SearchDataItemsRequest.OrderByAnnotation.Builder extends GeneratedMessage.Builder<SearchDataItemsRequest.OrderByAnnotation.Builder> implements SearchDataItemsRequest.OrderByAnnotationOrBuilderExpression that allows ranking results based on annotation's property.
Protobuf type google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchDataItemsRequest.OrderByAnnotation.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SearchDataItemsRequest.OrderByAnnotation build()| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation |
|
buildPartial()
public SearchDataItemsRequest.OrderByAnnotation buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation |
|
clear()
public SearchDataItemsRequest.OrderByAnnotation.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
|
clearOrderBy()
public SearchDataItemsRequest.OrderByAnnotation.Builder 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 | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
This builder for chaining. |
clearSavedQuery()
public SearchDataItemsRequest.OrderByAnnotation.Builder 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 | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SearchDataItemsRequest.OrderByAnnotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
String |
The orderBy. |
getOrderByBytes()
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for orderBy. |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The savedQuery. |
getSavedQueryBytes()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchDataItemsRequest.OrderByAnnotation other)
public SearchDataItemsRequest.OrderByAnnotation.Builder mergeFrom(SearchDataItemsRequest.OrderByAnnotation other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchDataItemsRequest.OrderByAnnotation |
| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchDataItemsRequest.OrderByAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchDataItemsRequest.OrderByAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
|
setOrderBy(String value)
public SearchDataItemsRequest.OrderByAnnotation.Builder setOrderBy(String 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
This builder for chaining. |
setOrderByBytes(ByteString value)
public SearchDataItemsRequest.OrderByAnnotation.Builder setOrderByBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
This builder for chaining. |
setSavedQuery(String value)
public SearchDataItemsRequest.OrderByAnnotation.Builder setSavedQuery(String 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe savedQuery to set. |
| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
This builder for chaining. |
setSavedQueryBytes(ByteString value)
public SearchDataItemsRequest.OrderByAnnotation.Builder setSavedQueryBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for savedQuery to set. |
| Returns | |
|---|---|
| Type | Description |
SearchDataItemsRequest.OrderByAnnotation.Builder |
This builder for chaining. |