public static final class SampleQuery.QueryEntry extends com.google.protobuf.GeneratedMessageV3 implements SampleQuery.QueryEntryOrBuilder
Query Entry captures metadata to be used for search evaluation.Protobuf type
google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry| Modifier and Type | Class and Description |
|---|---|
static class |
SampleQuery.QueryEntry.Builder
Query Entry captures metadata to be used for search evaluation.
|
static class |
SampleQuery.QueryEntry.Target
Defines the parameters of the query's expected outcome.
|
static interface |
SampleQuery.QueryEntry.TargetOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
QUERY_FIELD_NUMBER |
static int |
TARGETS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SampleQuery.QueryEntry |
getDefaultInstance() |
SampleQuery.QueryEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<SampleQuery.QueryEntry> |
getParserForType() |
String |
getQuery()
Required.
|
com.google.protobuf.ByteString |
getQueryBytes()
Required.
|
int |
getSerializedSize() |
SampleQuery.QueryEntry.Target |
getTargets(int index)
List of targets for the query.
|
int |
getTargetsCount()
List of targets for the query.
|
List<SampleQuery.QueryEntry.Target> |
getTargetsList()
List of targets for the query.
|
SampleQuery.QueryEntry.TargetOrBuilder |
getTargetsOrBuilder(int index)
List of targets for the query.
|
List<? extends SampleQuery.QueryEntry.TargetOrBuilder> |
getTargetsOrBuilderList()
List of targets for the query.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SampleQuery.QueryEntry.Builder |
newBuilder() |
static SampleQuery.QueryEntry.Builder |
newBuilder(SampleQuery.QueryEntry prototype) |
SampleQuery.QueryEntry.Builder |
newBuilderForType() |
protected SampleQuery.QueryEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SampleQuery.QueryEntry |
parseDelimitedFrom(InputStream input) |
static SampleQuery.QueryEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleQuery.QueryEntry |
parseFrom(byte[] data) |
static SampleQuery.QueryEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleQuery.QueryEntry |
parseFrom(ByteBuffer data) |
static SampleQuery.QueryEntry |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleQuery.QueryEntry |
parseFrom(com.google.protobuf.ByteString data) |
static SampleQuery.QueryEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleQuery.QueryEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SampleQuery.QueryEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleQuery.QueryEntry |
parseFrom(InputStream input) |
static SampleQuery.QueryEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SampleQuery.QueryEntry> |
parser() |
SampleQuery.QueryEntry.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int QUERY_FIELD_NUMBER
public static final int TARGETS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getQuery()
Required. The query.
string query = 1 [(.google.api.field_behavior) = REQUIRED];getQuery in interface SampleQuery.QueryEntryOrBuilderpublic com.google.protobuf.ByteString getQueryBytes()
Required. The query.
string query = 1 [(.google.api.field_behavior) = REQUIRED];getQueryBytes in interface SampleQuery.QueryEntryOrBuilderpublic List<SampleQuery.QueryEntry.Target> getTargetsList()
List of targets for the query.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry.Target targets = 3;
getTargetsList in interface SampleQuery.QueryEntryOrBuilderpublic List<? extends SampleQuery.QueryEntry.TargetOrBuilder> getTargetsOrBuilderList()
List of targets for the query.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry.Target targets = 3;
getTargetsOrBuilderList in interface SampleQuery.QueryEntryOrBuilderpublic int getTargetsCount()
List of targets for the query.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry.Target targets = 3;
getTargetsCount in interface SampleQuery.QueryEntryOrBuilderpublic SampleQuery.QueryEntry.Target getTargets(int index)
List of targets for the query.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry.Target targets = 3;
getTargets in interface SampleQuery.QueryEntryOrBuilderpublic SampleQuery.QueryEntry.TargetOrBuilder getTargetsOrBuilder(int index)
List of targets for the query.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuery.QueryEntry.Target targets = 3;
getTargetsOrBuilder in interface SampleQuery.QueryEntryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SampleQuery.QueryEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleQuery.QueryEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleQuery.QueryEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleQuery.QueryEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleQuery.QueryEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleQuery.QueryEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleQuery.QueryEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static SampleQuery.QueryEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SampleQuery.QueryEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SampleQuery.QueryEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SampleQuery.QueryEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SampleQuery.QueryEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SampleQuery.QueryEntry.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SampleQuery.QueryEntry.Builder newBuilder()
public static SampleQuery.QueryEntry.Builder newBuilder(SampleQuery.QueryEntry prototype)
public SampleQuery.QueryEntry.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SampleQuery.QueryEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SampleQuery.QueryEntry getDefaultInstance()
public static com.google.protobuf.Parser<SampleQuery.QueryEntry> parser()
public com.google.protobuf.Parser<SampleQuery.QueryEntry> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SampleQuery.QueryEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.