v1

package
v0.3.54 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 10 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 (
	AssetStatus_name = map[int32]string{
		0: "ASSET_STATUS_UNSPECIFIED",
		1: "ASSET_STATUS_PENDING",
		2: "ASSET_STATUS_IN_PROGRESS",
		3: "ASSET_STATUS_SUCCEEDED",
		4: "ASSET_STATUS_FAILED",
	}
	AssetStatus_value = map[string]int32{
		"ASSET_STATUS_UNSPECIFIED": 0,
		"ASSET_STATUS_PENDING":     1,
		"ASSET_STATUS_IN_PROGRESS": 2,
		"ASSET_STATUS_SUCCEEDED":   3,
		"ASSET_STATUS_FAILED":      4,
	}
)

Enum value maps for AssetStatus.

View Source
var AssetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "basket.asset_service.v1.AssetService",
	HandlerType: (*AssetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UploadFile",
			Handler:    _AssetService_UploadFile_Handler,
		},
		{
			MethodName: "CreateAsset",
			Handler:    _AssetService_CreateAsset_Handler,
		},
		{
			MethodName: "UpdateAsset",
			Handler:    _AssetService_UpdateAsset_Handler,
		},
		{
			MethodName: "GetAsset",
			Handler:    _AssetService_GetAsset_Handler,
		},
		{
			MethodName: "GetAssets",
			Handler:    _AssetService_GetAssets_Handler,
		},
		{
			MethodName: "GetAssetsCount",
			Handler:    _AssetService_GetAssetsCount_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: "GetLabels",
			Handler:    _AssetService_GetLabels_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"`
	OwnerId     *string          `protobuf:"bytes,6,opt,name=owner_id,json=ownerId,proto3,oneof" json:"owner_id,omitempty"`
	Status      AssetStatus      `protobuf:"varint,7,opt,name=status,proto3,enum=basket.asset_service.v1.AssetStatus" json:"status,omitempty"`
	Error       *string          `protobuf:"bytes,8,opt,name=error,proto3,oneof" json:"error,omitempty"`
	Payload     *structpb.Struct `protobuf:"bytes,9,opt,name=payload,proto3" json:"payload,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) GetError added in v0.3.21

func (x *Asset) GetError() string

func (*Asset) GetId

func (x *Asset) GetId() string

func (*Asset) GetName

func (x *Asset) GetName() string

func (*Asset) GetOwnerId added in v0.3.20

func (x *Asset) GetOwnerId() string

func (*Asset) GetPayload added in v0.3.27

func (x *Asset) GetPayload() *structpb.Struct

func (*Asset) GetPreviewUrl

func (x *Asset) GetPreviewUrl() string

func (*Asset) GetStatus added in v0.3.21

func (x *Asset) GetStatus() AssetStatus

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 AssetStatus added in v0.3.21

type AssetStatus int32
const (
	AssetStatus_ASSET_STATUS_UNSPECIFIED AssetStatus = 0
	AssetStatus_ASSET_STATUS_PENDING     AssetStatus = 1
	AssetStatus_ASSET_STATUS_IN_PROGRESS AssetStatus = 2
	AssetStatus_ASSET_STATUS_SUCCEEDED   AssetStatus = 3
	AssetStatus_ASSET_STATUS_FAILED      AssetStatus = 4
)

func (AssetStatus) Descriptor added in v0.3.21

func (AssetStatus) Enum added in v0.3.21

func (x AssetStatus) Enum() *AssetStatus

func (AssetStatus) EnumDescriptor deprecated added in v0.3.21

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

Deprecated: Use AssetStatus.Descriptor instead.

func (AssetStatus) Number added in v0.3.21

func (x AssetStatus) Number() protoreflect.EnumNumber

func (AssetStatus) String added in v0.3.21

func (x AssetStatus) String() string

func (AssetStatus) Type added in v0.3.21

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 AssetsFilter added in v0.3.25

type AssetsFilter struct {
	Search *string    `protobuf:"bytes,1,opt,name=search,proto3,oneof" json:"search,omitempty"`
	Type   *AssetType `protobuf:"varint,2,opt,name=type,proto3,enum=basket.asset_service.v1.AssetType,oneof" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetsFilter) Descriptor deprecated added in v0.3.25

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

Deprecated: Use AssetsFilter.ProtoReflect.Descriptor instead.

func (*AssetsFilter) GetSearch added in v0.3.25

func (x *AssetsFilter) GetSearch() string

func (*AssetsFilter) GetType added in v0.3.25

func (x *AssetsFilter) GetType() AssetType

func (*AssetsFilter) ProtoMessage added in v0.3.25

func (*AssetsFilter) ProtoMessage()

func (*AssetsFilter) ProtoReflect added in v0.3.25

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

func (*AssetsFilter) Reset added in v0.3.25

func (x *AssetsFilter) Reset()

func (*AssetsFilter) String added in v0.3.25

func (x *AssetsFilter) String() string

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 CreateAssetRequest

type CreateAssetRequest struct {
	Type              AssetType        `protobuf:"varint,1,opt,name=type,proto3,enum=basket.asset_service.v1.AssetType" json:"type,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"`
	Payload           *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	SkipNormalization bool             `protobuf:"varint,5,opt,name=skip_normalization,json=skipNormalization,proto3" json:"skip_normalization,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) GetPayload added in v0.3.27

func (x *CreateAssetRequest) GetPayload() *structpb.Struct

func (*CreateAssetRequest) GetSkipNormalization added in v0.3.21

func (x *CreateAssetRequest) GetSkipNormalization() bool

func (*CreateAssetRequest) GetType added in v0.3.27

func (x *CreateAssetRequest) GetType() AssetType

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 GetAssetRequest added in v0.3.20

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

func (*GetAssetRequest) Descriptor deprecated added in v0.3.20

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

Deprecated: Use GetAssetRequest.ProtoReflect.Descriptor instead.

func (*GetAssetRequest) GetId added in v0.3.20

func (x *GetAssetRequest) GetId() string

func (*GetAssetRequest) ProtoMessage added in v0.3.20

func (*GetAssetRequest) ProtoMessage()

func (*GetAssetRequest) ProtoReflect added in v0.3.20

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

func (*GetAssetRequest) Reset added in v0.3.20

func (x *GetAssetRequest) Reset()

func (*GetAssetRequest) String added in v0.3.20

func (x *GetAssetRequest) String() string

type GetAssetResponse added in v0.3.20

type GetAssetResponse struct {
	Asset *Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssetResponse) Descriptor deprecated added in v0.3.20

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

Deprecated: Use GetAssetResponse.ProtoReflect.Descriptor instead.

func (*GetAssetResponse) GetAsset added in v0.3.20

func (x *GetAssetResponse) GetAsset() *Asset

func (*GetAssetResponse) ProtoMessage added in v0.3.20

func (*GetAssetResponse) ProtoMessage()

func (*GetAssetResponse) ProtoReflect added in v0.3.20

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

func (*GetAssetResponse) Reset added in v0.3.20

func (x *GetAssetResponse) Reset()

func (*GetAssetResponse) String added in v0.3.20

func (x *GetAssetResponse) String() string

type GetAssetsCountRequest added in v0.3.25

type GetAssetsCountRequest struct {
	Filter *AssetsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssetsCountRequest) Descriptor deprecated added in v0.3.25

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

Deprecated: Use GetAssetsCountRequest.ProtoReflect.Descriptor instead.

func (*GetAssetsCountRequest) GetFilter added in v0.3.25

func (x *GetAssetsCountRequest) GetFilter() *AssetsFilter

func (*GetAssetsCountRequest) ProtoMessage added in v0.3.25

func (*GetAssetsCountRequest) ProtoMessage()

func (*GetAssetsCountRequest) ProtoReflect added in v0.3.25

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

func (*GetAssetsCountRequest) Reset added in v0.3.25

func (x *GetAssetsCountRequest) Reset()

func (*GetAssetsCountRequest) String added in v0.3.25

func (x *GetAssetsCountRequest) String() string

type GetAssetsCountResponse added in v0.3.25

type GetAssetsCountResponse struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssetsCountResponse) Descriptor deprecated added in v0.3.25

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

Deprecated: Use GetAssetsCountResponse.ProtoReflect.Descriptor instead.

func (*GetAssetsCountResponse) GetCount added in v0.3.25

func (x *GetAssetsCountResponse) GetCount() int64

func (*GetAssetsCountResponse) ProtoMessage added in v0.3.25

func (*GetAssetsCountResponse) ProtoMessage()

func (*GetAssetsCountResponse) ProtoReflect added in v0.3.25

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

func (*GetAssetsCountResponse) Reset added in v0.3.25

func (x *GetAssetsCountResponse) Reset()

func (*GetAssetsCountResponse) String added in v0.3.25

func (x *GetAssetsCountResponse) String() string

type GetAssetsRequest

type GetAssetsRequest struct {
	Filter *AssetsFilter       `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,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) GetFilter added in v0.3.25

func (x *GetAssetsRequest) GetFilter() *AssetsFilter

func (*GetAssetsRequest) GetPage added in v0.3.8

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

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 GetLabelsRequest added in v0.3.22

type GetLabelsRequest 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 (*GetLabelsRequest) Descriptor deprecated added in v0.3.22

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

Deprecated: Use GetLabelsRequest.ProtoReflect.Descriptor instead.

func (*GetLabelsRequest) GetPage added in v0.3.22

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

func (*GetLabelsRequest) GetSearch added in v0.3.24

func (x *GetLabelsRequest) GetSearch() string

func (*GetLabelsRequest) ProtoMessage added in v0.3.22

func (*GetLabelsRequest) ProtoMessage()

func (*GetLabelsRequest) ProtoReflect added in v0.3.22

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

func (*GetLabelsRequest) Reset added in v0.3.22

func (x *GetLabelsRequest) Reset()

func (*GetLabelsRequest) String added in v0.3.22

func (x *GetLabelsRequest) String() string

type GetLabelsResponse added in v0.3.22

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

func (*GetLabelsResponse) Descriptor deprecated added in v0.3.22

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

Deprecated: Use GetLabelsResponse.ProtoReflect.Descriptor instead.

func (*GetLabelsResponse) GetLabels added in v0.3.22

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

func (*GetLabelsResponse) GetNextPage added in v0.3.22

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

func (*GetLabelsResponse) ProtoMessage added in v0.3.22

func (*GetLabelsResponse) ProtoMessage()

func (*GetLabelsResponse) ProtoReflect added in v0.3.22

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

func (*GetLabelsResponse) Reset added in v0.3.22

func (x *GetLabelsResponse) Reset()

func (*GetLabelsResponse) String added in v0.3.22

func (x *GetLabelsResponse) 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) GetAsset added in v0.3.20

func (UnimplementedAssetServiceServer) GetAssetLabels added in v0.3.8

func (UnimplementedAssetServiceServer) GetAssets

func (UnimplementedAssetServiceServer) GetAssetsCount added in v0.3.25

func (UnimplementedAssetServiceServer) GetLabels added in v0.3.22

func (UnimplementedAssetServiceServer) GetRandomAssets added in v0.3.13

func (UnimplementedAssetServiceServer) UnassignAssetLabel added in v0.3.8

func (UnimplementedAssetServiceServer) UpdateAsset

func (UnimplementedAssetServiceServer) UploadFile added in v0.3.27

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"`
	Payload           *structpb.Struct `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	SkipNormalization bool             `protobuf:"varint,6,opt,name=skip_normalization,json=skipNormalization,proto3" json:"skip_normalization,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) GetPayload added in v0.3.27

func (x *UpdateAssetRequest) GetPayload() *structpb.Struct

func (*UpdateAssetRequest) GetPreviewId

func (x *UpdateAssetRequest) GetPreviewId() string

func (*UpdateAssetRequest) GetSkipNormalization added in v0.3.27

func (x *UpdateAssetRequest) GetSkipNormalization() bool

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 UploadFileRequest added in v0.3.27

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

func (*UploadFileRequest) Descriptor deprecated added in v0.3.27

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

Deprecated: Use UploadFileRequest.ProtoReflect.Descriptor instead.

func (*UploadFileRequest) ProtoMessage added in v0.3.27

func (*UploadFileRequest) ProtoMessage()

func (*UploadFileRequest) ProtoReflect added in v0.3.27

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

func (*UploadFileRequest) Reset added in v0.3.27

func (x *UploadFileRequest) Reset()

func (*UploadFileRequest) String added in v0.3.27

func (x *UploadFileRequest) String() string

type UploadFileResponse added in v0.3.27

type UploadFileResponse 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 (*UploadFileResponse) Descriptor deprecated added in v0.3.27

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

Deprecated: Use UploadFileResponse.ProtoReflect.Descriptor instead.

func (*UploadFileResponse) GetId added in v0.3.27

func (x *UploadFileResponse) GetId() string

func (*UploadFileResponse) GetUploadUrl added in v0.3.27

func (x *UploadFileResponse) GetUploadUrl() string

func (*UploadFileResponse) ProtoMessage added in v0.3.27

func (*UploadFileResponse) ProtoMessage()

func (*UploadFileResponse) ProtoReflect added in v0.3.27

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

func (*UploadFileResponse) Reset added in v0.3.27

func (x *UploadFileResponse) Reset()

func (*UploadFileResponse) String added in v0.3.27

func (x *UploadFileResponse) 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