Documentation ¶
Index ¶
- Variables
- func RegisterAIServiceServer(s grpc.ServiceRegistrar, srv AIServiceServer)
- type AIServiceClient
- type AIServiceServer
- type CreateSpeechAudioFileRequest
- func (*CreateSpeechAudioFileRequest) Descriptor() ([]byte, []int)deprecated
- func (*CreateSpeechAudioFileRequest) ProtoMessage()
- func (x *CreateSpeechAudioFileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSpeechAudioFileRequest) Reset()
- func (x *CreateSpeechAudioFileRequest) String() string
- type CreateSpeechAudioFileResponse
- func (*CreateSpeechAudioFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSpeechAudioFileResponse) GetAudioFileId() string
- func (x *CreateSpeechAudioFileResponse) GetUploadUrl() string
- func (*CreateSpeechAudioFileResponse) ProtoMessage()
- func (x *CreateSpeechAudioFileResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSpeechAudioFileResponse) Reset()
- func (x *CreateSpeechAudioFileResponse) String() string
- type ExtractTextFromSpeechRequest
- func (*ExtractTextFromSpeechRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExtractTextFromSpeechRequest) GetAudioFileId() string
- func (*ExtractTextFromSpeechRequest) ProtoMessage()
- func (x *ExtractTextFromSpeechRequest) ProtoReflect() protoreflect.Message
- func (x *ExtractTextFromSpeechRequest) Reset()
- func (x *ExtractTextFromSpeechRequest) String() string
- type ExtractTextFromSpeechResponse
- func (*ExtractTextFromSpeechResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExtractTextFromSpeechResponse) GetText() string
- func (*ExtractTextFromSpeechResponse) ProtoMessage()
- func (x *ExtractTextFromSpeechResponse) ProtoReflect() protoreflect.Message
- func (x *ExtractTextFromSpeechResponse) Reset()
- func (x *ExtractTextFromSpeechResponse) String() string
- type Generate3DModelPrompt
- func (*Generate3DModelPrompt) Descriptor() ([]byte, []int)deprecated
- func (x *Generate3DModelPrompt) GetArtStyle() Generate3DModelPrompt_ArtStyle
- func (x *Generate3DModelPrompt) GetNegativePrompt() string
- func (x *Generate3DModelPrompt) GetObjectPrompt() string
- func (x *Generate3DModelPrompt) GetStylePrompt() string
- func (*Generate3DModelPrompt) ProtoMessage()
- func (x *Generate3DModelPrompt) ProtoReflect() protoreflect.Message
- func (x *Generate3DModelPrompt) Reset()
- func (x *Generate3DModelPrompt) String() string
- type Generate3DModelPrompt_ArtStyle
- func (Generate3DModelPrompt_ArtStyle) Descriptor() protoreflect.EnumDescriptor
- func (x Generate3DModelPrompt_ArtStyle) Enum() *Generate3DModelPrompt_ArtStyle
- func (Generate3DModelPrompt_ArtStyle) EnumDescriptor() ([]byte, []int)deprecated
- func (x Generate3DModelPrompt_ArtStyle) Number() protoreflect.EnumNumber
- func (x Generate3DModelPrompt_ArtStyle) String() string
- func (Generate3DModelPrompt_ArtStyle) Type() protoreflect.EnumType
- type Generate3DModelRequest
- func (*Generate3DModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *Generate3DModelRequest) GetPrompt() *Generate3DModelPrompt
- func (*Generate3DModelRequest) ProtoMessage()
- func (x *Generate3DModelRequest) ProtoReflect() protoreflect.Message
- func (x *Generate3DModelRequest) Reset()
- func (x *Generate3DModelRequest) String() string
- type Generate3DModelResponse
- func (*Generate3DModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *Generate3DModelResponse) GetId() string
- func (*Generate3DModelResponse) ProtoMessage()
- func (x *Generate3DModelResponse) ProtoReflect() protoreflect.Message
- func (x *Generate3DModelResponse) Reset()
- func (x *Generate3DModelResponse) String() string
- type GenerateAudioRequest
- func (*GenerateAudioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateAudioRequest) GetPreset() GenerateAudioRequest_Preset
- func (x *GenerateAudioRequest) GetPrompt() string
- func (*GenerateAudioRequest) ProtoMessage()
- func (x *GenerateAudioRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateAudioRequest) Reset()
- func (x *GenerateAudioRequest) String() string
- type GenerateAudioRequest_Preset
- func (GenerateAudioRequest_Preset) Descriptor() protoreflect.EnumDescriptor
- func (x GenerateAudioRequest_Preset) Enum() *GenerateAudioRequest_Preset
- func (GenerateAudioRequest_Preset) EnumDescriptor() ([]byte, []int)deprecated
- func (x GenerateAudioRequest_Preset) Number() protoreflect.EnumNumber
- func (x GenerateAudioRequest_Preset) String() string
- func (GenerateAudioRequest_Preset) Type() protoreflect.EnumType
- type GenerateAudioResponse
- func (*GenerateAudioResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateAudioResponse) GetAudioId() string
- func (x *GenerateAudioResponse) GetAudioUrl() string
- func (*GenerateAudioResponse) ProtoMessage()
- func (x *GenerateAudioResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateAudioResponse) Reset()
- func (x *GenerateAudioResponse) String() string
- type GenerateImageRequest
- func (*GenerateImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateImageRequest) GetPreset() GenerateImageRequest_Preset
- func (x *GenerateImageRequest) GetPrompt() string
- func (*GenerateImageRequest) ProtoMessage()
- func (x *GenerateImageRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateImageRequest) Reset()
- func (x *GenerateImageRequest) String() string
- type GenerateImageRequest_Preset
- func (GenerateImageRequest_Preset) Descriptor() protoreflect.EnumDescriptor
- func (x GenerateImageRequest_Preset) Enum() *GenerateImageRequest_Preset
- func (GenerateImageRequest_Preset) EnumDescriptor() ([]byte, []int)deprecated
- func (x GenerateImageRequest_Preset) Number() protoreflect.EnumNumber
- func (x GenerateImageRequest_Preset) String() string
- func (GenerateImageRequest_Preset) Type() protoreflect.EnumType
- type GenerateImageResponse
- func (*GenerateImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateImageResponse) GetImageId() string
- func (x *GenerateImageResponse) GetImageUrl() string
- func (*GenerateImageResponse) ProtoMessage()
- func (x *GenerateImageResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateImageResponse) Reset()
- func (x *GenerateImageResponse) String() string
- type GenerateTextForGameCharacterRequest
- func (*GenerateTextForGameCharacterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateTextForGameCharacterRequest) GetGameCharacterId() string
- func (x *GenerateTextForGameCharacterRequest) GetSessionId() string
- func (x *GenerateTextForGameCharacterRequest) GetText() string
- func (*GenerateTextForGameCharacterRequest) ProtoMessage()
- func (x *GenerateTextForGameCharacterRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateTextForGameCharacterRequest) Reset()
- func (x *GenerateTextForGameCharacterRequest) String() string
- type GenerateTextForGameCharacterResponse
- func (*GenerateTextForGameCharacterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateTextForGameCharacterResponse) GetSessionId() string
- func (x *GenerateTextForGameCharacterResponse) GetText() string
- func (*GenerateTextForGameCharacterResponse) ProtoMessage()
- func (x *GenerateTextForGameCharacterResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateTextForGameCharacterResponse) Reset()
- func (x *GenerateTextForGameCharacterResponse) String() string
- type GenerateTextRequest
- func (*GenerateTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateTextRequest) GetSessionId() string
- func (x *GenerateTextRequest) GetText() string
- func (*GenerateTextRequest) ProtoMessage()
- func (x *GenerateTextRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateTextRequest) Reset()
- func (x *GenerateTextRequest) String() string
- type GenerateTextResponse
- func (*GenerateTextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateTextResponse) GetSessionId() string
- func (x *GenerateTextResponse) GetText() string
- func (*GenerateTextResponse) ProtoMessage()
- func (x *GenerateTextResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateTextResponse) Reset()
- func (x *GenerateTextResponse) String() string
- type GenerateVoiceRequest
- func (*GenerateVoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateVoiceRequest) GetGender() VoiceModel_Gender
- func (m *GenerateVoiceRequest) GetGenderOption() isGenerateVoiceRequest_GenderOption
- func (x *GenerateVoiceRequest) GetLanguageCode() string
- func (x *GenerateVoiceRequest) GetModelName() string
- func (x *GenerateVoiceRequest) GetText() string
- func (*GenerateVoiceRequest) ProtoMessage()
- func (x *GenerateVoiceRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateVoiceRequest) Reset()
- func (x *GenerateVoiceRequest) String() string
- type GenerateVoiceRequest_Gender
- type GenerateVoiceRequest_ModelName
- type GenerateVoiceResponse
- func (*GenerateVoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateVoiceResponse) GetVoiceId() string
- func (x *GenerateVoiceResponse) GetVoiceUrl() string
- func (*GenerateVoiceResponse) ProtoMessage()
- func (x *GenerateVoiceResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateVoiceResponse) Reset()
- func (x *GenerateVoiceResponse) String() string
- type GetGenerate3DModelResultRequest
- func (*GetGenerate3DModelResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGenerate3DModelResultRequest) GetId() string
- func (*GetGenerate3DModelResultRequest) ProtoMessage()
- func (x *GetGenerate3DModelResultRequest) ProtoReflect() protoreflect.Message
- func (x *GetGenerate3DModelResultRequest) Reset()
- func (x *GetGenerate3DModelResultRequest) String() string
- type GetGenerate3DModelResultResponse
- func (*GetGenerate3DModelResultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGenerate3DModelResultResponse) GetModel() *GetGenerate3DModelResultResponse_Generated3DModel
- func (x *GetGenerate3DModelResultResponse) GetProgress() uint32
- func (x *GetGenerate3DModelResultResponse) GetPrompt() *Generate3DModelPrompt
- func (x *GetGenerate3DModelResultResponse) GetStatus() GetGenerate3DModelResultResponse_Status
- func (*GetGenerate3DModelResultResponse) ProtoMessage()
- func (x *GetGenerate3DModelResultResponse) ProtoReflect() protoreflect.Message
- func (x *GetGenerate3DModelResultResponse) Reset()
- func (x *GetGenerate3DModelResultResponse) String() string
- type GetGenerate3DModelResultResponse_Generated3DModel
- func (*GetGenerate3DModelResultResponse_Generated3DModel) Descriptor() ([]byte, []int)deprecated
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetBaseColorTextureUrl() string
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetGlbModelUrl() string
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetId() string
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetMetallicTextureUrl() string
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetNormalTextureUrl() string
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetRoughnessTextureUrl() string
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetThumbnailUrl() string
- func (*GetGenerate3DModelResultResponse_Generated3DModel) ProtoMessage()
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) ProtoReflect() protoreflect.Message
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) Reset()
- func (x *GetGenerate3DModelResultResponse_Generated3DModel) String() string
- type GetGenerate3DModelResultResponse_Status
- func (GetGenerate3DModelResultResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x GetGenerate3DModelResultResponse_Status) Enum() *GetGenerate3DModelResultResponse_Status
- func (GetGenerate3DModelResultResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetGenerate3DModelResultResponse_Status) Number() protoreflect.EnumNumber
- func (x GetGenerate3DModelResultResponse_Status) String() string
- func (GetGenerate3DModelResultResponse_Status) Type() protoreflect.EnumType
- type GetVoiceLanguagesRequest
- type GetVoiceLanguagesResponse
- func (*GetVoiceLanguagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVoiceLanguagesResponse) GetLanguageCodes() []string
- func (*GetVoiceLanguagesResponse) ProtoMessage()
- func (x *GetVoiceLanguagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetVoiceLanguagesResponse) Reset()
- func (x *GetVoiceLanguagesResponse) String() string
- type GetVoiceModelsRequest
- func (*GetVoiceModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVoiceModelsRequest) GetLanguageCode() string
- func (*GetVoiceModelsRequest) ProtoMessage()
- func (x *GetVoiceModelsRequest) ProtoReflect() protoreflect.Message
- func (x *GetVoiceModelsRequest) Reset()
- func (x *GetVoiceModelsRequest) String() string
- type GetVoiceModelsResponse
- func (*GetVoiceModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVoiceModelsResponse) GetModels() []*VoiceModel
- func (*GetVoiceModelsResponse) ProtoMessage()
- func (x *GetVoiceModelsResponse) ProtoReflect() protoreflect.Message
- func (x *GetVoiceModelsResponse) Reset()
- func (x *GetVoiceModelsResponse) String() string
- type UnimplementedAIServiceServer
- func (UnimplementedAIServiceServer) CreateSpeechAudioFile(context.Context, *CreateSpeechAudioFileRequest) (*CreateSpeechAudioFileResponse, error)
- func (UnimplementedAIServiceServer) ExtractTextFromSpeech(context.Context, *ExtractTextFromSpeechRequest) (*ExtractTextFromSpeechResponse, error)
- func (UnimplementedAIServiceServer) Generate3DModel(context.Context, *Generate3DModelRequest) (*Generate3DModelResponse, error)
- func (UnimplementedAIServiceServer) GenerateAudio(context.Context, *GenerateAudioRequest) (*GenerateAudioResponse, error)
- func (UnimplementedAIServiceServer) GenerateImage(context.Context, *GenerateImageRequest) (*GenerateImageResponse, error)
- func (UnimplementedAIServiceServer) GenerateText(context.Context, *GenerateTextRequest) (*GenerateTextResponse, error)
- func (UnimplementedAIServiceServer) GenerateTextForGameCharacter(context.Context, *GenerateTextForGameCharacterRequest) (*GenerateTextForGameCharacterResponse, error)
- func (UnimplementedAIServiceServer) GenerateVoice(context.Context, *GenerateVoiceRequest) (*GenerateVoiceResponse, error)
- func (UnimplementedAIServiceServer) GetGenerate3DModelResult(context.Context, *GetGenerate3DModelResultRequest) (*GetGenerate3DModelResultResponse, error)
- func (UnimplementedAIServiceServer) GetVoiceLanguages(context.Context, *GetVoiceLanguagesRequest) (*GetVoiceLanguagesResponse, error)
- func (UnimplementedAIServiceServer) GetVoiceModels(context.Context, *GetVoiceModelsRequest) (*GetVoiceModelsResponse, error)
- type UnsafeAIServiceServer
- type VoiceModel
- func (*VoiceModel) Descriptor() ([]byte, []int)deprecated
- func (x *VoiceModel) GetGender() VoiceModel_Gender
- func (x *VoiceModel) GetName() string
- func (*VoiceModel) ProtoMessage()
- func (x *VoiceModel) ProtoReflect() protoreflect.Message
- func (x *VoiceModel) Reset()
- func (x *VoiceModel) String() string
- type VoiceModel_Gender
- func (VoiceModel_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x VoiceModel_Gender) Enum() *VoiceModel_Gender
- func (VoiceModel_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x VoiceModel_Gender) Number() protoreflect.EnumNumber
- func (x VoiceModel_Gender) String() string
- func (VoiceModel_Gender) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( GenerateImageRequest_Preset_name = map[int32]string{ 0: "PRESET_UNSPECIFIED", 1: "PRESET_SKYBOX", 2: "PRESET_PICTURE", 3: "PRESET_TEXTURE", } GenerateImageRequest_Preset_value = map[string]int32{ "PRESET_UNSPECIFIED": 0, "PRESET_SKYBOX": 1, "PRESET_PICTURE": 2, "PRESET_TEXTURE": 3, } )
Enum value maps for GenerateImageRequest_Preset.
var ( GenerateAudioRequest_Preset_name = map[int32]string{ 0: "PRESET_UNSPECIFIED", 1: "PRESET_MUSIC", } GenerateAudioRequest_Preset_value = map[string]int32{ "PRESET_UNSPECIFIED": 0, "PRESET_MUSIC": 1, } )
Enum value maps for GenerateAudioRequest_Preset.
var ( VoiceModel_Gender_name = map[int32]string{ 0: "GENDER_UNSPECIFIED", 1: "GENDER_MALE", 2: "GENDER_FEMALE", 3: "GENDER_NEUTRAL", } VoiceModel_Gender_value = map[string]int32{ "GENDER_UNSPECIFIED": 0, "GENDER_MALE": 1, "GENDER_FEMALE": 2, "GENDER_NEUTRAL": 3, } )
Enum value maps for VoiceModel_Gender.
var ( Generate3DModelPrompt_ArtStyle_name = map[int32]string{ 0: "ART_STYLE_UNSPECIFIED", 1: "ART_STYLE_REALISTIC", 2: "ART_STYLE_VOXEL", 3: "ART_STYLE_FAKE_3D_CARTOON", 4: "ART_STYLE_JAPANESE_ANIME", 5: "ART_STYLE_CARTOON_LINE_ART", 6: "ART_STYLE_REALISTIC_HAND_DRAWN", 7: "ART_STYLE_FAKE_3D_HAND_DRAWN", 8: "ART_STYLE_ORIENTAL_COMIC_INK", } Generate3DModelPrompt_ArtStyle_value = map[string]int32{ "ART_STYLE_UNSPECIFIED": 0, "ART_STYLE_REALISTIC": 1, "ART_STYLE_VOXEL": 2, "ART_STYLE_FAKE_3D_CARTOON": 3, "ART_STYLE_JAPANESE_ANIME": 4, "ART_STYLE_CARTOON_LINE_ART": 5, "ART_STYLE_REALISTIC_HAND_DRAWN": 6, "ART_STYLE_FAKE_3D_HAND_DRAWN": 7, "ART_STYLE_ORIENTAL_COMIC_INK": 8, } )
Enum value maps for Generate3DModelPrompt_ArtStyle.
var ( GetGenerate3DModelResultResponse_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_PENDING", 2: "STATUS_SUCCESS", 3: "STATUS_FAILURE", } GetGenerate3DModelResultResponse_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_PENDING": 1, "STATUS_SUCCESS": 2, "STATUS_FAILURE": 3, } )
Enum value maps for GetGenerate3DModelResultResponse_Status.
var AIService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "basket.ai_service.v1.AIService", HandlerType: (*AIServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenerateImage", Handler: _AIService_GenerateImage_Handler, }, { MethodName: "GenerateAudio", Handler: _AIService_GenerateAudio_Handler, }, { MethodName: "GenerateText", Handler: _AIService_GenerateText_Handler, }, { MethodName: "Generate3DModel", Handler: _AIService_Generate3DModel_Handler, }, { MethodName: "GenerateTextForGameCharacter", Handler: _AIService_GenerateTextForGameCharacter_Handler, }, { MethodName: "CreateSpeechAudioFile", Handler: _AIService_CreateSpeechAudioFile_Handler, }, { MethodName: "ExtractTextFromSpeech", Handler: _AIService_ExtractTextFromSpeech_Handler, }, { MethodName: "GetVoiceLanguages", Handler: _AIService_GetVoiceLanguages_Handler, }, { MethodName: "GetVoiceModels", Handler: _AIService_GetVoiceModels_Handler, }, { MethodName: "GenerateVoice", Handler: _AIService_GenerateVoice_Handler, }, { MethodName: "GetGenerate3DModelResult", Handler: _AIService_GetGenerate3DModelResult_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "basket/ai-service/v1/ai.proto", }
AIService_ServiceDesc is the grpc.ServiceDesc for AIService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_basket_ai_service_v1_ai_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAIServiceServer ¶
func RegisterAIServiceServer(s grpc.ServiceRegistrar, srv AIServiceServer)
Types ¶
type AIServiceClient ¶
type AIServiceClient interface { GenerateImage(ctx context.Context, in *GenerateImageRequest, opts ...grpc.CallOption) (*GenerateImageResponse, error) GenerateAudio(ctx context.Context, in *GenerateAudioRequest, opts ...grpc.CallOption) (*GenerateAudioResponse, error) GenerateText(ctx context.Context, in *GenerateTextRequest, opts ...grpc.CallOption) (*GenerateTextResponse, error) Generate3DModel(ctx context.Context, in *Generate3DModelRequest, opts ...grpc.CallOption) (*Generate3DModelResponse, error) GenerateTextForGameCharacter(ctx context.Context, in *GenerateTextForGameCharacterRequest, opts ...grpc.CallOption) (*GenerateTextForGameCharacterResponse, error) CreateSpeechAudioFile(ctx context.Context, in *CreateSpeechAudioFileRequest, opts ...grpc.CallOption) (*CreateSpeechAudioFileResponse, error) ExtractTextFromSpeech(ctx context.Context, in *ExtractTextFromSpeechRequest, opts ...grpc.CallOption) (*ExtractTextFromSpeechResponse, error) GetVoiceLanguages(ctx context.Context, in *GetVoiceLanguagesRequest, opts ...grpc.CallOption) (*GetVoiceLanguagesResponse, error) GetVoiceModels(ctx context.Context, in *GetVoiceModelsRequest, opts ...grpc.CallOption) (*GetVoiceModelsResponse, error) GenerateVoice(ctx context.Context, in *GenerateVoiceRequest, opts ...grpc.CallOption) (*GenerateVoiceResponse, error) GetGenerate3DModelResult(ctx context.Context, in *GetGenerate3DModelResultRequest, opts ...grpc.CallOption) (*GetGenerate3DModelResultResponse, error) }
AIServiceClient is the client API for AIService 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 NewAIServiceClient ¶
func NewAIServiceClient(cc grpc.ClientConnInterface) AIServiceClient
type AIServiceServer ¶
type AIServiceServer interface { GenerateImage(context.Context, *GenerateImageRequest) (*GenerateImageResponse, error) GenerateAudio(context.Context, *GenerateAudioRequest) (*GenerateAudioResponse, error) GenerateText(context.Context, *GenerateTextRequest) (*GenerateTextResponse, error) Generate3DModel(context.Context, *Generate3DModelRequest) (*Generate3DModelResponse, error) GenerateTextForGameCharacter(context.Context, *GenerateTextForGameCharacterRequest) (*GenerateTextForGameCharacterResponse, error) CreateSpeechAudioFile(context.Context, *CreateSpeechAudioFileRequest) (*CreateSpeechAudioFileResponse, error) ExtractTextFromSpeech(context.Context, *ExtractTextFromSpeechRequest) (*ExtractTextFromSpeechResponse, error) GetVoiceLanguages(context.Context, *GetVoiceLanguagesRequest) (*GetVoiceLanguagesResponse, error) GetVoiceModels(context.Context, *GetVoiceModelsRequest) (*GetVoiceModelsResponse, error) GenerateVoice(context.Context, *GenerateVoiceRequest) (*GenerateVoiceResponse, error) GetGenerate3DModelResult(context.Context, *GetGenerate3DModelResultRequest) (*GetGenerate3DModelResultResponse, error) // contains filtered or unexported methods }
AIServiceServer is the server API for AIService service. All implementations must embed UnimplementedAIServiceServer for forward compatibility
type CreateSpeechAudioFileRequest ¶ added in v0.2.181
type CreateSpeechAudioFileRequest struct {
// contains filtered or unexported fields
}
func (*CreateSpeechAudioFileRequest) Descriptor
deprecated
added in
v0.2.181
func (*CreateSpeechAudioFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSpeechAudioFileRequest.ProtoReflect.Descriptor instead.
func (*CreateSpeechAudioFileRequest) ProtoMessage ¶ added in v0.2.181
func (*CreateSpeechAudioFileRequest) ProtoMessage()
func (*CreateSpeechAudioFileRequest) ProtoReflect ¶ added in v0.2.181
func (x *CreateSpeechAudioFileRequest) ProtoReflect() protoreflect.Message
func (*CreateSpeechAudioFileRequest) Reset ¶ added in v0.2.181
func (x *CreateSpeechAudioFileRequest) Reset()
func (*CreateSpeechAudioFileRequest) String ¶ added in v0.2.181
func (x *CreateSpeechAudioFileRequest) String() string
type CreateSpeechAudioFileResponse ¶ added in v0.2.181
type CreateSpeechAudioFileResponse struct { AudioFileId string `protobuf:"bytes,1,opt,name=audio_file_id,json=audioFileId,proto3" json:"audio_file_id,omitempty"` UploadUrl string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"` // contains filtered or unexported fields }
func (*CreateSpeechAudioFileResponse) Descriptor
deprecated
added in
v0.2.181
func (*CreateSpeechAudioFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSpeechAudioFileResponse.ProtoReflect.Descriptor instead.
func (*CreateSpeechAudioFileResponse) GetAudioFileId ¶ added in v0.2.181
func (x *CreateSpeechAudioFileResponse) GetAudioFileId() string
func (*CreateSpeechAudioFileResponse) GetUploadUrl ¶ added in v0.2.181
func (x *CreateSpeechAudioFileResponse) GetUploadUrl() string
func (*CreateSpeechAudioFileResponse) ProtoMessage ¶ added in v0.2.181
func (*CreateSpeechAudioFileResponse) ProtoMessage()
func (*CreateSpeechAudioFileResponse) ProtoReflect ¶ added in v0.2.181
func (x *CreateSpeechAudioFileResponse) ProtoReflect() protoreflect.Message
func (*CreateSpeechAudioFileResponse) Reset ¶ added in v0.2.181
func (x *CreateSpeechAudioFileResponse) Reset()
func (*CreateSpeechAudioFileResponse) String ¶ added in v0.2.181
func (x *CreateSpeechAudioFileResponse) String() string
type ExtractTextFromSpeechRequest ¶ added in v0.2.180
type ExtractTextFromSpeechRequest struct { AudioFileId string `protobuf:"bytes,1,opt,name=audio_file_id,json=audioFileId,proto3" json:"audio_file_id,omitempty"` // contains filtered or unexported fields }
func (*ExtractTextFromSpeechRequest) Descriptor
deprecated
added in
v0.2.180
func (*ExtractTextFromSpeechRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExtractTextFromSpeechRequest.ProtoReflect.Descriptor instead.
func (*ExtractTextFromSpeechRequest) GetAudioFileId ¶ added in v0.2.180
func (x *ExtractTextFromSpeechRequest) GetAudioFileId() string
func (*ExtractTextFromSpeechRequest) ProtoMessage ¶ added in v0.2.180
func (*ExtractTextFromSpeechRequest) ProtoMessage()
func (*ExtractTextFromSpeechRequest) ProtoReflect ¶ added in v0.2.180
func (x *ExtractTextFromSpeechRequest) ProtoReflect() protoreflect.Message
func (*ExtractTextFromSpeechRequest) Reset ¶ added in v0.2.180
func (x *ExtractTextFromSpeechRequest) Reset()
func (*ExtractTextFromSpeechRequest) String ¶ added in v0.2.180
func (x *ExtractTextFromSpeechRequest) String() string
type ExtractTextFromSpeechResponse ¶ added in v0.2.180
type ExtractTextFromSpeechResponse struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*ExtractTextFromSpeechResponse) Descriptor
deprecated
added in
v0.2.180
func (*ExtractTextFromSpeechResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExtractTextFromSpeechResponse.ProtoReflect.Descriptor instead.
func (*ExtractTextFromSpeechResponse) GetText ¶ added in v0.2.180
func (x *ExtractTextFromSpeechResponse) GetText() string
func (*ExtractTextFromSpeechResponse) ProtoMessage ¶ added in v0.2.180
func (*ExtractTextFromSpeechResponse) ProtoMessage()
func (*ExtractTextFromSpeechResponse) ProtoReflect ¶ added in v0.2.180
func (x *ExtractTextFromSpeechResponse) ProtoReflect() protoreflect.Message
func (*ExtractTextFromSpeechResponse) Reset ¶ added in v0.2.180
func (x *ExtractTextFromSpeechResponse) Reset()
func (*ExtractTextFromSpeechResponse) String ¶ added in v0.2.180
func (x *ExtractTextFromSpeechResponse) String() string
type Generate3DModelPrompt ¶ added in v0.2.186
type Generate3DModelPrompt struct { // object_prompt should describe what kind of object the 3D model is. ObjectPrompt string `protobuf:"bytes,1,opt,name=object_prompt,json=objectPrompt,proto3" json:"object_prompt,omitempty"` // style_prompt should describe the style of the model. StylePrompt string `protobuf:"bytes,2,opt,name=style_prompt,json=stylePrompt,proto3" json:"style_prompt,omitempty"` // Describe what the model should not look like. NegativePrompt *string `protobuf:"bytes,3,opt,name=negative_prompt,json=negativePrompt,proto3,oneof" json:"negative_prompt,omitempty"` // art_style describes the desired art style of the object. If not specified, the default is ART_STYLE_REALISTIC. ArtStyle Generate3DModelPrompt_ArtStyle `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Generate3DModelPrompt) Descriptor
deprecated
added in
v0.2.186
func (*Generate3DModelPrompt) Descriptor() ([]byte, []int)
Deprecated: Use Generate3DModelPrompt.ProtoReflect.Descriptor instead.
func (*Generate3DModelPrompt) GetArtStyle ¶ added in v0.2.186
func (x *Generate3DModelPrompt) GetArtStyle() Generate3DModelPrompt_ArtStyle
func (*Generate3DModelPrompt) GetNegativePrompt ¶ added in v0.2.186
func (x *Generate3DModelPrompt) GetNegativePrompt() string
func (*Generate3DModelPrompt) GetObjectPrompt ¶ added in v0.2.186
func (x *Generate3DModelPrompt) GetObjectPrompt() string
func (*Generate3DModelPrompt) GetStylePrompt ¶ added in v0.2.186
func (x *Generate3DModelPrompt) GetStylePrompt() string
func (*Generate3DModelPrompt) ProtoMessage ¶ added in v0.2.186
func (*Generate3DModelPrompt) ProtoMessage()
func (*Generate3DModelPrompt) ProtoReflect ¶ added in v0.2.186
func (x *Generate3DModelPrompt) ProtoReflect() protoreflect.Message
func (*Generate3DModelPrompt) Reset ¶ added in v0.2.186
func (x *Generate3DModelPrompt) Reset()
func (*Generate3DModelPrompt) String ¶ added in v0.2.186
func (x *Generate3DModelPrompt) String() string
type Generate3DModelPrompt_ArtStyle ¶ added in v0.2.186
type Generate3DModelPrompt_ArtStyle int32
const ( Generate3DModelPrompt_ART_STYLE_UNSPECIFIED Generate3DModelPrompt_ArtStyle = 0 Generate3DModelPrompt_ART_STYLE_REALISTIC Generate3DModelPrompt_ArtStyle = 1 Generate3DModelPrompt_ART_STYLE_VOXEL Generate3DModelPrompt_ArtStyle = 2 Generate3DModelPrompt_ART_STYLE_FAKE_3D_CARTOON Generate3DModelPrompt_ArtStyle = 3 Generate3DModelPrompt_ART_STYLE_JAPANESE_ANIME Generate3DModelPrompt_ArtStyle = 4 Generate3DModelPrompt_ART_STYLE_CARTOON_LINE_ART Generate3DModelPrompt_ArtStyle = 5 Generate3DModelPrompt_ART_STYLE_REALISTIC_HAND_DRAWN Generate3DModelPrompt_ArtStyle = 6 Generate3DModelPrompt_ART_STYLE_FAKE_3D_HAND_DRAWN Generate3DModelPrompt_ArtStyle = 7 Generate3DModelPrompt_ART_STYLE_ORIENTAL_COMIC_INK Generate3DModelPrompt_ArtStyle = 8 )
func (Generate3DModelPrompt_ArtStyle) Descriptor ¶ added in v0.2.186
func (Generate3DModelPrompt_ArtStyle) Descriptor() protoreflect.EnumDescriptor
func (Generate3DModelPrompt_ArtStyle) Enum ¶ added in v0.2.186
func (x Generate3DModelPrompt_ArtStyle) Enum() *Generate3DModelPrompt_ArtStyle
func (Generate3DModelPrompt_ArtStyle) EnumDescriptor
deprecated
added in
v0.2.186
func (Generate3DModelPrompt_ArtStyle) EnumDescriptor() ([]byte, []int)
Deprecated: Use Generate3DModelPrompt_ArtStyle.Descriptor instead.
func (Generate3DModelPrompt_ArtStyle) Number ¶ added in v0.2.186
func (x Generate3DModelPrompt_ArtStyle) Number() protoreflect.EnumNumber
func (Generate3DModelPrompt_ArtStyle) String ¶ added in v0.2.186
func (x Generate3DModelPrompt_ArtStyle) String() string
func (Generate3DModelPrompt_ArtStyle) Type ¶ added in v0.2.186
func (Generate3DModelPrompt_ArtStyle) Type() protoreflect.EnumType
type Generate3DModelRequest ¶ added in v0.2.186
type Generate3DModelRequest struct { Prompt *Generate3DModelPrompt `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"` // contains filtered or unexported fields }
func (*Generate3DModelRequest) Descriptor
deprecated
added in
v0.2.186
func (*Generate3DModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use Generate3DModelRequest.ProtoReflect.Descriptor instead.
func (*Generate3DModelRequest) GetPrompt ¶ added in v0.2.186
func (x *Generate3DModelRequest) GetPrompt() *Generate3DModelPrompt
func (*Generate3DModelRequest) ProtoMessage ¶ added in v0.2.186
func (*Generate3DModelRequest) ProtoMessage()
func (*Generate3DModelRequest) ProtoReflect ¶ added in v0.2.186
func (x *Generate3DModelRequest) ProtoReflect() protoreflect.Message
func (*Generate3DModelRequest) Reset ¶ added in v0.2.186
func (x *Generate3DModelRequest) Reset()
func (*Generate3DModelRequest) String ¶ added in v0.2.186
func (x *Generate3DModelRequest) String() string
type Generate3DModelResponse ¶ added in v0.2.186
type Generate3DModelResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Generate3DModelResponse) Descriptor
deprecated
added in
v0.2.186
func (*Generate3DModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use Generate3DModelResponse.ProtoReflect.Descriptor instead.
func (*Generate3DModelResponse) GetId ¶ added in v0.2.186
func (x *Generate3DModelResponse) GetId() string
func (*Generate3DModelResponse) ProtoMessage ¶ added in v0.2.186
func (*Generate3DModelResponse) ProtoMessage()
func (*Generate3DModelResponse) ProtoReflect ¶ added in v0.2.186
func (x *Generate3DModelResponse) ProtoReflect() protoreflect.Message
func (*Generate3DModelResponse) Reset ¶ added in v0.2.186
func (x *Generate3DModelResponse) Reset()
func (*Generate3DModelResponse) String ¶ added in v0.2.186
func (x *Generate3DModelResponse) String() string
type GenerateAudioRequest ¶
type GenerateAudioRequest struct { Preset GenerateAudioRequest_Preset `protobuf:"varint,1,opt,name=preset,proto3,enum=basket.ai_service.v1.GenerateAudioRequest_Preset" json:"preset,omitempty"` Prompt string `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"` // contains filtered or unexported fields }
func (*GenerateAudioRequest) Descriptor
deprecated
func (*GenerateAudioRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateAudioRequest.ProtoReflect.Descriptor instead.
func (*GenerateAudioRequest) GetPreset ¶
func (x *GenerateAudioRequest) GetPreset() GenerateAudioRequest_Preset
func (*GenerateAudioRequest) GetPrompt ¶
func (x *GenerateAudioRequest) GetPrompt() string
func (*GenerateAudioRequest) ProtoMessage ¶
func (*GenerateAudioRequest) ProtoMessage()
func (*GenerateAudioRequest) ProtoReflect ¶
func (x *GenerateAudioRequest) ProtoReflect() protoreflect.Message
func (*GenerateAudioRequest) Reset ¶
func (x *GenerateAudioRequest) Reset()
func (*GenerateAudioRequest) String ¶
func (x *GenerateAudioRequest) String() string
type GenerateAudioRequest_Preset ¶
type GenerateAudioRequest_Preset int32
const ( GenerateAudioRequest_PRESET_UNSPECIFIED GenerateAudioRequest_Preset = 0 GenerateAudioRequest_PRESET_MUSIC GenerateAudioRequest_Preset = 1 )
func (GenerateAudioRequest_Preset) Descriptor ¶
func (GenerateAudioRequest_Preset) Descriptor() protoreflect.EnumDescriptor
func (GenerateAudioRequest_Preset) Enum ¶
func (x GenerateAudioRequest_Preset) Enum() *GenerateAudioRequest_Preset
func (GenerateAudioRequest_Preset) EnumDescriptor
deprecated
func (GenerateAudioRequest_Preset) EnumDescriptor() ([]byte, []int)
Deprecated: Use GenerateAudioRequest_Preset.Descriptor instead.
func (GenerateAudioRequest_Preset) Number ¶
func (x GenerateAudioRequest_Preset) Number() protoreflect.EnumNumber
func (GenerateAudioRequest_Preset) String ¶
func (x GenerateAudioRequest_Preset) String() string
func (GenerateAudioRequest_Preset) Type ¶
func (GenerateAudioRequest_Preset) Type() protoreflect.EnumType
type GenerateAudioResponse ¶
type GenerateAudioResponse struct { AudioId string `protobuf:"bytes,1,opt,name=audio_id,json=audioId,proto3" json:"audio_id,omitempty"` AudioUrl string `protobuf:"bytes,2,opt,name=audio_url,json=audioUrl,proto3" json:"audio_url,omitempty"` // contains filtered or unexported fields }
func (*GenerateAudioResponse) Descriptor
deprecated
func (*GenerateAudioResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateAudioResponse.ProtoReflect.Descriptor instead.
func (*GenerateAudioResponse) GetAudioId ¶
func (x *GenerateAudioResponse) GetAudioId() string
func (*GenerateAudioResponse) GetAudioUrl ¶
func (x *GenerateAudioResponse) GetAudioUrl() string
func (*GenerateAudioResponse) ProtoMessage ¶
func (*GenerateAudioResponse) ProtoMessage()
func (*GenerateAudioResponse) ProtoReflect ¶
func (x *GenerateAudioResponse) ProtoReflect() protoreflect.Message
func (*GenerateAudioResponse) Reset ¶
func (x *GenerateAudioResponse) Reset()
func (*GenerateAudioResponse) String ¶
func (x *GenerateAudioResponse) String() string
type GenerateImageRequest ¶
type GenerateImageRequest struct { Preset GenerateImageRequest_Preset `protobuf:"varint,1,opt,name=preset,proto3,enum=basket.ai_service.v1.GenerateImageRequest_Preset" json:"preset,omitempty"` Prompt string `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"` // contains filtered or unexported fields }
func (*GenerateImageRequest) Descriptor
deprecated
func (*GenerateImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateImageRequest.ProtoReflect.Descriptor instead.
func (*GenerateImageRequest) GetPreset ¶
func (x *GenerateImageRequest) GetPreset() GenerateImageRequest_Preset
func (*GenerateImageRequest) GetPrompt ¶
func (x *GenerateImageRequest) GetPrompt() string
func (*GenerateImageRequest) ProtoMessage ¶
func (*GenerateImageRequest) ProtoMessage()
func (*GenerateImageRequest) ProtoReflect ¶
func (x *GenerateImageRequest) ProtoReflect() protoreflect.Message
func (*GenerateImageRequest) Reset ¶
func (x *GenerateImageRequest) Reset()
func (*GenerateImageRequest) String ¶
func (x *GenerateImageRequest) String() string
type GenerateImageRequest_Preset ¶
type GenerateImageRequest_Preset int32
const ( GenerateImageRequest_PRESET_UNSPECIFIED GenerateImageRequest_Preset = 0 GenerateImageRequest_PRESET_SKYBOX GenerateImageRequest_Preset = 1 GenerateImageRequest_PRESET_PICTURE GenerateImageRequest_Preset = 2 GenerateImageRequest_PRESET_TEXTURE GenerateImageRequest_Preset = 3 )
func (GenerateImageRequest_Preset) Descriptor ¶
func (GenerateImageRequest_Preset) Descriptor() protoreflect.EnumDescriptor
func (GenerateImageRequest_Preset) Enum ¶
func (x GenerateImageRequest_Preset) Enum() *GenerateImageRequest_Preset
func (GenerateImageRequest_Preset) EnumDescriptor
deprecated
func (GenerateImageRequest_Preset) EnumDescriptor() ([]byte, []int)
Deprecated: Use GenerateImageRequest_Preset.Descriptor instead.
func (GenerateImageRequest_Preset) Number ¶
func (x GenerateImageRequest_Preset) Number() protoreflect.EnumNumber
func (GenerateImageRequest_Preset) String ¶
func (x GenerateImageRequest_Preset) String() string
func (GenerateImageRequest_Preset) Type ¶
func (GenerateImageRequest_Preset) Type() protoreflect.EnumType
type GenerateImageResponse ¶
type GenerateImageResponse struct { ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` ImageUrl string `protobuf:"bytes,2,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // contains filtered or unexported fields }
func (*GenerateImageResponse) Descriptor
deprecated
func (*GenerateImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateImageResponse.ProtoReflect.Descriptor instead.
func (*GenerateImageResponse) GetImageId ¶
func (x *GenerateImageResponse) GetImageId() string
func (*GenerateImageResponse) GetImageUrl ¶
func (x *GenerateImageResponse) GetImageUrl() string
func (*GenerateImageResponse) ProtoMessage ¶
func (*GenerateImageResponse) ProtoMessage()
func (*GenerateImageResponse) ProtoReflect ¶
func (x *GenerateImageResponse) ProtoReflect() protoreflect.Message
func (*GenerateImageResponse) Reset ¶
func (x *GenerateImageResponse) Reset()
func (*GenerateImageResponse) String ¶
func (x *GenerateImageResponse) String() string
type GenerateTextForGameCharacterRequest ¶ added in v0.2.182
type GenerateTextForGameCharacterRequest struct { GameCharacterId *string `protobuf:"bytes,1,opt,name=game_character_id,json=gameCharacterId,proto3,oneof" json:"game_character_id,omitempty"` SessionId *string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
GenerateTextForGameCharacterRequest is a message that requires either a game_character_id or a session_id to be specified.
func (*GenerateTextForGameCharacterRequest) Descriptor
deprecated
added in
v0.2.182
func (*GenerateTextForGameCharacterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateTextForGameCharacterRequest.ProtoReflect.Descriptor instead.
func (*GenerateTextForGameCharacterRequest) GetGameCharacterId ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterRequest) GetGameCharacterId() string
func (*GenerateTextForGameCharacterRequest) GetSessionId ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterRequest) GetSessionId() string
func (*GenerateTextForGameCharacterRequest) GetText ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterRequest) GetText() string
func (*GenerateTextForGameCharacterRequest) ProtoMessage ¶ added in v0.2.182
func (*GenerateTextForGameCharacterRequest) ProtoMessage()
func (*GenerateTextForGameCharacterRequest) ProtoReflect ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterRequest) ProtoReflect() protoreflect.Message
func (*GenerateTextForGameCharacterRequest) Reset ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterRequest) Reset()
func (*GenerateTextForGameCharacterRequest) String ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterRequest) String() string
type GenerateTextForGameCharacterResponse ¶ added in v0.2.182
type GenerateTextForGameCharacterResponse struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*GenerateTextForGameCharacterResponse) Descriptor
deprecated
added in
v0.2.182
func (*GenerateTextForGameCharacterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateTextForGameCharacterResponse.ProtoReflect.Descriptor instead.
func (*GenerateTextForGameCharacterResponse) GetSessionId ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterResponse) GetSessionId() string
func (*GenerateTextForGameCharacterResponse) GetText ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterResponse) GetText() string
func (*GenerateTextForGameCharacterResponse) ProtoMessage ¶ added in v0.2.182
func (*GenerateTextForGameCharacterResponse) ProtoMessage()
func (*GenerateTextForGameCharacterResponse) ProtoReflect ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterResponse) ProtoReflect() protoreflect.Message
func (*GenerateTextForGameCharacterResponse) Reset ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterResponse) Reset()
func (*GenerateTextForGameCharacterResponse) String ¶ added in v0.2.182
func (x *GenerateTextForGameCharacterResponse) String() string
type GenerateTextRequest ¶ added in v0.2.175
type GenerateTextRequest struct { // If this is the first message in the session, then you don't need to specify anything. SessionId *string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*GenerateTextRequest) Descriptor
deprecated
added in
v0.2.175
func (*GenerateTextRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateTextRequest.ProtoReflect.Descriptor instead.
func (*GenerateTextRequest) GetSessionId ¶ added in v0.2.175
func (x *GenerateTextRequest) GetSessionId() string
func (*GenerateTextRequest) GetText ¶ added in v0.2.175
func (x *GenerateTextRequest) GetText() string
func (*GenerateTextRequest) ProtoMessage ¶ added in v0.2.175
func (*GenerateTextRequest) ProtoMessage()
func (*GenerateTextRequest) ProtoReflect ¶ added in v0.2.175
func (x *GenerateTextRequest) ProtoReflect() protoreflect.Message
func (*GenerateTextRequest) Reset ¶ added in v0.2.175
func (x *GenerateTextRequest) Reset()
func (*GenerateTextRequest) String ¶ added in v0.2.175
func (x *GenerateTextRequest) String() string
type GenerateTextResponse ¶ added in v0.2.175
type GenerateTextResponse struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*GenerateTextResponse) Descriptor
deprecated
added in
v0.2.175
func (*GenerateTextResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateTextResponse.ProtoReflect.Descriptor instead.
func (*GenerateTextResponse) GetSessionId ¶ added in v0.2.175
func (x *GenerateTextResponse) GetSessionId() string
func (*GenerateTextResponse) GetText ¶ added in v0.2.175
func (x *GenerateTextResponse) GetText() string
func (*GenerateTextResponse) ProtoMessage ¶ added in v0.2.175
func (*GenerateTextResponse) ProtoMessage()
func (*GenerateTextResponse) ProtoReflect ¶ added in v0.2.175
func (x *GenerateTextResponse) ProtoReflect() protoreflect.Message
func (*GenerateTextResponse) Reset ¶ added in v0.2.175
func (x *GenerateTextResponse) Reset()
func (*GenerateTextResponse) String ¶ added in v0.2.175
func (x *GenerateTextResponse) String() string
type GenerateVoiceRequest ¶ added in v0.2.161
type GenerateVoiceRequest struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Types that are assignable to GenderOption: // // *GenerateVoiceRequest_Gender // *GenerateVoiceRequest_ModelName GenderOption isGenerateVoiceRequest_GenderOption `protobuf_oneof:"gender_option"` // contains filtered or unexported fields }
func (*GenerateVoiceRequest) Descriptor
deprecated
added in
v0.2.161
func (*GenerateVoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateVoiceRequest.ProtoReflect.Descriptor instead.
func (*GenerateVoiceRequest) GetGender ¶ added in v0.2.161
func (x *GenerateVoiceRequest) GetGender() VoiceModel_Gender
func (*GenerateVoiceRequest) GetGenderOption ¶ added in v0.2.161
func (m *GenerateVoiceRequest) GetGenderOption() isGenerateVoiceRequest_GenderOption
func (*GenerateVoiceRequest) GetLanguageCode ¶ added in v0.2.161
func (x *GenerateVoiceRequest) GetLanguageCode() string
func (*GenerateVoiceRequest) GetModelName ¶ added in v0.2.161
func (x *GenerateVoiceRequest) GetModelName() string
func (*GenerateVoiceRequest) GetText ¶ added in v0.2.161
func (x *GenerateVoiceRequest) GetText() string
func (*GenerateVoiceRequest) ProtoMessage ¶ added in v0.2.161
func (*GenerateVoiceRequest) ProtoMessage()
func (*GenerateVoiceRequest) ProtoReflect ¶ added in v0.2.161
func (x *GenerateVoiceRequest) ProtoReflect() protoreflect.Message
func (*GenerateVoiceRequest) Reset ¶ added in v0.2.161
func (x *GenerateVoiceRequest) Reset()
func (*GenerateVoiceRequest) String ¶ added in v0.2.161
func (x *GenerateVoiceRequest) String() string
type GenerateVoiceRequest_Gender ¶ added in v0.2.161
type GenerateVoiceRequest_Gender struct {
Gender VoiceModel_Gender `protobuf:"varint,3,opt,name=gender,proto3,enum=basket.ai_service.v1.VoiceModel_Gender,oneof"`
}
type GenerateVoiceRequest_ModelName ¶ added in v0.2.161
type GenerateVoiceRequest_ModelName struct {
ModelName string `protobuf:"bytes,4,opt,name=model_name,json=modelName,proto3,oneof"`
}
type GenerateVoiceResponse ¶ added in v0.2.161
type GenerateVoiceResponse struct { VoiceId string `protobuf:"bytes,1,opt,name=voice_id,json=voiceId,proto3" json:"voice_id,omitempty"` VoiceUrl string `protobuf:"bytes,2,opt,name=voice_url,json=voiceUrl,proto3" json:"voice_url,omitempty"` // contains filtered or unexported fields }
func (*GenerateVoiceResponse) Descriptor
deprecated
added in
v0.2.161
func (*GenerateVoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateVoiceResponse.ProtoReflect.Descriptor instead.
func (*GenerateVoiceResponse) GetVoiceId ¶ added in v0.2.161
func (x *GenerateVoiceResponse) GetVoiceId() string
func (*GenerateVoiceResponse) GetVoiceUrl ¶ added in v0.2.161
func (x *GenerateVoiceResponse) GetVoiceUrl() string
func (*GenerateVoiceResponse) ProtoMessage ¶ added in v0.2.161
func (*GenerateVoiceResponse) ProtoMessage()
func (*GenerateVoiceResponse) ProtoReflect ¶ added in v0.2.161
func (x *GenerateVoiceResponse) ProtoReflect() protoreflect.Message
func (*GenerateVoiceResponse) Reset ¶ added in v0.2.161
func (x *GenerateVoiceResponse) Reset()
func (*GenerateVoiceResponse) String ¶ added in v0.2.161
func (x *GenerateVoiceResponse) String() string
type GetGenerate3DModelResultRequest ¶ added in v0.2.186
type GetGenerate3DModelResultRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetGenerate3DModelResultRequest) Descriptor
deprecated
added in
v0.2.186
func (*GetGenerate3DModelResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGenerate3DModelResultRequest.ProtoReflect.Descriptor instead.
func (*GetGenerate3DModelResultRequest) GetId ¶ added in v0.2.186
func (x *GetGenerate3DModelResultRequest) GetId() string
func (*GetGenerate3DModelResultRequest) ProtoMessage ¶ added in v0.2.186
func (*GetGenerate3DModelResultRequest) ProtoMessage()
func (*GetGenerate3DModelResultRequest) ProtoReflect ¶ added in v0.2.186
func (x *GetGenerate3DModelResultRequest) ProtoReflect() protoreflect.Message
func (*GetGenerate3DModelResultRequest) Reset ¶ added in v0.2.186
func (x *GetGenerate3DModelResultRequest) Reset()
func (*GetGenerate3DModelResultRequest) String ¶ added in v0.2.186
func (x *GetGenerate3DModelResultRequest) String() string
type GetGenerate3DModelResultResponse ¶ added in v0.2.186
type GetGenerate3DModelResultResponse struct { Status GetGenerate3DModelResultResponse_Status `` /* 132-byte string literal not displayed */ Progress uint32 `protobuf:"varint,2,opt,name=progress,proto3" json:"progress,omitempty"` Prompt *Generate3DModelPrompt `protobuf:"bytes,3,opt,name=prompt,proto3" json:"prompt,omitempty"` Model *GetGenerate3DModelResultResponse_Generated3DModel `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
func (*GetGenerate3DModelResultResponse) Descriptor
deprecated
added in
v0.2.186
func (*GetGenerate3DModelResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGenerate3DModelResultResponse.ProtoReflect.Descriptor instead.
func (*GetGenerate3DModelResultResponse) GetModel ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse) GetModel() *GetGenerate3DModelResultResponse_Generated3DModel
func (*GetGenerate3DModelResultResponse) GetProgress ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse) GetProgress() uint32
func (*GetGenerate3DModelResultResponse) GetPrompt ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse) GetPrompt() *Generate3DModelPrompt
func (*GetGenerate3DModelResultResponse) GetStatus ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse) GetStatus() GetGenerate3DModelResultResponse_Status
func (*GetGenerate3DModelResultResponse) ProtoMessage ¶ added in v0.2.186
func (*GetGenerate3DModelResultResponse) ProtoMessage()
func (*GetGenerate3DModelResultResponse) ProtoReflect ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse) ProtoReflect() protoreflect.Message
func (*GetGenerate3DModelResultResponse) Reset ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse) Reset()
func (*GetGenerate3DModelResultResponse) String ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse) String() string
type GetGenerate3DModelResultResponse_Generated3DModel ¶ added in v0.2.186
type GetGenerate3DModelResultResponse_Generated3DModel struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` GlbModelUrl string `protobuf:"bytes,2,opt,name=glb_model_url,json=glbModelUrl,proto3" json:"glb_model_url,omitempty"` ThumbnailUrl string `protobuf:"bytes,3,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` BaseColorTextureUrl string `protobuf:"bytes,4,opt,name=base_color_texture_url,json=baseColorTextureUrl,proto3" json:"base_color_texture_url,omitempty"` NormalTextureUrl *string `protobuf:"bytes,5,opt,name=normal_texture_url,json=normalTextureUrl,proto3,oneof" json:"normal_texture_url,omitempty"` RoughnessTextureUrl *string `` /* 126-byte string literal not displayed */ MetallicTextureUrl *string `protobuf:"bytes,7,opt,name=metallic_texture_url,json=metallicTextureUrl,proto3,oneof" json:"metallic_texture_url,omitempty"` // contains filtered or unexported fields }
func (*GetGenerate3DModelResultResponse_Generated3DModel) Descriptor
deprecated
added in
v0.2.186
func (*GetGenerate3DModelResultResponse_Generated3DModel) Descriptor() ([]byte, []int)
Deprecated: Use GetGenerate3DModelResultResponse_Generated3DModel.ProtoReflect.Descriptor instead.
func (*GetGenerate3DModelResultResponse_Generated3DModel) GetBaseColorTextureUrl ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetBaseColorTextureUrl() string
func (*GetGenerate3DModelResultResponse_Generated3DModel) GetGlbModelUrl ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetGlbModelUrl() string
func (*GetGenerate3DModelResultResponse_Generated3DModel) GetId ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetId() string
func (*GetGenerate3DModelResultResponse_Generated3DModel) GetMetallicTextureUrl ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetMetallicTextureUrl() string
func (*GetGenerate3DModelResultResponse_Generated3DModel) GetNormalTextureUrl ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetNormalTextureUrl() string
func (*GetGenerate3DModelResultResponse_Generated3DModel) GetRoughnessTextureUrl ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetRoughnessTextureUrl() string
func (*GetGenerate3DModelResultResponse_Generated3DModel) GetThumbnailUrl ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) GetThumbnailUrl() string
func (*GetGenerate3DModelResultResponse_Generated3DModel) ProtoMessage ¶ added in v0.2.186
func (*GetGenerate3DModelResultResponse_Generated3DModel) ProtoMessage()
func (*GetGenerate3DModelResultResponse_Generated3DModel) ProtoReflect ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) ProtoReflect() protoreflect.Message
func (*GetGenerate3DModelResultResponse_Generated3DModel) Reset ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) Reset()
func (*GetGenerate3DModelResultResponse_Generated3DModel) String ¶ added in v0.2.186
func (x *GetGenerate3DModelResultResponse_Generated3DModel) String() string
type GetGenerate3DModelResultResponse_Status ¶ added in v0.2.186
type GetGenerate3DModelResultResponse_Status int32
const ( GetGenerate3DModelResultResponse_STATUS_UNSPECIFIED GetGenerate3DModelResultResponse_Status = 0 GetGenerate3DModelResultResponse_STATUS_PENDING GetGenerate3DModelResultResponse_Status = 1 GetGenerate3DModelResultResponse_STATUS_SUCCESS GetGenerate3DModelResultResponse_Status = 2 GetGenerate3DModelResultResponse_STATUS_FAILURE GetGenerate3DModelResultResponse_Status = 3 )
func (GetGenerate3DModelResultResponse_Status) Descriptor ¶ added in v0.2.186
func (GetGenerate3DModelResultResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (GetGenerate3DModelResultResponse_Status) EnumDescriptor
deprecated
added in
v0.2.186
func (GetGenerate3DModelResultResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetGenerate3DModelResultResponse_Status.Descriptor instead.
func (GetGenerate3DModelResultResponse_Status) Number ¶ added in v0.2.186
func (x GetGenerate3DModelResultResponse_Status) Number() protoreflect.EnumNumber
func (GetGenerate3DModelResultResponse_Status) String ¶ added in v0.2.186
func (x GetGenerate3DModelResultResponse_Status) String() string
func (GetGenerate3DModelResultResponse_Status) Type ¶ added in v0.2.186
func (GetGenerate3DModelResultResponse_Status) Type() protoreflect.EnumType
type GetVoiceLanguagesRequest ¶ added in v0.2.161
type GetVoiceLanguagesRequest struct {
// contains filtered or unexported fields
}
func (*GetVoiceLanguagesRequest) Descriptor
deprecated
added in
v0.2.161
func (*GetVoiceLanguagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVoiceLanguagesRequest.ProtoReflect.Descriptor instead.
func (*GetVoiceLanguagesRequest) ProtoMessage ¶ added in v0.2.161
func (*GetVoiceLanguagesRequest) ProtoMessage()
func (*GetVoiceLanguagesRequest) ProtoReflect ¶ added in v0.2.161
func (x *GetVoiceLanguagesRequest) ProtoReflect() protoreflect.Message
func (*GetVoiceLanguagesRequest) Reset ¶ added in v0.2.161
func (x *GetVoiceLanguagesRequest) Reset()
func (*GetVoiceLanguagesRequest) String ¶ added in v0.2.161
func (x *GetVoiceLanguagesRequest) String() string
type GetVoiceLanguagesResponse ¶ added in v0.2.161
type GetVoiceLanguagesResponse struct { LanguageCodes []string `protobuf:"bytes,1,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` // contains filtered or unexported fields }
func (*GetVoiceLanguagesResponse) Descriptor
deprecated
added in
v0.2.161
func (*GetVoiceLanguagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVoiceLanguagesResponse.ProtoReflect.Descriptor instead.
func (*GetVoiceLanguagesResponse) GetLanguageCodes ¶ added in v0.2.161
func (x *GetVoiceLanguagesResponse) GetLanguageCodes() []string
func (*GetVoiceLanguagesResponse) ProtoMessage ¶ added in v0.2.161
func (*GetVoiceLanguagesResponse) ProtoMessage()
func (*GetVoiceLanguagesResponse) ProtoReflect ¶ added in v0.2.161
func (x *GetVoiceLanguagesResponse) ProtoReflect() protoreflect.Message
func (*GetVoiceLanguagesResponse) Reset ¶ added in v0.2.161
func (x *GetVoiceLanguagesResponse) Reset()
func (*GetVoiceLanguagesResponse) String ¶ added in v0.2.161
func (x *GetVoiceLanguagesResponse) String() string
type GetVoiceModelsRequest ¶ added in v0.2.161
type GetVoiceModelsRequest struct { LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
func (*GetVoiceModelsRequest) Descriptor
deprecated
added in
v0.2.161
func (*GetVoiceModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVoiceModelsRequest.ProtoReflect.Descriptor instead.
func (*GetVoiceModelsRequest) GetLanguageCode ¶ added in v0.2.161
func (x *GetVoiceModelsRequest) GetLanguageCode() string
func (*GetVoiceModelsRequest) ProtoMessage ¶ added in v0.2.161
func (*GetVoiceModelsRequest) ProtoMessage()
func (*GetVoiceModelsRequest) ProtoReflect ¶ added in v0.2.161
func (x *GetVoiceModelsRequest) ProtoReflect() protoreflect.Message
func (*GetVoiceModelsRequest) Reset ¶ added in v0.2.161
func (x *GetVoiceModelsRequest) Reset()
func (*GetVoiceModelsRequest) String ¶ added in v0.2.161
func (x *GetVoiceModelsRequest) String() string
type GetVoiceModelsResponse ¶ added in v0.2.161
type GetVoiceModelsResponse struct { Models []*VoiceModel `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // contains filtered or unexported fields }
func (*GetVoiceModelsResponse) Descriptor
deprecated
added in
v0.2.161
func (*GetVoiceModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVoiceModelsResponse.ProtoReflect.Descriptor instead.
func (*GetVoiceModelsResponse) GetModels ¶ added in v0.2.161
func (x *GetVoiceModelsResponse) GetModels() []*VoiceModel
func (*GetVoiceModelsResponse) ProtoMessage ¶ added in v0.2.161
func (*GetVoiceModelsResponse) ProtoMessage()
func (*GetVoiceModelsResponse) ProtoReflect ¶ added in v0.2.161
func (x *GetVoiceModelsResponse) ProtoReflect() protoreflect.Message
func (*GetVoiceModelsResponse) Reset ¶ added in v0.2.161
func (x *GetVoiceModelsResponse) Reset()
func (*GetVoiceModelsResponse) String ¶ added in v0.2.161
func (x *GetVoiceModelsResponse) String() string
type UnimplementedAIServiceServer ¶
type UnimplementedAIServiceServer struct { }
UnimplementedAIServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAIServiceServer) CreateSpeechAudioFile ¶ added in v0.2.181
func (UnimplementedAIServiceServer) CreateSpeechAudioFile(context.Context, *CreateSpeechAudioFileRequest) (*CreateSpeechAudioFileResponse, error)
func (UnimplementedAIServiceServer) ExtractTextFromSpeech ¶ added in v0.2.180
func (UnimplementedAIServiceServer) ExtractTextFromSpeech(context.Context, *ExtractTextFromSpeechRequest) (*ExtractTextFromSpeechResponse, error)
func (UnimplementedAIServiceServer) Generate3DModel ¶ added in v0.2.186
func (UnimplementedAIServiceServer) Generate3DModel(context.Context, *Generate3DModelRequest) (*Generate3DModelResponse, error)
func (UnimplementedAIServiceServer) GenerateAudio ¶
func (UnimplementedAIServiceServer) GenerateAudio(context.Context, *GenerateAudioRequest) (*GenerateAudioResponse, error)
func (UnimplementedAIServiceServer) GenerateImage ¶
func (UnimplementedAIServiceServer) GenerateImage(context.Context, *GenerateImageRequest) (*GenerateImageResponse, error)
func (UnimplementedAIServiceServer) GenerateText ¶ added in v0.2.175
func (UnimplementedAIServiceServer) GenerateText(context.Context, *GenerateTextRequest) (*GenerateTextResponse, error)
func (UnimplementedAIServiceServer) GenerateTextForGameCharacter ¶ added in v0.2.182
func (UnimplementedAIServiceServer) GenerateTextForGameCharacter(context.Context, *GenerateTextForGameCharacterRequest) (*GenerateTextForGameCharacterResponse, error)
func (UnimplementedAIServiceServer) GenerateVoice ¶ added in v0.2.161
func (UnimplementedAIServiceServer) GenerateVoice(context.Context, *GenerateVoiceRequest) (*GenerateVoiceResponse, error)
func (UnimplementedAIServiceServer) GetGenerate3DModelResult ¶ added in v0.2.186
func (UnimplementedAIServiceServer) GetGenerate3DModelResult(context.Context, *GetGenerate3DModelResultRequest) (*GetGenerate3DModelResultResponse, error)
func (UnimplementedAIServiceServer) GetVoiceLanguages ¶ added in v0.2.161
func (UnimplementedAIServiceServer) GetVoiceLanguages(context.Context, *GetVoiceLanguagesRequest) (*GetVoiceLanguagesResponse, error)
func (UnimplementedAIServiceServer) GetVoiceModels ¶ added in v0.2.161
func (UnimplementedAIServiceServer) GetVoiceModels(context.Context, *GetVoiceModelsRequest) (*GetVoiceModelsResponse, error)
type UnsafeAIServiceServer ¶
type UnsafeAIServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAIServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AIServiceServer will result in compilation errors.
type VoiceModel ¶ added in v0.2.161
type VoiceModel struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Gender VoiceModel_Gender `protobuf:"varint,2,opt,name=gender,proto3,enum=basket.ai_service.v1.VoiceModel_Gender" json:"gender,omitempty"` // contains filtered or unexported fields }
func (*VoiceModel) Descriptor
deprecated
added in
v0.2.161
func (*VoiceModel) Descriptor() ([]byte, []int)
Deprecated: Use VoiceModel.ProtoReflect.Descriptor instead.
func (*VoiceModel) GetGender ¶ added in v0.2.161
func (x *VoiceModel) GetGender() VoiceModel_Gender
func (*VoiceModel) GetName ¶ added in v0.2.161
func (x *VoiceModel) GetName() string
func (*VoiceModel) ProtoMessage ¶ added in v0.2.161
func (*VoiceModel) ProtoMessage()
func (*VoiceModel) ProtoReflect ¶ added in v0.2.161
func (x *VoiceModel) ProtoReflect() protoreflect.Message
func (*VoiceModel) Reset ¶ added in v0.2.161
func (x *VoiceModel) Reset()
func (*VoiceModel) String ¶ added in v0.2.161
func (x *VoiceModel) String() string
type VoiceModel_Gender ¶ added in v0.2.161
type VoiceModel_Gender int32
const ( VoiceModel_GENDER_UNSPECIFIED VoiceModel_Gender = 0 VoiceModel_GENDER_MALE VoiceModel_Gender = 1 VoiceModel_GENDER_FEMALE VoiceModel_Gender = 2 VoiceModel_GENDER_NEUTRAL VoiceModel_Gender = 3 )
func (VoiceModel_Gender) Descriptor ¶ added in v0.2.161
func (VoiceModel_Gender) Descriptor() protoreflect.EnumDescriptor
func (VoiceModel_Gender) Enum ¶ added in v0.2.161
func (x VoiceModel_Gender) Enum() *VoiceModel_Gender
func (VoiceModel_Gender) EnumDescriptor
deprecated
added in
v0.2.161
func (VoiceModel_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use VoiceModel_Gender.Descriptor instead.
func (VoiceModel_Gender) Number ¶ added in v0.2.161
func (x VoiceModel_Gender) Number() protoreflect.EnumNumber
func (VoiceModel_Gender) String ¶ added in v0.2.161
func (x VoiceModel_Gender) String() string
func (VoiceModel_Gender) Type ¶ added in v0.2.161
func (VoiceModel_Gender) Type() protoreflect.EnumType