v1

package
v0.3.19 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AssetType_name = map[int32]string{
		0: "ASSET_TYPE_UNSPECIFIED",
		1: "ASSET_TYPE_GLB",
		2: "ASSET_TYPE_IMAGE",
	}
	AssetType_value = map[string]int32{
		"ASSET_TYPE_UNSPECIFIED": 0,
		"ASSET_TYPE_GLB":         1,
		"ASSET_TYPE_IMAGE":       2,
	}
)

Enum value maps for AssetType.

View Source
var AssetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "basket.asset_service.v1.AssetService",
	HandlerType: (*AssetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAssets",
			Handler:    _AssetService_GetAssets_Handler,
		},
		{
			MethodName: "UploadAsset",
			Handler:    _AssetService_UploadAsset_Handler,
		},
		{
			MethodName: "CreateAsset",
			Handler:    _AssetService_CreateAsset_Handler,
		},
		{
			MethodName: "UpdateAsset",
			Handler:    _AssetService_UpdateAsset_Handler,
		},
		{
			MethodName: "GetRandomAssets",
			Handler:    _AssetService_GetRandomAssets_Handler,
		},
		{
			MethodName: "GetAssetLabels",
			Handler:    _AssetService_GetAssetLabels_Handler,
		},
		{
			MethodName: "AssignAssetLabel",
			Handler:    _AssetService_AssignAssetLabel_Handler,
		},
		{
			MethodName: "UnassignAssetLabel",
			Handler:    _AssetService_UnassignAssetLabel_Handler,
		},
		{
			MethodName: "CreateAssetPreview",
			Handler:    _AssetService_CreateAssetPreview_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "basket/asset-service/v1/asset.proto",
}

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

View Source
var File_basket_asset_service_v1_asset_proto protoreflect.FileDescriptor

Functions

func RegisterAssetServiceServer

func RegisterAssetServiceServer(s grpc.ServiceRegistrar, srv AssetServiceServer)

Types

type Asset

type Asset 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"`
	Description string    `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Type        AssetType `protobuf:"varint,4,opt,name=type,proto3,enum=basket.asset_service.v1.AssetType" json:"type,omitempty"`
	PreviewUrl  *string   `protobuf:"bytes,5,opt,name=preview_url,json=previewUrl,proto3,oneof" json:"preview_url,omitempty"`
	ResourceUrl string    `protobuf:"bytes,6,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Asset) Descriptor deprecated

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetDescription

func (x *Asset) GetDescription() string

func (*Asset) GetId

func (x *Asset) GetId() string

func (*Asset) GetName

func (x *Asset) GetName() string

func (*Asset) GetPreviewUrl

func (x *Asset) GetPreviewUrl() string

func (*Asset) GetResourceUrl

func (x *Asset) GetResourceUrl() string

func (*Asset) GetType

func (x *Asset) GetType() AssetType

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type AssetServiceClient

AssetServiceClient is the client API for AssetService service.

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

type AssetServiceServer

AssetServiceServer is the server API for AssetService service. All implementations must embed UnimplementedAssetServiceServer for forward compatibility

type AssetType

type AssetType int32
const (
	AssetType_ASSET_TYPE_UNSPECIFIED AssetType = 0
	AssetType_ASSET_TYPE_GLB         AssetType = 1
	AssetType_ASSET_TYPE_IMAGE       AssetType = 2
)

func (AssetType) Descriptor

func (AssetType) Descriptor() protoreflect.EnumDescriptor

func (AssetType) Enum

func (x AssetType) Enum() *AssetType

func (AssetType) EnumDescriptor deprecated

func (AssetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AssetType.Descriptor instead.

func (AssetType) Number

func (x AssetType) Number() protoreflect.EnumNumber

func (AssetType) String

func (x AssetType) String() string

func (AssetType) Type

type AssignAssetLabelRequest added in v0.3.8

type AssignAssetLabelRequest struct {
	AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	Label   string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignAssetLabelRequest) Descriptor deprecated added in v0.3.8

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

Deprecated: Use AssignAssetLabelRequest.ProtoReflect.Descriptor instead.

func (*AssignAssetLabelRequest) GetAssetId added in v0.3.8

func (x *AssignAssetLabelRequest) GetAssetId() string

func (*AssignAssetLabelRequest) GetLabel added in v0.3.8

func (x *AssignAssetLabelRequest) GetLabel() string

func (*AssignAssetLabelRequest) ProtoMessage added in v0.3.8

func (*AssignAssetLabelRequest) ProtoMessage()

func (*AssignAssetLabelRequest) ProtoReflect added in v0.3.8

func (x *AssignAssetLabelRequest) ProtoReflect() protoreflect.Message

func (*AssignAssetLabelRequest) Reset added in v0.3.8

func (x *AssignAssetLabelRequest) Reset()

func (*AssignAssetLabelRequest) String added in v0.3.8

func (x *AssignAssetLabelRequest) String() string

type AssignAssetLabelResponse added in v0.3.8

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

func (*AssignAssetLabelResponse) Descriptor deprecated added in v0.3.8

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

Deprecated: Use AssignAssetLabelResponse.ProtoReflect.Descriptor instead.

func (*AssignAssetLabelResponse) ProtoMessage added in v0.3.8

func (*AssignAssetLabelResponse) ProtoMessage()

func (*AssignAssetLabelResponse) ProtoReflect added in v0.3.8

func (x *AssignAssetLabelResponse) ProtoReflect() protoreflect.Message

func (*AssignAssetLabelResponse) Reset added in v0.3.8

func (x *AssignAssetLabelResponse) Reset()

func (*AssignAssetLabelResponse) String added in v0.3.8

func (x *AssignAssetLabelResponse) String() string

type CreateAssetPreviewRequest

type CreateAssetPreviewRequest struct {
	AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAssetPreviewRequest) Descriptor deprecated

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

Deprecated: Use CreateAssetPreviewRequest.ProtoReflect.Descriptor instead.

func (*CreateAssetPreviewRequest) GetAssetId

func (x *CreateAssetPreviewRequest) GetAssetId() string

func (*CreateAssetPreviewRequest) ProtoMessage

func (*CreateAssetPreviewRequest) ProtoMessage()

func (*CreateAssetPreviewRequest) ProtoReflect

func (*CreateAssetPreviewRequest) Reset

func (x *CreateAssetPreviewRequest) Reset()

func (*CreateAssetPreviewRequest) String

func (x *CreateAssetPreviewRequest) String() string

type CreateAssetPreviewResponse

type CreateAssetPreviewResponse struct {
	ImageId   string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	UploadUrl string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAssetPreviewResponse) Descriptor deprecated

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

Deprecated: Use CreateAssetPreviewResponse.ProtoReflect.Descriptor instead.

func (*CreateAssetPreviewResponse) GetImageId

func (x *CreateAssetPreviewResponse) GetImageId() string

func (*CreateAssetPreviewResponse) GetUploadUrl

func (x *CreateAssetPreviewResponse) GetUploadUrl() string

func (*CreateAssetPreviewResponse) ProtoMessage

func (*CreateAssetPreviewResponse) ProtoMessage()

func (*CreateAssetPreviewResponse) ProtoReflect

func (*CreateAssetPreviewResponse) Reset

func (x *CreateAssetPreviewResponse) Reset()

func (*CreateAssetPreviewResponse) String

func (x *CreateAssetPreviewResponse) String() string

type CreateAssetRequest

type CreateAssetRequest struct {

	// Use UploadAsset to get upload_id.
	UploadId    string  `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAssetRequest) Descriptor deprecated

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

Deprecated: Use CreateAssetRequest.ProtoReflect.Descriptor instead.

func (*CreateAssetRequest) GetDescription

func (x *CreateAssetRequest) GetDescription() string

func (*CreateAssetRequest) GetName

func (x *CreateAssetRequest) GetName() string

func (*CreateAssetRequest) GetUploadId

func (x *CreateAssetRequest) GetUploadId() string

func (*CreateAssetRequest) ProtoMessage

func (*CreateAssetRequest) ProtoMessage()

func (*CreateAssetRequest) ProtoReflect

func (x *CreateAssetRequest) ProtoReflect() protoreflect.Message

func (*CreateAssetRequest) Reset

func (x *CreateAssetRequest) Reset()

func (*CreateAssetRequest) String

func (x *CreateAssetRequest) String() string

type CreateAssetResponse

type CreateAssetResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAssetResponse) Descriptor deprecated

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

Deprecated: Use CreateAssetResponse.ProtoReflect.Descriptor instead.

func (*CreateAssetResponse) GetId

func (x *CreateAssetResponse) GetId() string

func (*CreateAssetResponse) ProtoMessage

func (*CreateAssetResponse) ProtoMessage()

func (*CreateAssetResponse) ProtoReflect

func (x *CreateAssetResponse) ProtoReflect() protoreflect.Message

func (*CreateAssetResponse) Reset

func (x *CreateAssetResponse) Reset()

func (*CreateAssetResponse) String

func (x *CreateAssetResponse) String() string

type GetAssetLabelsRequest added in v0.3.8

type GetAssetLabelsRequest struct {
	AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssetLabelsRequest) Descriptor deprecated added in v0.3.8

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

Deprecated: Use GetAssetLabelsRequest.ProtoReflect.Descriptor instead.

func (*GetAssetLabelsRequest) GetAssetId added in v0.3.8

func (x *GetAssetLabelsRequest) GetAssetId() string

func (*GetAssetLabelsRequest) ProtoMessage added in v0.3.8

func (*GetAssetLabelsRequest) ProtoMessage()

func (*GetAssetLabelsRequest) ProtoReflect added in v0.3.8

func (x *GetAssetLabelsRequest) ProtoReflect() protoreflect.Message

func (*GetAssetLabelsRequest) Reset added in v0.3.8

func (x *GetAssetLabelsRequest) Reset()

func (*GetAssetLabelsRequest) String added in v0.3.8

func (x *GetAssetLabelsRequest) String() string

type GetAssetLabelsResponse added in v0.3.8

type GetAssetLabelsResponse struct {
	Labels []string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssetLabelsResponse) Descriptor deprecated added in v0.3.8

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

Deprecated: Use GetAssetLabelsResponse.ProtoReflect.Descriptor instead.

func (*GetAssetLabelsResponse) GetLabels added in v0.3.8

func (x *GetAssetLabelsResponse) GetLabels() []string

func (*GetAssetLabelsResponse) ProtoMessage added in v0.3.8

func (*GetAssetLabelsResponse) ProtoMessage()

func (*GetAssetLabelsResponse) ProtoReflect added in v0.3.8

func (x *GetAssetLabelsResponse) ProtoReflect() protoreflect.Message

func (*GetAssetLabelsResponse) Reset added in v0.3.8

func (x *GetAssetLabelsResponse) Reset()

func (*GetAssetLabelsResponse) String added in v0.3.8

func (x *GetAssetLabelsResponse) String() string

type GetAssetsRequest

type GetAssetsRequest struct {
	Search *string             `protobuf:"bytes,1,opt,name=search,proto3,oneof" json:"search,omitempty"`
	Page   *protobuf.PageInput `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssetsRequest) Descriptor deprecated

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

Deprecated: Use GetAssetsRequest.ProtoReflect.Descriptor instead.

func (*GetAssetsRequest) GetPage added in v0.3.8

func (x *GetAssetsRequest) GetPage() *protobuf.PageInput

func (*GetAssetsRequest) GetSearch added in v0.3.6

func (x *GetAssetsRequest) GetSearch() string

func (*GetAssetsRequest) ProtoMessage

func (*GetAssetsRequest) ProtoMessage()

func (*GetAssetsRequest) ProtoReflect

func (x *GetAssetsRequest) ProtoReflect() protoreflect.Message

func (*GetAssetsRequest) Reset

func (x *GetAssetsRequest) Reset()

func (*GetAssetsRequest) String

func (x *GetAssetsRequest) String() string

type GetAssetsResponse

type GetAssetsResponse struct {
	Assets   []*Asset            `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	NextPage *protobuf.PageToken `protobuf:"bytes,2,opt,name=next_page,json=nextPage,proto3" json:"next_page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssetsResponse) Descriptor deprecated

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

Deprecated: Use GetAssetsResponse.ProtoReflect.Descriptor instead.

func (*GetAssetsResponse) GetAssets

func (x *GetAssetsResponse) GetAssets() []*Asset

func (*GetAssetsResponse) GetNextPage added in v0.3.8

func (x *GetAssetsResponse) GetNextPage() *protobuf.PageToken

func (*GetAssetsResponse) ProtoMessage

func (*GetAssetsResponse) ProtoMessage()

func (*GetAssetsResponse) ProtoReflect

func (x *GetAssetsResponse) ProtoReflect() protoreflect.Message

func (*GetAssetsResponse) Reset

func (x *GetAssetsResponse) Reset()

func (*GetAssetsResponse) String

func (x *GetAssetsResponse) String() string

type GetRandomAssetsRequest added in v0.3.13

type GetRandomAssetsRequest struct {
	Page *protobuf.PageInput `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRandomAssetsRequest) Descriptor deprecated added in v0.3.13

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

Deprecated: Use GetRandomAssetsRequest.ProtoReflect.Descriptor instead.

func (*GetRandomAssetsRequest) GetPage added in v0.3.13

func (*GetRandomAssetsRequest) ProtoMessage added in v0.3.13

func (*GetRandomAssetsRequest) ProtoMessage()

func (*GetRandomAssetsRequest) ProtoReflect added in v0.3.13

func (x *GetRandomAssetsRequest) ProtoReflect() protoreflect.Message

func (*GetRandomAssetsRequest) Reset added in v0.3.13

func (x *GetRandomAssetsRequest) Reset()

func (*GetRandomAssetsRequest) String added in v0.3.13

func (x *GetRandomAssetsRequest) String() string

type GetRandomAssetsResponse added in v0.3.13

type GetRandomAssetsResponse struct {
	Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRandomAssetsResponse) Descriptor deprecated added in v0.3.13

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

Deprecated: Use GetRandomAssetsResponse.ProtoReflect.Descriptor instead.

func (*GetRandomAssetsResponse) GetAssets added in v0.3.13

func (x *GetRandomAssetsResponse) GetAssets() []*Asset

func (*GetRandomAssetsResponse) ProtoMessage added in v0.3.13

func (*GetRandomAssetsResponse) ProtoMessage()

func (*GetRandomAssetsResponse) ProtoReflect added in v0.3.13

func (x *GetRandomAssetsResponse) ProtoReflect() protoreflect.Message

func (*GetRandomAssetsResponse) Reset added in v0.3.13

func (x *GetRandomAssetsResponse) Reset()

func (*GetRandomAssetsResponse) String added in v0.3.13

func (x *GetRandomAssetsResponse) String() string

type UnassignAssetLabelRequest added in v0.3.8

type UnassignAssetLabelRequest struct {
	AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	Label   string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*UnassignAssetLabelRequest) Descriptor deprecated added in v0.3.8

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

Deprecated: Use UnassignAssetLabelRequest.ProtoReflect.Descriptor instead.

func (*UnassignAssetLabelRequest) GetAssetId added in v0.3.8

func (x *UnassignAssetLabelRequest) GetAssetId() string

func (*UnassignAssetLabelRequest) GetLabel added in v0.3.8

func (x *UnassignAssetLabelRequest) GetLabel() string

func (*UnassignAssetLabelRequest) ProtoMessage added in v0.3.8

func (*UnassignAssetLabelRequest) ProtoMessage()

func (*UnassignAssetLabelRequest) ProtoReflect added in v0.3.8

func (*UnassignAssetLabelRequest) Reset added in v0.3.8

func (x *UnassignAssetLabelRequest) Reset()

func (*UnassignAssetLabelRequest) String added in v0.3.8

func (x *UnassignAssetLabelRequest) String() string

type UnassignAssetLabelResponse added in v0.3.8

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

func (*UnassignAssetLabelResponse) Descriptor deprecated added in v0.3.8

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

Deprecated: Use UnassignAssetLabelResponse.ProtoReflect.Descriptor instead.

func (*UnassignAssetLabelResponse) ProtoMessage added in v0.3.8

func (*UnassignAssetLabelResponse) ProtoMessage()

func (*UnassignAssetLabelResponse) ProtoReflect added in v0.3.8

func (*UnassignAssetLabelResponse) Reset added in v0.3.8

func (x *UnassignAssetLabelResponse) Reset()

func (*UnassignAssetLabelResponse) String added in v0.3.8

func (x *UnassignAssetLabelResponse) String() string

type UnimplementedAssetServiceServer

type UnimplementedAssetServiceServer struct {
}

UnimplementedAssetServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAssetServiceServer) AssignAssetLabel added in v0.3.8

func (UnimplementedAssetServiceServer) CreateAsset

func (UnimplementedAssetServiceServer) CreateAssetPreview

func (UnimplementedAssetServiceServer) GetAssetLabels added in v0.3.8

func (UnimplementedAssetServiceServer) GetAssets

func (UnimplementedAssetServiceServer) GetRandomAssets added in v0.3.13

func (UnimplementedAssetServiceServer) UnassignAssetLabel added in v0.3.8

func (UnimplementedAssetServiceServer) UpdateAsset

func (UnimplementedAssetServiceServer) UploadAsset

type UnsafeAssetServiceServer

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

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

type UpdateAssetRequest

type UpdateAssetRequest struct {
	Id          string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	PreviewId   *string `protobuf:"bytes,4,opt,name=preview_id,json=previewId,proto3,oneof" json:"preview_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAssetRequest) Descriptor deprecated

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

Deprecated: Use UpdateAssetRequest.ProtoReflect.Descriptor instead.

func (*UpdateAssetRequest) GetDescription

func (x *UpdateAssetRequest) GetDescription() string

func (*UpdateAssetRequest) GetId

func (x *UpdateAssetRequest) GetId() string

func (*UpdateAssetRequest) GetName

func (x *UpdateAssetRequest) GetName() string

func (*UpdateAssetRequest) GetPreviewId

func (x *UpdateAssetRequest) GetPreviewId() string

func (*UpdateAssetRequest) ProtoMessage

func (*UpdateAssetRequest) ProtoMessage()

func (*UpdateAssetRequest) ProtoReflect

func (x *UpdateAssetRequest) ProtoReflect() protoreflect.Message

func (*UpdateAssetRequest) Reset

func (x *UpdateAssetRequest) Reset()

func (*UpdateAssetRequest) String

func (x *UpdateAssetRequest) String() string

type UpdateAssetResponse

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

func (*UpdateAssetResponse) Descriptor deprecated

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

Deprecated: Use UpdateAssetResponse.ProtoReflect.Descriptor instead.

func (*UpdateAssetResponse) ProtoMessage

func (*UpdateAssetResponse) ProtoMessage()

func (*UpdateAssetResponse) ProtoReflect

func (x *UpdateAssetResponse) ProtoReflect() protoreflect.Message

func (*UpdateAssetResponse) Reset

func (x *UpdateAssetResponse) Reset()

func (*UpdateAssetResponse) String

func (x *UpdateAssetResponse) String() string

type UploadAssetRequest

type UploadAssetRequest struct {
	Type AssetType `protobuf:"varint,1,opt,name=type,proto3,enum=basket.asset_service.v1.AssetType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadAssetRequest) Descriptor deprecated

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

Deprecated: Use UploadAssetRequest.ProtoReflect.Descriptor instead.

func (*UploadAssetRequest) GetType

func (x *UploadAssetRequest) GetType() AssetType

func (*UploadAssetRequest) ProtoMessage

func (*UploadAssetRequest) ProtoMessage()

func (*UploadAssetRequest) ProtoReflect

func (x *UploadAssetRequest) ProtoReflect() protoreflect.Message

func (*UploadAssetRequest) Reset

func (x *UploadAssetRequest) Reset()

func (*UploadAssetRequest) String

func (x *UploadAssetRequest) String() string

type UploadAssetResponse

type UploadAssetResponse struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UploadUrl string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadAssetResponse) Descriptor deprecated

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

Deprecated: Use UploadAssetResponse.ProtoReflect.Descriptor instead.

func (*UploadAssetResponse) GetId

func (x *UploadAssetResponse) GetId() string

func (*UploadAssetResponse) GetUploadUrl

func (x *UploadAssetResponse) GetUploadUrl() string

func (*UploadAssetResponse) ProtoMessage

func (*UploadAssetResponse) ProtoMessage()

func (*UploadAssetResponse) ProtoReflect

func (x *UploadAssetResponse) ProtoReflect() protoreflect.Message

func (*UploadAssetResponse) Reset

func (x *UploadAssetResponse) Reset()

func (*UploadAssetResponse) String

func (x *UploadAssetResponse) String() string

Directories

Path Synopsis
Package asset_mock is a generated GoMock package.
Package asset_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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