blob: 9cbfe0208cc32c88924f17cdd439d32ae97fab92 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/recommendationengine/v1beta1/import.proto
package recommendationengine
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "google.golang.org/genproto/googleapis/api/annotations"
status "google.golang.org/genproto/googleapis/rpc/status"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Google Cloud Storage location for input content.
// format.
type GcsSource struct {
// Required. Google Cloud Storage URIs to input files. URI can be up to
// 2000 characters long. URIs can match the full object path (for example,
// gs://bucket/directory/object.json) or a pattern matching one or more
// files, such as gs://bucket/directory/*.json. A request can
// contain at most 100 files, and each file can be up to 2 GB. See
// [Importing catalog information](/recommendations-ai/docs/upload-catalog)
// for the expected file format and setup instructions.
InputUris []string `protobuf:"bytes,1,rep,name=input_uris,json=inputUris,proto3" json:"input_uris,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GcsSource) Reset() { *m = GcsSource{} }
func (m *GcsSource) String() string { return proto.CompactTextString(m) }
func (*GcsSource) ProtoMessage() {}
func (*GcsSource) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{0}
}
func (m *GcsSource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GcsSource.Unmarshal(m, b)
}
func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic)
}
func (m *GcsSource) XXX_Merge(src proto.Message) {
xxx_messageInfo_GcsSource.Merge(m, src)
}
func (m *GcsSource) XXX_Size() int {
return xxx_messageInfo_GcsSource.Size(m)
}
func (m *GcsSource) XXX_DiscardUnknown() {
xxx_messageInfo_GcsSource.DiscardUnknown(m)
}
var xxx_messageInfo_GcsSource proto.InternalMessageInfo
func (m *GcsSource) GetInputUris() []string {
if m != nil {
return m.InputUris
}
return nil
}
// The inline source for the input config for ImportCatalogItems method.
type CatalogInlineSource struct {
// Optional. A list of catalog items to update/create. Recommended max of 10k
// items.
CatalogItems []*CatalogItem `protobuf:"bytes,1,rep,name=catalog_items,json=catalogItems,proto3" json:"catalog_items,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CatalogInlineSource) Reset() { *m = CatalogInlineSource{} }
func (m *CatalogInlineSource) String() string { return proto.CompactTextString(m) }
func (*CatalogInlineSource) ProtoMessage() {}
func (*CatalogInlineSource) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{1}
}
func (m *CatalogInlineSource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CatalogInlineSource.Unmarshal(m, b)
}
func (m *CatalogInlineSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CatalogInlineSource.Marshal(b, m, deterministic)
}
func (m *CatalogInlineSource) XXX_Merge(src proto.Message) {
xxx_messageInfo_CatalogInlineSource.Merge(m, src)
}
func (m *CatalogInlineSource) XXX_Size() int {
return xxx_messageInfo_CatalogInlineSource.Size(m)
}
func (m *CatalogInlineSource) XXX_DiscardUnknown() {
xxx_messageInfo_CatalogInlineSource.DiscardUnknown(m)
}
var xxx_messageInfo_CatalogInlineSource proto.InternalMessageInfo
func (m *CatalogInlineSource) GetCatalogItems() []*CatalogItem {
if m != nil {
return m.CatalogItems
}
return nil
}
// The inline source for the input config for ImportUserEvents method.
type UserEventInlineSource struct {
// Optional. A list of user events to import. Recommended max of 10k items.
UserEvents []*UserEvent `protobuf:"bytes,1,rep,name=user_events,json=userEvents,proto3" json:"user_events,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UserEventInlineSource) Reset() { *m = UserEventInlineSource{} }
func (m *UserEventInlineSource) String() string { return proto.CompactTextString(m) }
func (*UserEventInlineSource) ProtoMessage() {}
func (*UserEventInlineSource) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{2}
}
func (m *UserEventInlineSource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserEventInlineSource.Unmarshal(m, b)
}
func (m *UserEventInlineSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserEventInlineSource.Marshal(b, m, deterministic)
}
func (m *UserEventInlineSource) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserEventInlineSource.Merge(m, src)
}
func (m *UserEventInlineSource) XXX_Size() int {
return xxx_messageInfo_UserEventInlineSource.Size(m)
}
func (m *UserEventInlineSource) XXX_DiscardUnknown() {
xxx_messageInfo_UserEventInlineSource.DiscardUnknown(m)
}
var xxx_messageInfo_UserEventInlineSource proto.InternalMessageInfo
func (m *UserEventInlineSource) GetUserEvents() []*UserEvent {
if m != nil {
return m.UserEvents
}
return nil
}
// Configuration of destination for Import related errors.
type ImportErrorsConfig struct {
// Required. Errors destination.
//
// Types that are valid to be assigned to Destination:
// *ImportErrorsConfig_GcsPrefix
Destination isImportErrorsConfig_Destination `protobuf_oneof:"destination"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportErrorsConfig) Reset() { *m = ImportErrorsConfig{} }
func (m *ImportErrorsConfig) String() string { return proto.CompactTextString(m) }
func (*ImportErrorsConfig) ProtoMessage() {}
func (*ImportErrorsConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{3}
}
func (m *ImportErrorsConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportErrorsConfig.Unmarshal(m, b)
}
func (m *ImportErrorsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportErrorsConfig.Marshal(b, m, deterministic)
}
func (m *ImportErrorsConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportErrorsConfig.Merge(m, src)
}
func (m *ImportErrorsConfig) XXX_Size() int {
return xxx_messageInfo_ImportErrorsConfig.Size(m)
}
func (m *ImportErrorsConfig) XXX_DiscardUnknown() {
xxx_messageInfo_ImportErrorsConfig.DiscardUnknown(m)
}
var xxx_messageInfo_ImportErrorsConfig proto.InternalMessageInfo
type isImportErrorsConfig_Destination interface {
isImportErrorsConfig_Destination()
}
type ImportErrorsConfig_GcsPrefix struct {
GcsPrefix string `protobuf:"bytes,1,opt,name=gcs_prefix,json=gcsPrefix,proto3,oneof"`
}
func (*ImportErrorsConfig_GcsPrefix) isImportErrorsConfig_Destination() {}
func (m *ImportErrorsConfig) GetDestination() isImportErrorsConfig_Destination {
if m != nil {
return m.Destination
}
return nil
}
func (m *ImportErrorsConfig) GetGcsPrefix() string {
if x, ok := m.GetDestination().(*ImportErrorsConfig_GcsPrefix); ok {
return x.GcsPrefix
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*ImportErrorsConfig) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*ImportErrorsConfig_GcsPrefix)(nil),
}
}
// Request message for Import methods.
type ImportCatalogItemsRequest struct {
// Required. "projects/1234/locations/global/catalogs/default_catalog"
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Unique identifier provided by client, within the ancestor
// dataset scope. Ensures idempotency and used for request deduplication.
// Server-generated if unspecified. Up to 128 characters long. This is
// returned as google.longrunning.Operation.name in the response.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Required. The desired input location of the data.
InputConfig *InputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
// Optional. The desired location of errors incurred during the Import.
ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,4,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportCatalogItemsRequest) Reset() { *m = ImportCatalogItemsRequest{} }
func (m *ImportCatalogItemsRequest) String() string { return proto.CompactTextString(m) }
func (*ImportCatalogItemsRequest) ProtoMessage() {}
func (*ImportCatalogItemsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{4}
}
func (m *ImportCatalogItemsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportCatalogItemsRequest.Unmarshal(m, b)
}
func (m *ImportCatalogItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportCatalogItemsRequest.Marshal(b, m, deterministic)
}
func (m *ImportCatalogItemsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportCatalogItemsRequest.Merge(m, src)
}
func (m *ImportCatalogItemsRequest) XXX_Size() int {
return xxx_messageInfo_ImportCatalogItemsRequest.Size(m)
}
func (m *ImportCatalogItemsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ImportCatalogItemsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ImportCatalogItemsRequest proto.InternalMessageInfo
func (m *ImportCatalogItemsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ImportCatalogItemsRequest) GetRequestId() string {
if m != nil {
return m.RequestId
}
return ""
}
func (m *ImportCatalogItemsRequest) GetInputConfig() *InputConfig {
if m != nil {
return m.InputConfig
}
return nil
}
func (m *ImportCatalogItemsRequest) GetErrorsConfig() *ImportErrorsConfig {
if m != nil {
return m.ErrorsConfig
}
return nil
}
// Request message for the ImportUserEvents request.
type ImportUserEventsRequest struct {
// Required.
// "projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store"
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Unique identifier provided by client, within the ancestor
// dataset scope. Ensures idempotency for expensive long running operations.
// Server-generated if unspecified. Up to 128 characters long. This is
// returned as google.longrunning.Operation.name in the response. Note that
// this field must not be set if the desired input config is
// catalog_inline_source.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Required. The desired input location of the data.
InputConfig *InputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
// Optional. The desired location of errors incurred during the Import.
ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,4,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportUserEventsRequest) Reset() { *m = ImportUserEventsRequest{} }
func (m *ImportUserEventsRequest) String() string { return proto.CompactTextString(m) }
func (*ImportUserEventsRequest) ProtoMessage() {}
func (*ImportUserEventsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{5}
}
func (m *ImportUserEventsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportUserEventsRequest.Unmarshal(m, b)
}
func (m *ImportUserEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportUserEventsRequest.Marshal(b, m, deterministic)
}
func (m *ImportUserEventsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportUserEventsRequest.Merge(m, src)
}
func (m *ImportUserEventsRequest) XXX_Size() int {
return xxx_messageInfo_ImportUserEventsRequest.Size(m)
}
func (m *ImportUserEventsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ImportUserEventsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ImportUserEventsRequest proto.InternalMessageInfo
func (m *ImportUserEventsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ImportUserEventsRequest) GetRequestId() string {
if m != nil {
return m.RequestId
}
return ""
}
func (m *ImportUserEventsRequest) GetInputConfig() *InputConfig {
if m != nil {
return m.InputConfig
}
return nil
}
func (m *ImportUserEventsRequest) GetErrorsConfig() *ImportErrorsConfig {
if m != nil {
return m.ErrorsConfig
}
return nil
}
// The input config source.
type InputConfig struct {
// Required. The source of the input.
//
// Types that are valid to be assigned to Source:
// *InputConfig_CatalogInlineSource
// *InputConfig_GcsSource
// *InputConfig_UserEventInlineSource
Source isInputConfig_Source `protobuf_oneof:"source"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InputConfig) Reset() { *m = InputConfig{} }
func (m *InputConfig) String() string { return proto.CompactTextString(m) }
func (*InputConfig) ProtoMessage() {}
func (*InputConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{6}
}
func (m *InputConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InputConfig.Unmarshal(m, b)
}
func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic)
}
func (m *InputConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_InputConfig.Merge(m, src)
}
func (m *InputConfig) XXX_Size() int {
return xxx_messageInfo_InputConfig.Size(m)
}
func (m *InputConfig) XXX_DiscardUnknown() {
xxx_messageInfo_InputConfig.DiscardUnknown(m)
}
var xxx_messageInfo_InputConfig proto.InternalMessageInfo
type isInputConfig_Source interface {
isInputConfig_Source()
}
type InputConfig_CatalogInlineSource struct {
CatalogInlineSource *CatalogInlineSource `protobuf:"bytes,1,opt,name=catalog_inline_source,json=catalogInlineSource,proto3,oneof"`
}
type InputConfig_GcsSource struct {
GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
type InputConfig_UserEventInlineSource struct {
UserEventInlineSource *UserEventInlineSource `protobuf:"bytes,3,opt,name=user_event_inline_source,json=userEventInlineSource,proto3,oneof"`
}
func (*InputConfig_CatalogInlineSource) isInputConfig_Source() {}
func (*InputConfig_GcsSource) isInputConfig_Source() {}
func (*InputConfig_UserEventInlineSource) isInputConfig_Source() {}
func (m *InputConfig) GetSource() isInputConfig_Source {
if m != nil {
return m.Source
}
return nil
}
func (m *InputConfig) GetCatalogInlineSource() *CatalogInlineSource {
if x, ok := m.GetSource().(*InputConfig_CatalogInlineSource); ok {
return x.CatalogInlineSource
}
return nil
}
func (m *InputConfig) GetGcsSource() *GcsSource {
if x, ok := m.GetSource().(*InputConfig_GcsSource); ok {
return x.GcsSource
}
return nil
}
func (m *InputConfig) GetUserEventInlineSource() *UserEventInlineSource {
if x, ok := m.GetSource().(*InputConfig_UserEventInlineSource); ok {
return x.UserEventInlineSource
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*InputConfig) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*InputConfig_CatalogInlineSource)(nil),
(*InputConfig_GcsSource)(nil),
(*InputConfig_UserEventInlineSource)(nil),
}
}
// Metadata related to the progress of the Import operation. This will be
// returned by the google.longrunning.Operation.metadata field.
type ImportMetadata struct {
// Name of the operation.
OperationName string `protobuf:"bytes,5,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
// Id of the request / operation. This is parroting back the requestId that
// was passed in the request.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Operation create time.
CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Count of entries that were processed successfully.
SuccessCount int64 `protobuf:"varint,1,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
// Count of entries that encountered errors while processing.
FailureCount int64 `protobuf:"varint,2,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
// Operation last update time. If the operation is done, this is also the
// finish time.
UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportMetadata) Reset() { *m = ImportMetadata{} }
func (m *ImportMetadata) String() string { return proto.CompactTextString(m) }
func (*ImportMetadata) ProtoMessage() {}
func (*ImportMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{7}
}
func (m *ImportMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportMetadata.Unmarshal(m, b)
}
func (m *ImportMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportMetadata.Marshal(b, m, deterministic)
}
func (m *ImportMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportMetadata.Merge(m, src)
}
func (m *ImportMetadata) XXX_Size() int {
return xxx_messageInfo_ImportMetadata.Size(m)
}
func (m *ImportMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_ImportMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_ImportMetadata proto.InternalMessageInfo
func (m *ImportMetadata) GetOperationName() string {
if m != nil {
return m.OperationName
}
return ""
}
func (m *ImportMetadata) GetRequestId() string {
if m != nil {
return m.RequestId
}
return ""
}
func (m *ImportMetadata) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *ImportMetadata) GetSuccessCount() int64 {
if m != nil {
return m.SuccessCount
}
return 0
}
func (m *ImportMetadata) GetFailureCount() int64 {
if m != nil {
return m.FailureCount
}
return 0
}
func (m *ImportMetadata) GetUpdateTime() *timestamp.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
// Response of the ImportCatalogItemsRequest. If the long running
// operation is done, then this message is returned by the
// google.longrunning.Operations.response field if the operation was successful.
type ImportCatalogItemsResponse struct {
// A sample of errors encountered while processing the request.
ErrorSamples []*status.Status `protobuf:"bytes,1,rep,name=error_samples,json=errorSamples,proto3" json:"error_samples,omitempty"`
// Echoes the optional destination for the complete errors in the request if
// set.
ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,2,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportCatalogItemsResponse) Reset() { *m = ImportCatalogItemsResponse{} }
func (m *ImportCatalogItemsResponse) String() string { return proto.CompactTextString(m) }
func (*ImportCatalogItemsResponse) ProtoMessage() {}
func (*ImportCatalogItemsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{8}
}
func (m *ImportCatalogItemsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportCatalogItemsResponse.Unmarshal(m, b)
}
func (m *ImportCatalogItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportCatalogItemsResponse.Marshal(b, m, deterministic)
}
func (m *ImportCatalogItemsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportCatalogItemsResponse.Merge(m, src)
}
func (m *ImportCatalogItemsResponse) XXX_Size() int {
return xxx_messageInfo_ImportCatalogItemsResponse.Size(m)
}
func (m *ImportCatalogItemsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ImportCatalogItemsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ImportCatalogItemsResponse proto.InternalMessageInfo
func (m *ImportCatalogItemsResponse) GetErrorSamples() []*status.Status {
if m != nil {
return m.ErrorSamples
}
return nil
}
func (m *ImportCatalogItemsResponse) GetErrorsConfig() *ImportErrorsConfig {
if m != nil {
return m.ErrorsConfig
}
return nil
}
// Response of the ImportUserEventsRequest. If the long running
// operation was successful, then this message is returned by the
// google.longrunning.Operations.response field if the operation was successful.
type ImportUserEventsResponse struct {
// A sample of errors encountered while processing the request.
ErrorSamples []*status.Status `protobuf:"bytes,1,rep,name=error_samples,json=errorSamples,proto3" json:"error_samples,omitempty"`
// Echoes the optional destination for the complete errors if this field was
// set in the request.
ErrorsConfig *ImportErrorsConfig `protobuf:"bytes,2,opt,name=errors_config,json=errorsConfig,proto3" json:"errors_config,omitempty"`
// Aggregated statistics of user event import status.
ImportSummary *UserEventImportSummary `protobuf:"bytes,3,opt,name=import_summary,json=importSummary,proto3" json:"import_summary,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportUserEventsResponse) Reset() { *m = ImportUserEventsResponse{} }
func (m *ImportUserEventsResponse) String() string { return proto.CompactTextString(m) }
func (*ImportUserEventsResponse) ProtoMessage() {}
func (*ImportUserEventsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{9}
}
func (m *ImportUserEventsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportUserEventsResponse.Unmarshal(m, b)
}
func (m *ImportUserEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportUserEventsResponse.Marshal(b, m, deterministic)
}
func (m *ImportUserEventsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportUserEventsResponse.Merge(m, src)
}
func (m *ImportUserEventsResponse) XXX_Size() int {
return xxx_messageInfo_ImportUserEventsResponse.Size(m)
}
func (m *ImportUserEventsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ImportUserEventsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ImportUserEventsResponse proto.InternalMessageInfo
func (m *ImportUserEventsResponse) GetErrorSamples() []*status.Status {
if m != nil {
return m.ErrorSamples
}
return nil
}
func (m *ImportUserEventsResponse) GetErrorsConfig() *ImportErrorsConfig {
if m != nil {
return m.ErrorsConfig
}
return nil
}
func (m *ImportUserEventsResponse) GetImportSummary() *UserEventImportSummary {
if m != nil {
return m.ImportSummary
}
return nil
}
// A summary of import result. The UserEventImportSummary summarizes
// the import status for user events.
type UserEventImportSummary struct {
// Count of user events imported with complete existing catalog information.
JoinedEventsCount int64 `protobuf:"varint,1,opt,name=joined_events_count,json=joinedEventsCount,proto3" json:"joined_events_count,omitempty"`
// Count of user events imported, but with catalog information not found
// in the imported catalog.
UnjoinedEventsCount int64 `protobuf:"varint,2,opt,name=unjoined_events_count,json=unjoinedEventsCount,proto3" json:"unjoined_events_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UserEventImportSummary) Reset() { *m = UserEventImportSummary{} }
func (m *UserEventImportSummary) String() string { return proto.CompactTextString(m) }
func (*UserEventImportSummary) ProtoMessage() {}
func (*UserEventImportSummary) Descriptor() ([]byte, []int) {
return fileDescriptor_152d6e7da409eb0d, []int{10}
}
func (m *UserEventImportSummary) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserEventImportSummary.Unmarshal(m, b)
}
func (m *UserEventImportSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserEventImportSummary.Marshal(b, m, deterministic)
}
func (m *UserEventImportSummary) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserEventImportSummary.Merge(m, src)
}
func (m *UserEventImportSummary) XXX_Size() int {
return xxx_messageInfo_UserEventImportSummary.Size(m)
}
func (m *UserEventImportSummary) XXX_DiscardUnknown() {
xxx_messageInfo_UserEventImportSummary.DiscardUnknown(m)
}
var xxx_messageInfo_UserEventImportSummary proto.InternalMessageInfo
func (m *UserEventImportSummary) GetJoinedEventsCount() int64 {
if m != nil {
return m.JoinedEventsCount
}
return 0
}
func (m *UserEventImportSummary) GetUnjoinedEventsCount() int64 {
if m != nil {
return m.UnjoinedEventsCount
}
return 0
}
func init() {
proto.RegisterType((*GcsSource)(nil), "google.cloud.recommendationengine.v1beta1.GcsSource")
proto.RegisterType((*CatalogInlineSource)(nil), "google.cloud.recommendationengine.v1beta1.CatalogInlineSource")
proto.RegisterType((*UserEventInlineSource)(nil), "google.cloud.recommendationengine.v1beta1.UserEventInlineSource")
proto.RegisterType((*ImportErrorsConfig)(nil), "google.cloud.recommendationengine.v1beta1.ImportErrorsConfig")
proto.RegisterType((*ImportCatalogItemsRequest)(nil), "google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest")
proto.RegisterType((*ImportUserEventsRequest)(nil), "google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest")
proto.RegisterType((*InputConfig)(nil), "google.cloud.recommendationengine.v1beta1.InputConfig")
proto.RegisterType((*ImportMetadata)(nil), "google.cloud.recommendationengine.v1beta1.ImportMetadata")
proto.RegisterType((*ImportCatalogItemsResponse)(nil), "google.cloud.recommendationengine.v1beta1.ImportCatalogItemsResponse")
proto.RegisterType((*ImportUserEventsResponse)(nil), "google.cloud.recommendationengine.v1beta1.ImportUserEventsResponse")
proto.RegisterType((*UserEventImportSummary)(nil), "google.cloud.recommendationengine.v1beta1.UserEventImportSummary")
}
func init() {
proto.RegisterFile("google/cloud/recommendationengine/v1beta1/import.proto", fileDescriptor_152d6e7da409eb0d)
}
var fileDescriptor_152d6e7da409eb0d = []byte{
// 835 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0xdd, 0x6a, 0x24, 0x45,
0x14, 0xde, 0xe9, 0xb8, 0xc1, 0x39, 0x9d, 0x09, 0xd8, 0x21, 0xbb, 0x63, 0x50, 0x36, 0xb4, 0x08,
0xbb, 0x82, 0xdd, 0x24, 0xca, 0x2e, 0x18, 0x14, 0x37, 0x63, 0xd8, 0x9d, 0x0b, 0x65, 0xe9, 0x18,
0x41, 0x45, 0x9a, 0x9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