Documentation ¶
Index ¶
- Variables
- func RegisterRobloxUGCServiceServer(s grpc.ServiceRegistrar, srv RobloxUGCServiceServer)
- type GetAppScreenTimeRequest
- func (*GetAppScreenTimeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppScreenTimeRequest) GetUserId() string
- func (*GetAppScreenTimeRequest) ProtoMessage()
- func (x *GetAppScreenTimeRequest) ProtoReflect() protoreflect.Message
- func (x *GetAppScreenTimeRequest) Reset()
- func (x *GetAppScreenTimeRequest) String() string
- type GetAppScreenTimeResponse
- func (*GetAppScreenTimeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppScreenTimeResponse) GetDuration() *durationpb.Duration
- func (*GetAppScreenTimeResponse) ProtoMessage()
- func (x *GetAppScreenTimeResponse) ProtoReflect() protoreflect.Message
- func (x *GetAppScreenTimeResponse) Reset()
- func (x *GetAppScreenTimeResponse) String() string
- type IsUserAppScreenTimeExceededRequest
- func (*IsUserAppScreenTimeExceededRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsUserAppScreenTimeExceededRequest) GetDuration() *durationpb.Duration
- func (x *IsUserAppScreenTimeExceededRequest) GetUserId() string
- func (*IsUserAppScreenTimeExceededRequest) ProtoMessage()
- func (x *IsUserAppScreenTimeExceededRequest) ProtoReflect() protoreflect.Message
- func (x *IsUserAppScreenTimeExceededRequest) Reset()
- func (x *IsUserAppScreenTimeExceededRequest) String() string
- type IsUserAppScreenTimeExceededResponse
- func (*IsUserAppScreenTimeExceededResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsUserAppScreenTimeExceededResponse) GetIsExceeded() bool
- func (*IsUserAppScreenTimeExceededResponse) ProtoMessage()
- func (x *IsUserAppScreenTimeExceededResponse) ProtoReflect() protoreflect.Message
- func (x *IsUserAppScreenTimeExceededResponse) Reset()
- func (x *IsUserAppScreenTimeExceededResponse) String() string
- type RobloxUGCServiceClient
- type RobloxUGCServiceServer
- type SaveAppScreenTimeRequest
- func (*SaveAppScreenTimeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveAppScreenTimeRequest) GetClientCreatedAt() *timestamppb.Timestamp
- func (x *SaveAppScreenTimeRequest) GetDuration() *durationpb.Duration
- func (*SaveAppScreenTimeRequest) ProtoMessage()
- func (x *SaveAppScreenTimeRequest) ProtoReflect() protoreflect.Message
- func (x *SaveAppScreenTimeRequest) Reset()
- func (x *SaveAppScreenTimeRequest) String() string
- type SaveAppScreenTimeResponse
- type UnimplementedRobloxUGCServiceServer
- func (UnimplementedRobloxUGCServiceServer) GetAppScreenTime(context.Context, *GetAppScreenTimeRequest) (*GetAppScreenTimeResponse, error)
- func (UnimplementedRobloxUGCServiceServer) IsUserAppScreenTimeExceeded(context.Context, *IsUserAppScreenTimeExceededRequest) (*IsUserAppScreenTimeExceededResponse, error)
- func (UnimplementedRobloxUGCServiceServer) SaveAppScreenTime(context.Context, *SaveAppScreenTimeRequest) (*SaveAppScreenTimeResponse, error)
- type UnsafeRobloxUGCServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_roblox_ugc_api_v1_roblox_ugc_proto protoreflect.FileDescriptor
var RobloxUGCService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "roblox_ugc_api.v1.RobloxUGCService", HandlerType: (*RobloxUGCServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SaveAppScreenTime", Handler: _RobloxUGCService_SaveAppScreenTime_Handler, }, { MethodName: "IsUserAppScreenTimeExceeded", Handler: _RobloxUGCService_IsUserAppScreenTimeExceeded_Handler, }, { MethodName: "GetAppScreenTime", Handler: _RobloxUGCService_GetAppScreenTime_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "roblox_ugc_api/v1/roblox_ugc.proto", }
RobloxUGCService_ServiceDesc is the grpc.ServiceDesc for RobloxUGCService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRobloxUGCServiceServer ¶
func RegisterRobloxUGCServiceServer(s grpc.ServiceRegistrar, srv RobloxUGCServiceServer)
Types ¶
type GetAppScreenTimeRequest ¶ added in v0.2.104
type GetAppScreenTimeRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetAppScreenTimeRequest) Descriptor
deprecated
added in
v0.2.104
func (*GetAppScreenTimeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAppScreenTimeRequest.ProtoReflect.Descriptor instead.
func (*GetAppScreenTimeRequest) GetUserId ¶ added in v0.2.104
func (x *GetAppScreenTimeRequest) GetUserId() string
func (*GetAppScreenTimeRequest) ProtoMessage ¶ added in v0.2.104
func (*GetAppScreenTimeRequest) ProtoMessage()
func (*GetAppScreenTimeRequest) ProtoReflect ¶ added in v0.2.104
func (x *GetAppScreenTimeRequest) ProtoReflect() protoreflect.Message
func (*GetAppScreenTimeRequest) Reset ¶ added in v0.2.104
func (x *GetAppScreenTimeRequest) Reset()
func (*GetAppScreenTimeRequest) String ¶ added in v0.2.104
func (x *GetAppScreenTimeRequest) String() string
type GetAppScreenTimeResponse ¶ added in v0.2.104
type GetAppScreenTimeResponse struct { Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*GetAppScreenTimeResponse) Descriptor
deprecated
added in
v0.2.104
func (*GetAppScreenTimeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAppScreenTimeResponse.ProtoReflect.Descriptor instead.
func (*GetAppScreenTimeResponse) GetDuration ¶ added in v0.2.104
func (x *GetAppScreenTimeResponse) GetDuration() *durationpb.Duration
func (*GetAppScreenTimeResponse) ProtoMessage ¶ added in v0.2.104
func (*GetAppScreenTimeResponse) ProtoMessage()
func (*GetAppScreenTimeResponse) ProtoReflect ¶ added in v0.2.104
func (x *GetAppScreenTimeResponse) ProtoReflect() protoreflect.Message
func (*GetAppScreenTimeResponse) Reset ¶ added in v0.2.104
func (x *GetAppScreenTimeResponse) Reset()
func (*GetAppScreenTimeResponse) String ¶ added in v0.2.104
func (x *GetAppScreenTimeResponse) String() string
type IsUserAppScreenTimeExceededRequest ¶ added in v0.2.101
type IsUserAppScreenTimeExceededRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*IsUserAppScreenTimeExceededRequest) Descriptor
deprecated
added in
v0.2.101
func (*IsUserAppScreenTimeExceededRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsUserAppScreenTimeExceededRequest.ProtoReflect.Descriptor instead.
func (*IsUserAppScreenTimeExceededRequest) GetDuration ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededRequest) GetDuration() *durationpb.Duration
func (*IsUserAppScreenTimeExceededRequest) GetUserId ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededRequest) GetUserId() string
func (*IsUserAppScreenTimeExceededRequest) ProtoMessage ¶ added in v0.2.101
func (*IsUserAppScreenTimeExceededRequest) ProtoMessage()
func (*IsUserAppScreenTimeExceededRequest) ProtoReflect ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededRequest) ProtoReflect() protoreflect.Message
func (*IsUserAppScreenTimeExceededRequest) Reset ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededRequest) Reset()
func (*IsUserAppScreenTimeExceededRequest) String ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededRequest) String() string
type IsUserAppScreenTimeExceededResponse ¶ added in v0.2.101
type IsUserAppScreenTimeExceededResponse struct { IsExceeded bool `protobuf:"varint,1,opt,name=is_exceeded,json=isExceeded,proto3" json:"is_exceeded,omitempty"` // contains filtered or unexported fields }
func (*IsUserAppScreenTimeExceededResponse) Descriptor
deprecated
added in
v0.2.101
func (*IsUserAppScreenTimeExceededResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsUserAppScreenTimeExceededResponse.ProtoReflect.Descriptor instead.
func (*IsUserAppScreenTimeExceededResponse) GetIsExceeded ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededResponse) GetIsExceeded() bool
func (*IsUserAppScreenTimeExceededResponse) ProtoMessage ¶ added in v0.2.101
func (*IsUserAppScreenTimeExceededResponse) ProtoMessage()
func (*IsUserAppScreenTimeExceededResponse) ProtoReflect ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededResponse) ProtoReflect() protoreflect.Message
func (*IsUserAppScreenTimeExceededResponse) Reset ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededResponse) Reset()
func (*IsUserAppScreenTimeExceededResponse) String ¶ added in v0.2.101
func (x *IsUserAppScreenTimeExceededResponse) String() string
type RobloxUGCServiceClient ¶
type RobloxUGCServiceClient interface { SaveAppScreenTime(ctx context.Context, in *SaveAppScreenTimeRequest, opts ...grpc.CallOption) (*SaveAppScreenTimeResponse, error) IsUserAppScreenTimeExceeded(ctx context.Context, in *IsUserAppScreenTimeExceededRequest, opts ...grpc.CallOption) (*IsUserAppScreenTimeExceededResponse, error) GetAppScreenTime(ctx context.Context, in *GetAppScreenTimeRequest, opts ...grpc.CallOption) (*GetAppScreenTimeResponse, error) }
RobloxUGCServiceClient is the client API for RobloxUGCService 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 NewRobloxUGCServiceClient ¶
func NewRobloxUGCServiceClient(cc grpc.ClientConnInterface) RobloxUGCServiceClient
type RobloxUGCServiceServer ¶
type RobloxUGCServiceServer interface { SaveAppScreenTime(context.Context, *SaveAppScreenTimeRequest) (*SaveAppScreenTimeResponse, error) IsUserAppScreenTimeExceeded(context.Context, *IsUserAppScreenTimeExceededRequest) (*IsUserAppScreenTimeExceededResponse, error) GetAppScreenTime(context.Context, *GetAppScreenTimeRequest) (*GetAppScreenTimeResponse, error) // contains filtered or unexported methods }
RobloxUGCServiceServer is the server API for RobloxUGCService service. All implementations must embed UnimplementedRobloxUGCServiceServer for forward compatibility
type SaveAppScreenTimeRequest ¶
type SaveAppScreenTimeRequest struct { Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` ClientCreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=client_created_at,json=clientCreatedAt,proto3" json:"client_created_at,omitempty"` // contains filtered or unexported fields }
func (*SaveAppScreenTimeRequest) Descriptor
deprecated
func (*SaveAppScreenTimeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveAppScreenTimeRequest.ProtoReflect.Descriptor instead.
func (*SaveAppScreenTimeRequest) GetClientCreatedAt ¶
func (x *SaveAppScreenTimeRequest) GetClientCreatedAt() *timestamppb.Timestamp
func (*SaveAppScreenTimeRequest) GetDuration ¶
func (x *SaveAppScreenTimeRequest) GetDuration() *durationpb.Duration
func (*SaveAppScreenTimeRequest) ProtoMessage ¶
func (*SaveAppScreenTimeRequest) ProtoMessage()
func (*SaveAppScreenTimeRequest) ProtoReflect ¶
func (x *SaveAppScreenTimeRequest) ProtoReflect() protoreflect.Message
func (*SaveAppScreenTimeRequest) Reset ¶
func (x *SaveAppScreenTimeRequest) Reset()
func (*SaveAppScreenTimeRequest) String ¶
func (x *SaveAppScreenTimeRequest) String() string
type SaveAppScreenTimeResponse ¶
type SaveAppScreenTimeResponse struct {
// contains filtered or unexported fields
}
func (*SaveAppScreenTimeResponse) Descriptor
deprecated
func (*SaveAppScreenTimeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveAppScreenTimeResponse.ProtoReflect.Descriptor instead.
func (*SaveAppScreenTimeResponse) ProtoMessage ¶
func (*SaveAppScreenTimeResponse) ProtoMessage()
func (*SaveAppScreenTimeResponse) ProtoReflect ¶
func (x *SaveAppScreenTimeResponse) ProtoReflect() protoreflect.Message
func (*SaveAppScreenTimeResponse) Reset ¶
func (x *SaveAppScreenTimeResponse) Reset()
func (*SaveAppScreenTimeResponse) String ¶
func (x *SaveAppScreenTimeResponse) String() string
type UnimplementedRobloxUGCServiceServer ¶
type UnimplementedRobloxUGCServiceServer struct { }
UnimplementedRobloxUGCServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRobloxUGCServiceServer) GetAppScreenTime ¶ added in v0.2.104
func (UnimplementedRobloxUGCServiceServer) GetAppScreenTime(context.Context, *GetAppScreenTimeRequest) (*GetAppScreenTimeResponse, error)
func (UnimplementedRobloxUGCServiceServer) IsUserAppScreenTimeExceeded ¶ added in v0.2.101
func (UnimplementedRobloxUGCServiceServer) IsUserAppScreenTimeExceeded(context.Context, *IsUserAppScreenTimeExceededRequest) (*IsUserAppScreenTimeExceededResponse, error)
func (UnimplementedRobloxUGCServiceServer) SaveAppScreenTime ¶
func (UnimplementedRobloxUGCServiceServer) SaveAppScreenTime(context.Context, *SaveAppScreenTimeRequest) (*SaveAppScreenTimeResponse, error)
type UnsafeRobloxUGCServiceServer ¶
type UnsafeRobloxUGCServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRobloxUGCServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RobloxUGCServiceServer will result in compilation errors.