diff --git a/sdk/go/protos/feast/core/CoreService.pb.go b/sdk/go/protos/feast/core/CoreService.pb.go index c7b3ec2bab..e0af92433b 100644 --- a/sdk/go/protos/feast/core/CoreService.pb.go +++ b/sdk/go/protos/feast/core/CoreService.pb.go @@ -82,13 +82,12 @@ func (UpdateStoreResponse_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor_d9be266444105411, []int{11, 0} } -// Retrieves specific feature set +// Request for a single feature set type GetFeatureSetRequest struct { - // Name of the desired feature set. + // Name of feature set (required). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Version of the desired feature set (optional). If this is omitted then the latest version - // will be returned. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + // Version of feature set (optional). If omitted then latest feature set will be returned. + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -126,16 +125,15 @@ func (m *GetFeatureSetRequest) GetName() string { return "" } -func (m *GetFeatureSetRequest) GetVersion() string { +func (m *GetFeatureSetRequest) GetVersion() int32 { if m != nil { return m.Version } - return "" + return 0 } -// Response message containing a single feature set +// Response containing a single feature set type GetFeatureSetResponse struct { - // Feature set corresponding to request FeatureSet *FeatureSetSpec `protobuf:"bytes,1,opt,name=feature_set,json=featureSet,proto3" json:"feature_set,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -174,7 +172,7 @@ func (m *GetFeatureSetResponse) GetFeatureSet() *FeatureSetSpec { return nil } -// Retrieves a list of feature sets +// Retrieves details for all versions of a specific feature set type ListFeatureSetsRequest struct { Filter *ListFeatureSetsRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -217,12 +215,11 @@ func (m *ListFeatureSetsRequest) GetFilter() *ListFeatureSetsRequest_Filter { type ListFeatureSetsRequest_Filter struct { // Name of the desired feature set. Valid regex strings are allowed. // e.g. - // - * can be used to match all feature sets - // - my-project* can be used to match all feature sets prefixed by "my-project" + // - .* can be used to match all feature sets + // - my-project-.* can be used to match all features prefixed by "my-project" FeatureSetName string `protobuf:"bytes,1,opt,name=feature_set_name,json=featureSetName,proto3" json:"feature_set_name,omitempty"` // Version of the desired feature set. Either a number or valid expression can be provided. // e.g. - // - Not specifying the version will match all versions // - 1 will match version 1 exactly // - >=1 will match all versions greater or equal to 1 // - <10 will match all versions less than 10 @@ -694,47 +691,47 @@ func init() { func init() { proto.RegisterFile("feast/core/CoreService.proto", fileDescriptor_d9be266444105411) } var fileDescriptor_d9be266444105411 = []byte{ - // 632 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0xa5, 0x4d, 0xd5, 0x31, 0x2d, 0xc9, 0x06, 0xd2, 0xc8, 0x0d, 0x25, 0x98, 0x8a, 0x16, - 0x0e, 0xb6, 0x14, 0x0e, 0x1c, 0x20, 0x48, 0xf9, 0x6b, 0x91, 0x40, 0x49, 0xe5, 0x24, 0x08, 0xf5, - 0x12, 0x25, 0xe9, 0x26, 0x84, 0xb6, 0x59, 0xe3, 0xdd, 0x54, 0xe2, 0x6d, 0x38, 0xf0, 0x1e, 0x3c, - 0x00, 0x2f, 0x85, 0xbc, 0xbb, 0x8d, 0xd7, 0x8e, 0xed, 0x1c, 0xe0, 0x66, 0xcf, 0x7c, 0xf3, 0xed, - 0xec, 0x37, 0x33, 0x3b, 0x50, 0x9a, 0xe0, 0x21, 0x65, 0xf6, 0x98, 0x78, 0xd8, 0x6e, 0x10, 0x0f, - 0x77, 0xb1, 0x77, 0x3b, 0x1b, 0x63, 0xcb, 0xf5, 0x08, 0x23, 0x08, 0xb8, 0xd7, 0xf2, 0xbd, 0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0x0a, 0x1d, 0x2b, 0x3f, - 0x37, 0x41, 0x57, 0x1e, 0x48, 0x34, 0x81, 0x7c, 0x8c, 0x5c, 0x28, 0x74, 0x78, 0xb2, 0xda, 0xc6, - 0xf1, 0x5a, 0x9c, 0x94, 0xa1, 0x07, 0xbb, 0xa1, 0xb7, 0x0f, 0x95, 0x57, 0x23, 0xc3, 0x2d, 0x6f, - 0x3c, 0x4b, 0x41, 0x48, 0xd6, 0x0b, 0x78, 0x18, 0x79, 0x39, 0x90, 0xb9, 0xfe, 0x8d, 0x33, 0x9e, - 0xa7, 0x62, 0x24, 0xf7, 0x47, 0x80, 0x60, 0x94, 0xd1, 0x93, 0xd4, 0x47, 0xc2, 0x38, 0x4c, 0x72, - 0x07, 0x89, 0x46, 0xc6, 0x21, 0x9c, 0x68, 0xfc, 0xd4, 0x87, 0x13, 0x4d, 0x9a, 0xe0, 0x36, 0xe8, - 0x4a, 0x7b, 0xa0, 0xc3, 0xc4, 0xbe, 0x11, 0x9c, 0x4f, 0xd7, 0xf4, 0x55, 0xbd, 0x03, 0xca, 0xbe, - 0xac, 0x67, 0x95, 0x6e, 0x39, 0xf7, 0x97, 0xe1, 0x85, 0x3d, 0x9d, 0xb1, 0xaf, 0x8b, 0x91, 0x35, - 0x26, 0x37, 0xf6, 0x94, 0x7c, 0xc3, 0x57, 0xb6, 0xd8, 0x9a, 0xf4, 0xf2, 0xca, 0x9e, 0x12, 0x9b, - 0x6f, 0x4c, 0x6a, 0x07, 0x9b, 0x74, 0x94, 0xe1, 0xa6, 0xd7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, - 0x9b, 0xcc, 0x55, 0x65, 0xa5, 0x07, 0x00, 0x00, + // 636 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x72, 0xd2, 0x40, + 0x14, 0x36, 0xb5, 0xa5, 0xc3, 0x89, 0xad, 0xb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0x82, 0xf3, 0xe9, 0x86, 0xba, 0xaa, + 0x77, 0x40, 0xd9, 0x97, 0xf5, 0x8c, 0x52, 0x2d, 0xe7, 0xde, 0x32, 0xbc, 0xb0, 0xa7, 0x33, 0xfe, + 0x75, 0x31, 0xb2, 0xc6, 0xf4, 0xc6, 0x9e, 0xd2, 0x6f, 0xe4, 0xca, 0x16, 0x5b, 0x93, 0x5d, 0x5e, + 0xd9, 0x53, 0x6a, 0xfb, 0x1b, 0x93, 0xd9, 0xc1, 0x26, 0x1d, 0xa5, 0xfc, 0xa3, 0xd7, 0x7f, 0x03, + 0x00, 0x00, 0xff, 0xff, 0xc7, 0xc1, 0x10, 0xf1, 0xa5, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -751,11 +748,7 @@ const _ = grpc.SupportPackageIsVersion4 type CoreServiceClient interface { // Retrieve version information about this Feast deployment GetFeastCoreVersion(ctx context.Context, in *GetFeastCoreVersionRequest, opts ...grpc.CallOption) (*GetFeastCoreVersionResponse, error) - // Retrieve feature set details for a specific feature set - // - // Request must contain a feature set name. - // If a version is provided it will be used. - // if the version is omitted then the latest feature set will be returned + // Returns a specific feature set GetFeatureSet(ctx context.Context, in *GetFeatureSetRequest, opts ...grpc.CallOption) (*GetFeatureSetResponse, error) // Retrieve feature set details given a filter. // @@ -849,11 +842,7 @@ func (c *coreServiceClient) UpdateStore(ctx context.Context, in *UpdateStoreRequ type CoreServiceServer interface { // Retrieve version information about this Feast deployment GetFeastCoreVersion(context.Context, *GetFeastCoreVersionRequest) (*GetFeastCoreVersionResponse, error) - // Retrieve feature set details for a specific feature set - // - // Request must contain a feature set name. - // If a version is provided it will be used. - // if the version is omitted then the latest feature set will be returned + // Returns a specific feature set GetFeatureSet(context.Context, *GetFeatureSetRequest) (*GetFeatureSetResponse, error) // Retrieve feature set details given a filter. // diff --git a/sdk/go/types.go b/sdk/go/types.go index 50a5477f13..74606982a4 100644 --- a/sdk/go/types.go +++ b/sdk/go/types.go @@ -19,6 +19,11 @@ func Int64Val(val int64) *types.Value { return &types.Value{Val: &types.Value_Int64Val{Int64Val: val}} } +// FloatVal is a float32 type feast value +func FloatVal(val float32) *types.Value { + return &types.Value{Val: &types.Value_FloatVal{FloatVal: val}} +} + // DoubleVal is a float64 type feast value func DoubleVal(val float64) *types.Value { return &types.Value{Val: &types.Value_DoubleVal{DoubleVal: val}}