Constructor
new InterpretationStructure(propertiesopt)
Constructs a new InterpretationStructure.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.dataqna.v1alpha.IInterpretationStructure |
<optional> |
Properties to set |
- Implements:
-
- IInterpretationStructure
Classes
Members
columnInfo
InterpretationStructure columnInfo.
visualizationTypes
InterpretationStructure visualizationTypes.
VisualizationType
VisualizationType enum.
Properties:
Name | Type | Description |
---|---|---|
VISUALIZATION_TYPE_UNSPECIFIED |
number |
VISUALIZATION_TYPE_UNSPECIFIED value |
TABLE |
number |
TABLE value |
BAR_CHART |
number |
BAR_CHART value |
COLUMN_CHART |
number |
COLUMN_CHART value |
TIMELINE |
number |
TIMELINE value |
SCATTER_PLOT |
number |
SCATTER_PLOT value |
PIE_CHART |
number |
PIE_CHART value |
LINE_CHART |
number |
LINE_CHART value |
AREA_CHART |
number |
AREA_CHART value |
COMBO_CHART |
number |
COMBO_CHART value |
HISTOGRAM |
number |
HISTOGRAM value |
GENERIC_CHART |
number |
GENERIC_CHART value |
CHART_NOT_UNDERSTOOD |
number |
CHART_NOT_UNDERSTOOD value |
Methods
toJSON() → {Object.<string, *>}
Converts this InterpretationStructure to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.cloud.dataqna.v1alpha.InterpretationStructure}
Creates a new InterpretationStructure instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.dataqna.v1alpha.IInterpretationStructure |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.cloud.dataqna.v1alpha.InterpretationStructure |
InterpretationStructure instance |
(static) decode(reader, lengthopt) → {google.cloud.dataqna.v1alpha.InterpretationStructure}
Decodes an InterpretationStructure message from the specified reader or buffer.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
|
length |
number |
<optional> |
Message length if known beforehand |
Returns:
Type | Description |
---|---|
google.cloud.dataqna.v1alpha.InterpretationStructure |
InterpretationStructure |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) decodeDelimited(reader) → {google.cloud.dataqna.v1alpha.InterpretationStructure}
Decodes an InterpretationStructure message from the specified reader or buffer, length delimited.
Parameters:
Name | Type | Description |
---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
Returns:
Type | Description |
---|---|
google.cloud.dataqna.v1alpha.InterpretationStructure |
InterpretationStructure |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) encode(message, writeropt) → {$protobuf.Writer}
Encodes the specified InterpretationStructure message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.dataqna.v1alpha.IInterpretationStructure |
InterpretationStructure message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}
Encodes the specified InterpretationStructure message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.dataqna.v1alpha.IInterpretationStructure |
InterpretationStructure message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) fromObject(object) → {google.cloud.dataqna.v1alpha.InterpretationStructure}
Creates an InterpretationStructure message from a plain object. Also converts values to their respective internal types.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object.<string, *> |
Plain object |
Returns:
Type | Description |
---|---|
google.cloud.dataqna.v1alpha.InterpretationStructure |
InterpretationStructure |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for InterpretationStructure
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from an InterpretationStructure message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.dataqna.v1alpha.InterpretationStructure |
InterpretationStructure |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies an InterpretationStructure message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|