v1

package
v0.6.310 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FeatureHistogramService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.featurehistogram.v1.FeatureHistogramService",
	HandlerType: (*FeatureHistogramServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListFeatureHistograms",
			Handler:    _FeatureHistogramService_ListFeatureHistograms_Handler,
		},
		{
			MethodName: "CreateFeatureHistogram",
			Handler:    _FeatureHistogramService_CreateFeatureHistogram_Handler,
		},
		{
			MethodName: "GetFeatureHistogram",
			Handler:    _FeatureHistogramService_GetFeatureHistogram_Handler,
		},
		{
			MethodName: "UpdateFeatureHistogram",
			Handler:    _FeatureHistogramService_UpdateFeatureHistogram_Handler,
		},
		{
			MethodName: "DeleteFeatureHistogram",
			Handler:    _FeatureHistogramService_DeleteFeatureHistogram_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/featurehistogram/v1/featurehistogram.proto",
}

FeatureHistogramService_ServiceDesc is the grpc.ServiceDesc for FeatureHistogramService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_github_com_metaprov_modelaapi_services_featurehistogram_v1_featurehistogram_proto protoreflect.FileDescriptor

Functions

func RegisterFeatureHistogramServiceServer

func RegisterFeatureHistogramServiceServer(s grpc.ServiceRegistrar, srv FeatureHistogramServiceServer)

Types

type CreateFeatureHistogramRequest

type CreateFeatureHistogramRequest struct {
	Histogram     *v1alpha1.FeatureHistogram `protobuf:"bytes,1,opt,name=histogram,proto3" json:"histogram,omitempty"`
	NextPageToken string                     `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFeatureHistogramRequest) Descriptor deprecated

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

Deprecated: Use CreateFeatureHistogramRequest.ProtoReflect.Descriptor instead.

func (*CreateFeatureHistogramRequest) GetHistogram added in v0.4.472

func (*CreateFeatureHistogramRequest) GetNextPageToken added in v0.4.472

func (x *CreateFeatureHistogramRequest) GetNextPageToken() string

func (*CreateFeatureHistogramRequest) ProtoMessage

func (*CreateFeatureHistogramRequest) ProtoMessage()

func (*CreateFeatureHistogramRequest) ProtoReflect

func (*CreateFeatureHistogramRequest) Reset

func (x *CreateFeatureHistogramRequest) Reset()

func (*CreateFeatureHistogramRequest) String

type CreateFeatureHistogramResponse

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

func (*CreateFeatureHistogramResponse) Descriptor deprecated

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

Deprecated: Use CreateFeatureHistogramResponse.ProtoReflect.Descriptor instead.

func (*CreateFeatureHistogramResponse) ProtoMessage

func (*CreateFeatureHistogramResponse) ProtoMessage()

func (*CreateFeatureHistogramResponse) ProtoReflect

func (*CreateFeatureHistogramResponse) Reset

func (x *CreateFeatureHistogramResponse) Reset()

func (*CreateFeatureHistogramResponse) String

type DeleteFeatureHistogramRequest

type DeleteFeatureHistogramRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFeatureHistogramRequest) Descriptor deprecated

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

Deprecated: Use DeleteFeatureHistogramRequest.ProtoReflect.Descriptor instead.

func (*DeleteFeatureHistogramRequest) GetName

func (*DeleteFeatureHistogramRequest) GetNamespace

func (x *DeleteFeatureHistogramRequest) GetNamespace() string

func (*DeleteFeatureHistogramRequest) ProtoMessage

func (*DeleteFeatureHistogramRequest) ProtoMessage()

func (*DeleteFeatureHistogramRequest) ProtoReflect

func (*DeleteFeatureHistogramRequest) Reset

func (x *DeleteFeatureHistogramRequest) Reset()

func (*DeleteFeatureHistogramRequest) String

type DeleteFeatureHistogramResponse

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

func (*DeleteFeatureHistogramResponse) Descriptor deprecated

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

Deprecated: Use DeleteFeatureHistogramResponse.ProtoReflect.Descriptor instead.

func (*DeleteFeatureHistogramResponse) ProtoMessage

func (*DeleteFeatureHistogramResponse) ProtoMessage()

func (*DeleteFeatureHistogramResponse) ProtoReflect

func (*DeleteFeatureHistogramResponse) Reset

func (x *DeleteFeatureHistogramResponse) Reset()

func (*DeleteFeatureHistogramResponse) String

type FeatureHistogramServiceClient

type FeatureHistogramServiceClient interface {
	ListFeatureHistograms(ctx context.Context, in *ListFeatureHistogramsRequest, opts ...grpc.CallOption) (*ListFeatureHistogramsResponse, error)
	CreateFeatureHistogram(ctx context.Context, in *CreateFeatureHistogramRequest, opts ...grpc.CallOption) (*CreateFeatureHistogramResponse, error)
	GetFeatureHistogram(ctx context.Context, in *GetFeatureHistogramRequest, opts ...grpc.CallOption) (*GetFeatureHistogramResponse, error)
	UpdateFeatureHistogram(ctx context.Context, in *UpdateFeatureHistogramRequest, opts ...grpc.CallOption) (*UpdateFeatureHistogramResponse, error)
	DeleteFeatureHistogram(ctx context.Context, in *DeleteFeatureHistogramRequest, opts ...grpc.CallOption) (*DeleteFeatureHistogramResponse, error)
}

FeatureHistogramServiceClient is the client API for FeatureHistogramService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FeatureHistogramServiceServer

type FeatureHistogramServiceServer interface {
	ListFeatureHistograms(context.Context, *ListFeatureHistogramsRequest) (*ListFeatureHistogramsResponse, error)
	CreateFeatureHistogram(context.Context, *CreateFeatureHistogramRequest) (*CreateFeatureHistogramResponse, error)
	GetFeatureHistogram(context.Context, *GetFeatureHistogramRequest) (*GetFeatureHistogramResponse, error)
	UpdateFeatureHistogram(context.Context, *UpdateFeatureHistogramRequest) (*UpdateFeatureHistogramResponse, error)
	DeleteFeatureHistogram(context.Context, *DeleteFeatureHistogramRequest) (*DeleteFeatureHistogramResponse, error)
	// contains filtered or unexported methods
}

FeatureHistogramServiceServer is the server API for FeatureHistogramService service. All implementations must embed UnimplementedFeatureHistogramServiceServer for forward compatibility

type GetFeatureHistogramRequest

type GetFeatureHistogramRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeatureHistogramRequest) Descriptor deprecated

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

Deprecated: Use GetFeatureHistogramRequest.ProtoReflect.Descriptor instead.

func (*GetFeatureHistogramRequest) GetName

func (x *GetFeatureHistogramRequest) GetName() string

func (*GetFeatureHistogramRequest) GetNamespace

func (x *GetFeatureHistogramRequest) GetNamespace() string

func (*GetFeatureHistogramRequest) ProtoMessage

func (*GetFeatureHistogramRequest) ProtoMessage()

func (*GetFeatureHistogramRequest) ProtoReflect

func (*GetFeatureHistogramRequest) Reset

func (x *GetFeatureHistogramRequest) Reset()

func (*GetFeatureHistogramRequest) String

func (x *GetFeatureHistogramRequest) String() string

type GetFeatureHistogramResponse

type GetFeatureHistogramResponse struct {
	Histogram *v1alpha1.FeatureHistogram `protobuf:"bytes,1,opt,name=histogram,proto3" json:"histogram,omitempty"`
	Yaml      string                     `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeatureHistogramResponse) Descriptor deprecated

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

Deprecated: Use GetFeatureHistogramResponse.ProtoReflect.Descriptor instead.

func (*GetFeatureHistogramResponse) GetHistogram added in v0.4.475

func (*GetFeatureHistogramResponse) GetYaml

func (x *GetFeatureHistogramResponse) GetYaml() string

func (*GetFeatureHistogramResponse) ProtoMessage

func (*GetFeatureHistogramResponse) ProtoMessage()

func (*GetFeatureHistogramResponse) ProtoReflect

func (*GetFeatureHistogramResponse) Reset

func (x *GetFeatureHistogramResponse) Reset()

func (*GetFeatureHistogramResponse) String

func (x *GetFeatureHistogramResponse) String() string

type ListFeatureHistogramsRequest

type ListFeatureHistogramsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	PageSize  int32             `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string            `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string            `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFeatureHistogramsRequest) Descriptor deprecated

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

Deprecated: Use ListFeatureHistogramsRequest.ProtoReflect.Descriptor instead.

func (*ListFeatureHistogramsRequest) GetLabels

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

func (*ListFeatureHistogramsRequest) GetNamespace

func (x *ListFeatureHistogramsRequest) GetNamespace() string

func (*ListFeatureHistogramsRequest) GetOrderBy added in v0.4.414

func (x *ListFeatureHistogramsRequest) GetOrderBy() string

func (*ListFeatureHistogramsRequest) GetPageSize added in v0.4.414

func (x *ListFeatureHistogramsRequest) GetPageSize() int32

func (*ListFeatureHistogramsRequest) GetPageToken added in v0.4.414

func (x *ListFeatureHistogramsRequest) GetPageToken() string

func (*ListFeatureHistogramsRequest) ProtoMessage

func (*ListFeatureHistogramsRequest) ProtoMessage()

func (*ListFeatureHistogramsRequest) ProtoReflect

func (*ListFeatureHistogramsRequest) Reset

func (x *ListFeatureHistogramsRequest) Reset()

func (*ListFeatureHistogramsRequest) String

type ListFeatureHistogramsResponse

type ListFeatureHistogramsResponse struct {
	Histograms    *v1alpha1.FeatureHistogramList `protobuf:"bytes,1,opt,name=histograms,proto3" json:"histograms,omitempty"`
	NextPageToken string                         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFeatureHistogramsResponse) Descriptor deprecated

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

Deprecated: Use ListFeatureHistogramsResponse.ProtoReflect.Descriptor instead.

func (*ListFeatureHistogramsResponse) GetHistograms added in v0.4.472

func (*ListFeatureHistogramsResponse) GetNextPageToken added in v0.4.472

func (x *ListFeatureHistogramsResponse) GetNextPageToken() string

func (*ListFeatureHistogramsResponse) ProtoMessage

func (*ListFeatureHistogramsResponse) ProtoMessage()

func (*ListFeatureHistogramsResponse) ProtoReflect

func (*ListFeatureHistogramsResponse) Reset

func (x *ListFeatureHistogramsResponse) Reset()

func (*ListFeatureHistogramsResponse) String

type UnimplementedFeatureHistogramServiceServer

type UnimplementedFeatureHistogramServiceServer struct {
}

UnimplementedFeatureHistogramServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFeatureHistogramServiceServer) CreateFeatureHistogram

func (UnimplementedFeatureHistogramServiceServer) DeleteFeatureHistogram

func (UnimplementedFeatureHistogramServiceServer) GetFeatureHistogram

func (UnimplementedFeatureHistogramServiceServer) ListFeatureHistograms

func (UnimplementedFeatureHistogramServiceServer) UpdateFeatureHistogram

type UnsafeFeatureHistogramServiceServer added in v0.4.687

type UnsafeFeatureHistogramServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFeatureHistogramServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FeatureHistogramServiceServer will result in compilation errors.

type UpdateFeatureHistogramRequest

type UpdateFeatureHistogramRequest struct {
	Histogram *v1alpha1.FeatureHistogram `protobuf:"bytes,1,opt,name=histogram,proto3" json:"histogram,omitempty"`
	FieldMask *field_mask.FieldMask      `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFeatureHistogramRequest) Descriptor deprecated

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

Deprecated: Use UpdateFeatureHistogramRequest.ProtoReflect.Descriptor instead.

func (*UpdateFeatureHistogramRequest) GetFieldMask added in v0.4.422

func (*UpdateFeatureHistogramRequest) GetHistogram added in v0.4.475

func (*UpdateFeatureHistogramRequest) ProtoMessage

func (*UpdateFeatureHistogramRequest) ProtoMessage()

func (*UpdateFeatureHistogramRequest) ProtoReflect

func (*UpdateFeatureHistogramRequest) Reset

func (x *UpdateFeatureHistogramRequest) Reset()

func (*UpdateFeatureHistogramRequest) String

type UpdateFeatureHistogramResponse

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

func (*UpdateFeatureHistogramResponse) Descriptor deprecated

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

Deprecated: Use UpdateFeatureHistogramResponse.ProtoReflect.Descriptor instead.

func (*UpdateFeatureHistogramResponse) ProtoMessage

func (*UpdateFeatureHistogramResponse) ProtoMessage()

func (*UpdateFeatureHistogramResponse) ProtoReflect

func (*UpdateFeatureHistogramResponse) Reset

func (x *UpdateFeatureHistogramResponse) Reset()

func (*UpdateFeatureHistogramResponse) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL