Documentation ¶
Index ¶
- Variables
- func RegisterAssetServiceServer(s grpc.ServiceRegistrar, srv AssetServiceServer)
- type Asset
- func (*Asset) Descriptor() ([]byte, []int)deprecated
- func (x *Asset) GetDescription() string
- func (x *Asset) GetError() string
- func (x *Asset) GetId() string
- func (x *Asset) GetName() string
- func (x *Asset) GetOwnerId() string
- func (x *Asset) GetPayload() *structpb.Struct
- func (x *Asset) GetPreviewUrl() string
- func (x *Asset) GetStatus() AssetStatus
- func (x *Asset) GetType() AssetType
- func (*Asset) ProtoMessage()
- func (x *Asset) ProtoReflect() protoreflect.Message
- func (x *Asset) Reset()
- func (x *Asset) String() string
- type AssetServiceClient
- type AssetServiceServer
- type AssetStatus
- func (AssetStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AssetStatus) Enum() *AssetStatus
- func (AssetStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AssetStatus) Number() protoreflect.EnumNumber
- func (x AssetStatus) String() string
- func (AssetStatus) Type() protoreflect.EnumType
- type AssetType
- type AssetsFilter
- func (*AssetsFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AssetsFilter) GetSearch() string
- func (x *AssetsFilter) GetType() AssetType
- func (*AssetsFilter) ProtoMessage()
- func (x *AssetsFilter) ProtoReflect() protoreflect.Message
- func (x *AssetsFilter) Reset()
- func (x *AssetsFilter) String() string
- type AssignAssetLabelRequest
- func (*AssignAssetLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignAssetLabelRequest) GetAssetId() string
- func (x *AssignAssetLabelRequest) GetLabel() string
- func (*AssignAssetLabelRequest) ProtoMessage()
- func (x *AssignAssetLabelRequest) ProtoReflect() protoreflect.Message
- func (x *AssignAssetLabelRequest) Reset()
- func (x *AssignAssetLabelRequest) String() string
- type AssignAssetLabelResponse
- type CreateAssetRequest
- func (*CreateAssetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAssetRequest) GetDescription() string
- func (x *CreateAssetRequest) GetName() string
- func (x *CreateAssetRequest) GetPayload() *structpb.Struct
- func (x *CreateAssetRequest) GetSkipNormalization() bool
- func (x *CreateAssetRequest) GetType() AssetType
- func (*CreateAssetRequest) ProtoMessage()
- func (x *CreateAssetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAssetRequest) Reset()
- func (x *CreateAssetRequest) String() string
- type CreateAssetResponse
- func (*CreateAssetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAssetResponse) GetId() string
- func (*CreateAssetResponse) ProtoMessage()
- func (x *CreateAssetResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAssetResponse) Reset()
- func (x *CreateAssetResponse) String() string
- type GetAssetLabelsRequest
- func (*GetAssetLabelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssetLabelsRequest) GetAssetId() string
- func (*GetAssetLabelsRequest) ProtoMessage()
- func (x *GetAssetLabelsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAssetLabelsRequest) Reset()
- func (x *GetAssetLabelsRequest) String() string
- type GetAssetLabelsResponse
- func (*GetAssetLabelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssetLabelsResponse) GetLabels() []string
- func (*GetAssetLabelsResponse) ProtoMessage()
- func (x *GetAssetLabelsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAssetLabelsResponse) Reset()
- func (x *GetAssetLabelsResponse) String() string
- type GetAssetRequest
- type GetAssetResponse
- type GetAssetsCountRequest
- func (*GetAssetsCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssetsCountRequest) GetFilter() *AssetsFilter
- func (*GetAssetsCountRequest) ProtoMessage()
- func (x *GetAssetsCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetAssetsCountRequest) Reset()
- func (x *GetAssetsCountRequest) String() string
- type GetAssetsCountResponse
- func (*GetAssetsCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssetsCountResponse) GetCount() int64
- func (*GetAssetsCountResponse) ProtoMessage()
- func (x *GetAssetsCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetAssetsCountResponse) Reset()
- func (x *GetAssetsCountResponse) String() string
- type GetAssetsRequest
- func (*GetAssetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssetsRequest) GetFilter() *AssetsFilter
- func (x *GetAssetsRequest) GetPage() *protobuf.PageInput
- func (*GetAssetsRequest) ProtoMessage()
- func (x *GetAssetsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAssetsRequest) Reset()
- func (x *GetAssetsRequest) String() string
- type GetAssetsResponse
- func (*GetAssetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssetsResponse) GetAssets() []*Asset
- func (x *GetAssetsResponse) GetNextPage() *protobuf.PageToken
- func (*GetAssetsResponse) ProtoMessage()
- func (x *GetAssetsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAssetsResponse) Reset()
- func (x *GetAssetsResponse) String() string
- type GetLabelsRequest
- func (*GetLabelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabelsRequest) GetPage() *protobuf.PageInput
- func (x *GetLabelsRequest) GetSearch() string
- func (*GetLabelsRequest) ProtoMessage()
- func (x *GetLabelsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLabelsRequest) Reset()
- func (x *GetLabelsRequest) String() string
- type GetLabelsResponse
- func (*GetLabelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabelsResponse) GetLabels() []string
- func (x *GetLabelsResponse) GetNextPage() *protobuf.PageToken
- func (*GetLabelsResponse) ProtoMessage()
- func (x *GetLabelsResponse) ProtoReflect() protoreflect.Message
- func (x *GetLabelsResponse) Reset()
- func (x *GetLabelsResponse) String() string
- type GetRandomAssetsRequest
- func (*GetRandomAssetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRandomAssetsRequest) GetPage() *protobuf.PageInput
- func (*GetRandomAssetsRequest) ProtoMessage()
- func (x *GetRandomAssetsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRandomAssetsRequest) Reset()
- func (x *GetRandomAssetsRequest) String() string
- type GetRandomAssetsResponse
- func (*GetRandomAssetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRandomAssetsResponse) GetAssets() []*Asset
- func (*GetRandomAssetsResponse) ProtoMessage()
- func (x *GetRandomAssetsResponse) ProtoReflect() protoreflect.Message
- func (x *GetRandomAssetsResponse) Reset()
- func (x *GetRandomAssetsResponse) String() string
- type UnassignAssetLabelRequest
- func (*UnassignAssetLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnassignAssetLabelRequest) GetAssetId() string
- func (x *UnassignAssetLabelRequest) GetLabel() string
- func (*UnassignAssetLabelRequest) ProtoMessage()
- func (x *UnassignAssetLabelRequest) ProtoReflect() protoreflect.Message
- func (x *UnassignAssetLabelRequest) Reset()
- func (x *UnassignAssetLabelRequest) String() string
- type UnassignAssetLabelResponse
- type UnimplementedAssetServiceServer
- func (UnimplementedAssetServiceServer) AssignAssetLabel(context.Context, *AssignAssetLabelRequest) (*AssignAssetLabelResponse, error)
- func (UnimplementedAssetServiceServer) CreateAsset(context.Context, *CreateAssetRequest) (*CreateAssetResponse, error)
- func (UnimplementedAssetServiceServer) GetAsset(context.Context, *GetAssetRequest) (*GetAssetResponse, error)
- func (UnimplementedAssetServiceServer) GetAssetLabels(context.Context, *GetAssetLabelsRequest) (*GetAssetLabelsResponse, error)
- func (UnimplementedAssetServiceServer) GetAssets(context.Context, *GetAssetsRequest) (*GetAssetsResponse, error)
- func (UnimplementedAssetServiceServer) GetAssetsCount(context.Context, *GetAssetsCountRequest) (*GetAssetsCountResponse, error)
- func (UnimplementedAssetServiceServer) GetLabels(context.Context, *GetLabelsRequest) (*GetLabelsResponse, error)
- func (UnimplementedAssetServiceServer) GetRandomAssets(context.Context, *GetRandomAssetsRequest) (*GetRandomAssetsResponse, error)
- func (UnimplementedAssetServiceServer) UnassignAssetLabel(context.Context, *UnassignAssetLabelRequest) (*UnassignAssetLabelResponse, error)
- func (UnimplementedAssetServiceServer) UpdateAsset(context.Context, *UpdateAssetRequest) (*UpdateAssetResponse, error)
- func (UnimplementedAssetServiceServer) UploadFile(context.Context, *UploadFileRequest) (*UploadFileResponse, error)
- type UnsafeAssetServiceServer
- type UpdateAssetRequest
- func (*UpdateAssetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAssetRequest) GetDescription() string
- func (x *UpdateAssetRequest) GetId() string
- func (x *UpdateAssetRequest) GetName() string
- func (x *UpdateAssetRequest) GetPayload() *structpb.Struct
- func (x *UpdateAssetRequest) GetPreviewId() string
- func (x *UpdateAssetRequest) GetSkipNormalization() bool
- func (*UpdateAssetRequest) ProtoMessage()
- func (x *UpdateAssetRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAssetRequest) Reset()
- func (x *UpdateAssetRequest) String() string
- type UpdateAssetResponse
- type UploadFileRequest
- type UploadFileResponse
- func (*UploadFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFileResponse) GetId() string
- func (x *UploadFileResponse) GetUploadUrl() string
- func (*UploadFileResponse) ProtoMessage()
- func (x *UploadFileResponse) ProtoReflect() protoreflect.Message
- func (x *UploadFileResponse) Reset()
- func (x *UploadFileResponse) String() string
Constants ¶
This section is empty.
Variables ¶
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.
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.
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)
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) GetDescription ¶
func (*Asset) GetOwnerId ¶ added in v0.3.20
func (*Asset) GetPayload ¶ added in v0.3.27
func (*Asset) GetPreviewUrl ¶
func (*Asset) GetStatus ¶ added in v0.3.21
func (x *Asset) GetStatus() AssetStatus
func (*Asset) ProtoMessage ¶
func (*Asset) ProtoMessage()
func (*Asset) ProtoReflect ¶
func (x *Asset) ProtoReflect() protoreflect.Message
type AssetServiceClient ¶
type AssetServiceClient interface { UploadFile(ctx context.Context, in *UploadFileRequest, opts ...grpc.CallOption) (*UploadFileResponse, error) CreateAsset(ctx context.Context, in *CreateAssetRequest, opts ...grpc.CallOption) (*CreateAssetResponse, error) UpdateAsset(ctx context.Context, in *UpdateAssetRequest, opts ...grpc.CallOption) (*UpdateAssetResponse, error) GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*GetAssetResponse, error) GetAssets(ctx context.Context, in *GetAssetsRequest, opts ...grpc.CallOption) (*GetAssetsResponse, error) GetAssetsCount(ctx context.Context, in *GetAssetsCountRequest, opts ...grpc.CallOption) (*GetAssetsCountResponse, error) GetRandomAssets(ctx context.Context, in *GetRandomAssetsRequest, opts ...grpc.CallOption) (*GetRandomAssetsResponse, error) GetAssetLabels(ctx context.Context, in *GetAssetLabelsRequest, opts ...grpc.CallOption) (*GetAssetLabelsResponse, error) AssignAssetLabel(ctx context.Context, in *AssignAssetLabelRequest, opts ...grpc.CallOption) (*AssignAssetLabelResponse, error) UnassignAssetLabel(ctx context.Context, in *UnassignAssetLabelRequest, opts ...grpc.CallOption) (*UnassignAssetLabelResponse, error) GetLabels(ctx context.Context, in *GetLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) }
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.
func NewAssetServiceClient ¶
func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient
type AssetServiceServer ¶
type AssetServiceServer interface { UploadFile(context.Context, *UploadFileRequest) (*UploadFileResponse, error) CreateAsset(context.Context, *CreateAssetRequest) (*CreateAssetResponse, error) UpdateAsset(context.Context, *UpdateAssetRequest) (*UpdateAssetResponse, error) GetAsset(context.Context, *GetAssetRequest) (*GetAssetResponse, error) GetAssets(context.Context, *GetAssetsRequest) (*GetAssetsResponse, error) GetAssetsCount(context.Context, *GetAssetsCountRequest) (*GetAssetsCountResponse, error) GetRandomAssets(context.Context, *GetRandomAssetsRequest) (*GetRandomAssetsResponse, error) GetAssetLabels(context.Context, *GetAssetLabelsRequest) (*GetAssetLabelsResponse, error) AssignAssetLabel(context.Context, *AssignAssetLabelRequest) (*AssignAssetLabelResponse, error) UnassignAssetLabel(context.Context, *UnassignAssetLabelRequest) (*UnassignAssetLabelResponse, error) GetLabels(context.Context, *GetLabelsRequest) (*GetLabelsResponse, error) // contains filtered or unexported methods }
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) Descriptor() protoreflect.EnumDescriptor
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
func (AssetStatus) Type() protoreflect.EnumType
type AssetType ¶
type AssetType int32
func (AssetType) Descriptor ¶
func (AssetType) Descriptor() protoreflect.EnumDescriptor
func (AssetType) EnumDescriptor
deprecated
func (AssetType) Number ¶
func (x AssetType) Number() protoreflect.EnumNumber
func (AssetType) Type ¶
func (AssetType) Type() protoreflect.EnumType
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 (x *GetRandomAssetsRequest) GetPage() *protobuf.PageInput
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 (x *UnassignAssetLabelRequest) ProtoReflect() protoreflect.Message
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 (x *UnassignAssetLabelResponse) ProtoReflect() protoreflect.Message
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) AssignAssetLabel(context.Context, *AssignAssetLabelRequest) (*AssignAssetLabelResponse, error)
func (UnimplementedAssetServiceServer) CreateAsset ¶
func (UnimplementedAssetServiceServer) CreateAsset(context.Context, *CreateAssetRequest) (*CreateAssetResponse, error)
func (UnimplementedAssetServiceServer) GetAsset ¶ added in v0.3.20
func (UnimplementedAssetServiceServer) GetAsset(context.Context, *GetAssetRequest) (*GetAssetResponse, error)
func (UnimplementedAssetServiceServer) GetAssetLabels ¶ added in v0.3.8
func (UnimplementedAssetServiceServer) GetAssetLabels(context.Context, *GetAssetLabelsRequest) (*GetAssetLabelsResponse, error)
func (UnimplementedAssetServiceServer) GetAssets ¶
func (UnimplementedAssetServiceServer) GetAssets(context.Context, *GetAssetsRequest) (*GetAssetsResponse, error)
func (UnimplementedAssetServiceServer) GetAssetsCount ¶ added in v0.3.25
func (UnimplementedAssetServiceServer) GetAssetsCount(context.Context, *GetAssetsCountRequest) (*GetAssetsCountResponse, error)
func (UnimplementedAssetServiceServer) GetLabels ¶ added in v0.3.22
func (UnimplementedAssetServiceServer) GetLabels(context.Context, *GetLabelsRequest) (*GetLabelsResponse, error)
func (UnimplementedAssetServiceServer) GetRandomAssets ¶ added in v0.3.13
func (UnimplementedAssetServiceServer) GetRandomAssets(context.Context, *GetRandomAssetsRequest) (*GetRandomAssetsResponse, error)
func (UnimplementedAssetServiceServer) UnassignAssetLabel ¶ added in v0.3.8
func (UnimplementedAssetServiceServer) UnassignAssetLabel(context.Context, *UnassignAssetLabelRequest) (*UnassignAssetLabelResponse, error)
func (UnimplementedAssetServiceServer) UpdateAsset ¶
func (UnimplementedAssetServiceServer) UpdateAsset(context.Context, *UpdateAssetRequest) (*UpdateAssetResponse, error)
func (UnimplementedAssetServiceServer) UploadFile ¶ added in v0.3.27
func (UnimplementedAssetServiceServer) UploadFile(context.Context, *UploadFileRequest) (*UploadFileResponse, error)
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