genproto: google.golang.org/genproto/googleapis/cloud/bigquery/v2 Index | Files

package bigquery

import "google.golang.org/genproto/googleapis/cloud/bigquery/v2"

Index

Package Files

encryption_config.pb.go model.pb.go model_reference.pb.go standard_sql.pb.go

Variables

var (
    Model_ModelType_name = map[int32]string{
        0:  "MODEL_TYPE_UNSPECIFIED",
        1:  "LINEAR_REGRESSION",
        2:  "LOGISTIC_REGRESSION",
        3:  "KMEANS",
        6:  "TENSORFLOW",
    }
    Model_ModelType_value = map[string]int32{
        "MODEL_TYPE_UNSPECIFIED": 0,
        "LINEAR_REGRESSION":      1,
        "LOGISTIC_REGRESSION":    2,
        "KMEANS":                 3,
        "TENSORFLOW":             6,
    }
)

Enum value maps for Model_ModelType.

var (
    Model_LossType_name = map[int32]string{
        0:  "LOSS_TYPE_UNSPECIFIED",
        1:  "MEAN_SQUARED_LOSS",
        2:  "MEAN_LOG_LOSS",
    }
    Model_LossType_value = map[string]int32{
        "LOSS_TYPE_UNSPECIFIED": 0,
        "MEAN_SQUARED_LOSS":     1,
        "MEAN_LOG_LOSS":         2,
    }
)

Enum value maps for Model_LossType.

var (
    Model_DistanceType_name = map[int32]string{
        0:  "DISTANCE_TYPE_UNSPECIFIED",
        1:  "EUCLIDEAN",
        2:  "COSINE",
    }
    Model_DistanceType_value = map[string]int32{
        "DISTANCE_TYPE_UNSPECIFIED": 0,
        "EUCLIDEAN":                 1,
        "COSINE":                    2,
    }
)

Enum value maps for Model_DistanceType.

var (
    Model_DataSplitMethod_name = map[int32]string{
        0:  "DATA_SPLIT_METHOD_UNSPECIFIED",
        1:  "RANDOM",
        2:  "CUSTOM",
        3:  "SEQUENTIAL",
        4:  "NO_SPLIT",
        5:  "AUTO_SPLIT",
    }
    Model_DataSplitMethod_value = map[string]int32{
        "DATA_SPLIT_METHOD_UNSPECIFIED": 0,
        "RANDOM":                        1,
        "CUSTOM":                        2,
        "SEQUENTIAL":                    3,
        "NO_SPLIT":                      4,
        "AUTO_SPLIT":                    5,
    }
)

Enum value maps for Model_DataSplitMethod.

var (
    Model_LearnRateStrategy_name = map[int32]string{
        0:  "LEARN_RATE_STRATEGY_UNSPECIFIED",
        1:  "LINE_SEARCH",
        2:  "CONSTANT",
    }
    Model_LearnRateStrategy_value = map[string]int32{
        "LEARN_RATE_STRATEGY_UNSPECIFIED": 0,
        "LINE_SEARCH":                     1,
        "CONSTANT":                        2,
    }
)

Enum value maps for Model_LearnRateStrategy.

var (
    Model_OptimizationStrategy_name = map[int32]string{
        0:  "OPTIMIZATION_STRATEGY_UNSPECIFIED",
        1:  "BATCH_GRADIENT_DESCENT",
        2:  "NORMAL_EQUATION",
    }
    Model_OptimizationStrategy_value = map[string]int32{
        "OPTIMIZATION_STRATEGY_UNSPECIFIED": 0,
        "BATCH_GRADIENT_DESCENT":            1,
        "NORMAL_EQUATION":                   2,
    }
)

Enum value maps for Model_OptimizationStrategy.

var (
    Model_KmeansEnums_KmeansInitializationMethod_name = map[int32]string{
        0:  "KMEANS_INITIALIZATION_METHOD_UNSPECIFIED",
        1:  "RANDOM",
        2:  "CUSTOM",
    }
    Model_KmeansEnums_KmeansInitializationMethod_value = map[string]int32{
        "KMEANS_INITIALIZATION_METHOD_UNSPECIFIED": 0,
        "RANDOM": 1,
        "CUSTOM": 2,
    }
)

Enum value maps for Model_KmeansEnums_KmeansInitializationMethod.

var (
    StandardSqlDataType_TypeKind_name = map[int32]string{
        0:  "TYPE_KIND_UNSPECIFIED",
        2:  "INT64",
        5:  "BOOL",
        7:  "FLOAT64",
        8:  "STRING",
        9:  "BYTES",
        19: "TIMESTAMP",
        10: "DATE",
        20: "TIME",
        21: "DATETIME",
        22: "GEOGRAPHY",
        23: "NUMERIC",
        16: "ARRAY",
        17: "STRUCT",
    }
    StandardSqlDataType_TypeKind_value = map[string]int32{
        "TYPE_KIND_UNSPECIFIED": 0,
        "INT64":                 2,
        "BOOL":                  5,
        "FLOAT64":               7,
        "STRING":                8,
        "BYTES":                 9,
        "TIMESTAMP":             19,
        "DATE":                  10,
        "TIME":                  20,
        "DATETIME":              21,
        "GEOGRAPHY":             22,
        "NUMERIC":               23,
        "ARRAY":                 16,
        "STRUCT":                17,
    }
)

Enum value maps for StandardSqlDataType_TypeKind.

var File_google_cloud_bigquery_v2_encryption_config_proto protoreflect.FileDescriptor
var File_google_cloud_bigquery_v2_model_proto protoreflect.FileDescriptor
var File_google_cloud_bigquery_v2_model_reference_proto protoreflect.FileDescriptor
var File_google_cloud_bigquery_v2_standard_sql_proto protoreflect.FileDescriptor

func RegisterModelServiceServer Uses

func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer)

type DeleteModelRequest Uses

type DeleteModelRequest struct {

    // Required. Project ID of the model to delete.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. Dataset ID of the model to delete.
    DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
    // Required. Model ID of the model to delete.
    ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
    // contains filtered or unexported fields
}

func (*DeleteModelRequest) Descriptor Uses

func (*DeleteModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.

func (*DeleteModelRequest) GetDatasetId Uses

func (x *DeleteModelRequest) GetDatasetId() string

func (*DeleteModelRequest) GetModelId Uses

func (x *DeleteModelRequest) GetModelId() string

func (*DeleteModelRequest) GetProjectId Uses

func (x *DeleteModelRequest) GetProjectId() string

func (*DeleteModelRequest) ProtoMessage Uses

func (*DeleteModelRequest) ProtoMessage()

func (*DeleteModelRequest) ProtoReflect Uses

func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message

func (*DeleteModelRequest) Reset Uses

func (x *DeleteModelRequest) Reset()

func (*DeleteModelRequest) String Uses

func (x *DeleteModelRequest) String() string

type EncryptionConfiguration Uses

type EncryptionConfiguration struct {

    // Optional. Describes the Cloud KMS encryption key that will be used to
    // protect destination BigQuery table. The BigQuery Service Account associated
    // with your project requires access to this encryption key.
    KmsKeyName *wrappers.StringValue `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
    // contains filtered or unexported fields
}

func (*EncryptionConfiguration) Descriptor Uses

func (*EncryptionConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionConfiguration.ProtoReflect.Descriptor instead.

func (*EncryptionConfiguration) GetKmsKeyName Uses

func (x *EncryptionConfiguration) GetKmsKeyName() *wrappers.StringValue

func (*EncryptionConfiguration) ProtoMessage Uses

func (*EncryptionConfiguration) ProtoMessage()

func (*EncryptionConfiguration) ProtoReflect Uses

func (x *EncryptionConfiguration) ProtoReflect() protoreflect.Message

func (*EncryptionConfiguration) Reset Uses

func (x *EncryptionConfiguration) Reset()

func (*EncryptionConfiguration) String Uses

func (x *EncryptionConfiguration) String() string

type GetModelRequest Uses

type GetModelRequest struct {

    // Required. Project ID of the requested model.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. Dataset ID of the requested model.
    DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
    // Required. Model ID of the requested model.
    ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
    // contains filtered or unexported fields
}

func (*GetModelRequest) Descriptor Uses

func (*GetModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.

func (*GetModelRequest) GetDatasetId Uses

func (x *GetModelRequest) GetDatasetId() string

func (*GetModelRequest) GetModelId Uses

func (x *GetModelRequest) GetModelId() string

func (*GetModelRequest) GetProjectId Uses

func (x *GetModelRequest) GetProjectId() string

func (*GetModelRequest) ProtoMessage Uses

func (*GetModelRequest) ProtoMessage()

func (*GetModelRequest) ProtoReflect Uses

func (x *GetModelRequest) ProtoReflect() protoreflect.Message

func (*GetModelRequest) Reset Uses

func (x *GetModelRequest) Reset()

func (*GetModelRequest) String Uses

func (x *GetModelRequest) String() string

type ListModelsRequest Uses

type ListModelsRequest struct {

    // Required. Project ID of the models to list.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. Dataset ID of the models to list.
    DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
    // The maximum number of results to return in a single response page.
    // Leverage the page tokens to iterate through the entire collection.
    MaxResults *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
    // Page token, returned by a previous call to request the next page of
    // results
    PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

func (*ListModelsRequest) Descriptor Uses

func (*ListModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.

func (*ListModelsRequest) GetDatasetId Uses

func (x *ListModelsRequest) GetDatasetId() string

func (*ListModelsRequest) GetMaxResults Uses

func (x *ListModelsRequest) GetMaxResults() *wrappers.UInt32Value

func (*ListModelsRequest) GetPageToken Uses

func (x *ListModelsRequest) GetPageToken() string

func (*ListModelsRequest) GetProjectId Uses

func (x *ListModelsRequest) GetProjectId() string

func (*ListModelsRequest) ProtoMessage Uses

func (*ListModelsRequest) ProtoMessage()

func (*ListModelsRequest) ProtoReflect Uses

func (x *ListModelsRequest) ProtoReflect() protoreflect.Message

func (*ListModelsRequest) Reset Uses

func (x *ListModelsRequest) Reset()

func (*ListModelsRequest) String Uses

func (x *ListModelsRequest) String() string

type ListModelsResponse Uses

type ListModelsResponse struct {

    // Models in the requested dataset. Only the following fields are populated:
    // model_reference, model_type, creation_time, last_modified_time and
    // labels.
    Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
    // A token to request the next page of results.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

func (*ListModelsResponse) Descriptor Uses

func (*ListModelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.

func (*ListModelsResponse) GetModels Uses

func (x *ListModelsResponse) GetModels() []*Model

func (*ListModelsResponse) GetNextPageToken Uses

func (x *ListModelsResponse) GetNextPageToken() string

func (*ListModelsResponse) ProtoMessage Uses

func (*ListModelsResponse) ProtoMessage()

func (*ListModelsResponse) ProtoReflect Uses

func (x *ListModelsResponse) ProtoReflect() protoreflect.Message

func (*ListModelsResponse) Reset Uses

func (x *ListModelsResponse) Reset()

func (*ListModelsResponse) String Uses

func (x *ListModelsResponse) String() string

type Model Uses

type Model struct {

    // Output only. A hash of this resource.
    Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"`
    // Required. Unique identifier for this model.
    ModelReference *ModelReference `protobuf:"bytes,2,opt,name=model_reference,json=modelReference,proto3" json:"model_reference,omitempty"`
    // Output only. The time when this model was created, in millisecs since the epoch.
    CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
    // Output only. The time when this model was last modified, in millisecs since the epoch.
    LastModifiedTime int64 `protobuf:"varint,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
    // Optional. A user-friendly description of this model.
    Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
    // Optional. A descriptive name for this model.
    FriendlyName string `protobuf:"bytes,14,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
    // The labels associated with this model. You can use these to organize
    // and group your models. Label keys and values can be no longer
    // than 63 characters, can only contain lowercase letters, numeric
    // characters, underscores and dashes. International characters are allowed.
    // Label values are optional. Label keys must start with a letter and each
    // label in the list must have a different key.
    Labels map[string]string `protobuf:"bytes,15,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Optional. The time when this model expires, in milliseconds since the epoch.
    // If not present, the model will persist indefinitely. Expired models
    // will be deleted and their storage reclaimed.  The defaultTableExpirationMs
    // property of the encapsulating dataset can be used to set a default
    // expirationTime on newly created models.
    ExpirationTime int64 `protobuf:"varint,16,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
    // Output only. The geographic location where the model resides. This value
    // is inherited from the dataset.
    Location string `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"`
    // Custom encryption configuration (e.g., Cloud KMS keys). This shows the
    // encryption configuration of the model data while stored in BigQuery
    // storage.
    EncryptionConfiguration *EncryptionConfiguration `protobuf:"bytes,17,opt,name=encryption_configuration,json=encryptionConfiguration,proto3" json:"encryption_configuration,omitempty"`
    // Output only. Type of the model resource.
    ModelType Model_ModelType `protobuf:"varint,7,opt,name=model_type,json=modelType,proto3,enum=google.cloud.bigquery.v2.Model_ModelType" json:"model_type,omitempty"`
    // Output only. Information for all training runs in increasing order of start_time.
    TrainingRuns []*Model_TrainingRun `protobuf:"bytes,9,rep,name=training_runs,json=trainingRuns,proto3" json:"training_runs,omitempty"`
    // Output only. Input feature columns that were used to train this model.
    FeatureColumns []*StandardSqlField `protobuf:"bytes,10,rep,name=feature_columns,json=featureColumns,proto3" json:"feature_columns,omitempty"`
    // Output only. Label columns that were used to train this model.
    // The output of the model will have a "predicted_" prefix to these columns.
    LabelColumns []*StandardSqlField `protobuf:"bytes,11,rep,name=label_columns,json=labelColumns,proto3" json:"label_columns,omitempty"`
    // contains filtered or unexported fields
}

func (*Model) Descriptor Uses

func (*Model) Descriptor() ([]byte, []int)

Deprecated: Use Model.ProtoReflect.Descriptor instead.

func (*Model) GetCreationTime Uses

func (x *Model) GetCreationTime() int64

func (*Model) GetDescription Uses

func (x *Model) GetDescription() string

func (*Model) GetEncryptionConfiguration Uses

func (x *Model) GetEncryptionConfiguration() *EncryptionConfiguration

func (*Model) GetEtag Uses

func (x *Model) GetEtag() string

func (*Model) GetExpirationTime Uses

func (x *Model) GetExpirationTime() int64

func (*Model) GetFeatureColumns Uses

func (x *Model) GetFeatureColumns() []*StandardSqlField

func (*Model) GetFriendlyName Uses

func (x *Model) GetFriendlyName() string

func (*Model) GetLabelColumns Uses

func (x *Model) GetLabelColumns() []*StandardSqlField

func (*Model) GetLabels Uses

func (x *Model) GetLabels() map[string]string

func (*Model) GetLastModifiedTime Uses

func (x *Model) GetLastModifiedTime() int64

func (*Model) GetLocation Uses

func (x *Model) GetLocation() string

func (*Model) GetModelReference Uses

func (x *Model) GetModelReference() *ModelReference

func (*Model) GetModelType Uses

func (x *Model) GetModelType() Model_ModelType

func (*Model) GetTrainingRuns Uses

func (x *Model) GetTrainingRuns() []*Model_TrainingRun

func (*Model) ProtoMessage Uses

func (*Model) ProtoMessage()

func (*Model) ProtoReflect Uses

func (x *Model) ProtoReflect() protoreflect.Message

func (*Model) Reset Uses

func (x *Model) Reset()

func (*Model) String Uses

func (x *Model) String() string

type ModelReference Uses

type ModelReference struct {

    // Required. The ID of the project containing this model.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. The ID of the dataset containing this model.
    DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
    // Required. The ID of the model. The ID must contain only
    // letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum
    // length is 1,024 characters.
    ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
    // contains filtered or unexported fields
}

Id path of a model.

func (*ModelReference) Descriptor Uses

func (*ModelReference) Descriptor() ([]byte, []int)

Deprecated: Use ModelReference.ProtoReflect.Descriptor instead.

func (*ModelReference) GetDatasetId Uses

func (x *ModelReference) GetDatasetId() string

func (*ModelReference) GetModelId Uses

func (x *ModelReference) GetModelId() string

func (*ModelReference) GetProjectId Uses

func (x *ModelReference) GetProjectId() string

func (*ModelReference) ProtoMessage Uses

func (*ModelReference) ProtoMessage()

func (*ModelReference) ProtoReflect Uses

func (x *ModelReference) ProtoReflect() protoreflect.Message

func (*ModelReference) Reset Uses

func (x *ModelReference) Reset()

func (*ModelReference) String Uses

func (x *ModelReference) String() string

type ModelServiceClient Uses

type ModelServiceClient interface {
    // Gets the specified model resource by model ID.
    GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error)
    // Lists all models in the specified dataset. Requires the READER dataset
    // role.
    ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
    // Patch specific fields in the specified model.
    PatchModel(ctx context.Context, in *PatchModelRequest, opts ...grpc.CallOption) (*Model, error)
    // Deletes the model specified by modelId from the dataset.
    DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

ModelServiceClient is the client API for ModelService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewModelServiceClient Uses

func NewModelServiceClient(cc grpc.ClientConnInterface) ModelServiceClient

type ModelServiceServer Uses

type ModelServiceServer interface {
    // Gets the specified model resource by model ID.
    GetModel(context.Context, *GetModelRequest) (*Model, error)
    // Lists all models in the specified dataset. Requires the READER dataset
    // role.
    ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
    // Patch specific fields in the specified model.
    PatchModel(context.Context, *PatchModelRequest) (*Model, error)
    // Deletes the model specified by modelId from the dataset.
    DeleteModel(context.Context, *DeleteModelRequest) (*empty.Empty, error)
}

ModelServiceServer is the server API for ModelService service.

type Model_AggregateClassificationMetrics Uses

type Model_AggregateClassificationMetrics struct {

    // Precision is the fraction of actual positive predictions that had
    // positive actual labels. For multiclass this is a macro-averaged
    // metric treating each class as a binary classifier.
    Precision *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=precision,proto3" json:"precision,omitempty"`
    // Recall is the fraction of actual positive labels that were given a
    // positive prediction. For multiclass this is a macro-averaged metric.
    Recall *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=recall,proto3" json:"recall,omitempty"`
    // Accuracy is the fraction of predictions given the correct label. For
    // multiclass this is a micro-averaged metric.
    Accuracy *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=accuracy,proto3" json:"accuracy,omitempty"`
    // Threshold at which the metrics are computed. For binary
    // classification models this is the positive class threshold.
    // For multi-class classfication models this is the confidence
    // threshold.
    Threshold *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=threshold,proto3" json:"threshold,omitempty"`
    // The F1 score is an average of recall and precision. For multiclass
    // this is a macro-averaged metric.
    F1Score *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"`
    // Logarithmic Loss. For multiclass this is a macro-averaged metric.
    LogLoss *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=log_loss,json=logLoss,proto3" json:"log_loss,omitempty"`
    // Area Under a ROC Curve. For multiclass this is a macro-averaged
    // metric.
    RocAuc *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=roc_auc,json=rocAuc,proto3" json:"roc_auc,omitempty"`
    // contains filtered or unexported fields
}

Aggregate metrics for classification/classifier models. For multi-class models, the metrics are either macro-averaged or micro-averaged. When macro-averaged, the metrics are calculated for each label and then an unweighted average is taken of those values. When micro-averaged, the metric is calculated globally by counting the total number of correctly predicted rows.

func (*Model_AggregateClassificationMetrics) Descriptor Uses

func (*Model_AggregateClassificationMetrics) Descriptor() ([]byte, []int)

Deprecated: Use Model_AggregateClassificationMetrics.ProtoReflect.Descriptor instead.

func (*Model_AggregateClassificationMetrics) GetAccuracy Uses

func (x *Model_AggregateClassificationMetrics) GetAccuracy() *wrappers.DoubleValue

func (*Model_AggregateClassificationMetrics) GetF1Score Uses

func (x *Model_AggregateClassificationMetrics) GetF1Score() *wrappers.DoubleValue

func (*Model_AggregateClassificationMetrics) GetLogLoss Uses

func (x *Model_AggregateClassificationMetrics) GetLogLoss() *wrappers.DoubleValue

func (*Model_AggregateClassificationMetrics) GetPrecision Uses

func (x *Model_AggregateClassificationMetrics) GetPrecision() *wrappers.DoubleValue

func (*Model_AggregateClassificationMetrics) GetRecall Uses

func (x *Model_AggregateClassificationMetrics) GetRecall() *wrappers.DoubleValue

func (*Model_AggregateClassificationMetrics) GetRocAuc Uses

func (x *Model_AggregateClassificationMetrics) GetRocAuc() *wrappers.DoubleValue

func (*Model_AggregateClassificationMetrics) GetThreshold Uses

func (x *Model_AggregateClassificationMetrics) GetThreshold() *wrappers.DoubleValue

func (*Model_AggregateClassificationMetrics) ProtoMessage Uses

func (*Model_AggregateClassificationMetrics) ProtoMessage()

func (*Model_AggregateClassificationMetrics) ProtoReflect Uses

func (x *Model_AggregateClassificationMetrics) ProtoReflect() protoreflect.Message

func (*Model_AggregateClassificationMetrics) Reset Uses

func (x *Model_AggregateClassificationMetrics) Reset()

func (*Model_AggregateClassificationMetrics) String Uses

func (x *Model_AggregateClassificationMetrics) String() string

type Model_BinaryClassificationMetrics Uses

type Model_BinaryClassificationMetrics struct {

    // Aggregate classification metrics.
    AggregateClassificationMetrics *Model_AggregateClassificationMetrics `protobuf:"bytes,1,opt,name=aggregate_classification_metrics,json=aggregateClassificationMetrics,proto3" json:"aggregate_classification_metrics,omitempty"`
    // Binary confusion matrix at multiple thresholds.
    BinaryConfusionMatrixList []*Model_BinaryClassificationMetrics_BinaryConfusionMatrix `protobuf:"bytes,2,rep,name=binary_confusion_matrix_list,json=binaryConfusionMatrixList,proto3" json:"binary_confusion_matrix_list,omitempty"`
    // Label representing the positive class.
    PositiveLabel string `protobuf:"bytes,3,opt,name=positive_label,json=positiveLabel,proto3" json:"positive_label,omitempty"`
    // Label representing the negative class.
    NegativeLabel string `protobuf:"bytes,4,opt,name=negative_label,json=negativeLabel,proto3" json:"negative_label,omitempty"`
    // contains filtered or unexported fields
}

Evaluation metrics for binary classification/classifier models.

func (*Model_BinaryClassificationMetrics) Descriptor Uses

func (*Model_BinaryClassificationMetrics) Descriptor() ([]byte, []int)

Deprecated: Use Model_BinaryClassificationMetrics.ProtoReflect.Descriptor instead.

func (*Model_BinaryClassificationMetrics) GetAggregateClassificationMetrics Uses

func (x *Model_BinaryClassificationMetrics) GetAggregateClassificationMetrics() *Model_AggregateClassificationMetrics

func (*Model_BinaryClassificationMetrics) GetBinaryConfusionMatrixList Uses

func (x *Model_BinaryClassificationMetrics) GetBinaryConfusionMatrixList() []*Model_BinaryClassificationMetrics_BinaryConfusionMatrix

func (*Model_BinaryClassificationMetrics) GetNegativeLabel Uses

func (x *Model_BinaryClassificationMetrics) GetNegativeLabel() string

func (*Model_BinaryClassificationMetrics) GetPositiveLabel Uses

func (x *Model_BinaryClassificationMetrics) GetPositiveLabel() string

func (*Model_BinaryClassificationMetrics) ProtoMessage Uses

func (*Model_BinaryClassificationMetrics) ProtoMessage()

func (*Model_BinaryClassificationMetrics) ProtoReflect Uses

func (x *Model_BinaryClassificationMetrics) ProtoReflect() protoreflect.Message

func (*Model_BinaryClassificationMetrics) Reset Uses

func (x *Model_BinaryClassificationMetrics) Reset()

func (*Model_BinaryClassificationMetrics) String Uses

func (x *Model_BinaryClassificationMetrics) String() string

type Model_BinaryClassificationMetrics_BinaryConfusionMatrix Uses

type Model_BinaryClassificationMetrics_BinaryConfusionMatrix struct {

    // Threshold value used when computing each of the following metric.
    PositiveClassThreshold *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=positive_class_threshold,json=positiveClassThreshold,proto3" json:"positive_class_threshold,omitempty"`
    // Number of true samples predicted as true.
    TruePositives *wrappers.Int64Value `protobuf:"bytes,2,opt,name=true_positives,json=truePositives,proto3" json:"true_positives,omitempty"`
    // Number of false samples predicted as true.
    FalsePositives *wrappers.Int64Value `protobuf:"bytes,3,opt,name=false_positives,json=falsePositives,proto3" json:"false_positives,omitempty"`
    // Number of true samples predicted as false.
    TrueNegatives *wrappers.Int64Value `protobuf:"bytes,4,opt,name=true_negatives,json=trueNegatives,proto3" json:"true_negatives,omitempty"`
    // Number of false samples predicted as false.
    FalseNegatives *wrappers.Int64Value `protobuf:"bytes,5,opt,name=false_negatives,json=falseNegatives,proto3" json:"false_negatives,omitempty"`
    // The fraction of actual positive predictions that had positive actual
    // labels.
    Precision *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=precision,proto3" json:"precision,omitempty"`
    // The fraction of actual positive labels that were given a positive
    // prediction.
    Recall *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=recall,proto3" json:"recall,omitempty"`
    // The equally weighted average of recall and precision.
    F1Score *wrappers.DoubleValue `protobuf:"bytes,8,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"`
    // The fraction of predictions given the correct label.
    Accuracy *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=accuracy,proto3" json:"accuracy,omitempty"`
    // contains filtered or unexported fields
}

Confusion matrix for binary classification models.

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Descriptor Uses

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Descriptor() ([]byte, []int)

Deprecated: Use Model_BinaryClassificationMetrics_BinaryConfusionMatrix.ProtoReflect.Descriptor instead.

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetAccuracy Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetAccuracy() *wrappers.DoubleValue

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetF1Score Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetF1Score() *wrappers.DoubleValue

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalseNegatives Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalseNegatives() *wrappers.Int64Value

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalsePositives Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalsePositives() *wrappers.Int64Value

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPositiveClassThreshold Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPositiveClassThreshold() *wrappers.DoubleValue

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPrecision Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPrecision() *wrappers.DoubleValue

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetRecall Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetRecall() *wrappers.DoubleValue

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTrueNegatives Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTrueNegatives() *wrappers.Int64Value

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTruePositives Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTruePositives() *wrappers.Int64Value

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) ProtoMessage Uses

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) ProtoMessage()

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) ProtoReflect Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) ProtoReflect() protoreflect.Message

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Reset Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Reset()

func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) String Uses

func (x *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) String() string

type Model_ClusteringMetrics Uses

type Model_ClusteringMetrics struct {

    // Davies-Bouldin index.
    DaviesBouldinIndex *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=davies_bouldin_index,json=daviesBouldinIndex,proto3" json:"davies_bouldin_index,omitempty"`
    // Mean of squared distances between each sample to its cluster centroid.
    MeanSquaredDistance *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=mean_squared_distance,json=meanSquaredDistance,proto3" json:"mean_squared_distance,omitempty"`
    // [Beta] Information for all clusters.
    Clusters []*Model_ClusteringMetrics_Cluster `protobuf:"bytes,3,rep,name=clusters,proto3" json:"clusters,omitempty"`
    // contains filtered or unexported fields
}

Evaluation metrics for clustering models.

func (*Model_ClusteringMetrics) Descriptor Uses

func (*Model_ClusteringMetrics) Descriptor() ([]byte, []int)

Deprecated: Use Model_ClusteringMetrics.ProtoReflect.Descriptor instead.

func (*Model_ClusteringMetrics) GetClusters Uses

func (x *Model_ClusteringMetrics) GetClusters() []*Model_ClusteringMetrics_Cluster

func (*Model_ClusteringMetrics) GetDaviesBouldinIndex Uses

func (x *Model_ClusteringMetrics) GetDaviesBouldinIndex() *wrappers.DoubleValue

func (*Model_ClusteringMetrics) GetMeanSquaredDistance Uses

func (x *Model_ClusteringMetrics) GetMeanSquaredDistance() *wrappers.DoubleValue

func (*Model_ClusteringMetrics) ProtoMessage Uses

func (*Model_ClusteringMetrics) ProtoMessage()

func (*Model_ClusteringMetrics) ProtoReflect Uses

func (x *Model_ClusteringMetrics) ProtoReflect() protoreflect.Message

func (*Model_ClusteringMetrics) Reset Uses

func (x *Model_ClusteringMetrics) Reset()

func (*Model_ClusteringMetrics) String Uses

func (x *Model_ClusteringMetrics) String() string

type Model_ClusteringMetrics_Cluster Uses

type Model_ClusteringMetrics_Cluster struct {

    // Centroid id.
    CentroidId int64 `protobuf:"varint,1,opt,name=centroid_id,json=centroidId,proto3" json:"centroid_id,omitempty"`
    // Values of highly variant features for this cluster.
    FeatureValues []*Model_ClusteringMetrics_Cluster_FeatureValue `protobuf:"bytes,2,rep,name=feature_values,json=featureValues,proto3" json:"feature_values,omitempty"`
    // Count of training data rows that were assigned to this cluster.
    Count *wrappers.Int64Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"`
    // contains filtered or unexported fields
}

Message containing the information about one cluster.

func (*Model_ClusteringMetrics_Cluster) Descriptor Uses

func (*Model_ClusteringMetrics_Cluster) Descriptor() ([]byte, []int)

Deprecated: Use Model_ClusteringMetrics_Cluster.ProtoReflect.Descriptor instead.

func (*Model_ClusteringMetrics_Cluster) GetCentroidId Uses

func (x *Model_ClusteringMetrics_Cluster) GetCentroidId() int64

func (*Model_ClusteringMetrics_Cluster) GetCount Uses

func (x *Model_ClusteringMetrics_Cluster) GetCount() *wrappers.Int64Value

func (*Model_ClusteringMetrics_Cluster) GetFeatureValues Uses

func (x *Model_ClusteringMetrics_Cluster) GetFeatureValues() []*Model_ClusteringMetrics_Cluster_FeatureValue

func (*Model_ClusteringMetrics_Cluster) ProtoMessage Uses

func (*Model_ClusteringMetrics_Cluster) ProtoMessage()

func (*Model_ClusteringMetrics_Cluster) ProtoReflect Uses

func (x *Model_ClusteringMetrics_Cluster) ProtoReflect() protoreflect.Message

func (*Model_ClusteringMetrics_Cluster) Reset Uses

func (x *Model_ClusteringMetrics_Cluster) Reset()

func (*Model_ClusteringMetrics_Cluster) String Uses

func (x *Model_ClusteringMetrics_Cluster) String() string

type Model_ClusteringMetrics_Cluster_FeatureValue Uses

type Model_ClusteringMetrics_Cluster_FeatureValue struct {

    // The feature column name.
    FeatureColumn string `protobuf:"bytes,1,opt,name=feature_column,json=featureColumn,proto3" json:"feature_column,omitempty"`
    // Types that are assignable to Value:
    //	*Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue
    //	*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_
    Value isModel_ClusteringMetrics_Cluster_FeatureValue_Value `protobuf_oneof:"value"`
    // contains filtered or unexported fields
}

Representative value of a single feature within the cluster.

func (*Model_ClusteringMetrics_Cluster_FeatureValue) Descriptor Uses

func (*Model_ClusteringMetrics_Cluster_FeatureValue) Descriptor() ([]byte, []int)

Deprecated: Use Model_ClusteringMetrics_Cluster_FeatureValue.ProtoReflect.Descriptor instead.

func (*Model_ClusteringMetrics_Cluster_FeatureValue) GetCategoricalValue Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue) GetCategoricalValue() *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue

func (*Model_ClusteringMetrics_Cluster_FeatureValue) GetFeatureColumn Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue) GetFeatureColumn() string

func (*Model_ClusteringMetrics_Cluster_FeatureValue) GetNumericalValue Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue) GetNumericalValue() *wrappers.DoubleValue

func (*Model_ClusteringMetrics_Cluster_FeatureValue) GetValue Uses

func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetValue() isModel_ClusteringMetrics_Cluster_FeatureValue_Value

func (*Model_ClusteringMetrics_Cluster_FeatureValue) ProtoMessage Uses

func (*Model_ClusteringMetrics_Cluster_FeatureValue) ProtoMessage()

func (*Model_ClusteringMetrics_Cluster_FeatureValue) ProtoReflect Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue) ProtoReflect() protoreflect.Message

func (*Model_ClusteringMetrics_Cluster_FeatureValue) Reset Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue) Reset()

func (*Model_ClusteringMetrics_Cluster_FeatureValue) String Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue) String() string

type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue Uses

type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue struct {

    // Counts of all categories for the categorical feature. If there are
    // more than ten categories, we return top ten (by count) and return
    // one more CategoryCount with category "_OTHER_" and count as
    // aggregate counts of remaining categories.
    CategoryCounts []*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount `protobuf:"bytes,1,rep,name=category_counts,json=categoryCounts,proto3" json:"category_counts,omitempty"`
    // contains filtered or unexported fields
}

Representative value of a categorical feature.

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Descriptor Uses

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Descriptor() ([]byte, []int)

Deprecated: Use Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue.ProtoReflect.Descriptor instead.

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) GetCategoryCounts Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) GetCategoryCounts() []*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) ProtoMessage Uses

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) ProtoMessage()

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) ProtoReflect Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) ProtoReflect() protoreflect.Message

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Reset Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Reset()

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) String Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) String() string

type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_ Uses

type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_ struct {
    // The categorical feature value.
    CategoricalValue *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue `protobuf:"bytes,3,opt,name=categorical_value,json=categoricalValue,proto3,oneof"`
}

type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount Uses

type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount struct {

    // The name of category.
    Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
    // The count of training samples matching the category within the
    // cluster.
    Count *wrappers.Int64Value `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"`
    // contains filtered or unexported fields
}

Represents the count of a single category within the cluster.

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Descriptor Uses

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Descriptor() ([]byte, []int)

Deprecated: Use Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount.ProtoReflect.Descriptor instead.

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCategory Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCategory() string

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCount Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCount() *wrappers.Int64Value

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) ProtoMessage Uses

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) ProtoMessage()

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) ProtoReflect Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) ProtoReflect() protoreflect.Message

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Reset Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Reset()

func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) String Uses

func (x *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) String() string

type Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue Uses

type Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue struct {
    // The numerical feature value. This is the centroid value for this
    // feature.
    NumericalValue *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=numerical_value,json=numericalValue,proto3,oneof"`
}

type Model_DataSplitMethod Uses

type Model_DataSplitMethod int32

Indicates the method to split input data into multiple tables.

const (
    Model_DATA_SPLIT_METHOD_UNSPECIFIED Model_DataSplitMethod = 0
    // Splits data randomly.
    Model_RANDOM Model_DataSplitMethod = 1
    // Splits data with the user provided tags.
    Model_CUSTOM Model_DataSplitMethod = 2
    // Splits data sequentially.
    Model_SEQUENTIAL Model_DataSplitMethod = 3
    // Data split will be skipped.
    Model_NO_SPLIT Model_DataSplitMethod = 4
    // Splits data automatically: Uses NO_SPLIT if the data size is small.
    // Otherwise uses RANDOM.
    Model_AUTO_SPLIT Model_DataSplitMethod = 5
)

func (Model_DataSplitMethod) Descriptor Uses

func (Model_DataSplitMethod) Descriptor() protoreflect.EnumDescriptor

func (Model_DataSplitMethod) Enum Uses

func (x Model_DataSplitMethod) Enum() *Model_DataSplitMethod

func (Model_DataSplitMethod) EnumDescriptor Uses

func (Model_DataSplitMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use Model_DataSplitMethod.Descriptor instead.

func (Model_DataSplitMethod) Number Uses

func (x Model_DataSplitMethod) Number() protoreflect.EnumNumber

func (Model_DataSplitMethod) String Uses

func (x Model_DataSplitMethod) String() string

func (Model_DataSplitMethod) Type Uses

func (Model_DataSplitMethod) Type() protoreflect.EnumType

type Model_DistanceType Uses

type Model_DistanceType int32

Distance metric used to compute the distance between two points.

const (
    Model_DISTANCE_TYPE_UNSPECIFIED Model_DistanceType = 0
    // Eculidean distance.
    Model_EUCLIDEAN Model_DistanceType = 1
    // Cosine distance.
    Model_COSINE Model_DistanceType = 2
)

func (Model_DistanceType) Descriptor Uses

func (Model_DistanceType) Descriptor() protoreflect.EnumDescriptor

func (Model_DistanceType) Enum Uses

func (x Model_DistanceType) Enum() *Model_DistanceType

func (Model_DistanceType) EnumDescriptor Uses

func (Model_DistanceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Model_DistanceType.Descriptor instead.

func (Model_DistanceType) Number Uses

func (x Model_DistanceType) Number() protoreflect.EnumNumber

func (Model_DistanceType) String Uses

func (x Model_DistanceType) String() string

func (Model_DistanceType) Type Uses

func (Model_DistanceType) Type() protoreflect.EnumType

type Model_EvaluationMetrics Uses

type Model_EvaluationMetrics struct {

    // Types that are assignable to Metrics:
    //	*Model_EvaluationMetrics_RegressionMetrics
    //	*Model_EvaluationMetrics_BinaryClassificationMetrics
    //	*Model_EvaluationMetrics_MultiClassClassificationMetrics
    //	*Model_EvaluationMetrics_ClusteringMetrics
    Metrics isModel_EvaluationMetrics_Metrics `protobuf_oneof:"metrics"`
    // contains filtered or unexported fields
}

Evaluation metrics of a model. These are either computed on all training data or just the eval data based on whether eval data was used during training. These are not present for imported models.

func (*Model_EvaluationMetrics) Descriptor Uses

func (*Model_EvaluationMetrics) Descriptor() ([]byte, []int)

Deprecated: Use Model_EvaluationMetrics.ProtoReflect.Descriptor instead.

func (*Model_EvaluationMetrics) GetBinaryClassificationMetrics Uses

func (x *Model_EvaluationMetrics) GetBinaryClassificationMetrics() *Model_BinaryClassificationMetrics

func (*Model_EvaluationMetrics) GetClusteringMetrics Uses

func (x *Model_EvaluationMetrics) GetClusteringMetrics() *Model_ClusteringMetrics

func (*Model_EvaluationMetrics) GetMetrics Uses

func (m *Model_EvaluationMetrics) GetMetrics() isModel_EvaluationMetrics_Metrics

func (*Model_EvaluationMetrics) GetMultiClassClassificationMetrics Uses

func (x *Model_EvaluationMetrics) GetMultiClassClassificationMetrics() *Model_MultiClassClassificationMetrics

func (*Model_EvaluationMetrics) GetRegressionMetrics Uses

func (x *Model_EvaluationMetrics) GetRegressionMetrics() *Model_RegressionMetrics

func (*Model_EvaluationMetrics) ProtoMessage Uses

func (*Model_EvaluationMetrics) ProtoMessage()

func (*Model_EvaluationMetrics) ProtoReflect Uses

func (x *Model_EvaluationMetrics) ProtoReflect() protoreflect.Message

func (*Model_EvaluationMetrics) Reset Uses

func (x *Model_EvaluationMetrics) Reset()

func (*Model_EvaluationMetrics) String Uses

func (x *Model_EvaluationMetrics) String() string

type Model_EvaluationMetrics_BinaryClassificationMetrics Uses

type Model_EvaluationMetrics_BinaryClassificationMetrics struct {
    // Populated for binary classification/classifier models.
    BinaryClassificationMetrics *Model_BinaryClassificationMetrics `protobuf:"bytes,2,opt,name=binary_classification_metrics,json=binaryClassificationMetrics,proto3,oneof"`
}

type Model_EvaluationMetrics_ClusteringMetrics Uses

type Model_EvaluationMetrics_ClusteringMetrics struct {
    // Populated for clustering models.
    ClusteringMetrics *Model_ClusteringMetrics `protobuf:"bytes,4,opt,name=clustering_metrics,json=clusteringMetrics,proto3,oneof"`
}

type Model_EvaluationMetrics_MultiClassClassificationMetrics Uses

type Model_EvaluationMetrics_MultiClassClassificationMetrics struct {
    // Populated for multi-class classification/classifier models.
    MultiClassClassificationMetrics *Model_MultiClassClassificationMetrics `protobuf:"bytes,3,opt,name=multi_class_classification_metrics,json=multiClassClassificationMetrics,proto3,oneof"`
}

type Model_EvaluationMetrics_RegressionMetrics Uses

type Model_EvaluationMetrics_RegressionMetrics struct {
    // Populated for regression models and explicit feedback type matrix
    // factorization models.
    RegressionMetrics *Model_RegressionMetrics `protobuf:"bytes,1,opt,name=regression_metrics,json=regressionMetrics,proto3,oneof"`
}

type Model_KmeansEnums Uses

type Model_KmeansEnums struct {
    // contains filtered or unexported fields
}

func (*Model_KmeansEnums) Descriptor Uses

func (*Model_KmeansEnums) Descriptor() ([]byte, []int)

Deprecated: Use Model_KmeansEnums.ProtoReflect.Descriptor instead.

func (*Model_KmeansEnums) ProtoMessage Uses

func (*Model_KmeansEnums) ProtoMessage()

func (*Model_KmeansEnums) ProtoReflect Uses

func (x *Model_KmeansEnums) ProtoReflect() protoreflect.Message

func (*Model_KmeansEnums) Reset Uses

func (x *Model_KmeansEnums) Reset()

func (*Model_KmeansEnums) String Uses

func (x *Model_KmeansEnums) String() string

type Model_KmeansEnums_KmeansInitializationMethod Uses

type Model_KmeansEnums_KmeansInitializationMethod int32

Indicates the method used to initialize the centroids for KMeans clustering algorithm.

const (
    Model_KmeansEnums_KMEANS_INITIALIZATION_METHOD_UNSPECIFIED Model_KmeansEnums_KmeansInitializationMethod = 0
    // Initializes the centroids randomly.
    Model_KmeansEnums_RANDOM Model_KmeansEnums_KmeansInitializationMethod = 1
    // Initializes the centroids using data specified in
    // kmeans_initialization_column.
    Model_KmeansEnums_CUSTOM Model_KmeansEnums_KmeansInitializationMethod = 2
)

func (Model_KmeansEnums_KmeansInitializationMethod) Descriptor Uses

func (Model_KmeansEnums_KmeansInitializationMethod) Descriptor() protoreflect.EnumDescriptor

func (Model_KmeansEnums_KmeansInitializationMethod) Enum Uses

func (x Model_KmeansEnums_KmeansInitializationMethod) Enum() *Model_KmeansEnums_KmeansInitializationMethod

func (Model_KmeansEnums_KmeansInitializationMethod) EnumDescriptor Uses

func (Model_KmeansEnums_KmeansInitializationMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use Model_KmeansEnums_KmeansInitializationMethod.Descriptor instead.

func (Model_KmeansEnums_KmeansInitializationMethod) Number Uses

func (x Model_KmeansEnums_KmeansInitializationMethod) Number() protoreflect.EnumNumber

func (Model_KmeansEnums_KmeansInitializationMethod) String Uses

func (x Model_KmeansEnums_KmeansInitializationMethod) String() string

func (Model_KmeansEnums_KmeansInitializationMethod) Type Uses

func (Model_KmeansEnums_KmeansInitializationMethod) Type() protoreflect.EnumType

type Model_LearnRateStrategy Uses

type Model_LearnRateStrategy int32

Indicates the learning rate optimization strategy to use.

const (
    Model_LEARN_RATE_STRATEGY_UNSPECIFIED Model_LearnRateStrategy = 0
    // Use line search to determine learning rate.
    Model_LINE_SEARCH Model_LearnRateStrategy = 1
    // Use a constant learning rate.
    Model_CONSTANT Model_LearnRateStrategy = 2
)

func (Model_LearnRateStrategy) Descriptor Uses

func (Model_LearnRateStrategy) Descriptor() protoreflect.EnumDescriptor

func (Model_LearnRateStrategy) Enum Uses

func (x Model_LearnRateStrategy) Enum() *Model_LearnRateStrategy

func (Model_LearnRateStrategy) EnumDescriptor Uses

func (Model_LearnRateStrategy) EnumDescriptor() ([]byte, []int)

Deprecated: Use Model_LearnRateStrategy.Descriptor instead.

func (Model_LearnRateStrategy) Number Uses

func (x Model_LearnRateStrategy) Number() protoreflect.EnumNumber

func (Model_LearnRateStrategy) String Uses

func (x Model_LearnRateStrategy) String() string

func (Model_LearnRateStrategy) Type Uses

func (Model_LearnRateStrategy) Type() protoreflect.EnumType

type Model_LossType Uses

type Model_LossType int32

Loss metric to evaluate model training performance.

const (
    Model_LOSS_TYPE_UNSPECIFIED Model_LossType = 0
    // Mean squared loss, used for linear regression.
    Model_MEAN_SQUARED_LOSS Model_LossType = 1
    // Mean log loss, used for logistic regression.
    Model_MEAN_LOG_LOSS Model_LossType = 2
)

func (Model_LossType) Descriptor Uses

func (Model_LossType) Descriptor() protoreflect.EnumDescriptor

func (Model_LossType) Enum Uses

func (x Model_LossType) Enum() *Model_LossType

func (Model_LossType) EnumDescriptor Uses

func (Model_LossType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Model_LossType.Descriptor instead.

func (Model_LossType) Number Uses

func (x Model_LossType) Number() protoreflect.EnumNumber

func (Model_LossType) String Uses

func (x Model_LossType) String() string

func (Model_LossType) Type Uses

func (Model_LossType) Type() protoreflect.EnumType

type Model_ModelType Uses

type Model_ModelType int32

Indicates the type of the Model.

const (
    Model_MODEL_TYPE_UNSPECIFIED Model_ModelType = 0
    // Linear regression model.
    Model_LINEAR_REGRESSION Model_ModelType = 1
    // Logistic regression based classification model.
    Model_LOGISTIC_REGRESSION Model_ModelType = 2
    // K-means clustering model.
    Model_KMEANS Model_ModelType = 3
    // [Beta] An imported TensorFlow model.
    Model_TENSORFLOW Model_ModelType = 6
)

func (Model_ModelType) Descriptor Uses

func (Model_ModelType) Descriptor() protoreflect.EnumDescriptor

func (Model_ModelType) Enum Uses

func (x Model_ModelType) Enum() *Model_ModelType

func (Model_ModelType) EnumDescriptor Uses

func (Model_ModelType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Model_ModelType.Descriptor instead.

func (Model_ModelType) Number Uses

func (x Model_ModelType) Number() protoreflect.EnumNumber

func (Model_ModelType) String Uses

func (x Model_ModelType) String() string

func (Model_ModelType) Type Uses

func (Model_ModelType) Type() protoreflect.EnumType

type Model_MultiClassClassificationMetrics Uses

type Model_MultiClassClassificationMetrics struct {

    // Aggregate classification metrics.
    AggregateClassificationMetrics *Model_AggregateClassificationMetrics `protobuf:"bytes,1,opt,name=aggregate_classification_metrics,json=aggregateClassificationMetrics,proto3" json:"aggregate_classification_metrics,omitempty"`
    // Confusion matrix at different thresholds.
    ConfusionMatrixList []*Model_MultiClassClassificationMetrics_ConfusionMatrix `protobuf:"bytes,2,rep,name=confusion_matrix_list,json=confusionMatrixList,proto3" json:"confusion_matrix_list,omitempty"`
    // contains filtered or unexported fields
}

Evaluation metrics for multi-class classification/classifier models.

func (*Model_MultiClassClassificationMetrics) Descriptor Uses

func (*Model_MultiClassClassificationMetrics) Descriptor() ([]byte, []int)

Deprecated: Use Model_MultiClassClassificationMetrics.ProtoReflect.Descriptor instead.

func (*Model_MultiClassClassificationMetrics) GetAggregateClassificationMetrics Uses

func (x *Model_MultiClassClassificationMetrics) GetAggregateClassificationMetrics() *Model_AggregateClassificationMetrics

func (*Model_MultiClassClassificationMetrics) GetConfusionMatrixList Uses

func (x *Model_MultiClassClassificationMetrics) GetConfusionMatrixList() []*Model_MultiClassClassificationMetrics_ConfusionMatrix

func (*Model_MultiClassClassificationMetrics) ProtoMessage Uses

func (*Model_MultiClassClassificationMetrics) ProtoMessage()

func (*Model_MultiClassClassificationMetrics) ProtoReflect Uses

func (x *Model_MultiClassClassificationMetrics) ProtoReflect() protoreflect.Message

func (*Model_MultiClassClassificationMetrics) Reset Uses

func (x *Model_MultiClassClassificationMetrics) Reset()

func (*Model_MultiClassClassificationMetrics) String Uses

func (x *Model_MultiClassClassificationMetrics) String() string

type Model_MultiClassClassificationMetrics_ConfusionMatrix Uses

type Model_MultiClassClassificationMetrics_ConfusionMatrix struct {

    // Confidence threshold used when computing the entries of the
    // confusion matrix.
    ConfidenceThreshold *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"`
    // One row per actual label.
    Rows []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
    // contains filtered or unexported fields
}

Confusion matrix for multi-class classification models.

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) Descriptor Uses

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int)

Deprecated: Use Model_MultiClassClassificationMetrics_ConfusionMatrix.ProtoReflect.Descriptor instead.

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) GetConfidenceThreshold Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix) GetConfidenceThreshold() *wrappers.DoubleValue

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) GetRows Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix) GetRows() []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) ProtoMessage Uses

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) ProtoMessage()

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) ProtoReflect Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix) ProtoReflect() protoreflect.Message

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) Reset Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix) Reset()

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) String Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix) String() string

type Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry Uses

type Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry struct {

    // The predicted label. For confidence_threshold > 0, we will
    // also add an entry indicating the number of items under the
    // confidence threshold.
    PredictedLabel string `protobuf:"bytes,1,opt,name=predicted_label,json=predictedLabel,proto3" json:"predicted_label,omitempty"`
    // Number of items being predicted as this label.
    ItemCount *wrappers.Int64Value `protobuf:"bytes,2,opt,name=item_count,json=itemCount,proto3" json:"item_count,omitempty"`
    // contains filtered or unexported fields
}

A single entry in the confusion matrix.

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Descriptor Uses

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Descriptor() ([]byte, []int)

Deprecated: Use Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry.ProtoReflect.Descriptor instead.

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetItemCount Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetItemCount() *wrappers.Int64Value

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetPredictedLabel Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetPredictedLabel() string

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) ProtoMessage Uses

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) ProtoMessage()

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) ProtoReflect Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) ProtoReflect() protoreflect.Message

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Reset Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Reset()

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) String Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) String() string

type Model_MultiClassClassificationMetrics_ConfusionMatrix_Row Uses

type Model_MultiClassClassificationMetrics_ConfusionMatrix_Row struct {

    // The original label of this row.
    ActualLabel string `protobuf:"bytes,1,opt,name=actual_label,json=actualLabel,proto3" json:"actual_label,omitempty"`
    // Info describing predicted label distribution.
    Entries []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
    // contains filtered or unexported fields
}

A single row in the confusion matrix.

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Descriptor Uses

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int)

Deprecated: Use Model_MultiClassClassificationMetrics_ConfusionMatrix_Row.ProtoReflect.Descriptor instead.

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetActualLabel Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetActualLabel() string

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetEntries Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetEntries() []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) ProtoMessage Uses

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) ProtoMessage()

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) ProtoReflect Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) ProtoReflect() protoreflect.Message

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Reset Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Reset()

func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) String Uses

func (x *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) String() string

type Model_OptimizationStrategy Uses

type Model_OptimizationStrategy int32

Indicates the optimization strategy used for training.

const (
    Model_OPTIMIZATION_STRATEGY_UNSPECIFIED Model_OptimizationStrategy = 0
    // Uses an iterative batch gradient descent algorithm.
    Model_BATCH_GRADIENT_DESCENT Model_OptimizationStrategy = 1
    // Uses a normal equation to solve linear regression problem.
    Model_NORMAL_EQUATION Model_OptimizationStrategy = 2
)

func (Model_OptimizationStrategy) Descriptor Uses

func (Model_OptimizationStrategy) Descriptor() protoreflect.EnumDescriptor

func (Model_OptimizationStrategy) Enum Uses

func (x Model_OptimizationStrategy) Enum() *Model_OptimizationStrategy

func (Model_OptimizationStrategy) EnumDescriptor Uses

func (Model_OptimizationStrategy) EnumDescriptor() ([]byte, []int)

Deprecated: Use Model_OptimizationStrategy.Descriptor instead.

func (Model_OptimizationStrategy) Number Uses

func (x Model_OptimizationStrategy) Number() protoreflect.EnumNumber

func (Model_OptimizationStrategy) String Uses

func (x Model_OptimizationStrategy) String() string

func (Model_OptimizationStrategy) Type Uses

func (Model_OptimizationStrategy) Type() protoreflect.EnumType

type Model_RegressionMetrics Uses

type Model_RegressionMetrics struct {

    // Mean absolute error.
    MeanAbsoluteError *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=mean_absolute_error,json=meanAbsoluteError,proto3" json:"mean_absolute_error,omitempty"`
    // Mean squared error.
    MeanSquaredError *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=mean_squared_error,json=meanSquaredError,proto3" json:"mean_squared_error,omitempty"`
    // Mean squared log error.
    MeanSquaredLogError *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=mean_squared_log_error,json=meanSquaredLogError,proto3" json:"mean_squared_log_error,omitempty"`
    // Median absolute error.
    MedianAbsoluteError *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=median_absolute_error,json=medianAbsoluteError,proto3" json:"median_absolute_error,omitempty"`
    // R^2 score.
    RSquared *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=r_squared,json=rSquared,proto3" json:"r_squared,omitempty"`
    // contains filtered or unexported fields
}

Evaluation metrics for regression and explicit feedback type matrix factorization models.

func (*Model_RegressionMetrics) Descriptor Uses

func (*Model_RegressionMetrics) Descriptor() ([]byte, []int)

Deprecated: Use Model_RegressionMetrics.ProtoReflect.Descriptor instead.

func (*Model_RegressionMetrics) GetMeanAbsoluteError Uses

func (x *Model_RegressionMetrics) GetMeanAbsoluteError() *wrappers.DoubleValue

func (*Model_RegressionMetrics) GetMeanSquaredError Uses

func (x *Model_RegressionMetrics) GetMeanSquaredError() *wrappers.DoubleValue

func (*Model_RegressionMetrics) GetMeanSquaredLogError Uses

func (x *Model_RegressionMetrics) GetMeanSquaredLogError() *wrappers.DoubleValue

func (*Model_RegressionMetrics) GetMedianAbsoluteError Uses

func (x *Model_RegressionMetrics) GetMedianAbsoluteError() *wrappers.DoubleValue

func (*Model_RegressionMetrics) GetRSquared Uses

func (x *Model_RegressionMetrics) GetRSquared() *wrappers.DoubleValue

func (*Model_RegressionMetrics) ProtoMessage Uses

func (*Model_RegressionMetrics) ProtoMessage()

func (*Model_RegressionMetrics) ProtoReflect Uses

func (x *Model_RegressionMetrics) ProtoReflect() protoreflect.Message

func (*Model_RegressionMetrics) Reset Uses

func (x *Model_RegressionMetrics) Reset()

func (*Model_RegressionMetrics) String Uses

func (x *Model_RegressionMetrics) String() string

type Model_TrainingRun Uses

type Model_TrainingRun struct {

    // Options that were used for this training run, includes
    // user specified and default options that were used.
    TrainingOptions *Model_TrainingRun_TrainingOptions `protobuf:"bytes,1,opt,name=training_options,json=trainingOptions,proto3" json:"training_options,omitempty"`
    // The start time of this training run.
    StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Output of each iteration run, results.size() <= max_iterations.
    Results []*Model_TrainingRun_IterationResult `protobuf:"bytes,6,rep,name=results,proto3" json:"results,omitempty"`
    // The evaluation metrics over training/eval data that were computed at the
    // end of training.
    EvaluationMetrics *Model_EvaluationMetrics `protobuf:"bytes,7,opt,name=evaluation_metrics,json=evaluationMetrics,proto3" json:"evaluation_metrics,omitempty"`
    // contains filtered or unexported fields
}

Information about a single training query run for the model.

func (*Model_TrainingRun) Descriptor Uses

func (*Model_TrainingRun) Descriptor() ([]byte, []int)

Deprecated: Use Model_TrainingRun.ProtoReflect.Descriptor instead.

func (*Model_TrainingRun) GetEvaluationMetrics Uses

func (x *Model_TrainingRun) GetEvaluationMetrics() *Model_EvaluationMetrics

func (*Model_TrainingRun) GetResults Uses

func (x *Model_TrainingRun) GetResults() []*Model_TrainingRun_IterationResult

func (*Model_TrainingRun) GetStartTime Uses

func (x *Model_TrainingRun) GetStartTime() *timestamp.Timestamp

func (*Model_TrainingRun) GetTrainingOptions Uses

func (x *Model_TrainingRun) GetTrainingOptions() *Model_TrainingRun_TrainingOptions

func (*Model_TrainingRun) ProtoMessage Uses

func (*Model_TrainingRun) ProtoMessage()

func (*Model_TrainingRun) ProtoReflect Uses

func (x *Model_TrainingRun) ProtoReflect() protoreflect.Message

func (*Model_TrainingRun) Reset Uses

func (x *Model_TrainingRun) Reset()

func (*Model_TrainingRun) String Uses

func (x *Model_TrainingRun) String() string

type Model_TrainingRun_IterationResult Uses

type Model_TrainingRun_IterationResult struct {

    // Index of the iteration, 0 based.
    Index *wrappers.Int32Value `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
    // Time taken to run the iteration in milliseconds.
    DurationMs *wrappers.Int64Value `protobuf:"bytes,4,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
    // Loss computed on the training data at the end of iteration.
    TrainingLoss *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=training_loss,json=trainingLoss,proto3" json:"training_loss,omitempty"`
    // Loss computed on the eval data at the end of iteration.
    EvalLoss *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=eval_loss,json=evalLoss,proto3" json:"eval_loss,omitempty"`
    // Learn rate used for this iteration.
    LearnRate float64 `protobuf:"fixed64,7,opt,name=learn_rate,json=learnRate,proto3" json:"learn_rate,omitempty"`
    // Information about top clusters for clustering models.
    ClusterInfos []*Model_TrainingRun_IterationResult_ClusterInfo `protobuf:"bytes,8,rep,name=cluster_infos,json=clusterInfos,proto3" json:"cluster_infos,omitempty"`
    // contains filtered or unexported fields
}

Information about a single iteration of the training run.

func (*Model_TrainingRun_IterationResult) Descriptor Uses

func (*Model_TrainingRun_IterationResult) Descriptor() ([]byte, []int)

Deprecated: Use Model_TrainingRun_IterationResult.ProtoReflect.Descriptor instead.

func (*Model_TrainingRun_IterationResult) GetClusterInfos Uses

func (x *Model_TrainingRun_IterationResult) GetClusterInfos() []*Model_TrainingRun_IterationResult_ClusterInfo

func (*Model_TrainingRun_IterationResult) GetDurationMs Uses

func (x *Model_TrainingRun_IterationResult) GetDurationMs() *wrappers.Int64Value

func (*Model_TrainingRun_IterationResult) GetEvalLoss Uses

func (x *Model_TrainingRun_IterationResult) GetEvalLoss() *wrappers.DoubleValue

func (*Model_TrainingRun_IterationResult) GetIndex Uses

func (x *Model_TrainingRun_IterationResult) GetIndex() *wrappers.Int32Value

func (*Model_TrainingRun_IterationResult) GetLearnRate Uses

func (x *Model_TrainingRun_IterationResult) GetLearnRate() float64

func (*Model_TrainingRun_IterationResult) GetTrainingLoss Uses

func (x *Model_TrainingRun_IterationResult) GetTrainingLoss() *wrappers.DoubleValue

func (*Model_TrainingRun_IterationResult) ProtoMessage Uses

func (*Model_TrainingRun_IterationResult) ProtoMessage()

func (*Model_TrainingRun_IterationResult) ProtoReflect Uses

func (x *Model_TrainingRun_IterationResult) ProtoReflect() protoreflect.Message

func (*Model_TrainingRun_IterationResult) Reset Uses

func (x *Model_TrainingRun_IterationResult) Reset()

func (*Model_TrainingRun_IterationResult) String Uses

func (x *Model_TrainingRun_IterationResult) String() string

type Model_TrainingRun_IterationResult_ClusterInfo Uses

type Model_TrainingRun_IterationResult_ClusterInfo struct {

    // Centroid id.
    CentroidId int64 `protobuf:"varint,1,opt,name=centroid_id,json=centroidId,proto3" json:"centroid_id,omitempty"`
    // Cluster radius, the average distance from centroid
    // to each point assigned to the cluster.
    ClusterRadius *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=cluster_radius,json=clusterRadius,proto3" json:"cluster_radius,omitempty"`
    // Cluster size, the total number of points assigned to the cluster.
    ClusterSize *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"`
    // contains filtered or unexported fields
}

Information about a single cluster for clustering model.

func (*Model_TrainingRun_IterationResult_ClusterInfo) Descriptor Uses

func (*Model_TrainingRun_IterationResult_ClusterInfo) Descriptor() ([]byte, []int)

Deprecated: Use Model_TrainingRun_IterationResult_ClusterInfo.ProtoReflect.Descriptor instead.

func (*Model_TrainingRun_IterationResult_ClusterInfo) GetCentroidId Uses

func (x *Model_TrainingRun_IterationResult_ClusterInfo) GetCentroidId() int64

func (*Model_TrainingRun_IterationResult_ClusterInfo) GetClusterRadius Uses

func (x *Model_TrainingRun_IterationResult_ClusterInfo) GetClusterRadius() *wrappers.DoubleValue

func (*Model_TrainingRun_IterationResult_ClusterInfo) GetClusterSize Uses

func (x *Model_TrainingRun_IterationResult_ClusterInfo) GetClusterSize() *wrappers.Int64Value

func (*Model_TrainingRun_IterationResult_ClusterInfo) ProtoMessage Uses

func (*Model_TrainingRun_IterationResult_ClusterInfo) ProtoMessage()

func (*Model_TrainingRun_IterationResult_ClusterInfo) ProtoReflect Uses

func (x *Model_TrainingRun_IterationResult_ClusterInfo) ProtoReflect() protoreflect.Message

func (*Model_TrainingRun_IterationResult_ClusterInfo) Reset Uses

func (x *Model_TrainingRun_IterationResult_ClusterInfo) Reset()

func (*Model_TrainingRun_IterationResult_ClusterInfo) String Uses

func (x *Model_TrainingRun_IterationResult_ClusterInfo) String() string

type Model_TrainingRun_TrainingOptions Uses

type Model_TrainingRun_TrainingOptions struct {

    // The maximum number of iterations in training. Used only for iterative
    // training algorithms.
    MaxIterations int64 `protobuf:"varint,1,opt,name=max_iterations,json=maxIterations,proto3" json:"max_iterations,omitempty"`
    // Type of loss function used during training run.
    LossType Model_LossType `protobuf:"varint,2,opt,name=loss_type,json=lossType,proto3,enum=google.cloud.bigquery.v2.Model_LossType" json:"loss_type,omitempty"`
    // Learning rate in training. Used only for iterative training algorithms.
    LearnRate float64 `protobuf:"fixed64,3,opt,name=learn_rate,json=learnRate,proto3" json:"learn_rate,omitempty"`
    // L1 regularization coefficient.
    L1Regularization *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=l1_regularization,json=l1Regularization,proto3" json:"l1_regularization,omitempty"`
    // L2 regularization coefficient.
    L2Regularization *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=l2_regularization,json=l2Regularization,proto3" json:"l2_regularization,omitempty"`
    // When early_stop is true, stops training when accuracy improvement is
    // less than 'min_relative_progress'. Used only for iterative training
    // algorithms.
    MinRelativeProgress *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=min_relative_progress,json=minRelativeProgress,proto3" json:"min_relative_progress,omitempty"`
    // Whether to train a model from the last checkpoint.
    WarmStart *wrappers.BoolValue `protobuf:"bytes,7,opt,name=warm_start,json=warmStart,proto3" json:"warm_start,omitempty"`
    // Whether to stop early when the loss doesn't improve significantly
    // any more (compared to min_relative_progress). Used only for iterative
    // training algorithms.
    EarlyStop *wrappers.BoolValue `protobuf:"bytes,8,opt,name=early_stop,json=earlyStop,proto3" json:"early_stop,omitempty"`
    // Name of input label columns in training data.
    InputLabelColumns []string `protobuf:"bytes,9,rep,name=input_label_columns,json=inputLabelColumns,proto3" json:"input_label_columns,omitempty"`
    // The data split type for training and evaluation, e.g. RANDOM.
    DataSplitMethod Model_DataSplitMethod `protobuf:"varint,10,opt,name=data_split_method,json=dataSplitMethod,proto3,enum=google.cloud.bigquery.v2.Model_DataSplitMethod" json:"data_split_method,omitempty"`
    // The fraction of evaluation data over the whole input data. The rest
    // of data will be used as training data. The format should be double.
    // Accurate to two decimal places.
    // Default value is 0.2.
    DataSplitEvalFraction float64 `protobuf:"fixed64,11,opt,name=data_split_eval_fraction,json=dataSplitEvalFraction,proto3" json:"data_split_eval_fraction,omitempty"`
    // The column to split data with. This column won't be used as a
    // feature.
    // 1. When data_split_method is CUSTOM, the corresponding column should
    // be boolean. The rows with true value tag are eval data, and the false
    // are training data.
    // 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION
    // rows (from smallest to largest) in the corresponding column are used
    // as training data, and the rest are eval data. It respects the order
    // in Orderable data types:
    // https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data-type-properties
    DataSplitColumn string `protobuf:"bytes,12,opt,name=data_split_column,json=dataSplitColumn,proto3" json:"data_split_column,omitempty"`
    // The strategy to determine learn rate for the current iteration.
    LearnRateStrategy Model_LearnRateStrategy `protobuf:"varint,13,opt,name=learn_rate_strategy,json=learnRateStrategy,proto3,enum=google.cloud.bigquery.v2.Model_LearnRateStrategy" json:"learn_rate_strategy,omitempty"`
    // Specifies the initial learning rate for the line search learn rate
    // strategy.
    InitialLearnRate float64 `protobuf:"fixed64,16,opt,name=initial_learn_rate,json=initialLearnRate,proto3" json:"initial_learn_rate,omitempty"`
    // Weights associated with each label class, for rebalancing the
    // training data. Only applicable for classification models.
    LabelClassWeights map[string]float64 `protobuf:"bytes,17,rep,name=label_class_weights,json=labelClassWeights,proto3" json:"label_class_weights,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
    // Distance type for clustering models.
    DistanceType Model_DistanceType `protobuf:"varint,20,opt,name=distance_type,json=distanceType,proto3,enum=google.cloud.bigquery.v2.Model_DistanceType" json:"distance_type,omitempty"`
    // Number of clusters for clustering models.
    NumClusters int64 `protobuf:"varint,21,opt,name=num_clusters,json=numClusters,proto3" json:"num_clusters,omitempty"`
    // [Beta] Google Cloud Storage URI from which the model was imported. Only
    // applicable for imported models.
    ModelUri string `protobuf:"bytes,22,opt,name=model_uri,json=modelUri,proto3" json:"model_uri,omitempty"`
    // Optimization strategy for training linear regression models.
    OptimizationStrategy Model_OptimizationStrategy `protobuf:"varint,23,opt,name=optimization_strategy,json=optimizationStrategy,proto3,enum=google.cloud.bigquery.v2.Model_OptimizationStrategy" json:"optimization_strategy,omitempty"`
    // The method used to initialize the centroids for kmeans algorithm.
    KmeansInitializationMethod Model_KmeansEnums_KmeansInitializationMethod `protobuf:"varint,33,opt,name=kmeans_initialization_method,json=kmeansInitializationMethod,proto3,enum=google.cloud.bigquery.v2.Model_KmeansEnums_KmeansInitializationMethod" json:"kmeans_initialization_method,omitempty"`
    // The column used to provide the initial centroids for kmeans algorithm
    // when kmeans_initialization_method is CUSTOM.
    KmeansInitializationColumn string `protobuf:"bytes,34,opt,name=kmeans_initialization_column,json=kmeansInitializationColumn,proto3" json:"kmeans_initialization_column,omitempty"`
    // contains filtered or unexported fields
}

func (*Model_TrainingRun_TrainingOptions) Descriptor Uses

func (*Model_TrainingRun_TrainingOptions) Descriptor() ([]byte, []int)

Deprecated: Use Model_TrainingRun_TrainingOptions.ProtoReflect.Descriptor instead.

func (*Model_TrainingRun_TrainingOptions) GetDataSplitColumn Uses

func (x *Model_TrainingRun_TrainingOptions) GetDataSplitColumn() string

func (*Model_TrainingRun_TrainingOptions) GetDataSplitEvalFraction Uses

func (x *Model_TrainingRun_TrainingOptions) GetDataSplitEvalFraction() float64

func (*Model_TrainingRun_TrainingOptions) GetDataSplitMethod Uses

func (x *Model_TrainingRun_TrainingOptions) GetDataSplitMethod() Model_DataSplitMethod

func (*Model_TrainingRun_TrainingOptions) GetDistanceType Uses

func (x *Model_TrainingRun_TrainingOptions) GetDistanceType() Model_DistanceType

func (*Model_TrainingRun_TrainingOptions) GetEarlyStop Uses

func (x *Model_TrainingRun_TrainingOptions) GetEarlyStop() *wrappers.BoolValue

func (*Model_TrainingRun_TrainingOptions) GetInitialLearnRate Uses

func (x *Model_TrainingRun_TrainingOptions) GetInitialLearnRate() float64

func (*Model_TrainingRun_TrainingOptions) GetInputLabelColumns Uses

func (x *Model_TrainingRun_TrainingOptions) GetInputLabelColumns() []string

func (*Model_TrainingRun_TrainingOptions) GetKmeansInitializationColumn Uses

func (x *Model_TrainingRun_TrainingOptions) GetKmeansInitializationColumn() string

func (*Model_TrainingRun_TrainingOptions) GetKmeansInitializationMethod Uses

func (x *Model_TrainingRun_TrainingOptions) GetKmeansInitializationMethod() Model_KmeansEnums_KmeansInitializationMethod

func (*Model_TrainingRun_TrainingOptions) GetL1Regularization Uses

func (x *Model_TrainingRun_TrainingOptions) GetL1Regularization() *wrappers.DoubleValue

func (*Model_TrainingRun_TrainingOptions) GetL2Regularization Uses

func (x *Model_TrainingRun_TrainingOptions) GetL2Regularization() *wrappers.DoubleValue

func (*Model_TrainingRun_TrainingOptions) GetLabelClassWeights Uses

func (x *Model_TrainingRun_TrainingOptions) GetLabelClassWeights() map[string]float64

func (*Model_TrainingRun_TrainingOptions) GetLearnRate Uses

func (x *Model_TrainingRun_TrainingOptions) GetLearnRate() float64

func (*Model_TrainingRun_TrainingOptions) GetLearnRateStrategy Uses

func (x *Model_TrainingRun_TrainingOptions) GetLearnRateStrategy() Model_LearnRateStrategy

func (*Model_TrainingRun_TrainingOptions) GetLossType Uses

func (x *Model_TrainingRun_TrainingOptions) GetLossType() Model_LossType

func (*Model_TrainingRun_TrainingOptions) GetMaxIterations Uses

func (x *Model_TrainingRun_TrainingOptions) GetMaxIterations() int64

func (*Model_TrainingRun_TrainingOptions) GetMinRelativeProgress Uses

func (x *Model_TrainingRun_TrainingOptions) GetMinRelativeProgress() *wrappers.DoubleValue

func (*Model_TrainingRun_TrainingOptions) GetModelUri Uses

func (x *Model_TrainingRun_TrainingOptions) GetModelUri() string

func (*Model_TrainingRun_TrainingOptions) GetNumClusters Uses

func (x *Model_TrainingRun_TrainingOptions) GetNumClusters() int64

func (*Model_TrainingRun_TrainingOptions) GetOptimizationStrategy Uses

func (x *Model_TrainingRun_TrainingOptions) GetOptimizationStrategy() Model_OptimizationStrategy

func (*Model_TrainingRun_TrainingOptions) GetWarmStart Uses

func (x *Model_TrainingRun_TrainingOptions) GetWarmStart() *wrappers.BoolValue

func (*Model_TrainingRun_TrainingOptions) ProtoMessage Uses

func (*Model_TrainingRun_TrainingOptions) ProtoMessage()

func (*Model_TrainingRun_TrainingOptions) ProtoReflect Uses

func (x *Model_TrainingRun_TrainingOptions) ProtoReflect() protoreflect.Message

func (*Model_TrainingRun_TrainingOptions) Reset Uses

func (x *Model_TrainingRun_TrainingOptions) Reset()

func (*Model_TrainingRun_TrainingOptions) String Uses

func (x *Model_TrainingRun_TrainingOptions) String() string

type PatchModelRequest Uses

type PatchModelRequest struct {

    // Required. Project ID of the model to patch.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. Dataset ID of the model to patch.
    DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
    // Required. Model ID of the model to patch.
    ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
    // Required. Patched model.
    // Follows RFC5789 patch semantics. Missing fields are not updated.
    // To clear a field, explicitly set to default value.
    Model *Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
    // contains filtered or unexported fields
}

func (*PatchModelRequest) Descriptor Uses

func (*PatchModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use PatchModelRequest.ProtoReflect.Descriptor instead.

func (*PatchModelRequest) GetDatasetId Uses

func (x *PatchModelRequest) GetDatasetId() string

func (*PatchModelRequest) GetModel Uses

func (x *PatchModelRequest) GetModel() *Model

func (*PatchModelRequest) GetModelId Uses

func (x *PatchModelRequest) GetModelId() string

func (*PatchModelRequest) GetProjectId Uses

func (x *PatchModelRequest) GetProjectId() string

func (*PatchModelRequest) ProtoMessage Uses

func (*PatchModelRequest) ProtoMessage()

func (*PatchModelRequest) ProtoReflect Uses

func (x *PatchModelRequest) ProtoReflect() protoreflect.Message

func (*PatchModelRequest) Reset Uses

func (x *PatchModelRequest) Reset()

func (*PatchModelRequest) String Uses

func (x *PatchModelRequest) String() string

type StandardSqlDataType Uses

type StandardSqlDataType struct {

    // Required. The top level type of this field.
    // Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY").
    TypeKind StandardSqlDataType_TypeKind `protobuf:"varint,1,opt,name=type_kind,json=typeKind,proto3,enum=google.cloud.bigquery.v2.StandardSqlDataType_TypeKind" json:"type_kind,omitempty"`
    // Types that are assignable to SubType:
    //	*StandardSqlDataType_ArrayElementType
    //	*StandardSqlDataType_StructType
    SubType isStandardSqlDataType_SubType `protobuf_oneof:"sub_type"`
    // contains filtered or unexported fields
}

The type of a variable, e.g., a function argument. Examples: INT64: {type_kind="INT64"} ARRAY<STRING>: {type_kind="ARRAY", array_element_type="STRING"} STRUCT<x STRING, y ARRAY<DATE>>:

{type_kind="STRUCT",
 struct_type={fields=[
   {name="x", type={type_kind="STRING"}},
   {name="y", type={type_kind="ARRAY", array_element_type="DATE"}}
 ]}}

func (*StandardSqlDataType) Descriptor Uses

func (*StandardSqlDataType) Descriptor() ([]byte, []int)

Deprecated: Use StandardSqlDataType.ProtoReflect.Descriptor instead.

func (*StandardSqlDataType) GetArrayElementType Uses

func (x *StandardSqlDataType) GetArrayElementType() *StandardSqlDataType

func (*StandardSqlDataType) GetStructType Uses

func (x *StandardSqlDataType) GetStructType() *StandardSqlStructType

func (*StandardSqlDataType) GetSubType Uses

func (m *StandardSqlDataType) GetSubType() isStandardSqlDataType_SubType

func (*StandardSqlDataType) GetTypeKind Uses

func (x *StandardSqlDataType) GetTypeKind() StandardSqlDataType_TypeKind

func (*StandardSqlDataType) ProtoMessage Uses

func (*StandardSqlDataType) ProtoMessage()

func (*StandardSqlDataType) ProtoReflect Uses

func (x *StandardSqlDataType) ProtoReflect() protoreflect.Message

func (*StandardSqlDataType) Reset Uses

func (x *StandardSqlDataType) Reset()

func (*StandardSqlDataType) String Uses

func (x *StandardSqlDataType) String() string

type StandardSqlDataType_ArrayElementType Uses

type StandardSqlDataType_ArrayElementType struct {
    // The type of the array's elements, if type_kind = "ARRAY".
    ArrayElementType *StandardSqlDataType `protobuf:"bytes,2,opt,name=array_element_type,json=arrayElementType,proto3,oneof"`
}

type StandardSqlDataType_StructType Uses

type StandardSqlDataType_StructType struct {
    // The fields of this struct, in order, if type_kind = "STRUCT".
    StructType *StandardSqlStructType `protobuf:"bytes,3,opt,name=struct_type,json=structType,proto3,oneof"`
}

type StandardSqlDataType_TypeKind Uses

type StandardSqlDataType_TypeKind int32
const (
    // Invalid type.
    StandardSqlDataType_TYPE_KIND_UNSPECIFIED StandardSqlDataType_TypeKind = 0
    // Encoded as a string in decimal format.
    StandardSqlDataType_INT64 StandardSqlDataType_TypeKind = 2
    // Encoded as a boolean "false" or "true".
    StandardSqlDataType_BOOL StandardSqlDataType_TypeKind = 5
    // Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
    StandardSqlDataType_FLOAT64 StandardSqlDataType_TypeKind = 7
    // Encoded as a string value.
    StandardSqlDataType_STRING StandardSqlDataType_TypeKind = 8
    // Encoded as a base64 string per RFC 4648, section 4.
    StandardSqlDataType_BYTES StandardSqlDataType_TypeKind = 9
    // Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string:
    // 1985-04-12T23:20:50.52Z
    StandardSqlDataType_TIMESTAMP StandardSqlDataType_TypeKind = 19
    // Encoded as RFC 3339 full-date format string: 1985-04-12
    StandardSqlDataType_DATE StandardSqlDataType_TypeKind = 10
    // Encoded as RFC 3339 partial-time format string: 23:20:50.52
    StandardSqlDataType_TIME StandardSqlDataType_TypeKind = 20
    // Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
    StandardSqlDataType_DATETIME StandardSqlDataType_TypeKind = 21
    // Encoded as WKT
    StandardSqlDataType_GEOGRAPHY StandardSqlDataType_TypeKind = 22
    // Encoded as a decimal string.
    StandardSqlDataType_NUMERIC StandardSqlDataType_TypeKind = 23
    // Encoded as a list with types matching Type.array_type.
    StandardSqlDataType_ARRAY StandardSqlDataType_TypeKind = 16
    // Encoded as a list with fields of type Type.struct_type[i]. List is used
    // because a JSON object cannot have duplicate field names.
    StandardSqlDataType_STRUCT StandardSqlDataType_TypeKind = 17
)

func (StandardSqlDataType_TypeKind) Descriptor Uses

func (StandardSqlDataType_TypeKind) Descriptor() protoreflect.EnumDescriptor

func (StandardSqlDataType_TypeKind) Enum Uses

func (x StandardSqlDataType_TypeKind) Enum() *StandardSqlDataType_TypeKind

func (StandardSqlDataType_TypeKind) EnumDescriptor Uses

func (StandardSqlDataType_TypeKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use StandardSqlDataType_TypeKind.Descriptor instead.

func (StandardSqlDataType_TypeKind) Number Uses

func (x StandardSqlDataType_TypeKind) Number() protoreflect.EnumNumber

func (StandardSqlDataType_TypeKind) String Uses

func (x StandardSqlDataType_TypeKind) String() string

func (StandardSqlDataType_TypeKind) Type Uses

func (StandardSqlDataType_TypeKind) Type() protoreflect.EnumType

type StandardSqlField Uses

type StandardSqlField struct {

    // Optional. The name of this field. Can be absent for struct fields.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The type of this parameter. Absent if not explicitly
    // specified (e.g., CREATE FUNCTION statement can omit the return type;
    // in this case the output parameter does not have this "type" field).
    Type *StandardSqlDataType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
    // contains filtered or unexported fields
}

A field or a column.

func (*StandardSqlField) Descriptor Uses

func (*StandardSqlField) Descriptor() ([]byte, []int)

Deprecated: Use StandardSqlField.ProtoReflect.Descriptor instead.

func (*StandardSqlField) GetName Uses

func (x *StandardSqlField) GetName() string

func (*StandardSqlField) GetType Uses

func (x *StandardSqlField) GetType() *StandardSqlDataType

func (*StandardSqlField) ProtoMessage Uses

func (*StandardSqlField) ProtoMessage()

func (*StandardSqlField) ProtoReflect Uses

func (x *StandardSqlField) ProtoReflect() protoreflect.Message

func (*StandardSqlField) Reset Uses

func (x *StandardSqlField) Reset()

func (*StandardSqlField) String Uses

func (x *StandardSqlField) String() string

type StandardSqlStructType Uses

type StandardSqlStructType struct {
    Fields []*StandardSqlField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
    // contains filtered or unexported fields
}

func (*StandardSqlStructType) Descriptor Uses

func (*StandardSqlStructType) Descriptor() ([]byte, []int)

Deprecated: Use StandardSqlStructType.ProtoReflect.Descriptor instead.

func (*StandardSqlStructType) GetFields Uses

func (x *StandardSqlStructType) GetFields() []*StandardSqlField

func (*StandardSqlStructType) ProtoMessage Uses

func (*StandardSqlStructType) ProtoMessage()

func (*StandardSqlStructType) ProtoReflect Uses

func (x *StandardSqlStructType) ProtoReflect() protoreflect.Message

func (*StandardSqlStructType) Reset Uses

func (x *StandardSqlStructType) Reset()

func (*StandardSqlStructType) String Uses

func (x *StandardSqlStructType) String() string

type UnimplementedModelServiceServer Uses

type UnimplementedModelServiceServer struct {
}

UnimplementedModelServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedModelServiceServer) DeleteModel Uses

func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*empty.Empty, error)

func (*UnimplementedModelServiceServer) GetModel Uses

func (*UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*Model, error)

func (*UnimplementedModelServiceServer) ListModels Uses

func (*UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)

func (*UnimplementedModelServiceServer) PatchModel Uses

func (*UnimplementedModelServiceServer) PatchModel(context.Context, *PatchModelRequest) (*Model, error)

Package bigquery imports 13 packages (graph). Updated 2020-06-17. Refresh now. Tools for package owners.