public final class AnalysisEvent extends GeneratedMessage implements AnalysisEventOrBuilder
An event indicating the progress of an analysis.
Protobuf type google.cloud.geminidataanalytics.v1beta.AnalysisEvent
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CODER_INSTRUCTION_FIELD_NUMBER
public static final int CODER_INSTRUCTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXECUTION_ERROR_FIELD_NUMBER
public static final int EXECUTION_ERROR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXECUTION_OUTPUT_FIELD_NUMBER
public static final int EXECUTION_OUTPUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PLANNER_REASONING_FIELD_NUMBER
public static final int PLANNER_REASONING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESULT_CSV_DATA_FIELD_NUMBER
public static final int RESULT_CSV_DATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESULT_NATURAL_LANGUAGE_FIELD_NUMBER
public static final int RESULT_NATURAL_LANGUAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESULT_REFERENCE_DATA_FIELD_NUMBER
public static final int RESULT_REFERENCE_DATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESULT_VEGA_CHART_JSON_FIELD_NUMBER
public static final int RESULT_VEGA_CHART_JSON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AnalysisEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AnalysisEvent.Builder newBuilder()
newBuilder(AnalysisEvent prototype)
public static AnalysisEvent.Builder newBuilder(AnalysisEvent prototype)
public static AnalysisEvent parseDelimitedFrom(InputStream input)
public static AnalysisEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AnalysisEvent parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalysisEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AnalysisEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalysisEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalysisEvent parseFrom(CodedInputStream input)
public static AnalysisEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AnalysisEvent parseFrom(InputStream input)
public static AnalysisEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AnalysisEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalysisEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AnalysisEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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()
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()
getParserForType()
public Parser<AnalysisEvent> getParserForType()
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AnalysisEvent.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AnalysisEvent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AnalysisEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides