package bigquery_ml_utils

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AnnotationMapProto

annotation.proto:36

This represents the serialized form of the annotation map for bigquery_ml_utils::AnnotatedType.

message AnnotationProto

annotation.proto:26

Map entry from AnnotationSpec ID to AnnotationValue.

Used in: AnnotationMapProto

message ArrayTypeProto

type.proto:116

Used in: TypeProto

message DeprecatedEncoding

type_annotation.proto:118

(message has no fields)

enum DeprecatedEncoding.Encoding

type_annotation.proto:121

DEPRECATED - Encoding has been folded into the Type enum above. This should not be used directly.

message DeprecationWarning

deprecation_warning.proto:26

Contains information about a deprecation warning emitted by the analyzer. Currently attached to any absl::Status returned by AnalyzerOutput::deprecation_warnings().

Used in: FreestandingDeprecationWarning

enum DeprecationWarning.Kind

deprecation_warning.proto:27

Used in: DeprecationWarning

message EnumTypeProto

type.proto:139

Used in: TypeProto

message ErrorLocation

error_location.proto:23

This proto is used as a absl::Status error payload to give the location for SQL parsing and analysis errors.

Used in: ErrorSource, FreestandingDeprecationWarning

enum ErrorMessageMode

options.proto:1049

Mode describing how errors should be constructed in the returned absl::Status.

message ErrorSource

error_location.proto:61

This proto indicates an error that is the source of another error. It is expected that all of <error_message>, <error_message_caret_string>, and <error_location> are populated in normal use cases. An example of usage is for deferred, nested resolution of SQL expressions related to SQL UDFs inside Modules. Resolving a SQL UDF (func1) that references another SQL UDF (func2) can cause nested resolution, and if the resolution of func2 fails then that error information is captured in an ErrorSource that is attached to the error Status returned by func1's resolution. The returned Status may also have its own ErrorLocation related to func1, while the ErrorSource will be specific to func2's resolution.

Used in: ErrorLocation, InternalErrorLocation

message FieldFormat

type_annotation.proto:25

(message has no fields)

enum FieldFormat.Format

type_annotation.proto:26

message FreestandingDeprecationWarning

deprecation_warning.proto:50

A non-absl::Status-based representation of a deprecation warning that can be stored in objects that can be stored in the resolved AST (e.g., FunctionSignatures).

message InternalErrorLocation

internal_error_location.proto:27

Serialized form of ParseLocationPoint, only to be used inside the SQL library to attach an error location in internal form to a absl::Status. This should never leave the library: externally we should attach an ErrorLocation proto.

enum LanguageFeature

options.proto:107

The list of optional features that engines may or may not support. Features can be opted into in AnalyzerOptions. There are three types of LanguageFeatures. * Cross-version - Optional features that can be enabled orthogonally to versioning. Some engines will never implement these features, and SQL code will always support this switch. * Versioned - Features that describe behavior changes adopted as of some language version. Eventually, all engines should support these features, and switches in the SQL code (and tests) should eventually be removed. All of these, and only these, show up in VERSION_CURRENT. * Experimental - Features not currently part of any language version. All optional features are off by default. Some features have a negative meaning, so turning them on will remove a feature or enable an error.

message LanguageFeatureOptions

options.proto:78

Annotations for LanguageFeature enum values. Only for consumption by SQL code. LanguageOptions::EnableMaximumLanguageFeatures() enables all features with 'ideally_enabled == true' and 'in_development == false'. LanguageOptions::EnableMaximumLanguageFeaturesForDevelopment() enables all features with 'ideally_enabled == true'.

enum LanguageVersion

options.proto:39

SQL language versions. See (broken link) for more detail. A language version defines a stable set of features and required semantics. LanguageVersion VERSION_x_y implicitly includes the LanguageFeatures below named FEATURE_V_x_y_*. The features and behavior supported by an engine can be expressed as a LanguageVersion plus a set of LanguageFeatures added on top of that version. New version numbers will be introduced periodically, and will normally include the new features that have been specified up to that point. Engines should move their version number forwards over time rather than accumulating large sets of LanguageFeatures. LINT: LEGACY_NAMES

enum NameResolutionMode

options.proto:1025

This can be used to select strict name resolution mode. In strict mode, implicit column names cannot be used unqualified. This ensures that existing queries will not be broken if additional elements are added to the schema in the future. For example, SELECT c1, c2 FROM table1, table2; is not legal in strict mode because another column could be added to one of these tables, making the query ambiguous. The query must be written with aliases in strict mode: SELECT t1.c1, t2.c2 FROM table1 t1, table t2; SELECT * is also not allowed in strict mode because the number of output columns may change. See (broken link) for full details.

message OpaqueEnumTypeOptions

type.proto:156

message OpaqueEnumValueOptions

type.proto:166

enum ParameterMode

options.proto:1068

Mode describing how parameters are defined and referenced.

message ParseLocationRangeProto

parse_location_range.proto:24

This message stores the start and end byte offsets of a parsed string. It also (optionally) stores the name of the file where this parsed string is located.

enum ParseLocationRecordType

options.proto:1085

The option controlling what kind of parse location is recorded in a resolved AST node.

enum ProductMode

options.proto:1033

This identifies whether SQL works in INTERNAL (inside Google) mode, or in EXTERNAL (exposed to non-Googlers in the products such as Cloud). See (broken link) for details.

message ProtoTypeProto

type.proto:129

Used in: TypeProto

message RangeTypeProto

type.proto:152

Used in: TypeProto

enum ResolvedASTRewrite

options.proto:913

Supported SQL resolved AST rewrites. We support these rewrites to allow syntactic improvements which generate new node types to be quickly and easily available to engines without needing each engine to implement support for the new node types.

message ResolvedASTRewriteOptions

options.proto:899

message SimpleValueProto

simple_value.proto:26

Represents an immutable simple value. SimpleValue is a light weight version of value class. It can be used in the type library to avoid circular dependency of directly using value class in the type library.

Used in: AnnotationProto

enum StatementContext

options.proto:1042

This identifies whether statements are resolved in module context (i.e., as a statement contained in a module), or in normal/default context (outside of a module). See (broken link) for details about module context.

message StructFieldProto

type.proto:120

Used in: StructTypeProto

message StructTypeProto

type.proto:125

Used in: TypeProto

enum TypeKind

type.proto:26

NEXT_ID: 31

Used in: TypeProto

message TypeProto

type.proto:79

This represents the serialized form of the bigquery_ml_utils::Type.

Used in: ArrayTypeProto, RangeTypeProto, StructFieldProto