Send feedback
Class LookerGoldenQuery (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class LookerGoldenQuery extends GeneratedMessageV3 implements LookerGoldenQueryOrBuilder
A golden query for Looker, including natural language questions and a
corresponding Looker Query. Analogous to ExampleQuery.
Protobuf type google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LOOKER_QUERY_FIELD_NUMBER
public static final int LOOKER_QUERY_FIELD_NUMBER
Field Value
Type
Description
int
NATURAL_LANGUAGE_QUESTIONS_FIELD_NUMBER
public static final int NATURAL_LANGUAGE_QUESTIONS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static LookerGoldenQuery getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static LookerGoldenQuery . Builder newBuilder ()
newBuilder(LookerGoldenQuery prototype)
public static LookerGoldenQuery . Builder newBuilder ( LookerGoldenQuery prototype )
public static LookerGoldenQuery parseDelimitedFrom ( InputStream input )
public static LookerGoldenQuery parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static LookerGoldenQuery parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LookerGoldenQuery parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static LookerGoldenQuery parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LookerGoldenQuery parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LookerGoldenQuery parseFrom ( CodedInputStream input )
public static LookerGoldenQuery parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LookerGoldenQuery parseFrom ( InputStream input )
public static LookerGoldenQuery parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static LookerGoldenQuery parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LookerGoldenQuery parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<LookerGoldenQuery> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public LookerGoldenQuery getDefaultInstanceForType ()
getLookerQuery()
public LookerQuery getLookerQuery ()
Optional. The Looker Query corresponding to the natural language questions.
.google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL];
getLookerQueryOrBuilder()
public LookerQueryOrBuilder getLookerQueryOrBuilder ()
Optional. The Looker Query corresponding to the natural language questions.
.google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL];
getNaturalLanguageQuestions(int index)
public String getNaturalLanguageQuestions ( int index )
Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"
repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int The index of the element to return.
Returns
Type
Description
String
The naturalLanguageQuestions at the given index.
getNaturalLanguageQuestionsBytes(int index)
public ByteString getNaturalLanguageQuestionsBytes ( int index )
Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"
repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the naturalLanguageQuestions at the given index.
getNaturalLanguageQuestionsCount()
public int getNaturalLanguageQuestionsCount ()
Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"
repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The count of naturalLanguageQuestions.
getNaturalLanguageQuestionsList()
public ProtocolStringList getNaturalLanguageQuestionsList ()
Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"
repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ProtocolStringList
A list containing the naturalLanguageQuestions.
getParserForType()
public Parser<LookerGoldenQuery> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasLookerQuery()
public boolean hasLookerQuery ()
Optional. The Looker Query corresponding to the natural language questions.
.google.cloud.geminidataanalytics.v1beta.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the lookerQuery field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public LookerGoldenQuery . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LookerGoldenQuery . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public LookerGoldenQuery . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-23 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-23 UTC."],[],[]]