public final class UnaryQuery extends GeneratedMessage implements UnaryQueryOrBuilderA query that applies a unary operator to a sub-query.
Protobuf type google.cloud.vectorsearch.v1beta.UnaryQuery
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UnaryQueryImplements
UnaryQueryOrBuilderStatic Fields
OP_FIELD_NUMBER
public static final int OP_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUB_QUERY_FIELD_NUMBER
public static final int SUB_QUERY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static UnaryQuery getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static UnaryQuery.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
UnaryQuery.Builder |
|
newBuilder(UnaryQuery prototype)
public static UnaryQuery.Builder newBuilder(UnaryQuery prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
UnaryQuery |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery.Builder |
|
parseDelimitedFrom(InputStream input)
public static UnaryQuery parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UnaryQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static UnaryQuery parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UnaryQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static UnaryQuery parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UnaryQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static UnaryQuery parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UnaryQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static UnaryQuery parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UnaryQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static UnaryQuery parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UnaryQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<UnaryQuery> parser()| Returns | |
|---|---|
| Type | Description |
Parser<UnaryQuery> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public UnaryQuery getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UnaryQuery |
|
getOp()
public UnaryQuery.Operator getOp()Required. The unary operator to apply.
.google.cloud.vectorsearch.v1beta.UnaryQuery.Operator op = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UnaryQuery.Operator |
The op. |
getOpValue()
public int getOpValue()Required. The unary operator to apply.
.google.cloud.vectorsearch.v1beta.UnaryQuery.Operator op = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for op. |
getParserForType()
public Parser<UnaryQuery> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<UnaryQuery> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSubQuery()
public StructuredQuery getSubQuery()Required. The sub-query the operator is applied to.
.google.cloud.vectorsearch.v1beta.StructuredQuery sub_query = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
StructuredQuery |
The subQuery. |
getSubQueryOrBuilder()
public StructuredQueryOrBuilder getSubQueryOrBuilder()Required. The sub-query the operator is applied to.
.google.cloud.vectorsearch.v1beta.StructuredQuery sub_query = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
StructuredQueryOrBuilder |
|
hasSubQuery()
public boolean hasSubQuery()Required. The sub-query the operator is applied to.
.google.cloud.vectorsearch.v1beta.StructuredQuery sub_query = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the subQuery field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public UnaryQuery.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
UnaryQuery.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UnaryQuery.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
UnaryQuery.Builder |
|
toBuilder()
public UnaryQuery.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
UnaryQuery.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|