Documentation ¶
Index ¶
- Variables
- func RegisterBlenderServiceServer(s grpc.ServiceRegistrar, srv BlenderServiceServer)
- type BlenderServiceClient
- type BlenderServiceServer
- type NormalizeAssetRequest
- func (*NormalizeAssetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NormalizeAssetRequest) GetAssetUrl() string
- func (*NormalizeAssetRequest) ProtoMessage()
- func (x *NormalizeAssetRequest) ProtoReflect() protoreflect.Message
- func (x *NormalizeAssetRequest) Reset()
- func (x *NormalizeAssetRequest) String() string
- type NormalizeAssetResponse
- func (*NormalizeAssetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NormalizeAssetResponse) GetNormalizedUrl() string
- func (*NormalizeAssetResponse) ProtoMessage()
- func (x *NormalizeAssetResponse) ProtoReflect() protoreflect.Message
- func (x *NormalizeAssetResponse) Reset()
- func (x *NormalizeAssetResponse) String() string
- type UnimplementedBlenderServiceServer
- type UnsafeBlenderServiceServer
Constants ¶
This section is empty.
Variables ¶
var BlenderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "basket.blender_service.v1.BlenderService", HandlerType: (*BlenderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "NormalizeAsset", Handler: _BlenderService_NormalizeAsset_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "basket/blender-service/v1/blender.proto", }
BlenderService_ServiceDesc is the grpc.ServiceDesc for BlenderService 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_blender_service_v1_blender_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBlenderServiceServer ¶
func RegisterBlenderServiceServer(s grpc.ServiceRegistrar, srv BlenderServiceServer)
Types ¶
type BlenderServiceClient ¶
type BlenderServiceClient interface {
NormalizeAsset(ctx context.Context, in *NormalizeAssetRequest, opts ...grpc.CallOption) (*NormalizeAssetResponse, error)
}
BlenderServiceClient is the client API for BlenderService 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 NewBlenderServiceClient ¶
func NewBlenderServiceClient(cc grpc.ClientConnInterface) BlenderServiceClient
type BlenderServiceServer ¶
type BlenderServiceServer interface { NormalizeAsset(context.Context, *NormalizeAssetRequest) (*NormalizeAssetResponse, error) // contains filtered or unexported methods }
BlenderServiceServer is the server API for BlenderService service. All implementations must embed UnimplementedBlenderServiceServer for forward compatibility
type NormalizeAssetRequest ¶
type NormalizeAssetRequest struct { AssetUrl string `protobuf:"bytes,1,opt,name=asset_url,json=assetUrl,proto3" json:"asset_url,omitempty"` // contains filtered or unexported fields }
func (*NormalizeAssetRequest) Descriptor
deprecated
func (*NormalizeAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use NormalizeAssetRequest.ProtoReflect.Descriptor instead.
func (*NormalizeAssetRequest) GetAssetUrl ¶
func (x *NormalizeAssetRequest) GetAssetUrl() string
func (*NormalizeAssetRequest) ProtoMessage ¶
func (*NormalizeAssetRequest) ProtoMessage()
func (*NormalizeAssetRequest) ProtoReflect ¶
func (x *NormalizeAssetRequest) ProtoReflect() protoreflect.Message
func (*NormalizeAssetRequest) Reset ¶
func (x *NormalizeAssetRequest) Reset()
func (*NormalizeAssetRequest) String ¶
func (x *NormalizeAssetRequest) String() string
type NormalizeAssetResponse ¶
type NormalizeAssetResponse struct { NormalizedUrl string `protobuf:"bytes,1,opt,name=normalized_url,json=normalizedUrl,proto3" json:"normalized_url,omitempty"` // contains filtered or unexported fields }
func (*NormalizeAssetResponse) Descriptor
deprecated
func (*NormalizeAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use NormalizeAssetResponse.ProtoReflect.Descriptor instead.
func (*NormalizeAssetResponse) GetNormalizedUrl ¶
func (x *NormalizeAssetResponse) GetNormalizedUrl() string
func (*NormalizeAssetResponse) ProtoMessage ¶
func (*NormalizeAssetResponse) ProtoMessage()
func (*NormalizeAssetResponse) ProtoReflect ¶
func (x *NormalizeAssetResponse) ProtoReflect() protoreflect.Message
func (*NormalizeAssetResponse) Reset ¶
func (x *NormalizeAssetResponse) Reset()
func (*NormalizeAssetResponse) String ¶
func (x *NormalizeAssetResponse) String() string
type UnimplementedBlenderServiceServer ¶
type UnimplementedBlenderServiceServer struct { }
UnimplementedBlenderServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBlenderServiceServer) NormalizeAsset ¶
func (UnimplementedBlenderServiceServer) NormalizeAsset(context.Context, *NormalizeAssetRequest) (*NormalizeAssetResponse, error)
type UnsafeBlenderServiceServer ¶
type UnsafeBlenderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBlenderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlenderServiceServer will result in compilation errors.