Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterEnumServiceHttpHandlers(router *mux.Router, prefix string, cli EnumServiceClient)
- func RegisterEnumServiceServer(s grpc.ServiceRegistrar, srv EnumServiceServer)
- func RegisterLinkServiceHttpHandlers(router *mux.Router, prefix string, cli LinkServiceClient)
- func RegisterLinkServiceServer(s grpc.ServiceRegistrar, srv LinkServiceServer)
- type CreateEnumInput
- type CreateEnumOutput
- type CreateValueInput
- func (*CreateValueInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateValueInput) GetEnumId() string
- func (x *CreateValueInput) GetValue() *Value
- func (*CreateValueInput) ProtoMessage()
- func (x *CreateValueInput) ProtoReflect() protoreflect.Message
- func (x *CreateValueInput) Reset()
- func (x *CreateValueInput) String() string
- type CreateValueOutput
- type DeleteEnumInput
- type DeleteEnumOutput
- type DeleteTranslationInput
- func (*DeleteTranslationInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTranslationInput) GetEnumId() string
- func (x *DeleteTranslationInput) GetLocale() string
- func (x *DeleteTranslationInput) GetValueId() string
- func (*DeleteTranslationInput) ProtoMessage()
- func (x *DeleteTranslationInput) ProtoReflect() protoreflect.Message
- func (x *DeleteTranslationInput) Reset()
- func (x *DeleteTranslationInput) String() string
- type DeleteTranslationOutput
- type DeleteValueInput
- func (*DeleteValueInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteValueInput) GetEnumId() string
- func (x *DeleteValueInput) GetValueId() string
- func (*DeleteValueInput) ProtoMessage()
- func (x *DeleteValueInput) ProtoReflect() protoreflect.Message
- func (x *DeleteValueInput) Reset()
- func (x *DeleteValueInput) String() string
- type DeleteValueOutput
- type DescribeEnumInput
- type DescribeEnumOutput
- type DescribeValueInput
- func (*DescribeValueInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeValueInput) GetEnumId() string
- func (x *DescribeValueInput) GetLocale() string
- func (x *DescribeValueInput) GetValueId() string
- func (*DescribeValueInput) ProtoMessage()
- func (x *DescribeValueInput) ProtoReflect() protoreflect.Message
- func (x *DescribeValueInput) Reset()
- func (x *DescribeValueInput) String() string
- type DescribeValueOutput
- func (*DescribeValueOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeValueOutput) GetValue() *Value
- func (*DescribeValueOutput) ProtoMessage()
- func (x *DescribeValueOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeValueOutput) Reset()
- func (x *DescribeValueOutput) String() string
- type Enum
- type EnumServiceClient
- type EnumServiceInterceptor
- func (i *EnumServiceInterceptor) CreateEnum(ctx context.Context, in *CreateEnumInput, opts ...grpc.CallOption) (*CreateEnumOutput, error)
- func (i *EnumServiceInterceptor) CreateValue(ctx context.Context, in *CreateValueInput, opts ...grpc.CallOption) (*CreateValueOutput, error)
- func (i *EnumServiceInterceptor) DeleteEnum(ctx context.Context, in *DeleteEnumInput, opts ...grpc.CallOption) (*DeleteEnumOutput, error)
- func (i *EnumServiceInterceptor) DeleteTranslation(ctx context.Context, in *DeleteTranslationInput, opts ...grpc.CallOption) (*DeleteTranslationOutput, error)
- func (i *EnumServiceInterceptor) DeleteValue(ctx context.Context, in *DeleteValueInput, opts ...grpc.CallOption) (*DeleteValueOutput, error)
- func (i *EnumServiceInterceptor) DescribeEnum(ctx context.Context, in *DescribeEnumInput, opts ...grpc.CallOption) (*DescribeEnumOutput, error)
- func (i *EnumServiceInterceptor) DescribeValue(ctx context.Context, in *DescribeValueInput, opts ...grpc.CallOption) (*DescribeValueOutput, error)
- func (i *EnumServiceInterceptor) ListEnums(ctx context.Context, in *ListEnumsInput, opts ...grpc.CallOption) (*ListEnumsOutput, error)
- func (i *EnumServiceInterceptor) ListTranslations(ctx context.Context, in *ListTranslationsInput, opts ...grpc.CallOption) (*ListTranslationsOutput, error)
- func (i *EnumServiceInterceptor) ListValues(ctx context.Context, in *ListValuesInput, opts ...grpc.CallOption) (*ListValuesOutput, error)
- func (i *EnumServiceInterceptor) TranslateValue(ctx context.Context, in *TranslateValueInput, opts ...grpc.CallOption) (*TranslateValueOutput, error)
- func (i *EnumServiceInterceptor) UpdateEnum(ctx context.Context, in *UpdateEnumInput, opts ...grpc.CallOption) (*UpdateEnumOutput, error)
- func (i *EnumServiceInterceptor) UpdateValue(ctx context.Context, in *UpdateValueInput, opts ...grpc.CallOption) (*UpdateValueOutput, error)
- type EnumServiceServer
- type EnumServiceService
- func (s *EnumServiceService) CreateEnum(ctx context.Context, in *CreateEnumInput) (*CreateEnumOutput, error)
- func (s *EnumServiceService) CreateValue(ctx context.Context, in *CreateValueInput) (*CreateValueOutput, error)
- func (s *EnumServiceService) DeleteEnum(ctx context.Context, in *DeleteEnumInput) (*DeleteEnumOutput, error)
- func (s *EnumServiceService) DeleteTranslation(ctx context.Context, in *DeleteTranslationInput) (*DeleteTranslationOutput, error)
- func (s *EnumServiceService) DeleteValue(ctx context.Context, in *DeleteValueInput) (*DeleteValueOutput, error)
- func (s *EnumServiceService) DescribeEnum(ctx context.Context, in *DescribeEnumInput) (*DescribeEnumOutput, error)
- func (s *EnumServiceService) DescribeValue(ctx context.Context, in *DescribeValueInput) (*DescribeValueOutput, error)
- func (s *EnumServiceService) ListEnums(ctx context.Context, in *ListEnumsInput) (*ListEnumsOutput, error)
- func (s *EnumServiceService) ListTranslations(ctx context.Context, in *ListTranslationsInput) (*ListTranslationsOutput, error)
- func (s *EnumServiceService) ListValues(ctx context.Context, in *ListValuesInput) (*ListValuesOutput, error)
- func (s *EnumServiceService) TranslateValue(ctx context.Context, in *TranslateValueInput) (*TranslateValueOutput, error)
- func (s *EnumServiceService) UpdateEnum(ctx context.Context, in *UpdateEnumInput) (*UpdateEnumOutput, error)
- func (s *EnumServiceService) UpdateValue(ctx context.Context, in *UpdateValueInput) (*UpdateValueOutput, error)
- type GetLinkedTopicsInput
- type GetLinkedTopicsOutput
- func (*GetLinkedTopicsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *GetLinkedTopicsOutput) GetTopics() []string
- func (*GetLinkedTopicsOutput) ProtoMessage()
- func (x *GetLinkedTopicsOutput) ProtoReflect() protoreflect.Message
- func (x *GetLinkedTopicsOutput) Reset()
- func (x *GetLinkedTopicsOutput) String() string
- type LinkServiceClient
- type LinkServiceInterceptor
- func (i *LinkServiceInterceptor) GetLinkedTopics(ctx context.Context, in *GetLinkedTopicsInput, opts ...grpc.CallOption) (*GetLinkedTopicsOutput, error)
- func (i *LinkServiceInterceptor) SetLinkedTopics(ctx context.Context, in *SetLinkedTopicsInput, opts ...grpc.CallOption) (*SetLinkedTopicsOutput, error)
- type LinkServiceServer
- type LinkServiceService
- type ListEnumsInput
- func (*ListEnumsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnumsInput) GetFilters() *ListEnumsInput_Filter
- func (x *ListEnumsInput) GetOffset() int32
- func (x *ListEnumsInput) GetSize() int32
- func (*ListEnumsInput) ProtoMessage()
- func (x *ListEnumsInput) ProtoReflect() protoreflect.Message
- func (x *ListEnumsInput) Reset()
- func (x *ListEnumsInput) String() string
- type ListEnumsInput_Filter
- func (*ListEnumsInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnumsInput_Filter) GetId() []*wellknown.ExpressionID
- func (x *ListEnumsInput_Filter) GetName() []*wellknown.ExpressionString
- func (x *ListEnumsInput_Filter) GetQuery() string
- func (*ListEnumsInput_Filter) ProtoMessage()
- func (x *ListEnumsInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListEnumsInput_Filter) Reset()
- func (x *ListEnumsInput_Filter) String() string
- type ListEnumsOutput
- func (*ListEnumsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnumsOutput) GetItems() []*Enum
- func (x *ListEnumsOutput) GetTotal() int32
- func (*ListEnumsOutput) ProtoMessage()
- func (x *ListEnumsOutput) ProtoReflect() protoreflect.Message
- func (x *ListEnumsOutput) Reset()
- func (x *ListEnumsOutput) String() string
- type ListTranslationsInput
- func (*ListTranslationsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListTranslationsInput) GetEnumId() string
- func (x *ListTranslationsInput) GetFilters() *ListTranslationsInput_Filter
- func (x *ListTranslationsInput) GetOffset() int32
- func (x *ListTranslationsInput) GetSize() int32
- func (x *ListTranslationsInput) GetValueId() string
- func (*ListTranslationsInput) ProtoMessage()
- func (x *ListTranslationsInput) ProtoReflect() protoreflect.Message
- func (x *ListTranslationsInput) Reset()
- func (x *ListTranslationsInput) String() string
- type ListTranslationsInput_Filter
- func (*ListTranslationsInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListTranslationsInput_Filter) GetLocale() []*wellknown.ExpressionEnum
- func (*ListTranslationsInput_Filter) ProtoMessage()
- func (x *ListTranslationsInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListTranslationsInput_Filter) Reset()
- func (x *ListTranslationsInput_Filter) String() string
- type ListTranslationsOutput
- func (*ListTranslationsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListTranslationsOutput) GetItems() []*Value_Translation
- func (x *ListTranslationsOutput) GetTotal() int32
- func (*ListTranslationsOutput) ProtoMessage()
- func (x *ListTranslationsOutput) ProtoReflect() protoreflect.Message
- func (x *ListTranslationsOutput) Reset()
- func (x *ListTranslationsOutput) String() string
- type ListValuesInput
- func (*ListValuesInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListValuesInput) GetEnumId() string
- func (x *ListValuesInput) GetFilters() *ListValuesInput_Filter
- func (x *ListValuesInput) GetLocale() string
- func (x *ListValuesInput) GetOffset() int32
- func (x *ListValuesInput) GetSize() int32
- func (*ListValuesInput) ProtoMessage()
- func (x *ListValuesInput) ProtoReflect() protoreflect.Message
- func (x *ListValuesInput) Reset()
- func (x *ListValuesInput) String() string
- type ListValuesInput_Filter
- func (*ListValuesInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListValuesInput_Filter) GetId() []*wellknown.ExpressionID
- func (x *ListValuesInput_Filter) GetName() []*wellknown.ExpressionString
- func (x *ListValuesInput_Filter) GetQuery() string
- func (*ListValuesInput_Filter) ProtoMessage()
- func (x *ListValuesInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListValuesInput_Filter) Reset()
- func (x *ListValuesInput_Filter) String() string
- type ListValuesOutput
- func (*ListValuesOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListValuesOutput) GetItems() []*Value
- func (x *ListValuesOutput) GetTotal() int32
- func (*ListValuesOutput) ProtoMessage()
- func (x *ListValuesOutput) ProtoReflect() protoreflect.Message
- func (x *ListValuesOutput) Reset()
- func (x *ListValuesOutput) String() string
- type SetLinkedTopicsInput
- func (*SetLinkedTopicsInput) Descriptor() ([]byte, []int)deprecated
- func (x *SetLinkedTopicsInput) GetTopics() []string
- func (*SetLinkedTopicsInput) ProtoMessage()
- func (x *SetLinkedTopicsInput) ProtoReflect() protoreflect.Message
- func (x *SetLinkedTopicsInput) Reset()
- func (x *SetLinkedTopicsInput) String() string
- type SetLinkedTopicsOutput
- type TranslateValueInput
- func (*TranslateValueInput) Descriptor() ([]byte, []int)deprecated
- func (x *TranslateValueInput) GetEnumId() string
- func (x *TranslateValueInput) GetLocale() string
- func (x *TranslateValueInput) GetTranslation() *Value_Translation
- func (x *TranslateValueInput) GetValueId() string
- func (*TranslateValueInput) ProtoMessage()
- func (x *TranslateValueInput) ProtoReflect() protoreflect.Message
- func (x *TranslateValueInput) Reset()
- func (x *TranslateValueInput) String() string
- type TranslateValueOutput
- type UnimplementedEnumServiceServer
- func (UnimplementedEnumServiceServer) CreateEnum(context.Context, *CreateEnumInput) (*CreateEnumOutput, error)
- func (UnimplementedEnumServiceServer) CreateValue(context.Context, *CreateValueInput) (*CreateValueOutput, error)
- func (UnimplementedEnumServiceServer) DeleteEnum(context.Context, *DeleteEnumInput) (*DeleteEnumOutput, error)
- func (UnimplementedEnumServiceServer) DeleteTranslation(context.Context, *DeleteTranslationInput) (*DeleteTranslationOutput, error)
- func (UnimplementedEnumServiceServer) DeleteValue(context.Context, *DeleteValueInput) (*DeleteValueOutput, error)
- func (UnimplementedEnumServiceServer) DescribeEnum(context.Context, *DescribeEnumInput) (*DescribeEnumOutput, error)
- func (UnimplementedEnumServiceServer) DescribeValue(context.Context, *DescribeValueInput) (*DescribeValueOutput, error)
- func (UnimplementedEnumServiceServer) ListEnums(context.Context, *ListEnumsInput) (*ListEnumsOutput, error)
- func (UnimplementedEnumServiceServer) ListTranslations(context.Context, *ListTranslationsInput) (*ListTranslationsOutput, error)
- func (UnimplementedEnumServiceServer) ListValues(context.Context, *ListValuesInput) (*ListValuesOutput, error)
- func (UnimplementedEnumServiceServer) TranslateValue(context.Context, *TranslateValueInput) (*TranslateValueOutput, error)
- func (UnimplementedEnumServiceServer) UpdateEnum(context.Context, *UpdateEnumInput) (*UpdateEnumOutput, error)
- func (UnimplementedEnumServiceServer) UpdateValue(context.Context, *UpdateValueInput) (*UpdateValueOutput, error)
- type UnimplementedLinkServiceServer
- type UnsafeEnumServiceServer
- type UnsafeLinkServiceServer
- type UpdateEnumInput
- func (*UpdateEnumInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEnumInput) GetEnum() *Enum
- func (x *UpdateEnumInput) GetEnumId() string
- func (x *UpdateEnumInput) GetPatch() []UpdateEnumInput_Patch
- func (*UpdateEnumInput) ProtoMessage()
- func (x *UpdateEnumInput) ProtoReflect() protoreflect.Message
- func (x *UpdateEnumInput) Reset()
- func (x *UpdateEnumInput) String() string
- type UpdateEnumInput_Patch
- func (UpdateEnumInput_Patch) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateEnumInput_Patch) Enum() *UpdateEnumInput_Patch
- func (UpdateEnumInput_Patch) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateEnumInput_Patch) Number() protoreflect.EnumNumber
- func (x UpdateEnumInput_Patch) String() string
- func (UpdateEnumInput_Patch) Type() protoreflect.EnumType
- type UpdateEnumOutput
- type UpdateValueInput
- func (*UpdateValueInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateValueInput) GetEnumId() string
- func (x *UpdateValueInput) GetPatch() []UpdateValueInput_Patch
- func (x *UpdateValueInput) GetValue() *Value
- func (x *UpdateValueInput) GetValueId() string
- func (*UpdateValueInput) ProtoMessage()
- func (x *UpdateValueInput) ProtoReflect() protoreflect.Message
- func (x *UpdateValueInput) Reset()
- func (x *UpdateValueInput) String() string
- type UpdateValueInput_Patch
- func (UpdateValueInput_Patch) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateValueInput_Patch) Enum() *UpdateValueInput_Patch
- func (UpdateValueInput_Patch) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateValueInput_Patch) Number() protoreflect.EnumNumber
- func (x UpdateValueInput_Patch) String() string
- func (UpdateValueInput_Patch) Type() protoreflect.EnumType
- type UpdateValueOutput
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetAbbr() string
- func (x *Value) GetId() string
- func (x *Value) GetImage() string
- func (x *Value) GetKeywords() []string
- func (x *Value) GetName() string
- func (x *Value) GetSummary() string
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_Translation
- func (*Value_Translation) Descriptor() ([]byte, []int)deprecated
- func (x *Value_Translation) GetAbbr() string
- func (x *Value_Translation) GetKeywords() []string
- func (x *Value_Translation) GetLocale() string
- func (x *Value_Translation) GetName() string
- func (x *Value_Translation) GetSummary() string
- func (*Value_Translation) ProtoMessage()
- func (x *Value_Translation) ProtoReflect() protoreflect.Message
- func (x *Value_Translation) Reset()
- func (x *Value_Translation) String() string
Constants ¶
const ( EnumService_CreateEnum_FullMethodName = "/eolymp.taxonomy.EnumService/CreateEnum" EnumService_DeleteEnum_FullMethodName = "/eolymp.taxonomy.EnumService/DeleteEnum" EnumService_UpdateEnum_FullMethodName = "/eolymp.taxonomy.EnumService/UpdateEnum" EnumService_DescribeEnum_FullMethodName = "/eolymp.taxonomy.EnumService/DescribeEnum" EnumService_ListEnums_FullMethodName = "/eolymp.taxonomy.EnumService/ListEnums" EnumService_CreateValue_FullMethodName = "/eolymp.taxonomy.EnumService/CreateValue" EnumService_DeleteValue_FullMethodName = "/eolymp.taxonomy.EnumService/DeleteValue" EnumService_UpdateValue_FullMethodName = "/eolymp.taxonomy.EnumService/UpdateValue" EnumService_DescribeValue_FullMethodName = "/eolymp.taxonomy.EnumService/DescribeValue" EnumService_ListValues_FullMethodName = "/eolymp.taxonomy.EnumService/ListValues" EnumService_TranslateValue_FullMethodName = "/eolymp.taxonomy.EnumService/TranslateValue" EnumService_DeleteTranslation_FullMethodName = "/eolymp.taxonomy.EnumService/DeleteTranslation" EnumService_ListTranslations_FullMethodName = "/eolymp.taxonomy.EnumService/ListTranslations" )
const ( LinkService_SetLinkedTopics_FullMethodName = "/eolymp.taxonomy.LinkService/SetLinkedTopics" LinkService_GetLinkedTopics_FullMethodName = "/eolymp.taxonomy.LinkService/GetLinkedTopics" )
Variables ¶
var ( UpdateEnumInput_Patch_name = map[int32]string{ 0: "ALL", 1: "NAME", } UpdateEnumInput_Patch_value = map[string]int32{ "ALL": 0, "NAME": 1, } )
Enum value maps for UpdateEnumInput_Patch.
var ( UpdateValueInput_Patch_name = map[int32]string{ 0: "ALL", 1: "NAME", 2: "ABBR", 3: "SUMMARY", 4: "IMAGE", 5: "KEYWORDS", } UpdateValueInput_Patch_value = map[string]int32{ "ALL": 0, "NAME": 1, "ABBR": 2, "SUMMARY": 3, "IMAGE": 4, "KEYWORDS": 5, } )
Enum value maps for UpdateValueInput_Patch.
var EnumService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.taxonomy.EnumService", HandlerType: (*EnumServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateEnum", Handler: _EnumService_CreateEnum_Handler, }, { MethodName: "DeleteEnum", Handler: _EnumService_DeleteEnum_Handler, }, { MethodName: "UpdateEnum", Handler: _EnumService_UpdateEnum_Handler, }, { MethodName: "DescribeEnum", Handler: _EnumService_DescribeEnum_Handler, }, { MethodName: "ListEnums", Handler: _EnumService_ListEnums_Handler, }, { MethodName: "CreateValue", Handler: _EnumService_CreateValue_Handler, }, { MethodName: "DeleteValue", Handler: _EnumService_DeleteValue_Handler, }, { MethodName: "UpdateValue", Handler: _EnumService_UpdateValue_Handler, }, { MethodName: "DescribeValue", Handler: _EnumService_DescribeValue_Handler, }, { MethodName: "ListValues", Handler: _EnumService_ListValues_Handler, }, { MethodName: "TranslateValue", Handler: _EnumService_TranslateValue_Handler, }, { MethodName: "DeleteTranslation", Handler: _EnumService_DeleteTranslation_Handler, }, { MethodName: "ListTranslations", Handler: _EnumService_ListTranslations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/taxonomy/enum_service.proto", }
EnumService_ServiceDesc is the grpc.ServiceDesc for EnumService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_eolymp_taxonomy_enum_proto protoreflect.FileDescriptor
var File_eolymp_taxonomy_enum_service_proto protoreflect.FileDescriptor
var File_eolymp_taxonomy_enum_value_proto protoreflect.FileDescriptor
var File_eolymp_taxonomy_link_service_proto protoreflect.FileDescriptor
var LinkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.taxonomy.LinkService", HandlerType: (*LinkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetLinkedTopics", Handler: _LinkService_SetLinkedTopics_Handler, }, { MethodName: "GetLinkedTopics", Handler: _LinkService_GetLinkedTopics_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/taxonomy/link_service.proto", }
LinkService_ServiceDesc is the grpc.ServiceDesc for LinkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterEnumServiceHttpHandlers ¶
func RegisterEnumServiceHttpHandlers(router *mux.Router, prefix string, cli EnumServiceClient)
RegisterEnumServiceHttpHandlers adds handlers for for EnumServiceClient This constructor creates http.Handler, the actual implementation might change at any moment
func RegisterEnumServiceServer ¶
func RegisterEnumServiceServer(s grpc.ServiceRegistrar, srv EnumServiceServer)
func RegisterLinkServiceHttpHandlers ¶
func RegisterLinkServiceHttpHandlers(router *mux.Router, prefix string, cli LinkServiceClient)
RegisterLinkServiceHttpHandlers adds handlers for for LinkServiceClient This constructor creates http.Handler, the actual implementation might change at any moment
func RegisterLinkServiceServer ¶
func RegisterLinkServiceServer(s grpc.ServiceRegistrar, srv LinkServiceServer)
Types ¶
type CreateEnumInput ¶
type CreateEnumInput struct { Enum *Enum `protobuf:"bytes,1,opt,name=enum,proto3" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*CreateEnumInput) Descriptor
deprecated
func (*CreateEnumInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateEnumInput.ProtoReflect.Descriptor instead.
func (*CreateEnumInput) GetEnum ¶
func (x *CreateEnumInput) GetEnum() *Enum
func (*CreateEnumInput) ProtoMessage ¶
func (*CreateEnumInput) ProtoMessage()
func (*CreateEnumInput) ProtoReflect ¶
func (x *CreateEnumInput) ProtoReflect() protoreflect.Message
func (*CreateEnumInput) Reset ¶
func (x *CreateEnumInput) Reset()
func (*CreateEnumInput) String ¶
func (x *CreateEnumInput) String() string
type CreateEnumOutput ¶
type CreateEnumOutput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` // contains filtered or unexported fields }
func (*CreateEnumOutput) Descriptor
deprecated
func (*CreateEnumOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateEnumOutput.ProtoReflect.Descriptor instead.
func (*CreateEnumOutput) GetEnumId ¶
func (x *CreateEnumOutput) GetEnumId() string
func (*CreateEnumOutput) ProtoMessage ¶
func (*CreateEnumOutput) ProtoMessage()
func (*CreateEnumOutput) ProtoReflect ¶
func (x *CreateEnumOutput) ProtoReflect() protoreflect.Message
func (*CreateEnumOutput) Reset ¶
func (x *CreateEnumOutput) Reset()
func (*CreateEnumOutput) String ¶
func (x *CreateEnumOutput) String() string
type CreateValueInput ¶
type CreateValueInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*CreateValueInput) Descriptor
deprecated
func (*CreateValueInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateValueInput.ProtoReflect.Descriptor instead.
func (*CreateValueInput) GetEnumId ¶
func (x *CreateValueInput) GetEnumId() string
func (*CreateValueInput) GetValue ¶
func (x *CreateValueInput) GetValue() *Value
func (*CreateValueInput) ProtoMessage ¶
func (*CreateValueInput) ProtoMessage()
func (*CreateValueInput) ProtoReflect ¶
func (x *CreateValueInput) ProtoReflect() protoreflect.Message
func (*CreateValueInput) Reset ¶
func (x *CreateValueInput) Reset()
func (*CreateValueInput) String ¶
func (x *CreateValueInput) String() string
type CreateValueOutput ¶
type CreateValueOutput struct { ValueId string `protobuf:"bytes,1,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"` // contains filtered or unexported fields }
func (*CreateValueOutput) Descriptor
deprecated
func (*CreateValueOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateValueOutput.ProtoReflect.Descriptor instead.
func (*CreateValueOutput) GetValueId ¶
func (x *CreateValueOutput) GetValueId() string
func (*CreateValueOutput) ProtoMessage ¶
func (*CreateValueOutput) ProtoMessage()
func (*CreateValueOutput) ProtoReflect ¶
func (x *CreateValueOutput) ProtoReflect() protoreflect.Message
func (*CreateValueOutput) Reset ¶
func (x *CreateValueOutput) Reset()
func (*CreateValueOutput) String ¶
func (x *CreateValueOutput) String() string
type DeleteEnumInput ¶
type DeleteEnumInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteEnumInput) Descriptor
deprecated
func (*DeleteEnumInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnumInput.ProtoReflect.Descriptor instead.
func (*DeleteEnumInput) GetEnumId ¶
func (x *DeleteEnumInput) GetEnumId() string
func (*DeleteEnumInput) ProtoMessage ¶
func (*DeleteEnumInput) ProtoMessage()
func (*DeleteEnumInput) ProtoReflect ¶
func (x *DeleteEnumInput) ProtoReflect() protoreflect.Message
func (*DeleteEnumInput) Reset ¶
func (x *DeleteEnumInput) Reset()
func (*DeleteEnumInput) String ¶
func (x *DeleteEnumInput) String() string
type DeleteEnumOutput ¶
type DeleteEnumOutput struct {
// contains filtered or unexported fields
}
func (*DeleteEnumOutput) Descriptor
deprecated
func (*DeleteEnumOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnumOutput.ProtoReflect.Descriptor instead.
func (*DeleteEnumOutput) ProtoMessage ¶
func (*DeleteEnumOutput) ProtoMessage()
func (*DeleteEnumOutput) ProtoReflect ¶
func (x *DeleteEnumOutput) ProtoReflect() protoreflect.Message
func (*DeleteEnumOutput) Reset ¶
func (x *DeleteEnumOutput) Reset()
func (*DeleteEnumOutput) String ¶
func (x *DeleteEnumOutput) String() string
type DeleteTranslationInput ¶
type DeleteTranslationInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` ValueId string `protobuf:"bytes,2,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"` Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*DeleteTranslationInput) Descriptor
deprecated
func (*DeleteTranslationInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTranslationInput.ProtoReflect.Descriptor instead.
func (*DeleteTranslationInput) GetEnumId ¶
func (x *DeleteTranslationInput) GetEnumId() string
func (*DeleteTranslationInput) GetLocale ¶
func (x *DeleteTranslationInput) GetLocale() string
func (*DeleteTranslationInput) GetValueId ¶
func (x *DeleteTranslationInput) GetValueId() string
func (*DeleteTranslationInput) ProtoMessage ¶
func (*DeleteTranslationInput) ProtoMessage()
func (*DeleteTranslationInput) ProtoReflect ¶
func (x *DeleteTranslationInput) ProtoReflect() protoreflect.Message
func (*DeleteTranslationInput) Reset ¶
func (x *DeleteTranslationInput) Reset()
func (*DeleteTranslationInput) String ¶
func (x *DeleteTranslationInput) String() string
type DeleteTranslationOutput ¶
type DeleteTranslationOutput struct {
// contains filtered or unexported fields
}
func (*DeleteTranslationOutput) Descriptor
deprecated
func (*DeleteTranslationOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTranslationOutput.ProtoReflect.Descriptor instead.
func (*DeleteTranslationOutput) ProtoMessage ¶
func (*DeleteTranslationOutput) ProtoMessage()
func (*DeleteTranslationOutput) ProtoReflect ¶
func (x *DeleteTranslationOutput) ProtoReflect() protoreflect.Message
func (*DeleteTranslationOutput) Reset ¶
func (x *DeleteTranslationOutput) Reset()
func (*DeleteTranslationOutput) String ¶
func (x *DeleteTranslationOutput) String() string
type DeleteValueInput ¶
type DeleteValueInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` ValueId string `protobuf:"bytes,2,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteValueInput) Descriptor
deprecated
func (*DeleteValueInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValueInput.ProtoReflect.Descriptor instead.
func (*DeleteValueInput) GetEnumId ¶
func (x *DeleteValueInput) GetEnumId() string
func (*DeleteValueInput) GetValueId ¶
func (x *DeleteValueInput) GetValueId() string
func (*DeleteValueInput) ProtoMessage ¶
func (*DeleteValueInput) ProtoMessage()
func (*DeleteValueInput) ProtoReflect ¶
func (x *DeleteValueInput) ProtoReflect() protoreflect.Message
func (*DeleteValueInput) Reset ¶
func (x *DeleteValueInput) Reset()
func (*DeleteValueInput) String ¶
func (x *DeleteValueInput) String() string
type DeleteValueOutput ¶
type DeleteValueOutput struct {
// contains filtered or unexported fields
}
func (*DeleteValueOutput) Descriptor
deprecated
func (*DeleteValueOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValueOutput.ProtoReflect.Descriptor instead.
func (*DeleteValueOutput) ProtoMessage ¶
func (*DeleteValueOutput) ProtoMessage()
func (*DeleteValueOutput) ProtoReflect ¶
func (x *DeleteValueOutput) ProtoReflect() protoreflect.Message
func (*DeleteValueOutput) Reset ¶
func (x *DeleteValueOutput) Reset()
func (*DeleteValueOutput) String ¶
func (x *DeleteValueOutput) String() string
type DescribeEnumInput ¶
type DescribeEnumInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` // contains filtered or unexported fields }
func (*DescribeEnumInput) Descriptor
deprecated
func (*DescribeEnumInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeEnumInput.ProtoReflect.Descriptor instead.
func (*DescribeEnumInput) GetEnumId ¶
func (x *DescribeEnumInput) GetEnumId() string
func (*DescribeEnumInput) ProtoMessage ¶
func (*DescribeEnumInput) ProtoMessage()
func (*DescribeEnumInput) ProtoReflect ¶
func (x *DescribeEnumInput) ProtoReflect() protoreflect.Message
func (*DescribeEnumInput) Reset ¶
func (x *DescribeEnumInput) Reset()
func (*DescribeEnumInput) String ¶
func (x *DescribeEnumInput) String() string
type DescribeEnumOutput ¶
type DescribeEnumOutput struct { Enum *Enum `protobuf:"bytes,1,opt,name=enum,proto3" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*DescribeEnumOutput) Descriptor
deprecated
func (*DescribeEnumOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeEnumOutput.ProtoReflect.Descriptor instead.
func (*DescribeEnumOutput) GetEnum ¶
func (x *DescribeEnumOutput) GetEnum() *Enum
func (*DescribeEnumOutput) ProtoMessage ¶
func (*DescribeEnumOutput) ProtoMessage()
func (*DescribeEnumOutput) ProtoReflect ¶
func (x *DescribeEnumOutput) ProtoReflect() protoreflect.Message
func (*DescribeEnumOutput) Reset ¶
func (x *DescribeEnumOutput) Reset()
func (*DescribeEnumOutput) String ¶
func (x *DescribeEnumOutput) String() string
type DescribeValueInput ¶
type DescribeValueInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` ValueId string `protobuf:"bytes,2,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"` // if set, system will use translations to translate value name, summary and keywords Locale string `protobuf:"bytes,100,opt,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*DescribeValueInput) Descriptor
deprecated
func (*DescribeValueInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeValueInput.ProtoReflect.Descriptor instead.
func (*DescribeValueInput) GetEnumId ¶
func (x *DescribeValueInput) GetEnumId() string
func (*DescribeValueInput) GetLocale ¶
func (x *DescribeValueInput) GetLocale() string
func (*DescribeValueInput) GetValueId ¶
func (x *DescribeValueInput) GetValueId() string
func (*DescribeValueInput) ProtoMessage ¶
func (*DescribeValueInput) ProtoMessage()
func (*DescribeValueInput) ProtoReflect ¶
func (x *DescribeValueInput) ProtoReflect() protoreflect.Message
func (*DescribeValueInput) Reset ¶
func (x *DescribeValueInput) Reset()
func (*DescribeValueInput) String ¶
func (x *DescribeValueInput) String() string
type DescribeValueOutput ¶
type DescribeValueOutput struct { Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DescribeValueOutput) Descriptor
deprecated
func (*DescribeValueOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeValueOutput.ProtoReflect.Descriptor instead.
func (*DescribeValueOutput) GetValue ¶
func (x *DescribeValueOutput) GetValue() *Value
func (*DescribeValueOutput) ProtoMessage ¶
func (*DescribeValueOutput) ProtoMessage()
func (*DescribeValueOutput) ProtoReflect ¶
func (x *DescribeValueOutput) ProtoReflect() protoreflect.Message
func (*DescribeValueOutput) Reset ¶
func (x *DescribeValueOutput) Reset()
func (*DescribeValueOutput) String ¶
func (x *DescribeValueOutput) String() string
type Enum ¶
type Enum struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Enum) Descriptor
deprecated
func (*Enum) ProtoMessage ¶
func (*Enum) ProtoMessage()
func (*Enum) ProtoReflect ¶
func (x *Enum) ProtoReflect() protoreflect.Message
type EnumServiceClient ¶
type EnumServiceClient interface { CreateEnum(ctx context.Context, in *CreateEnumInput, opts ...grpc.CallOption) (*CreateEnumOutput, error) DeleteEnum(ctx context.Context, in *DeleteEnumInput, opts ...grpc.CallOption) (*DeleteEnumOutput, error) UpdateEnum(ctx context.Context, in *UpdateEnumInput, opts ...grpc.CallOption) (*UpdateEnumOutput, error) DescribeEnum(ctx context.Context, in *DescribeEnumInput, opts ...grpc.CallOption) (*DescribeEnumOutput, error) ListEnums(ctx context.Context, in *ListEnumsInput, opts ...grpc.CallOption) (*ListEnumsOutput, error) CreateValue(ctx context.Context, in *CreateValueInput, opts ...grpc.CallOption) (*CreateValueOutput, error) DeleteValue(ctx context.Context, in *DeleteValueInput, opts ...grpc.CallOption) (*DeleteValueOutput, error) UpdateValue(ctx context.Context, in *UpdateValueInput, opts ...grpc.CallOption) (*UpdateValueOutput, error) DescribeValue(ctx context.Context, in *DescribeValueInput, opts ...grpc.CallOption) (*DescribeValueOutput, error) ListValues(ctx context.Context, in *ListValuesInput, opts ...grpc.CallOption) (*ListValuesOutput, error) TranslateValue(ctx context.Context, in *TranslateValueInput, opts ...grpc.CallOption) (*TranslateValueOutput, error) DeleteTranslation(ctx context.Context, in *DeleteTranslationInput, opts ...grpc.CallOption) (*DeleteTranslationOutput, error) ListTranslations(ctx context.Context, in *ListTranslationsInput, opts ...grpc.CallOption) (*ListTranslationsOutput, error) }
EnumServiceClient is the client API for EnumService 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.
func NewEnumServiceClient ¶
func NewEnumServiceClient(cc grpc.ClientConnInterface) EnumServiceClient
type EnumServiceInterceptor ¶
type EnumServiceInterceptor struct {
// contains filtered or unexported fields
}
func NewEnumServiceInterceptor ¶
func NewEnumServiceInterceptor(cli EnumServiceClient, middleware ..._EnumServiceMiddleware) *EnumServiceInterceptor
NewEnumServiceInterceptor constructs additional middleware for a server based on annotations in proto files
func (*EnumServiceInterceptor) CreateEnum ¶
func (i *EnumServiceInterceptor) CreateEnum(ctx context.Context, in *CreateEnumInput, opts ...grpc.CallOption) (*CreateEnumOutput, error)
func (*EnumServiceInterceptor) CreateValue ¶
func (i *EnumServiceInterceptor) CreateValue(ctx context.Context, in *CreateValueInput, opts ...grpc.CallOption) (*CreateValueOutput, error)
func (*EnumServiceInterceptor) DeleteEnum ¶
func (i *EnumServiceInterceptor) DeleteEnum(ctx context.Context, in *DeleteEnumInput, opts ...grpc.CallOption) (*DeleteEnumOutput, error)
func (*EnumServiceInterceptor) DeleteTranslation ¶
func (i *EnumServiceInterceptor) DeleteTranslation(ctx context.Context, in *DeleteTranslationInput, opts ...grpc.CallOption) (*DeleteTranslationOutput, error)
func (*EnumServiceInterceptor) DeleteValue ¶
func (i *EnumServiceInterceptor) DeleteValue(ctx context.Context, in *DeleteValueInput, opts ...grpc.CallOption) (*DeleteValueOutput, error)
func (*EnumServiceInterceptor) DescribeEnum ¶
func (i *EnumServiceInterceptor) DescribeEnum(ctx context.Context, in *DescribeEnumInput, opts ...grpc.CallOption) (*DescribeEnumOutput, error)
func (*EnumServiceInterceptor) DescribeValue ¶
func (i *EnumServiceInterceptor) DescribeValue(ctx context.Context, in *DescribeValueInput, opts ...grpc.CallOption) (*DescribeValueOutput, error)
func (*EnumServiceInterceptor) ListEnums ¶
func (i *EnumServiceInterceptor) ListEnums(ctx context.Context, in *ListEnumsInput, opts ...grpc.CallOption) (*ListEnumsOutput, error)
func (*EnumServiceInterceptor) ListTranslations ¶
func (i *EnumServiceInterceptor) ListTranslations(ctx context.Context, in *ListTranslationsInput, opts ...grpc.CallOption) (*ListTranslationsOutput, error)
func (*EnumServiceInterceptor) ListValues ¶
func (i *EnumServiceInterceptor) ListValues(ctx context.Context, in *ListValuesInput, opts ...grpc.CallOption) (*ListValuesOutput, error)
func (*EnumServiceInterceptor) TranslateValue ¶
func (i *EnumServiceInterceptor) TranslateValue(ctx context.Context, in *TranslateValueInput, opts ...grpc.CallOption) (*TranslateValueOutput, error)
func (*EnumServiceInterceptor) UpdateEnum ¶
func (i *EnumServiceInterceptor) UpdateEnum(ctx context.Context, in *UpdateEnumInput, opts ...grpc.CallOption) (*UpdateEnumOutput, error)
func (*EnumServiceInterceptor) UpdateValue ¶
func (i *EnumServiceInterceptor) UpdateValue(ctx context.Context, in *UpdateValueInput, opts ...grpc.CallOption) (*UpdateValueOutput, error)
type EnumServiceServer ¶
type EnumServiceServer interface { CreateEnum(context.Context, *CreateEnumInput) (*CreateEnumOutput, error) DeleteEnum(context.Context, *DeleteEnumInput) (*DeleteEnumOutput, error) UpdateEnum(context.Context, *UpdateEnumInput) (*UpdateEnumOutput, error) DescribeEnum(context.Context, *DescribeEnumInput) (*DescribeEnumOutput, error) ListEnums(context.Context, *ListEnumsInput) (*ListEnumsOutput, error) CreateValue(context.Context, *CreateValueInput) (*CreateValueOutput, error) DeleteValue(context.Context, *DeleteValueInput) (*DeleteValueOutput, error) UpdateValue(context.Context, *UpdateValueInput) (*UpdateValueOutput, error) DescribeValue(context.Context, *DescribeValueInput) (*DescribeValueOutput, error) ListValues(context.Context, *ListValuesInput) (*ListValuesOutput, error) TranslateValue(context.Context, *TranslateValueInput) (*TranslateValueOutput, error) DeleteTranslation(context.Context, *DeleteTranslationInput) (*DeleteTranslationOutput, error) ListTranslations(context.Context, *ListTranslationsInput) (*ListTranslationsOutput, error) }
EnumServiceServer is the server API for EnumService service. All implementations should embed UnimplementedEnumServiceServer for forward compatibility
type EnumServiceService ¶
type EnumServiceService struct {
// contains filtered or unexported fields
}
func NewEnumServiceHttpClient ¶
func NewEnumServiceHttpClient(url string, cli _EnumServiceHttpClient) *EnumServiceService
NewEnumServiceHttpClient constructs client for EnumService
func (*EnumServiceService) CreateEnum ¶
func (s *EnumServiceService) CreateEnum(ctx context.Context, in *CreateEnumInput) (*CreateEnumOutput, error)
func (*EnumServiceService) CreateValue ¶
func (s *EnumServiceService) CreateValue(ctx context.Context, in *CreateValueInput) (*CreateValueOutput, error)
func (*EnumServiceService) DeleteEnum ¶
func (s *EnumServiceService) DeleteEnum(ctx context.Context, in *DeleteEnumInput) (*DeleteEnumOutput, error)
func (*EnumServiceService) DeleteTranslation ¶
func (s *EnumServiceService) DeleteTranslation(ctx context.Context, in *DeleteTranslationInput) (*DeleteTranslationOutput, error)
func (*EnumServiceService) DeleteValue ¶
func (s *EnumServiceService) DeleteValue(ctx context.Context, in *DeleteValueInput) (*DeleteValueOutput, error)
func (*EnumServiceService) DescribeEnum ¶
func (s *EnumServiceService) DescribeEnum(ctx context.Context, in *DescribeEnumInput) (*DescribeEnumOutput, error)
func (*EnumServiceService) DescribeValue ¶
func (s *EnumServiceService) DescribeValue(ctx context.Context, in *DescribeValueInput) (*DescribeValueOutput, error)
func (*EnumServiceService) ListEnums ¶
func (s *EnumServiceService) ListEnums(ctx context.Context, in *ListEnumsInput) (*ListEnumsOutput, error)
func (*EnumServiceService) ListTranslations ¶
func (s *EnumServiceService) ListTranslations(ctx context.Context, in *ListTranslationsInput) (*ListTranslationsOutput, error)
func (*EnumServiceService) ListValues ¶
func (s *EnumServiceService) ListValues(ctx context.Context, in *ListValuesInput) (*ListValuesOutput, error)
func (*EnumServiceService) TranslateValue ¶
func (s *EnumServiceService) TranslateValue(ctx context.Context, in *TranslateValueInput) (*TranslateValueOutput, error)
func (*EnumServiceService) UpdateEnum ¶
func (s *EnumServiceService) UpdateEnum(ctx context.Context, in *UpdateEnumInput) (*UpdateEnumOutput, error)
func (*EnumServiceService) UpdateValue ¶
func (s *EnumServiceService) UpdateValue(ctx context.Context, in *UpdateValueInput) (*UpdateValueOutput, error)
type GetLinkedTopicsInput ¶
type GetLinkedTopicsInput struct {
// contains filtered or unexported fields
}
func (*GetLinkedTopicsInput) Descriptor
deprecated
func (*GetLinkedTopicsInput) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkedTopicsInput.ProtoReflect.Descriptor instead.
func (*GetLinkedTopicsInput) ProtoMessage ¶
func (*GetLinkedTopicsInput) ProtoMessage()
func (*GetLinkedTopicsInput) ProtoReflect ¶
func (x *GetLinkedTopicsInput) ProtoReflect() protoreflect.Message
func (*GetLinkedTopicsInput) Reset ¶
func (x *GetLinkedTopicsInput) Reset()
func (*GetLinkedTopicsInput) String ¶
func (x *GetLinkedTopicsInput) String() string
type GetLinkedTopicsOutput ¶
type GetLinkedTopicsOutput struct { Topics []string `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
func (*GetLinkedTopicsOutput) Descriptor
deprecated
func (*GetLinkedTopicsOutput) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkedTopicsOutput.ProtoReflect.Descriptor instead.
func (*GetLinkedTopicsOutput) GetTopics ¶
func (x *GetLinkedTopicsOutput) GetTopics() []string
func (*GetLinkedTopicsOutput) ProtoMessage ¶
func (*GetLinkedTopicsOutput) ProtoMessage()
func (*GetLinkedTopicsOutput) ProtoReflect ¶
func (x *GetLinkedTopicsOutput) ProtoReflect() protoreflect.Message
func (*GetLinkedTopicsOutput) Reset ¶
func (x *GetLinkedTopicsOutput) Reset()
func (*GetLinkedTopicsOutput) String ¶
func (x *GetLinkedTopicsOutput) String() string
type LinkServiceClient ¶
type LinkServiceClient interface { // this method will override all existing links SetLinkedTopics(ctx context.Context, in *SetLinkedTopicsInput, opts ...grpc.CallOption) (*SetLinkedTopicsOutput, error) // list topics linked to an entity GetLinkedTopics(ctx context.Context, in *GetLinkedTopicsInput, opts ...grpc.CallOption) (*GetLinkedTopicsOutput, error) }
LinkServiceClient is the client API for LinkService 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.
func NewLinkServiceClient ¶
func NewLinkServiceClient(cc grpc.ClientConnInterface) LinkServiceClient
type LinkServiceInterceptor ¶
type LinkServiceInterceptor struct {
// contains filtered or unexported fields
}
func NewLinkServiceInterceptor ¶
func NewLinkServiceInterceptor(cli LinkServiceClient, middleware ..._LinkServiceMiddleware) *LinkServiceInterceptor
NewLinkServiceInterceptor constructs additional middleware for a server based on annotations in proto files
func (*LinkServiceInterceptor) GetLinkedTopics ¶
func (i *LinkServiceInterceptor) GetLinkedTopics(ctx context.Context, in *GetLinkedTopicsInput, opts ...grpc.CallOption) (*GetLinkedTopicsOutput, error)
func (*LinkServiceInterceptor) SetLinkedTopics ¶
func (i *LinkServiceInterceptor) SetLinkedTopics(ctx context.Context, in *SetLinkedTopicsInput, opts ...grpc.CallOption) (*SetLinkedTopicsOutput, error)
type LinkServiceServer ¶
type LinkServiceServer interface { // this method will override all existing links SetLinkedTopics(context.Context, *SetLinkedTopicsInput) (*SetLinkedTopicsOutput, error) // list topics linked to an entity GetLinkedTopics(context.Context, *GetLinkedTopicsInput) (*GetLinkedTopicsOutput, error) }
LinkServiceServer is the server API for LinkService service. All implementations should embed UnimplementedLinkServiceServer for forward compatibility
type LinkServiceService ¶
type LinkServiceService struct {
// contains filtered or unexported fields
}
func NewLinkServiceHttpClient ¶
func NewLinkServiceHttpClient(url string, cli _LinkServiceHttpClient) *LinkServiceService
NewLinkServiceHttpClient constructs client for LinkService
func (*LinkServiceService) GetLinkedTopics ¶
func (s *LinkServiceService) GetLinkedTopics(ctx context.Context, in *GetLinkedTopicsInput) (*GetLinkedTopicsOutput, error)
func (*LinkServiceService) SetLinkedTopics ¶
func (s *LinkServiceService) SetLinkedTopics(ctx context.Context, in *SetLinkedTopicsInput) (*SetLinkedTopicsOutput, error)
type ListEnumsInput ¶
type ListEnumsInput struct { // pagination Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // data filters Filters *ListEnumsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*ListEnumsInput) Descriptor
deprecated
func (*ListEnumsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListEnumsInput.ProtoReflect.Descriptor instead.
func (*ListEnumsInput) GetFilters ¶
func (x *ListEnumsInput) GetFilters() *ListEnumsInput_Filter
func (*ListEnumsInput) GetOffset ¶
func (x *ListEnumsInput) GetOffset() int32
func (*ListEnumsInput) GetSize ¶
func (x *ListEnumsInput) GetSize() int32
func (*ListEnumsInput) ProtoMessage ¶
func (*ListEnumsInput) ProtoMessage()
func (*ListEnumsInput) ProtoReflect ¶
func (x *ListEnumsInput) ProtoReflect() protoreflect.Message
func (*ListEnumsInput) Reset ¶
func (x *ListEnumsInput) Reset()
func (*ListEnumsInput) String ¶
func (x *ListEnumsInput) String() string
type ListEnumsInput_Filter ¶
type ListEnumsInput_Filter struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Id []*wellknown.ExpressionID `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` Name []*wellknown.ExpressionString `protobuf:"bytes,3,rep,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListEnumsInput_Filter) Descriptor
deprecated
func (*ListEnumsInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListEnumsInput_Filter.ProtoReflect.Descriptor instead.
func (*ListEnumsInput_Filter) GetId ¶
func (x *ListEnumsInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListEnumsInput_Filter) GetName ¶
func (x *ListEnumsInput_Filter) GetName() []*wellknown.ExpressionString
func (*ListEnumsInput_Filter) GetQuery ¶
func (x *ListEnumsInput_Filter) GetQuery() string
func (*ListEnumsInput_Filter) ProtoMessage ¶
func (*ListEnumsInput_Filter) ProtoMessage()
func (*ListEnumsInput_Filter) ProtoReflect ¶
func (x *ListEnumsInput_Filter) ProtoReflect() protoreflect.Message
func (*ListEnumsInput_Filter) Reset ¶
func (x *ListEnumsInput_Filter) Reset()
func (*ListEnumsInput_Filter) String ¶
func (x *ListEnumsInput_Filter) String() string
type ListEnumsOutput ¶
type ListEnumsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Enum `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListEnumsOutput) Descriptor
deprecated
func (*ListEnumsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListEnumsOutput.ProtoReflect.Descriptor instead.
func (*ListEnumsOutput) GetItems ¶
func (x *ListEnumsOutput) GetItems() []*Enum
func (*ListEnumsOutput) GetTotal ¶
func (x *ListEnumsOutput) GetTotal() int32
func (*ListEnumsOutput) ProtoMessage ¶
func (*ListEnumsOutput) ProtoMessage()
func (*ListEnumsOutput) ProtoReflect ¶
func (x *ListEnumsOutput) ProtoReflect() protoreflect.Message
func (*ListEnumsOutput) Reset ¶
func (x *ListEnumsOutput) Reset()
func (*ListEnumsOutput) String ¶
func (x *ListEnumsOutput) String() string
type ListTranslationsInput ¶
type ListTranslationsInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` ValueId string `protobuf:"bytes,2,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"` // pagination Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // data filters Filters *ListTranslationsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*ListTranslationsInput) Descriptor
deprecated
func (*ListTranslationsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListTranslationsInput.ProtoReflect.Descriptor instead.
func (*ListTranslationsInput) GetEnumId ¶
func (x *ListTranslationsInput) GetEnumId() string
func (*ListTranslationsInput) GetFilters ¶
func (x *ListTranslationsInput) GetFilters() *ListTranslationsInput_Filter
func (*ListTranslationsInput) GetOffset ¶
func (x *ListTranslationsInput) GetOffset() int32
func (*ListTranslationsInput) GetSize ¶
func (x *ListTranslationsInput) GetSize() int32
func (*ListTranslationsInput) GetValueId ¶
func (x *ListTranslationsInput) GetValueId() string
func (*ListTranslationsInput) ProtoMessage ¶
func (*ListTranslationsInput) ProtoMessage()
func (*ListTranslationsInput) ProtoReflect ¶
func (x *ListTranslationsInput) ProtoReflect() protoreflect.Message
func (*ListTranslationsInput) Reset ¶
func (x *ListTranslationsInput) Reset()
func (*ListTranslationsInput) String ¶
func (x *ListTranslationsInput) String() string
type ListTranslationsInput_Filter ¶
type ListTranslationsInput_Filter struct { Locale []*wellknown.ExpressionEnum `protobuf:"bytes,1,rep,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*ListTranslationsInput_Filter) Descriptor
deprecated
func (*ListTranslationsInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListTranslationsInput_Filter.ProtoReflect.Descriptor instead.
func (*ListTranslationsInput_Filter) GetLocale ¶
func (x *ListTranslationsInput_Filter) GetLocale() []*wellknown.ExpressionEnum
func (*ListTranslationsInput_Filter) ProtoMessage ¶
func (*ListTranslationsInput_Filter) ProtoMessage()
func (*ListTranslationsInput_Filter) ProtoReflect ¶
func (x *ListTranslationsInput_Filter) ProtoReflect() protoreflect.Message
func (*ListTranslationsInput_Filter) Reset ¶
func (x *ListTranslationsInput_Filter) Reset()
func (*ListTranslationsInput_Filter) String ¶
func (x *ListTranslationsInput_Filter) String() string
type ListTranslationsOutput ¶
type ListTranslationsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Value_Translation `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListTranslationsOutput) Descriptor
deprecated
func (*ListTranslationsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListTranslationsOutput.ProtoReflect.Descriptor instead.
func (*ListTranslationsOutput) GetItems ¶
func (x *ListTranslationsOutput) GetItems() []*Value_Translation
func (*ListTranslationsOutput) GetTotal ¶
func (x *ListTranslationsOutput) GetTotal() int32
func (*ListTranslationsOutput) ProtoMessage ¶
func (*ListTranslationsOutput) ProtoMessage()
func (*ListTranslationsOutput) ProtoReflect ¶
func (x *ListTranslationsOutput) ProtoReflect() protoreflect.Message
func (*ListTranslationsOutput) Reset ¶
func (x *ListTranslationsOutput) Reset()
func (*ListTranslationsOutput) String ¶
func (x *ListTranslationsOutput) String() string
type ListValuesInput ¶
type ListValuesInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` // pagination Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // data filters Filters *ListValuesInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` // if set, system will use translations to translate value name, summary and keywords Locale string `protobuf:"bytes,100,opt,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*ListValuesInput) Descriptor
deprecated
func (*ListValuesInput) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesInput.ProtoReflect.Descriptor instead.
func (*ListValuesInput) GetEnumId ¶
func (x *ListValuesInput) GetEnumId() string
func (*ListValuesInput) GetFilters ¶
func (x *ListValuesInput) GetFilters() *ListValuesInput_Filter
func (*ListValuesInput) GetLocale ¶
func (x *ListValuesInput) GetLocale() string
func (*ListValuesInput) GetOffset ¶
func (x *ListValuesInput) GetOffset() int32
func (*ListValuesInput) GetSize ¶
func (x *ListValuesInput) GetSize() int32
func (*ListValuesInput) ProtoMessage ¶
func (*ListValuesInput) ProtoMessage()
func (*ListValuesInput) ProtoReflect ¶
func (x *ListValuesInput) ProtoReflect() protoreflect.Message
func (*ListValuesInput) Reset ¶
func (x *ListValuesInput) Reset()
func (*ListValuesInput) String ¶
func (x *ListValuesInput) String() string
type ListValuesInput_Filter ¶
type ListValuesInput_Filter struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Id []*wellknown.ExpressionID `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` Name []*wellknown.ExpressionString `protobuf:"bytes,3,rep,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListValuesInput_Filter) Descriptor
deprecated
func (*ListValuesInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesInput_Filter.ProtoReflect.Descriptor instead.
func (*ListValuesInput_Filter) GetId ¶
func (x *ListValuesInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListValuesInput_Filter) GetName ¶
func (x *ListValuesInput_Filter) GetName() []*wellknown.ExpressionString
func (*ListValuesInput_Filter) GetQuery ¶
func (x *ListValuesInput_Filter) GetQuery() string
func (*ListValuesInput_Filter) ProtoMessage ¶
func (*ListValuesInput_Filter) ProtoMessage()
func (*ListValuesInput_Filter) ProtoReflect ¶
func (x *ListValuesInput_Filter) ProtoReflect() protoreflect.Message
func (*ListValuesInput_Filter) Reset ¶
func (x *ListValuesInput_Filter) Reset()
func (*ListValuesInput_Filter) String ¶
func (x *ListValuesInput_Filter) String() string
type ListValuesOutput ¶
type ListValuesOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Value `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListValuesOutput) Descriptor
deprecated
func (*ListValuesOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesOutput.ProtoReflect.Descriptor instead.
func (*ListValuesOutput) GetItems ¶
func (x *ListValuesOutput) GetItems() []*Value
func (*ListValuesOutput) GetTotal ¶
func (x *ListValuesOutput) GetTotal() int32
func (*ListValuesOutput) ProtoMessage ¶
func (*ListValuesOutput) ProtoMessage()
func (*ListValuesOutput) ProtoReflect ¶
func (x *ListValuesOutput) ProtoReflect() protoreflect.Message
func (*ListValuesOutput) Reset ¶
func (x *ListValuesOutput) Reset()
func (*ListValuesOutput) String ¶
func (x *ListValuesOutput) String() string
type SetLinkedTopicsInput ¶
type SetLinkedTopicsInput struct { Topics []string `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
func (*SetLinkedTopicsInput) Descriptor
deprecated
func (*SetLinkedTopicsInput) Descriptor() ([]byte, []int)
Deprecated: Use SetLinkedTopicsInput.ProtoReflect.Descriptor instead.
func (*SetLinkedTopicsInput) GetTopics ¶
func (x *SetLinkedTopicsInput) GetTopics() []string
func (*SetLinkedTopicsInput) ProtoMessage ¶
func (*SetLinkedTopicsInput) ProtoMessage()
func (*SetLinkedTopicsInput) ProtoReflect ¶
func (x *SetLinkedTopicsInput) ProtoReflect() protoreflect.Message
func (*SetLinkedTopicsInput) Reset ¶
func (x *SetLinkedTopicsInput) Reset()
func (*SetLinkedTopicsInput) String ¶
func (x *SetLinkedTopicsInput) String() string
type SetLinkedTopicsOutput ¶
type SetLinkedTopicsOutput struct {
// contains filtered or unexported fields
}
func (*SetLinkedTopicsOutput) Descriptor
deprecated
func (*SetLinkedTopicsOutput) Descriptor() ([]byte, []int)
Deprecated: Use SetLinkedTopicsOutput.ProtoReflect.Descriptor instead.
func (*SetLinkedTopicsOutput) ProtoMessage ¶
func (*SetLinkedTopicsOutput) ProtoMessage()
func (*SetLinkedTopicsOutput) ProtoReflect ¶
func (x *SetLinkedTopicsOutput) ProtoReflect() protoreflect.Message
func (*SetLinkedTopicsOutput) Reset ¶
func (x *SetLinkedTopicsOutput) Reset()
func (*SetLinkedTopicsOutput) String ¶
func (x *SetLinkedTopicsOutput) String() string
type TranslateValueInput ¶
type TranslateValueInput struct { EnumId string `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` ValueId string `protobuf:"bytes,2,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"` Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` Translation *Value_Translation `protobuf:"bytes,4,opt,name=translation,proto3" json:"translation,omitempty"` // contains filtered or unexported fields }
func (*TranslateValueInput) Descriptor
deprecated
func (*TranslateValueInput) Descriptor() ([]byte, []int)
Deprecated: Use TranslateValueInput.ProtoReflect.Descriptor instead.
func (*TranslateValueInput) GetEnumId ¶
func (x *TranslateValueInput) GetEnumId() string
func (*TranslateValueInput) GetLocale ¶
func (x *TranslateValueInput) GetLocale() string
func (*TranslateValueInput) GetTranslation ¶
func (x *TranslateValueInput) GetTranslation() *Value_Translation
func (*TranslateValueInput) GetValueId ¶
func (x *TranslateValueInput) GetValueId() string
func (*TranslateValueInput) ProtoMessage ¶
func (*TranslateValueInput) ProtoMessage()
func (*TranslateValueInput) ProtoReflect ¶
func (x *TranslateValueInput) ProtoReflect() protoreflect.Message
func (*TranslateValueInput) Reset ¶
func (x *TranslateValueInput) Reset()
func (*TranslateValueInput) String ¶
func (x *TranslateValueInput) String() string
type TranslateValueOutput ¶
type TranslateValueOutput struct {
// contains filtered or unexported fields
}
func (*TranslateValueOutput) Descriptor
deprecated
func (*TranslateValueOutput) Descriptor() ([]byte, []int)
Deprecated: Use TranslateValueOutput.ProtoReflect.Descriptor instead.
func (*TranslateValueOutput) ProtoMessage ¶
func (*TranslateValueOutput) ProtoMessage()
func (*TranslateValueOutput) ProtoReflect ¶
func (x *TranslateValueOutput) ProtoReflect() protoreflect.Message
func (*TranslateValueOutput) Reset ¶
func (x *TranslateValueOutput) Reset()
func (*TranslateValueOutput) String ¶
func (x *TranslateValueOutput) String() string
type UnimplementedEnumServiceServer ¶
type UnimplementedEnumServiceServer struct { }
UnimplementedEnumServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEnumServiceServer) CreateEnum ¶
func (UnimplementedEnumServiceServer) CreateEnum(context.Context, *CreateEnumInput) (*CreateEnumOutput, error)
func (UnimplementedEnumServiceServer) CreateValue ¶
func (UnimplementedEnumServiceServer) CreateValue(context.Context, *CreateValueInput) (*CreateValueOutput, error)
func (UnimplementedEnumServiceServer) DeleteEnum ¶
func (UnimplementedEnumServiceServer) DeleteEnum(context.Context, *DeleteEnumInput) (*DeleteEnumOutput, error)
func (UnimplementedEnumServiceServer) DeleteTranslation ¶
func (UnimplementedEnumServiceServer) DeleteTranslation(context.Context, *DeleteTranslationInput) (*DeleteTranslationOutput, error)
func (UnimplementedEnumServiceServer) DeleteValue ¶
func (UnimplementedEnumServiceServer) DeleteValue(context.Context, *DeleteValueInput) (*DeleteValueOutput, error)
func (UnimplementedEnumServiceServer) DescribeEnum ¶
func (UnimplementedEnumServiceServer) DescribeEnum(context.Context, *DescribeEnumInput) (*DescribeEnumOutput, error)
func (UnimplementedEnumServiceServer) DescribeValue ¶
func (UnimplementedEnumServiceServer) DescribeValue(context.Context, *DescribeValueInput) (*DescribeValueOutput, error)
func (UnimplementedEnumServiceServer) ListEnums ¶
func (UnimplementedEnumServiceServer) ListEnums(context.Context, *ListEnumsInput) (*ListEnumsOutput, error)
func (UnimplementedEnumServiceServer) ListTranslations ¶
func (UnimplementedEnumServiceServer) ListTranslations(context.Context, *ListTranslationsInput) (*ListTranslationsOutput, error)
func (UnimplementedEnumServiceServer) ListValues ¶
func (UnimplementedEnumServiceServer) ListValues(context.Context, *ListValuesInput) (*ListValuesOutput, error)
func (UnimplementedEnumServiceServer) TranslateValue ¶
func (UnimplementedEnumServiceServer) TranslateValue(context.Context, *TranslateValueInput) (*TranslateValueOutput, error)
func (UnimplementedEnumServiceServer) UpdateEnum ¶
func (UnimplementedEnumServiceServer) UpdateEnum(context.Context, *UpdateEnumInput) (*UpdateEnumOutput, error)
func (UnimplementedEnumServiceServer) UpdateValue ¶
func (UnimplementedEnumServiceServer) UpdateValue(context.Context, *UpdateValueInput) (*UpdateValueOutput, error)
type UnimplementedLinkServiceServer ¶
type UnimplementedLinkServiceServer struct { }
UnimplementedLinkServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedLinkServiceServer) GetLinkedTopics ¶
func (UnimplementedLinkServiceServer) GetLinkedTopics(context.Context, *GetLinkedTopicsInput) (*GetLinkedTopicsOutput, error)
func (UnimplementedLinkServiceServer) SetLinkedTopics ¶
func (UnimplementedLinkServiceServer) SetLinkedTopics(context.Context, *SetLinkedTopicsInput) (*SetLinkedTopicsOutput, error)
type UnsafeEnumServiceServer ¶
type UnsafeEnumServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEnumServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnumServiceServer will result in compilation errors.
type UnsafeLinkServiceServer ¶
type UnsafeLinkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLinkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LinkServiceServer will result in compilation errors.
type UpdateEnumInput ¶
type UpdateEnumInput struct { Patch []UpdateEnumInput_Patch `protobuf:"varint,1,rep,packed,name=patch,proto3,enum=eolymp.taxonomy.UpdateEnumInput_Patch" json:"patch,omitempty"` // patch defines which fields should be set, if empty ALL fields are set EnumId string `protobuf:"bytes,2,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` // enum to update Enum *Enum `protobuf:"bytes,3,opt,name=enum,proto3" json:"enum,omitempty"` // value to set (id field is ignored during update) // contains filtered or unexported fields }
func (*UpdateEnumInput) Descriptor
deprecated
func (*UpdateEnumInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnumInput.ProtoReflect.Descriptor instead.
func (*UpdateEnumInput) GetEnum ¶
func (x *UpdateEnumInput) GetEnum() *Enum
func (*UpdateEnumInput) GetEnumId ¶
func (x *UpdateEnumInput) GetEnumId() string
func (*UpdateEnumInput) GetPatch ¶
func (x *UpdateEnumInput) GetPatch() []UpdateEnumInput_Patch
func (*UpdateEnumInput) ProtoMessage ¶
func (*UpdateEnumInput) ProtoMessage()
func (*UpdateEnumInput) ProtoReflect ¶
func (x *UpdateEnumInput) ProtoReflect() protoreflect.Message
func (*UpdateEnumInput) Reset ¶
func (x *UpdateEnumInput) Reset()
func (*UpdateEnumInput) String ¶
func (x *UpdateEnumInput) String() string
type UpdateEnumInput_Patch ¶
type UpdateEnumInput_Patch int32
const ( UpdateEnumInput_ALL UpdateEnumInput_Patch = 0 UpdateEnumInput_NAME UpdateEnumInput_Patch = 1 )
func (UpdateEnumInput_Patch) Descriptor ¶
func (UpdateEnumInput_Patch) Descriptor() protoreflect.EnumDescriptor
func (UpdateEnumInput_Patch) Enum ¶
func (x UpdateEnumInput_Patch) Enum() *UpdateEnumInput_Patch
func (UpdateEnumInput_Patch) EnumDescriptor
deprecated
func (UpdateEnumInput_Patch) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateEnumInput_Patch.Descriptor instead.
func (UpdateEnumInput_Patch) Number ¶
func (x UpdateEnumInput_Patch) Number() protoreflect.EnumNumber
func (UpdateEnumInput_Patch) String ¶
func (x UpdateEnumInput_Patch) String() string
func (UpdateEnumInput_Patch) Type ¶
func (UpdateEnumInput_Patch) Type() protoreflect.EnumType
type UpdateEnumOutput ¶
type UpdateEnumOutput struct {
// contains filtered or unexported fields
}
func (*UpdateEnumOutput) Descriptor
deprecated
func (*UpdateEnumOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnumOutput.ProtoReflect.Descriptor instead.
func (*UpdateEnumOutput) ProtoMessage ¶
func (*UpdateEnumOutput) ProtoMessage()
func (*UpdateEnumOutput) ProtoReflect ¶
func (x *UpdateEnumOutput) ProtoReflect() protoreflect.Message
func (*UpdateEnumOutput) Reset ¶
func (x *UpdateEnumOutput) Reset()
func (*UpdateEnumOutput) String ¶
func (x *UpdateEnumOutput) String() string
type UpdateValueInput ¶
type UpdateValueInput struct { Patch []UpdateValueInput_Patch `protobuf:"varint,1,rep,packed,name=patch,proto3,enum=eolymp.taxonomy.UpdateValueInput_Patch" json:"patch,omitempty"` // patch defines which fields should be set, if empty ALL fields are set EnumId string `protobuf:"bytes,2,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` ValueId string `protobuf:"bytes,3,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"` // value to update Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // value to set (id field is ignored during update) // contains filtered or unexported fields }
func (*UpdateValueInput) Descriptor
deprecated
func (*UpdateValueInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateValueInput.ProtoReflect.Descriptor instead.
func (*UpdateValueInput) GetEnumId ¶
func (x *UpdateValueInput) GetEnumId() string
func (*UpdateValueInput) GetPatch ¶
func (x *UpdateValueInput) GetPatch() []UpdateValueInput_Patch
func (*UpdateValueInput) GetValue ¶
func (x *UpdateValueInput) GetValue() *Value
func (*UpdateValueInput) GetValueId ¶
func (x *UpdateValueInput) GetValueId() string
func (*UpdateValueInput) ProtoMessage ¶
func (*UpdateValueInput) ProtoMessage()
func (*UpdateValueInput) ProtoReflect ¶
func (x *UpdateValueInput) ProtoReflect() protoreflect.Message
func (*UpdateValueInput) Reset ¶
func (x *UpdateValueInput) Reset()
func (*UpdateValueInput) String ¶
func (x *UpdateValueInput) String() string
type UpdateValueInput_Patch ¶
type UpdateValueInput_Patch int32
const ( UpdateValueInput_ALL UpdateValueInput_Patch = 0 UpdateValueInput_NAME UpdateValueInput_Patch = 1 UpdateValueInput_ABBR UpdateValueInput_Patch = 2 UpdateValueInput_SUMMARY UpdateValueInput_Patch = 3 UpdateValueInput_IMAGE UpdateValueInput_Patch = 4 UpdateValueInput_KEYWORDS UpdateValueInput_Patch = 5 )
func (UpdateValueInput_Patch) Descriptor ¶
func (UpdateValueInput_Patch) Descriptor() protoreflect.EnumDescriptor
func (UpdateValueInput_Patch) Enum ¶
func (x UpdateValueInput_Patch) Enum() *UpdateValueInput_Patch
func (UpdateValueInput_Patch) EnumDescriptor
deprecated
func (UpdateValueInput_Patch) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateValueInput_Patch.Descriptor instead.
func (UpdateValueInput_Patch) Number ¶
func (x UpdateValueInput_Patch) Number() protoreflect.EnumNumber
func (UpdateValueInput_Patch) String ¶
func (x UpdateValueInput_Patch) String() string
func (UpdateValueInput_Patch) Type ¶
func (UpdateValueInput_Patch) Type() protoreflect.EnumType
type UpdateValueOutput ¶
type UpdateValueOutput struct {
// contains filtered or unexported fields
}
func (*UpdateValueOutput) Descriptor
deprecated
func (*UpdateValueOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateValueOutput.ProtoReflect.Descriptor instead.
func (*UpdateValueOutput) ProtoMessage ¶
func (*UpdateValueOutput) ProtoMessage()
func (*UpdateValueOutput) ProtoReflect ¶
func (x *UpdateValueOutput) ProtoReflect() protoreflect.Message
func (*UpdateValueOutput) Reset ¶
func (x *UpdateValueOutput) Reset()
func (*UpdateValueOutput) String ¶
func (x *UpdateValueOutput) String() string
type Value ¶
type Value struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // entry name Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"` // entry summary (short description) Abbr string `protobuf:"bytes,5,opt,name=abbr,proto3" json:"abbr,omitempty"` // abbreviation Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"` // icon Keywords []string `protobuf:"bytes,4,rep,name=keywords,proto3" json:"keywords,omitempty"` // alternative names and keywords related to the entry (used for search) // contains filtered or unexported fields }
func (*Value) Descriptor
deprecated
func (*Value) GetKeywords ¶
func (*Value) GetSummary ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_Translation ¶
type Value_Translation struct { Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // entry name Abbr string `protobuf:"bytes,5,opt,name=abbr,proto3" json:"abbr,omitempty"` // abbreviation Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"` // topic summary (short description) Keywords []string `protobuf:"bytes,4,rep,name=keywords,proto3" json:"keywords,omitempty"` // alternative names and keywords related to the entry (used for search) // contains filtered or unexported fields }
func (*Value_Translation) Descriptor
deprecated
func (*Value_Translation) Descriptor() ([]byte, []int)
Deprecated: Use Value_Translation.ProtoReflect.Descriptor instead.
func (*Value_Translation) GetAbbr ¶
func (x *Value_Translation) GetAbbr() string
func (*Value_Translation) GetKeywords ¶
func (x *Value_Translation) GetKeywords() []string
func (*Value_Translation) GetLocale ¶
func (x *Value_Translation) GetLocale() string
func (*Value_Translation) GetName ¶
func (x *Value_Translation) GetName() string
func (*Value_Translation) GetSummary ¶
func (x *Value_Translation) GetSummary() string
func (*Value_Translation) ProtoMessage ¶
func (*Value_Translation) ProtoMessage()
func (*Value_Translation) ProtoReflect ¶
func (x *Value_Translation) ProtoReflect() protoreflect.Message
func (*Value_Translation) Reset ¶
func (x *Value_Translation) Reset()
func (*Value_Translation) String ¶
func (x *Value_Translation) String() string