Documentation ¶
Overview ¶
Package assetsv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAssetServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAssetServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AssetServiceClient) error
- func RegisterAssetServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAssetServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AssetServiceServer) error
- func RegisterAssetServiceServer(s grpc.ServiceRegistrar, srv AssetServiceServer)
- type Asset
- func (m *Asset) CloneMessageVT() proto.Message
- func (m *Asset) CloneVT() *Asset
- func (*Asset) Descriptor() ([]byte, []int)deprecated
- func (this *Asset) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Asset) EqualVT(that *Asset) bool
- func (x *Asset) GetAssetId() string
- func (x *Asset) GetCreatedByUserId() string
- func (x *Asset) GetCreatedDate() *timestamppb.Timestamp
- func (x *Asset) GetModifiedByUserId() string
- func (x *Asset) GetModifiedDate() *timestamppb.Timestamp
- func (x *Asset) GetName() string
- func (x *Asset) GetOrganizationId() string
- func (m *Asset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Asset) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Asset) MarshalToVT(dAtA []byte) (int, error)
- func (m *Asset) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Asset) MarshalVT() (dAtA []byte, err error)
- func (m *Asset) MarshalVTStrict() (dAtA []byte, err error)
- func (*Asset) ProtoMessage()
- func (x *Asset) ProtoReflect() protoreflect.Message
- func (x *Asset) Reset()
- func (m *Asset) SizeVT() (n int)
- func (x *Asset) String() string
- func (m *Asset) UnmarshalVT(dAtA []byte) error
- func (m *Asset) UnmarshalVTUnsafe(dAtA []byte) error
- type AssetServiceClient
- type AssetServiceServer
- type DeleteAssetRequest
- func (m *DeleteAssetRequest) CloneMessageVT() proto.Message
- func (m *DeleteAssetRequest) CloneVT() *DeleteAssetRequest
- func (*DeleteAssetRequest) Descriptor() ([]byte, []int)deprecated
- func (this *DeleteAssetRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DeleteAssetRequest) EqualVT(that *DeleteAssetRequest) bool
- func (x *DeleteAssetRequest) GetAssetId() string
- func (m *DeleteAssetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteAssetRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *DeleteAssetRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteAssetRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *DeleteAssetRequest) MarshalVT() (dAtA []byte, err error)
- func (m *DeleteAssetRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*DeleteAssetRequest) ProtoMessage()
- func (x *DeleteAssetRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAssetRequest) Reset()
- func (m *DeleteAssetRequest) SizeVT() (n int)
- func (x *DeleteAssetRequest) String() string
- func (m *DeleteAssetRequest) UnmarshalVT(dAtA []byte) error
- func (m *DeleteAssetRequest) UnmarshalVTUnsafe(dAtA []byte) error
- type DeleteAssetResponse
- func (m *DeleteAssetResponse) CloneMessageVT() proto.Message
- func (m *DeleteAssetResponse) CloneVT() *DeleteAssetResponse
- func (*DeleteAssetResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DeleteAssetResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DeleteAssetResponse) EqualVT(that *DeleteAssetResponse) bool
- func (m *DeleteAssetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteAssetResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *DeleteAssetResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteAssetResponse) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *DeleteAssetResponse) MarshalVT() (dAtA []byte, err error)
- func (m *DeleteAssetResponse) MarshalVTStrict() (dAtA []byte, err error)
- func (*DeleteAssetResponse) ProtoMessage()
- func (x *DeleteAssetResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAssetResponse) Reset()
- func (m *DeleteAssetResponse) SizeVT() (n int)
- func (x *DeleteAssetResponse) String() string
- func (m *DeleteAssetResponse) UnmarshalVT(dAtA []byte) error
- func (m *DeleteAssetResponse) UnmarshalVTUnsafe(dAtA []byte) error
- type GetAssetRequest
- func (m *GetAssetRequest) CloneMessageVT() proto.Message
- func (m *GetAssetRequest) CloneVT() *GetAssetRequest
- func (*GetAssetRequest) Descriptor() ([]byte, []int)deprecated
- func (this *GetAssetRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetAssetRequest) EqualVT(that *GetAssetRequest) bool
- func (x *GetAssetRequest) GetAssetId() string
- func (m *GetAssetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetAssetRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *GetAssetRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetAssetRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *GetAssetRequest) MarshalVT() (dAtA []byte, err error)
- func (m *GetAssetRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*GetAssetRequest) ProtoMessage()
- func (x *GetAssetRequest) ProtoReflect() protoreflect.Message
- func (x *GetAssetRequest) Reset()
- func (m *GetAssetRequest) SizeVT() (n int)
- func (x *GetAssetRequest) String() string
- func (m *GetAssetRequest) UnmarshalVT(dAtA []byte) error
- func (m *GetAssetRequest) UnmarshalVTUnsafe(dAtA []byte) error
- type GetAssetResponse
- func (m *GetAssetResponse) CloneMessageVT() proto.Message
- func (m *GetAssetResponse) CloneVT() *GetAssetResponse
- func (*GetAssetResponse) Descriptor() ([]byte, []int)deprecated
- func (this *GetAssetResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetAssetResponse) EqualVT(that *GetAssetResponse) bool
- func (x *GetAssetResponse) GetAsset() *Asset
- func (m *GetAssetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetAssetResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *GetAssetResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetAssetResponse) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *GetAssetResponse) MarshalVT() (dAtA []byte, err error)
- func (m *GetAssetResponse) MarshalVTStrict() (dAtA []byte, err error)
- func (*GetAssetResponse) ProtoMessage()
- func (x *GetAssetResponse) ProtoReflect() protoreflect.Message
- func (x *GetAssetResponse) Reset()
- func (m *GetAssetResponse) SizeVT() (n int)
- func (x *GetAssetResponse) String() string
- func (m *GetAssetResponse) UnmarshalVT(dAtA []byte) error
- func (m *GetAssetResponse) UnmarshalVTUnsafe(dAtA []byte) error
- type ListAssetsRequest
- func (m *ListAssetsRequest) CloneMessageVT() proto.Message
- func (m *ListAssetsRequest) CloneVT() *ListAssetsRequest
- func (*ListAssetsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ListAssetsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ListAssetsRequest) EqualVT(that *ListAssetsRequest) bool
- func (x *ListAssetsRequest) GetFilter() string
- func (x *ListAssetsRequest) GetPageSize() uint32
- func (x *ListAssetsRequest) GetPageToken() string
- func (m *ListAssetsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListAssetsRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ListAssetsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListAssetsRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ListAssetsRequest) MarshalVT() (dAtA []byte, err error)
- func (m *ListAssetsRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*ListAssetsRequest) ProtoMessage()
- func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAssetsRequest) Reset()
- func (m *ListAssetsRequest) SizeVT() (n int)
- func (x *ListAssetsRequest) String() string
- func (m *ListAssetsRequest) UnmarshalVT(dAtA []byte) error
- func (m *ListAssetsRequest) UnmarshalVTUnsafe(dAtA []byte) error
- type ListAssetsResponse
- func (m *ListAssetsResponse) CloneMessageVT() proto.Message
- func (m *ListAssetsResponse) CloneVT() *ListAssetsResponse
- func (*ListAssetsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ListAssetsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ListAssetsResponse) EqualVT(that *ListAssetsResponse) bool
- func (x *ListAssetsResponse) GetAssets() []*Asset
- func (x *ListAssetsResponse) GetNextPageToken() string
- func (m *ListAssetsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListAssetsResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ListAssetsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListAssetsResponse) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ListAssetsResponse) MarshalVT() (dAtA []byte, err error)
- func (m *ListAssetsResponse) MarshalVTStrict() (dAtA []byte, err error)
- func (*ListAssetsResponse) ProtoMessage()
- func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAssetsResponse) Reset()
- func (m *ListAssetsResponse) SizeVT() (n int)
- func (x *ListAssetsResponse) String() string
- func (m *ListAssetsResponse) UnmarshalVT(dAtA []byte) error
- func (m *ListAssetsResponse) UnmarshalVTUnsafe(dAtA []byte) error
- type UnimplementedAssetServiceServer
- func (UnimplementedAssetServiceServer) DeleteAsset(context.Context, *DeleteAssetRequest) (*DeleteAssetResponse, error)
- func (UnimplementedAssetServiceServer) GetAsset(context.Context, *GetAssetRequest) (*GetAssetResponse, error)
- func (UnimplementedAssetServiceServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
- type UnsafeAssetServiceServer
Constants ¶
This section is empty.
Variables ¶
var AssetService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sift.assets.v1.AssetService", HandlerType: (*AssetServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeleteAsset", Handler: _AssetService_DeleteAsset_Handler, }, { MethodName: "GetAsset", Handler: _AssetService_GetAsset_Handler, }, { MethodName: "ListAssets", Handler: _AssetService_ListAssets_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sift/assets/v1/assets.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_sift_assets_v1_assets_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAssetServiceHandler ¶
func RegisterAssetServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAssetServiceHandler registers the http handlers for service AssetService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAssetServiceHandlerClient ¶
func RegisterAssetServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AssetServiceClient) error
RegisterAssetServiceHandlerClient registers the http handlers for service AssetService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AssetServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AssetServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AssetServiceClient" to call the correct interceptors.
func RegisterAssetServiceHandlerFromEndpoint ¶
func RegisterAssetServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAssetServiceHandlerFromEndpoint is same as RegisterAssetServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAssetServiceHandlerServer ¶
func RegisterAssetServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AssetServiceServer) error
RegisterAssetServiceHandlerServer registers the http handlers for service AssetService to "mux". UnaryRPC :call AssetServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAssetServiceHandlerFromEndpoint instead.
func RegisterAssetServiceServer ¶
func RegisterAssetServiceServer(s grpc.ServiceRegistrar, srv AssetServiceServer)
Types ¶
type Asset ¶
type Asset struct { AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` OrganizationId string `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` CreatedDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"` CreatedByUserId string `protobuf:"bytes,6,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"` ModifiedDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=modified_date,json=modifiedDate,proto3" json:"modified_date,omitempty"` ModifiedByUserId string `protobuf:"bytes,8,opt,name=modified_by_user_id,json=modifiedByUserId,proto3" json:"modified_by_user_id,omitempty"` // contains filtered or unexported fields }
func (*Asset) CloneMessageVT ¶
func (*Asset) Descriptor
deprecated
func (*Asset) GetAssetId ¶
func (*Asset) GetCreatedByUserId ¶
func (*Asset) GetCreatedDate ¶
func (x *Asset) GetCreatedDate() *timestamppb.Timestamp
func (*Asset) GetModifiedByUserId ¶
func (*Asset) GetModifiedDate ¶
func (x *Asset) GetModifiedDate() *timestamppb.Timestamp
func (*Asset) GetOrganizationId ¶
func (*Asset) MarshalToSizedBufferVT ¶
func (*Asset) MarshalToSizedBufferVTStrict ¶
func (*Asset) MarshalVTStrict ¶
func (*Asset) ProtoMessage ¶
func (*Asset) ProtoMessage()
func (*Asset) ProtoReflect ¶
func (x *Asset) ProtoReflect() protoreflect.Message
func (*Asset) UnmarshalVT ¶
func (*Asset) UnmarshalVTUnsafe ¶
type AssetServiceClient ¶
type AssetServiceClient interface { // Deletes an asset. DeleteAsset(ctx context.Context, in *DeleteAssetRequest, opts ...grpc.CallOption) (*DeleteAssetResponse, error) // Retrieves an asset. GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*GetAssetResponse, error) // Retrieves assets using an optional filter. ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, 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 { // Deletes an asset. DeleteAsset(context.Context, *DeleteAssetRequest) (*DeleteAssetResponse, error) // Retrieves an asset. GetAsset(context.Context, *GetAssetRequest) (*GetAssetResponse, error) // Retrieves assets using an optional filter. ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error) // contains filtered or unexported methods }
AssetServiceServer is the server API for AssetService service. All implementations must embed UnimplementedAssetServiceServer for forward compatibility
type DeleteAssetRequest ¶
type DeleteAssetRequest struct { // The id of the asset to be deleted. Required. AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // contains filtered or unexported fields }
The request for a call to `AssetService_DeleteAsset` to delete a single existing annotation by its asset_id.
func (*DeleteAssetRequest) CloneMessageVT ¶
func (m *DeleteAssetRequest) CloneMessageVT() proto.Message
func (*DeleteAssetRequest) CloneVT ¶
func (m *DeleteAssetRequest) CloneVT() *DeleteAssetRequest
func (*DeleteAssetRequest) Descriptor
deprecated
func (*DeleteAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetRequest.ProtoReflect.Descriptor instead.
func (*DeleteAssetRequest) EqualMessageVT ¶
func (this *DeleteAssetRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*DeleteAssetRequest) EqualVT ¶
func (this *DeleteAssetRequest) EqualVT(that *DeleteAssetRequest) bool
func (*DeleteAssetRequest) GetAssetId ¶
func (x *DeleteAssetRequest) GetAssetId() string
func (*DeleteAssetRequest) MarshalToSizedBufferVT ¶
func (m *DeleteAssetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteAssetRequest) MarshalToSizedBufferVTStrict ¶
func (m *DeleteAssetRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*DeleteAssetRequest) MarshalToVT ¶
func (m *DeleteAssetRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteAssetRequest) MarshalToVTStrict ¶
func (m *DeleteAssetRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*DeleteAssetRequest) MarshalVT ¶
func (m *DeleteAssetRequest) MarshalVT() (dAtA []byte, err error)
func (*DeleteAssetRequest) MarshalVTStrict ¶
func (m *DeleteAssetRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*DeleteAssetRequest) ProtoMessage ¶
func (*DeleteAssetRequest) ProtoMessage()
func (*DeleteAssetRequest) ProtoReflect ¶
func (x *DeleteAssetRequest) ProtoReflect() protoreflect.Message
func (*DeleteAssetRequest) Reset ¶
func (x *DeleteAssetRequest) Reset()
func (*DeleteAssetRequest) SizeVT ¶
func (m *DeleteAssetRequest) SizeVT() (n int)
func (*DeleteAssetRequest) String ¶
func (x *DeleteAssetRequest) String() string
func (*DeleteAssetRequest) UnmarshalVT ¶
func (m *DeleteAssetRequest) UnmarshalVT(dAtA []byte) error
func (*DeleteAssetRequest) UnmarshalVTUnsafe ¶
func (m *DeleteAssetRequest) UnmarshalVTUnsafe(dAtA []byte) error
type DeleteAssetResponse ¶
type DeleteAssetResponse struct {
// contains filtered or unexported fields
}
The response of a call to `AssetService_DeleteAsset`.
func (*DeleteAssetResponse) CloneMessageVT ¶
func (m *DeleteAssetResponse) CloneMessageVT() proto.Message
func (*DeleteAssetResponse) CloneVT ¶
func (m *DeleteAssetResponse) CloneVT() *DeleteAssetResponse
func (*DeleteAssetResponse) Descriptor
deprecated
func (*DeleteAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetResponse.ProtoReflect.Descriptor instead.
func (*DeleteAssetResponse) EqualMessageVT ¶
func (this *DeleteAssetResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*DeleteAssetResponse) EqualVT ¶
func (this *DeleteAssetResponse) EqualVT(that *DeleteAssetResponse) bool
func (*DeleteAssetResponse) MarshalToSizedBufferVT ¶
func (m *DeleteAssetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteAssetResponse) MarshalToSizedBufferVTStrict ¶
func (m *DeleteAssetResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*DeleteAssetResponse) MarshalToVT ¶
func (m *DeleteAssetResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteAssetResponse) MarshalToVTStrict ¶
func (m *DeleteAssetResponse) MarshalToVTStrict(dAtA []byte) (int, error)
func (*DeleteAssetResponse) MarshalVT ¶
func (m *DeleteAssetResponse) MarshalVT() (dAtA []byte, err error)
func (*DeleteAssetResponse) MarshalVTStrict ¶
func (m *DeleteAssetResponse) MarshalVTStrict() (dAtA []byte, err error)
func (*DeleteAssetResponse) ProtoMessage ¶
func (*DeleteAssetResponse) ProtoMessage()
func (*DeleteAssetResponse) ProtoReflect ¶
func (x *DeleteAssetResponse) ProtoReflect() protoreflect.Message
func (*DeleteAssetResponse) Reset ¶
func (x *DeleteAssetResponse) Reset()
func (*DeleteAssetResponse) SizeVT ¶
func (m *DeleteAssetResponse) SizeVT() (n int)
func (*DeleteAssetResponse) String ¶
func (x *DeleteAssetResponse) String() string
func (*DeleteAssetResponse) UnmarshalVT ¶
func (m *DeleteAssetResponse) UnmarshalVT(dAtA []byte) error
func (*DeleteAssetResponse) UnmarshalVTUnsafe ¶
func (m *DeleteAssetResponse) UnmarshalVTUnsafe(dAtA []byte) error
type GetAssetRequest ¶
type GetAssetRequest struct { // The id of the asset to be retrieved. Required. AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // contains filtered or unexported fields }
The request for a call to `AssetService_GetAsset` to retrieve a single existing asset by its asset_id.
func (*GetAssetRequest) CloneMessageVT ¶
func (m *GetAssetRequest) CloneMessageVT() proto.Message
func (*GetAssetRequest) CloneVT ¶
func (m *GetAssetRequest) CloneVT() *GetAssetRequest
func (*GetAssetRequest) Descriptor
deprecated
func (*GetAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAssetRequest.ProtoReflect.Descriptor instead.
func (*GetAssetRequest) EqualMessageVT ¶
func (this *GetAssetRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*GetAssetRequest) EqualVT ¶
func (this *GetAssetRequest) EqualVT(that *GetAssetRequest) bool
func (*GetAssetRequest) GetAssetId ¶
func (x *GetAssetRequest) GetAssetId() string
func (*GetAssetRequest) MarshalToSizedBufferVT ¶
func (m *GetAssetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetAssetRequest) MarshalToSizedBufferVTStrict ¶
func (m *GetAssetRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*GetAssetRequest) MarshalToVT ¶
func (m *GetAssetRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetAssetRequest) MarshalToVTStrict ¶
func (m *GetAssetRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*GetAssetRequest) MarshalVT ¶
func (m *GetAssetRequest) MarshalVT() (dAtA []byte, err error)
func (*GetAssetRequest) MarshalVTStrict ¶
func (m *GetAssetRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*GetAssetRequest) ProtoMessage ¶
func (*GetAssetRequest) ProtoMessage()
func (*GetAssetRequest) ProtoReflect ¶
func (x *GetAssetRequest) ProtoReflect() protoreflect.Message
func (*GetAssetRequest) Reset ¶
func (x *GetAssetRequest) Reset()
func (*GetAssetRequest) SizeVT ¶
func (m *GetAssetRequest) SizeVT() (n int)
func (*GetAssetRequest) String ¶
func (x *GetAssetRequest) String() string
func (*GetAssetRequest) UnmarshalVT ¶
func (m *GetAssetRequest) UnmarshalVT(dAtA []byte) error
func (*GetAssetRequest) UnmarshalVTUnsafe ¶
func (m *GetAssetRequest) UnmarshalVTUnsafe(dAtA []byte) error
type GetAssetResponse ¶
type GetAssetResponse struct { Asset *Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // contains filtered or unexported fields }
func (*GetAssetResponse) CloneMessageVT ¶
func (m *GetAssetResponse) CloneMessageVT() proto.Message
func (*GetAssetResponse) CloneVT ¶
func (m *GetAssetResponse) CloneVT() *GetAssetResponse
func (*GetAssetResponse) Descriptor
deprecated
func (*GetAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAssetResponse.ProtoReflect.Descriptor instead.
func (*GetAssetResponse) EqualMessageVT ¶
func (this *GetAssetResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*GetAssetResponse) EqualVT ¶
func (this *GetAssetResponse) EqualVT(that *GetAssetResponse) bool
func (*GetAssetResponse) GetAsset ¶
func (x *GetAssetResponse) GetAsset() *Asset
func (*GetAssetResponse) MarshalToSizedBufferVT ¶
func (m *GetAssetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetAssetResponse) MarshalToSizedBufferVTStrict ¶
func (m *GetAssetResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*GetAssetResponse) MarshalToVT ¶
func (m *GetAssetResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetAssetResponse) MarshalToVTStrict ¶
func (m *GetAssetResponse) MarshalToVTStrict(dAtA []byte) (int, error)
func (*GetAssetResponse) MarshalVT ¶
func (m *GetAssetResponse) MarshalVT() (dAtA []byte, err error)
func (*GetAssetResponse) MarshalVTStrict ¶
func (m *GetAssetResponse) MarshalVTStrict() (dAtA []byte, err error)
func (*GetAssetResponse) ProtoMessage ¶
func (*GetAssetResponse) ProtoMessage()
func (*GetAssetResponse) ProtoReflect ¶
func (x *GetAssetResponse) ProtoReflect() protoreflect.Message
func (*GetAssetResponse) Reset ¶
func (x *GetAssetResponse) Reset()
func (*GetAssetResponse) SizeVT ¶
func (m *GetAssetResponse) SizeVT() (n int)
func (*GetAssetResponse) String ¶
func (x *GetAssetResponse) String() string
func (*GetAssetResponse) UnmarshalVT ¶
func (m *GetAssetResponse) UnmarshalVT(dAtA []byte) error
func (*GetAssetResponse) UnmarshalVTUnsafe ¶
func (m *GetAssetResponse) UnmarshalVTUnsafe(dAtA []byte) error
type ListAssetsRequest ¶
type ListAssetsRequest struct { // The maximum number of assets to return. // The service may return fewer than this value. // If unspecified, at most 50 assets will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListAssets` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to `ListAssets` must match // the call that provided the page token. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string. // Available fields to filter by are `asset_id`, `created_by_user_id`, `modified_by_user_id`, // `created_date`, `modified_date`, and `name`. // For further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions). // For more information about the fields used for filtering, please refer to [this definition](/protocol-buffers/documentation#asset). Optional. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request for a call to `AssetService_ListAssets`.
func (*ListAssetsRequest) CloneMessageVT ¶
func (m *ListAssetsRequest) CloneMessageVT() proto.Message
func (*ListAssetsRequest) CloneVT ¶
func (m *ListAssetsRequest) CloneVT() *ListAssetsRequest
func (*ListAssetsRequest) Descriptor
deprecated
func (*ListAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.
func (*ListAssetsRequest) EqualMessageVT ¶
func (this *ListAssetsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ListAssetsRequest) EqualVT ¶
func (this *ListAssetsRequest) EqualVT(that *ListAssetsRequest) bool
func (*ListAssetsRequest) GetFilter ¶
func (x *ListAssetsRequest) GetFilter() string
func (*ListAssetsRequest) GetPageSize ¶
func (x *ListAssetsRequest) GetPageSize() uint32
func (*ListAssetsRequest) GetPageToken ¶
func (x *ListAssetsRequest) GetPageToken() string
func (*ListAssetsRequest) MarshalToSizedBufferVT ¶
func (m *ListAssetsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListAssetsRequest) MarshalToSizedBufferVTStrict ¶
func (m *ListAssetsRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ListAssetsRequest) MarshalToVT ¶
func (m *ListAssetsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ListAssetsRequest) MarshalToVTStrict ¶
func (m *ListAssetsRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ListAssetsRequest) MarshalVT ¶
func (m *ListAssetsRequest) MarshalVT() (dAtA []byte, err error)
func (*ListAssetsRequest) MarshalVTStrict ¶
func (m *ListAssetsRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*ListAssetsRequest) ProtoMessage ¶
func (*ListAssetsRequest) ProtoMessage()
func (*ListAssetsRequest) ProtoReflect ¶
func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message
func (*ListAssetsRequest) Reset ¶
func (x *ListAssetsRequest) Reset()
func (*ListAssetsRequest) SizeVT ¶
func (m *ListAssetsRequest) SizeVT() (n int)
func (*ListAssetsRequest) String ¶
func (x *ListAssetsRequest) String() string
func (*ListAssetsRequest) UnmarshalVT ¶
func (m *ListAssetsRequest) UnmarshalVT(dAtA []byte) error
func (*ListAssetsRequest) UnmarshalVTUnsafe ¶
func (m *ListAssetsRequest) UnmarshalVTUnsafe(dAtA []byte) error
type ListAssetsResponse ¶
type ListAssetsResponse struct { Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` NextPageToken string `protobuf:"bytes,5,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The result of a call to `AssetService_ListAssets`.
func (*ListAssetsResponse) CloneMessageVT ¶
func (m *ListAssetsResponse) CloneMessageVT() proto.Message
func (*ListAssetsResponse) CloneVT ¶
func (m *ListAssetsResponse) CloneVT() *ListAssetsResponse
func (*ListAssetsResponse) Descriptor
deprecated
func (*ListAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.
func (*ListAssetsResponse) EqualMessageVT ¶
func (this *ListAssetsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ListAssetsResponse) EqualVT ¶
func (this *ListAssetsResponse) EqualVT(that *ListAssetsResponse) bool
func (*ListAssetsResponse) GetAssets ¶
func (x *ListAssetsResponse) GetAssets() []*Asset
func (*ListAssetsResponse) GetNextPageToken ¶
func (x *ListAssetsResponse) GetNextPageToken() string
func (*ListAssetsResponse) MarshalToSizedBufferVT ¶
func (m *ListAssetsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListAssetsResponse) MarshalToSizedBufferVTStrict ¶
func (m *ListAssetsResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ListAssetsResponse) MarshalToVT ¶
func (m *ListAssetsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ListAssetsResponse) MarshalToVTStrict ¶
func (m *ListAssetsResponse) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ListAssetsResponse) MarshalVT ¶
func (m *ListAssetsResponse) MarshalVT() (dAtA []byte, err error)
func (*ListAssetsResponse) MarshalVTStrict ¶
func (m *ListAssetsResponse) MarshalVTStrict() (dAtA []byte, err error)
func (*ListAssetsResponse) ProtoMessage ¶
func (*ListAssetsResponse) ProtoMessage()
func (*ListAssetsResponse) ProtoReflect ¶
func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message
func (*ListAssetsResponse) Reset ¶
func (x *ListAssetsResponse) Reset()
func (*ListAssetsResponse) SizeVT ¶
func (m *ListAssetsResponse) SizeVT() (n int)
func (*ListAssetsResponse) String ¶
func (x *ListAssetsResponse) String() string
func (*ListAssetsResponse) UnmarshalVT ¶
func (m *ListAssetsResponse) UnmarshalVT(dAtA []byte) error
func (*ListAssetsResponse) UnmarshalVTUnsafe ¶
func (m *ListAssetsResponse) UnmarshalVTUnsafe(dAtA []byte) error
type UnimplementedAssetServiceServer ¶
type UnimplementedAssetServiceServer struct { }
UnimplementedAssetServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAssetServiceServer) DeleteAsset ¶
func (UnimplementedAssetServiceServer) DeleteAsset(context.Context, *DeleteAssetRequest) (*DeleteAssetResponse, error)
func (UnimplementedAssetServiceServer) GetAsset ¶
func (UnimplementedAssetServiceServer) GetAsset(context.Context, *GetAssetRequest) (*GetAssetResponse, error)
func (UnimplementedAssetServiceServer) ListAssets ¶
func (UnimplementedAssetServiceServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, 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.