public static final class AnalysisEvent.Builder extends GeneratedMessageV3.Builder<AnalysisEvent.Builder> implements AnalysisEventOrBuilderAn event indicating the progress of an analysis.
Protobuf type google.cloud.geminidataanalytics.v1beta.AnalysisEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalysisEvent.BuilderImplements
AnalysisEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalysisEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
build()
public AnalysisEvent build()| Returns | |
|---|---|
| Type | Description |
AnalysisEvent |
|
buildPartial()
public AnalysisEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
AnalysisEvent |
|
clear()
public AnalysisEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
clearCode()
public AnalysisEvent.Builder clearCode()Generated code.
string code = 4;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearCoderInstruction()
public AnalysisEvent.Builder clearCoderInstruction()Instructions issued for code generation.
string coder_instruction = 3;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearError()
public AnalysisEvent.Builder clearError()A generic error message.
string error = 11;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearExecutionError()
public AnalysisEvent.Builder clearExecutionError()An error from code execution.
string execution_error = 6;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearExecutionOutput()
public AnalysisEvent.Builder clearExecutionOutput()Output from code execution.
string execution_output = 5;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnalysisEvent.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
clearKind()
public AnalysisEvent.Builder clearKind()| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalysisEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
clearPlannerReasoning()
public AnalysisEvent.Builder clearPlannerReasoning()Python codegen planner's reasoning.
string planner_reasoning = 2;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearResultCsvData()
public AnalysisEvent.Builder clearResultCsvData()Result as CSV string.
string result_csv_data = 9;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearResultNaturalLanguage()
public AnalysisEvent.Builder clearResultNaturalLanguage()Result as NL string.
string result_natural_language = 8;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearResultReferenceData()
public AnalysisEvent.Builder clearResultReferenceData()Result as a reference to a data source.
string result_reference_data = 10;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clearResultVegaChartJson()
public AnalysisEvent.Builder clearResultVegaChartJson()Result as Vega chart JSON string.
string result_vega_chart_json = 7;
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
clone()
public AnalysisEvent.Builder clone()| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
getCode()
public String getCode()Generated code.
string code = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The code. |
getCodeBytes()
public ByteString getCodeBytes()Generated code.
string code = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for code. |
getCoderInstruction()
public String getCoderInstruction()Instructions issued for code generation.
string coder_instruction = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The coderInstruction. |
getCoderInstructionBytes()
public ByteString getCoderInstructionBytes()Instructions issued for code generation.
string coder_instruction = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for coderInstruction. |
getDefaultInstanceForType()
public AnalysisEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AnalysisEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getError()
public String getError()A generic error message.
string error = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The error. |
getErrorBytes()
public ByteString getErrorBytes()A generic error message.
string error = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for error. |
getExecutionError()
public String getExecutionError()An error from code execution.
string execution_error = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The executionError. |
getExecutionErrorBytes()
public ByteString getExecutionErrorBytes()An error from code execution.
string execution_error = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for executionError. |
getExecutionOutput()
public String getExecutionOutput()Output from code execution.
string execution_output = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The executionOutput. |
getExecutionOutputBytes()
public ByteString getExecutionOutputBytes()Output from code execution.
string execution_output = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for executionOutput. |
getKindCase()
public AnalysisEvent.KindCase getKindCase()| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.KindCase |
|
getPlannerReasoning()
public String getPlannerReasoning()Python codegen planner's reasoning.
string planner_reasoning = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The plannerReasoning. |
getPlannerReasoningBytes()
public ByteString getPlannerReasoningBytes()Python codegen planner's reasoning.
string planner_reasoning = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for plannerReasoning. |
getResultCsvData()
public String getResultCsvData()Result as CSV string.
string result_csv_data = 9;
| Returns | |
|---|---|
| Type | Description |
String |
The resultCsvData. |
getResultCsvDataBytes()
public ByteString getResultCsvDataBytes()Result as CSV string.
string result_csv_data = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resultCsvData. |
getResultNaturalLanguage()
public String getResultNaturalLanguage()Result as NL string.
string result_natural_language = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The resultNaturalLanguage. |
getResultNaturalLanguageBytes()
public ByteString getResultNaturalLanguageBytes()Result as NL string.
string result_natural_language = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resultNaturalLanguage. |
getResultReferenceData()
public String getResultReferenceData()Result as a reference to a data source.
string result_reference_data = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The resultReferenceData. |
getResultReferenceDataBytes()
public ByteString getResultReferenceDataBytes()Result as a reference to a data source.
string result_reference_data = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resultReferenceData. |
getResultVegaChartJson()
public String getResultVegaChartJson()Result as Vega chart JSON string.
string result_vega_chart_json = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The resultVegaChartJson. |
getResultVegaChartJsonBytes()
public ByteString getResultVegaChartJsonBytes()Result as Vega chart JSON string.
string result_vega_chart_json = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resultVegaChartJson. |
hasCode()
public boolean hasCode()Generated code.
string code = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the code field is set. |
hasCoderInstruction()
public boolean hasCoderInstruction()Instructions issued for code generation.
string coder_instruction = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the coderInstruction field is set. |
hasError()
public boolean hasError()A generic error message.
string error = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the error field is set. |
hasExecutionError()
public boolean hasExecutionError()An error from code execution.
string execution_error = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the executionError field is set. |
hasExecutionOutput()
public boolean hasExecutionOutput()Output from code execution.
string execution_output = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the executionOutput field is set. |
hasPlannerReasoning()
public boolean hasPlannerReasoning()Python codegen planner's reasoning.
string planner_reasoning = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the plannerReasoning field is set. |
hasResultCsvData()
public boolean hasResultCsvData()Result as CSV string.
string result_csv_data = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resultCsvData field is set. |
hasResultNaturalLanguage()
public boolean hasResultNaturalLanguage()Result as NL string.
string result_natural_language = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resultNaturalLanguage field is set. |
hasResultReferenceData()
public boolean hasResultReferenceData()Result as a reference to a data source.
string result_reference_data = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resultReferenceData field is set. |
hasResultVegaChartJson()
public boolean hasResultVegaChartJson()Result as Vega chart JSON string.
string result_vega_chart_json = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resultVegaChartJson field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AnalysisEvent other)
public AnalysisEvent.Builder mergeFrom(AnalysisEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
AnalysisEvent |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalysisEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AnalysisEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalysisEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
setCode(String value)
public AnalysisEvent.Builder setCode(String value)Generated code.
string code = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe code to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setCodeBytes(ByteString value)
public AnalysisEvent.Builder setCodeBytes(ByteString value)Generated code.
string code = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for code to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setCoderInstruction(String value)
public AnalysisEvent.Builder setCoderInstruction(String value)Instructions issued for code generation.
string coder_instruction = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe coderInstruction to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setCoderInstructionBytes(ByteString value)
public AnalysisEvent.Builder setCoderInstructionBytes(ByteString value)Instructions issued for code generation.
string coder_instruction = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for coderInstruction to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setError(String value)
public AnalysisEvent.Builder setError(String value)A generic error message.
string error = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe error to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setErrorBytes(ByteString value)
public AnalysisEvent.Builder setErrorBytes(ByteString value)A generic error message.
string error = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for error to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setExecutionError(String value)
public AnalysisEvent.Builder setExecutionError(String value)An error from code execution.
string execution_error = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe executionError to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setExecutionErrorBytes(ByteString value)
public AnalysisEvent.Builder setExecutionErrorBytes(ByteString value)An error from code execution.
string execution_error = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for executionError to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setExecutionOutput(String value)
public AnalysisEvent.Builder setExecutionOutput(String value)Output from code execution.
string execution_output = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe executionOutput to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setExecutionOutputBytes(ByteString value)
public AnalysisEvent.Builder setExecutionOutputBytes(ByteString value)Output from code execution.
string execution_output = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for executionOutput to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalysisEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
setPlannerReasoning(String value)
public AnalysisEvent.Builder setPlannerReasoning(String value)Python codegen planner's reasoning.
string planner_reasoning = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe plannerReasoning to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setPlannerReasoningBytes(ByteString value)
public AnalysisEvent.Builder setPlannerReasoningBytes(ByteString value)Python codegen planner's reasoning.
string planner_reasoning = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for plannerReasoning to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalysisEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|
setResultCsvData(String value)
public AnalysisEvent.Builder setResultCsvData(String value)Result as CSV string.
string result_csv_data = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resultCsvData to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setResultCsvDataBytes(ByteString value)
public AnalysisEvent.Builder setResultCsvDataBytes(ByteString value)Result as CSV string.
string result_csv_data = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resultCsvData to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setResultNaturalLanguage(String value)
public AnalysisEvent.Builder setResultNaturalLanguage(String value)Result as NL string.
string result_natural_language = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resultNaturalLanguage to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setResultNaturalLanguageBytes(ByteString value)
public AnalysisEvent.Builder setResultNaturalLanguageBytes(ByteString value)Result as NL string.
string result_natural_language = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resultNaturalLanguage to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setResultReferenceData(String value)
public AnalysisEvent.Builder setResultReferenceData(String value)Result as a reference to a data source.
string result_reference_data = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resultReferenceData to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setResultReferenceDataBytes(ByteString value)
public AnalysisEvent.Builder setResultReferenceDataBytes(ByteString value)Result as a reference to a data source.
string result_reference_data = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resultReferenceData to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setResultVegaChartJson(String value)
public AnalysisEvent.Builder setResultVegaChartJson(String value)Result as Vega chart JSON string.
string result_vega_chart_json = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resultVegaChartJson to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setResultVegaChartJsonBytes(ByteString value)
public AnalysisEvent.Builder setResultVegaChartJsonBytes(ByteString value)Result as Vega chart JSON string.
string result_vega_chart_json = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resultVegaChartJson to set. |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalysisEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AnalysisEvent.Builder |
|