public static final class AnalysisQuery.Builder extends GeneratedMessageV3.Builder<AnalysisQuery.Builder> implements AnalysisQueryOrBuilderA query for performing an analysis.
Protobuf type google.cloud.geminidataanalytics.v1beta.AnalysisQuery
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalysisQuery.BuilderImplements
AnalysisQueryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataResultNames(Iterable<String> values)
public AnalysisQuery.Builder addAllDataResultNames(Iterable<String> values)Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The dataResultNames to add. |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
This builder for chaining. |
addDataResultNames(String value)
public AnalysisQuery.Builder addDataResultNames(String value)Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataResultNames to add. |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
This builder for chaining. |
addDataResultNamesBytes(ByteString value)
public AnalysisQuery.Builder addDataResultNamesBytes(ByteString value)Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the dataResultNames to add. |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalysisQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
build()
public AnalysisQuery build()| Returns | |
|---|---|
| Type | Description |
AnalysisQuery |
|
buildPartial()
public AnalysisQuery buildPartial()| Returns | |
|---|---|
| Type | Description |
AnalysisQuery |
|
clear()
public AnalysisQuery.Builder clear()| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
clearDataResultNames()
public AnalysisQuery.Builder clearDataResultNames()Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnalysisQuery.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalysisQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
clearQuestion()
public AnalysisQuery.Builder clearQuestion()Optional. An analysis question to help answer the user's original question.
string question = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
This builder for chaining. |
clone()
public AnalysisQuery.Builder clone()| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
getDataResultNames(int index)
public String getDataResultNames(int index)Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The dataResultNames at the given index. |
getDataResultNamesBytes(int index)
public ByteString getDataResultNamesBytes(int index)Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the dataResultNames at the given index. |
getDataResultNamesCount()
public int getDataResultNamesCount()Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of dataResultNames. |
getDataResultNamesList()
public ProtocolStringList getDataResultNamesList()Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the dataResultNames. |
getDefaultInstanceForType()
public AnalysisQuery getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AnalysisQuery |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getQuestion()
public String getQuestion()Optional. An analysis question to help answer the user's original question.
string question = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The question. |
getQuestionBytes()
public ByteString getQuestionBytes()Optional. An analysis question to help answer the user's original question.
string question = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for question. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AnalysisQuery other)
public AnalysisQuery.Builder mergeFrom(AnalysisQuery other)| Parameter | |
|---|---|
| Name | Description |
other |
AnalysisQuery |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalysisQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AnalysisQuery.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalysisQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
setDataResultNames(int index, String value)
public AnalysisQuery.Builder setDataResultNames(int index, String value)Optional. The names of previously retrieved data results to analyze.
repeated string data_result_names = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe dataResultNames to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalysisQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
setQuestion(String value)
public AnalysisQuery.Builder setQuestion(String value)Optional. An analysis question to help answer the user's original question.
string question = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe question to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
This builder for chaining. |
setQuestionBytes(ByteString value)
public AnalysisQuery.Builder setQuestionBytes(ByteString value)Optional. An analysis question to help answer the user's original question.
string question = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for question to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalysisQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalysisQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AnalysisQuery.Builder |
|