Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)
- type DeveloperServiceClient
- type DeveloperServiceServer
- type LookupShareRequest
- func (m *LookupShareRequest) CloneMessageVT() proto.Message
- func (m *LookupShareRequest) CloneVT() *LookupShareRequest
- func (*LookupShareRequest) Descriptor() ([]byte, []int)deprecated
- func (this *LookupShareRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *LookupShareRequest) EqualVT(that *LookupShareRequest) bool
- func (x *LookupShareRequest) GetShareReference() string
- func (m *LookupShareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LookupShareRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LookupShareRequest) MarshalVT() (dAtA []byte, err error)
- func (*LookupShareRequest) ProtoMessage()
- func (x *LookupShareRequest) ProtoReflect() protoreflect.Message
- func (x *LookupShareRequest) Reset()
- func (m *LookupShareRequest) SizeVT() (n int)
- func (x *LookupShareRequest) String() string
- func (m *LookupShareRequest) UnmarshalVT(dAtA []byte) error
- func (m *LookupShareRequest) Validate() error
- func (m *LookupShareRequest) ValidateAll() error
- type LookupShareRequestMultiError
- type LookupShareRequestValidationError
- func (e LookupShareRequestValidationError) Cause() error
- func (e LookupShareRequestValidationError) Error() string
- func (e LookupShareRequestValidationError) ErrorName() string
- func (e LookupShareRequestValidationError) Field() string
- func (e LookupShareRequestValidationError) Key() bool
- func (e LookupShareRequestValidationError) Reason() string
- type LookupShareResponse
- func (m *LookupShareResponse) CloneMessageVT() proto.Message
- func (m *LookupShareResponse) CloneVT() *LookupShareResponse
- func (*LookupShareResponse) Descriptor() ([]byte, []int)deprecated
- func (this *LookupShareResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *LookupShareResponse) EqualVT(that *LookupShareResponse) bool
- func (x *LookupShareResponse) GetAssertionsYaml() string
- func (x *LookupShareResponse) GetRelationshipsYaml() string
- func (x *LookupShareResponse) GetSchema() string
- func (x *LookupShareResponse) GetStatus() LookupShareResponse_LookupStatus
- func (x *LookupShareResponse) GetValidationYaml() string
- func (m *LookupShareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LookupShareResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *LookupShareResponse) MarshalVT() (dAtA []byte, err error)
- func (*LookupShareResponse) ProtoMessage()
- func (x *LookupShareResponse) ProtoReflect() protoreflect.Message
- func (x *LookupShareResponse) Reset()
- func (m *LookupShareResponse) SizeVT() (n int)
- func (x *LookupShareResponse) String() string
- func (m *LookupShareResponse) UnmarshalVT(dAtA []byte) error
- func (m *LookupShareResponse) Validate() error
- func (m *LookupShareResponse) ValidateAll() error
- type LookupShareResponseMultiError
- type LookupShareResponseValidationError
- func (e LookupShareResponseValidationError) Cause() error
- func (e LookupShareResponseValidationError) Error() string
- func (e LookupShareResponseValidationError) ErrorName() string
- func (e LookupShareResponseValidationError) Field() string
- func (e LookupShareResponseValidationError) Key() bool
- func (e LookupShareResponseValidationError) Reason() string
- type LookupShareResponse_LookupStatus
- func (LookupShareResponse_LookupStatus) Descriptor() protoreflect.EnumDescriptor
- func (x LookupShareResponse_LookupStatus) Enum() *LookupShareResponse_LookupStatus
- func (LookupShareResponse_LookupStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x LookupShareResponse_LookupStatus) Number() protoreflect.EnumNumber
- func (x LookupShareResponse_LookupStatus) String() string
- func (LookupShareResponse_LookupStatus) Type() protoreflect.EnumType
- type ObjectAndRelation
- func (m *ObjectAndRelation) CloneMessageVT() proto.Message
- func (m *ObjectAndRelation) CloneVT() *ObjectAndRelation
- func (*ObjectAndRelation) Descriptor() ([]byte, []int)deprecated
- func (this *ObjectAndRelation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ObjectAndRelation) EqualVT(that *ObjectAndRelation) bool
- func (x *ObjectAndRelation) GetNamespace() string
- func (x *ObjectAndRelation) GetObjectId() string
- func (x *ObjectAndRelation) GetRelation() string
- func (m *ObjectAndRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectAndRelation) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectAndRelation) MarshalVT() (dAtA []byte, err error)
- func (*ObjectAndRelation) ProtoMessage()
- func (x *ObjectAndRelation) ProtoReflect() protoreflect.Message
- func (x *ObjectAndRelation) Reset()
- func (m *ObjectAndRelation) SizeVT() (n int)
- func (x *ObjectAndRelation) String() string
- func (m *ObjectAndRelation) UnmarshalVT(dAtA []byte) error
- func (m *ObjectAndRelation) Validate() error
- func (m *ObjectAndRelation) ValidateAll() error
- type ObjectAndRelationMultiError
- type ObjectAndRelationValidationError
- func (e ObjectAndRelationValidationError) Cause() error
- func (e ObjectAndRelationValidationError) Error() string
- func (e ObjectAndRelationValidationError) ErrorName() string
- func (e ObjectAndRelationValidationError) Field() string
- func (e ObjectAndRelationValidationError) Key() bool
- func (e ObjectAndRelationValidationError) Reason() string
- type RelationReference
- func (m *RelationReference) CloneMessageVT() proto.Message
- func (m *RelationReference) CloneVT() *RelationReference
- func (*RelationReference) Descriptor() ([]byte, []int)deprecated
- func (this *RelationReference) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationReference) EqualVT(that *RelationReference) bool
- func (x *RelationReference) GetNamespace() string
- func (x *RelationReference) GetRelation() string
- func (m *RelationReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationReference) MarshalVT() (dAtA []byte, err error)
- func (*RelationReference) ProtoMessage()
- func (x *RelationReference) ProtoReflect() protoreflect.Message
- func (x *RelationReference) Reset()
- func (m *RelationReference) SizeVT() (n int)
- func (x *RelationReference) String() string
- func (m *RelationReference) UnmarshalVT(dAtA []byte) error
- func (m *RelationReference) Validate() error
- func (m *RelationReference) ValidateAll() error
- type RelationReferenceMultiError
- type RelationReferenceValidationError
- func (e RelationReferenceValidationError) Cause() error
- func (e RelationReferenceValidationError) Error() string
- func (e RelationReferenceValidationError) ErrorName() string
- func (e RelationReferenceValidationError) Field() string
- func (e RelationReferenceValidationError) Key() bool
- func (e RelationReferenceValidationError) Reason() string
- type RelationTuple
- func (m *RelationTuple) CloneMessageVT() proto.Message
- func (m *RelationTuple) CloneVT() *RelationTuple
- func (*RelationTuple) Descriptor() ([]byte, []int)deprecated
- func (this *RelationTuple) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationTuple) EqualVT(that *RelationTuple) bool
- func (x *RelationTuple) GetObjectAndRelation() *ObjectAndRelation
- func (x *RelationTuple) GetUser() *User
- func (m *RelationTuple) HandwrittenValidate() error
- func (m *RelationTuple) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationTuple) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationTuple) MarshalVT() (dAtA []byte, err error)
- func (*RelationTuple) ProtoMessage()
- func (x *RelationTuple) ProtoReflect() protoreflect.Message
- func (x *RelationTuple) Reset()
- func (m *RelationTuple) SizeVT() (n int)
- func (x *RelationTuple) String() string
- func (m *RelationTuple) UnmarshalVT(dAtA []byte) error
- func (m *RelationTuple) Validate() error
- func (m *RelationTuple) ValidateAll() error
- type RelationTupleMultiError
- type RelationTupleValidationError
- func (e RelationTupleValidationError) Cause() error
- func (e RelationTupleValidationError) Error() string
- func (e RelationTupleValidationError) ErrorName() string
- func (e RelationTupleValidationError) Field() string
- func (e RelationTupleValidationError) Key() bool
- func (e RelationTupleValidationError) Reason() string
- type ShareRequest
- func (m *ShareRequest) CloneMessageVT() proto.Message
- func (m *ShareRequest) CloneVT() *ShareRequest
- func (*ShareRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ShareRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ShareRequest) EqualVT(that *ShareRequest) bool
- func (x *ShareRequest) GetAssertionsYaml() string
- func (x *ShareRequest) GetRelationshipsYaml() string
- func (x *ShareRequest) GetSchema() string
- func (x *ShareRequest) GetValidationYaml() string
- func (m *ShareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShareRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShareRequest) MarshalVT() (dAtA []byte, err error)
- func (*ShareRequest) ProtoMessage()
- func (x *ShareRequest) ProtoReflect() protoreflect.Message
- func (x *ShareRequest) Reset()
- func (m *ShareRequest) SizeVT() (n int)
- func (x *ShareRequest) String() string
- func (m *ShareRequest) UnmarshalVT(dAtA []byte) error
- func (m *ShareRequest) Validate() error
- func (m *ShareRequest) ValidateAll() error
- type ShareRequestMultiError
- type ShareRequestValidationError
- func (e ShareRequestValidationError) Cause() error
- func (e ShareRequestValidationError) Error() string
- func (e ShareRequestValidationError) ErrorName() string
- func (e ShareRequestValidationError) Field() string
- func (e ShareRequestValidationError) Key() bool
- func (e ShareRequestValidationError) Reason() string
- type ShareResponse
- func (m *ShareResponse) CloneMessageVT() proto.Message
- func (m *ShareResponse) CloneVT() *ShareResponse
- func (*ShareResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ShareResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ShareResponse) EqualVT(that *ShareResponse) bool
- func (x *ShareResponse) GetShareReference() string
- func (m *ShareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShareResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShareResponse) MarshalVT() (dAtA []byte, err error)
- func (*ShareResponse) ProtoMessage()
- func (x *ShareResponse) ProtoReflect() protoreflect.Message
- func (x *ShareResponse) Reset()
- func (m *ShareResponse) SizeVT() (n int)
- func (x *ShareResponse) String() string
- func (m *ShareResponse) UnmarshalVT(dAtA []byte) error
- func (m *ShareResponse) Validate() error
- func (m *ShareResponse) ValidateAll() error
- type ShareResponseMultiError
- type ShareResponseValidationError
- func (e ShareResponseValidationError) Cause() error
- func (e ShareResponseValidationError) Error() string
- func (e ShareResponseValidationError) ErrorName() string
- func (e ShareResponseValidationError) Field() string
- func (e ShareResponseValidationError) Key() bool
- func (e ShareResponseValidationError) Reason() string
- type UnimplementedDeveloperServiceServer
- type UnsafeDeveloperServiceServer
- type User
- func (m *User) CloneMessageVT() proto.Message
- func (m *User) CloneVT() *User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (this *User) EqualMessageVT(thatMsg proto.Message) bool
- func (this *User) EqualVT(that *User) bool
- func (x *User) GetUserOneof() isUser_UserOneof
- func (x *User) GetUserset() *ObjectAndRelation
- func (m *User) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *User) MarshalToVT(dAtA []byte) (int, error)
- func (m *User) MarshalVT() (dAtA []byte, err error)
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (m *User) SizeVT() (n int)
- func (x *User) String() string
- func (m *User) UnmarshalVT(dAtA []byte) error
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
- type User_Userset
Constants ¶
const ( )
const ( BufRepository = "buf.build/authzed/api" BufTag = "6790aa7ff09c47a4b27082ba0b9d0314" )
Variables ¶
var ( 0: "UNKNOWN_REFERENCE", 1: "FAILED_TO_LOOKUP", 2: "VALID_REFERENCE", 3: "UPGRADED_REFERENCE", } "UNKNOWN_REFERENCE": 0, "FAILED_TO_LOOKUP": 1, "VALID_REFERENCE": 2, "UPGRADED_REFERENCE": 3, } )
Enum value maps for LookupShareResponse_LookupStatus.
var DeveloperService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authzed.api.v0.DeveloperService", HandlerType: (*DeveloperServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Share", Handler: _DeveloperService_Share_Handler, }, { MethodName: "LookupShared", Handler: _DeveloperService_LookupShared_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authzed/api/v0/developer.proto", }
DeveloperService_ServiceDesc is the grpc.ServiceDesc for DeveloperService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_authzed_api_v0_core_proto protoreflect.FileDescriptor
var File_authzed_api_v0_developer_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeveloperServiceServer ¶
func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)
Types ¶
type DeveloperServiceClient ¶
type DeveloperServiceClient interface {
}
DeveloperServiceClient is the client API for DeveloperService 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 NewDeveloperServiceClient ¶
func NewDeveloperServiceClient(cc grpc.ClientConnInterface) DeveloperServiceClient
type DeveloperServiceServer ¶
type DeveloperServiceServer interface {
// contains filtered or unexported methods
}
DeveloperServiceServer is the server API for DeveloperService service. All implementations must embed UnimplementedDeveloperServiceServer for forward compatibility.
type LookupShareRequest ¶
type LookupShareRequest struct {
// contains filtered or unexported fields
}
func (*LookupShareRequest) CloneMessageVT ¶ added in v0.9.0
func (m *LookupShareRequest) CloneMessageVT() proto.Message
func (*LookupShareRequest) CloneVT ¶ added in v0.8.0
func (m *LookupShareRequest) CloneVT() *LookupShareRequest
func (*LookupShareRequest) Descriptor
deprecated
func (*LookupShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupShareRequest.ProtoReflect.Descriptor instead.
func (*LookupShareRequest) EqualMessageVT ¶ added in v0.11.0
func (this *LookupShareRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*LookupShareRequest) EqualVT ¶ added in v0.11.0
func (this *LookupShareRequest) EqualVT(that *LookupShareRequest) bool
func (*LookupShareRequest) GetShareReference ¶
func (x *LookupShareRequest) GetShareReference() string
func (*LookupShareRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *LookupShareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LookupShareRequest) MarshalToVT ¶ added in v0.8.0
func (m *LookupShareRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LookupShareRequest) MarshalVT ¶ added in v0.8.0
func (m *LookupShareRequest) MarshalVT() (dAtA []byte, err error)
func (*LookupShareRequest) ProtoMessage ¶
func (*LookupShareRequest) ProtoMessage()
func (*LookupShareRequest) ProtoReflect ¶
func (x *LookupShareRequest) ProtoReflect() protoreflect.Message
func (*LookupShareRequest) Reset ¶
func (x *LookupShareRequest) Reset()
func (*LookupShareRequest) SizeVT ¶ added in v0.8.0
func (m *LookupShareRequest) SizeVT() (n int)
func (*LookupShareRequest) String ¶
func (x *LookupShareRequest) String() string
func (*LookupShareRequest) UnmarshalVT ¶ added in v0.8.0
func (m *LookupShareRequest) UnmarshalVT(dAtA []byte) error
func (*LookupShareRequest) Validate ¶
func (m *LookupShareRequest) Validate() error
Validate checks the field values on LookupShareRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LookupShareRequest) ValidateAll ¶ added in v0.6.0
func (m *LookupShareRequest) ValidateAll() error
ValidateAll checks the field values on LookupShareRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LookupShareRequestMultiError, or nil if none found.
type LookupShareRequestMultiError ¶ added in v0.6.0
type LookupShareRequestMultiError []error
LookupShareRequestMultiError is an error wrapping multiple validation errors returned by LookupShareRequest.ValidateAll() if the designated constraints aren't met.
func (LookupShareRequestMultiError) AllErrors ¶ added in v0.6.0
func (m LookupShareRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LookupShareRequestMultiError) Error ¶ added in v0.6.0
func (m LookupShareRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LookupShareRequestValidationError ¶
type LookupShareRequestValidationError struct {
// contains filtered or unexported fields
}
LookupShareRequestValidationError is the validation error returned by LookupShareRequest.Validate if the designated constraints aren't met.
func (LookupShareRequestValidationError) Cause ¶
func (e LookupShareRequestValidationError) Cause() error
Cause function returns cause value.
func (LookupShareRequestValidationError) Error ¶
func (e LookupShareRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LookupShareRequestValidationError) ErrorName ¶
func (e LookupShareRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LookupShareRequestValidationError) Field ¶
func (e LookupShareRequestValidationError) Field() string
Field function returns field value.
func (LookupShareRequestValidationError) Key ¶
func (e LookupShareRequestValidationError) Key() bool
Key function returns key value.
func (LookupShareRequestValidationError) Reason ¶
func (e LookupShareRequestValidationError) Reason() string
Reason function returns reason value.
type LookupShareResponse ¶
type LookupShareResponse struct {
// contains filtered or unexported fields
}
func (*LookupShareResponse) CloneMessageVT ¶ added in v0.9.0
func (m *LookupShareResponse) CloneMessageVT() proto.Message
func (*LookupShareResponse) CloneVT ¶ added in v0.8.0
func (m *LookupShareResponse) CloneVT() *LookupShareResponse
func (*LookupShareResponse) Descriptor
deprecated
func (*LookupShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookupShareResponse.ProtoReflect.Descriptor instead.
func (*LookupShareResponse) EqualMessageVT ¶ added in v0.11.0
func (this *LookupShareResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*LookupShareResponse) EqualVT ¶ added in v0.11.0
func (this *LookupShareResponse) EqualVT(that *LookupShareResponse) bool
func (*LookupShareResponse) GetAssertionsYaml ¶
func (x *LookupShareResponse) GetAssertionsYaml() string
func (*LookupShareResponse) GetRelationshipsYaml ¶
func (x *LookupShareResponse) GetRelationshipsYaml() string
func (*LookupShareResponse) GetSchema ¶
func (x *LookupShareResponse) GetSchema() string
func (*LookupShareResponse) GetStatus ¶
func (x *LookupShareResponse) GetStatus() LookupShareResponse_LookupStatus
func (*LookupShareResponse) GetValidationYaml ¶
func (x *LookupShareResponse) GetValidationYaml() string
func (*LookupShareResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *LookupShareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LookupShareResponse) MarshalToVT ¶ added in v0.8.0
func (m *LookupShareResponse) MarshalToVT(dAtA []byte) (int, error)
func (*LookupShareResponse) MarshalVT ¶ added in v0.8.0
func (m *LookupShareResponse) MarshalVT() (dAtA []byte, err error)
func (*LookupShareResponse) ProtoMessage ¶
func (*LookupShareResponse) ProtoMessage()
func (*LookupShareResponse) ProtoReflect ¶
func (x *LookupShareResponse) ProtoReflect() protoreflect.Message
func (*LookupShareResponse) Reset ¶
func (x *LookupShareResponse) Reset()
func (*LookupShareResponse) SizeVT ¶ added in v0.8.0
func (m *LookupShareResponse) SizeVT() (n int)
func (*LookupShareResponse) String ¶
func (x *LookupShareResponse) String() string
func (*LookupShareResponse) UnmarshalVT ¶ added in v0.8.0
func (m *LookupShareResponse) UnmarshalVT(dAtA []byte) error
func (*LookupShareResponse) Validate ¶
func (m *LookupShareResponse) Validate() error
Validate checks the field values on LookupShareResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LookupShareResponse) ValidateAll ¶ added in v0.6.0
func (m *LookupShareResponse) ValidateAll() error
ValidateAll checks the field values on LookupShareResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LookupShareResponseMultiError, or nil if none found.
type LookupShareResponseMultiError ¶ added in v0.6.0
type LookupShareResponseMultiError []error
LookupShareResponseMultiError is an error wrapping multiple validation errors returned by LookupShareResponse.ValidateAll() if the designated constraints aren't met.
func (LookupShareResponseMultiError) AllErrors ¶ added in v0.6.0
func (m LookupShareResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LookupShareResponseMultiError) Error ¶ added in v0.6.0
func (m LookupShareResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LookupShareResponseValidationError ¶
type LookupShareResponseValidationError struct {
// contains filtered or unexported fields
}
LookupShareResponseValidationError is the validation error returned by LookupShareResponse.Validate if the designated constraints aren't met.
func (LookupShareResponseValidationError) Cause ¶
func (e LookupShareResponseValidationError) Cause() error
Cause function returns cause value.
func (LookupShareResponseValidationError) Error ¶
func (e LookupShareResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LookupShareResponseValidationError) ErrorName ¶
func (e LookupShareResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LookupShareResponseValidationError) Field ¶
func (e LookupShareResponseValidationError) Field() string
Field function returns field value.
func (LookupShareResponseValidationError) Key ¶
func (e LookupShareResponseValidationError) Key() bool
Key function returns key value.
func (LookupShareResponseValidationError) Reason ¶
func (e LookupShareResponseValidationError) Reason() string
Reason function returns reason value.
type LookupShareResponse_LookupStatus ¶
type LookupShareResponse_LookupStatus int32
const ( )
func (LookupShareResponse_LookupStatus) Descriptor ¶
func (LookupShareResponse_LookupStatus) Descriptor() protoreflect.EnumDescriptor
func (LookupShareResponse_LookupStatus) Enum ¶
func (x LookupShareResponse_LookupStatus) Enum() *LookupShareResponse_LookupStatus
func (LookupShareResponse_LookupStatus) EnumDescriptor
deprecated
func (LookupShareResponse_LookupStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use LookupShareResponse_LookupStatus.Descriptor instead.
func (LookupShareResponse_LookupStatus) Number ¶
func (x LookupShareResponse_LookupStatus) Number() protoreflect.EnumNumber
func (LookupShareResponse_LookupStatus) String ¶
func (x LookupShareResponse_LookupStatus) String() string
func (LookupShareResponse_LookupStatus) Type ¶
func (LookupShareResponse_LookupStatus) Type() protoreflect.EnumType
type ObjectAndRelation ¶
type ObjectAndRelation struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
// contains filtered or unexported fields
}
func (*ObjectAndRelation) CloneMessageVT ¶ added in v0.9.0
func (m *ObjectAndRelation) CloneMessageVT() proto.Message
func (*ObjectAndRelation) CloneVT ¶ added in v0.8.0
func (m *ObjectAndRelation) CloneVT() *ObjectAndRelation
func (*ObjectAndRelation) Descriptor
deprecated
func (*ObjectAndRelation) Descriptor() ([]byte, []int)
Deprecated: Use ObjectAndRelation.ProtoReflect.Descriptor instead.
func (*ObjectAndRelation) EqualMessageVT ¶ added in v0.11.0
func (this *ObjectAndRelation) EqualMessageVT(thatMsg proto.Message) bool
func (*ObjectAndRelation) EqualVT ¶ added in v0.11.0
func (this *ObjectAndRelation) EqualVT(that *ObjectAndRelation) bool
func (*ObjectAndRelation) GetNamespace ¶
func (x *ObjectAndRelation) GetNamespace() string
func (*ObjectAndRelation) GetObjectId ¶
func (x *ObjectAndRelation) GetObjectId() string
func (*ObjectAndRelation) GetRelation ¶
func (x *ObjectAndRelation) GetRelation() string
func (*ObjectAndRelation) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ObjectAndRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectAndRelation) MarshalToVT ¶ added in v0.8.0
func (m *ObjectAndRelation) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectAndRelation) MarshalVT ¶ added in v0.8.0
func (m *ObjectAndRelation) MarshalVT() (dAtA []byte, err error)
func (*ObjectAndRelation) ProtoMessage ¶
func (*ObjectAndRelation) ProtoMessage()
func (*ObjectAndRelation) ProtoReflect ¶
func (x *ObjectAndRelation) ProtoReflect() protoreflect.Message
func (*ObjectAndRelation) Reset ¶
func (x *ObjectAndRelation) Reset()
func (*ObjectAndRelation) SizeVT ¶ added in v0.8.0
func (m *ObjectAndRelation) SizeVT() (n int)
func (*ObjectAndRelation) String ¶
func (x *ObjectAndRelation) String() string
func (*ObjectAndRelation) UnmarshalVT ¶ added in v0.8.0
func (m *ObjectAndRelation) UnmarshalVT(dAtA []byte) error
func (*ObjectAndRelation) Validate ¶
func (m *ObjectAndRelation) Validate() error
Validate checks the field values on ObjectAndRelation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ObjectAndRelation) ValidateAll ¶ added in v0.6.0
func (m *ObjectAndRelation) ValidateAll() error
ValidateAll checks the field values on ObjectAndRelation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ObjectAndRelationMultiError, or nil if none found.
type ObjectAndRelationMultiError ¶ added in v0.6.0
type ObjectAndRelationMultiError []error
ObjectAndRelationMultiError is an error wrapping multiple validation errors returned by ObjectAndRelation.ValidateAll() if the designated constraints aren't met.
func (ObjectAndRelationMultiError) AllErrors ¶ added in v0.6.0
func (m ObjectAndRelationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectAndRelationMultiError) Error ¶ added in v0.6.0
func (m ObjectAndRelationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectAndRelationValidationError ¶
type ObjectAndRelationValidationError struct {
// contains filtered or unexported fields
}
ObjectAndRelationValidationError is the validation error returned by ObjectAndRelation.Validate if the designated constraints aren't met.
func (ObjectAndRelationValidationError) Cause ¶
func (e ObjectAndRelationValidationError) Cause() error
Cause function returns cause value.
func (ObjectAndRelationValidationError) Error ¶
func (e ObjectAndRelationValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectAndRelationValidationError) ErrorName ¶
func (e ObjectAndRelationValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectAndRelationValidationError) Field ¶
func (e ObjectAndRelationValidationError) Field() string
Field function returns field value.
func (ObjectAndRelationValidationError) Key ¶
func (e ObjectAndRelationValidationError) Key() bool
Key function returns key value.
func (ObjectAndRelationValidationError) Reason ¶
func (e ObjectAndRelationValidationError) Reason() string
Reason function returns reason value.
type RelationReference ¶
type RelationReference struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
// contains filtered or unexported fields
}
func (*RelationReference) CloneMessageVT ¶ added in v0.9.0
func (m *RelationReference) CloneMessageVT() proto.Message
func (*RelationReference) CloneVT ¶ added in v0.8.0
func (m *RelationReference) CloneVT() *RelationReference
func (*RelationReference) Descriptor
deprecated
func (*RelationReference) Descriptor() ([]byte, []int)
Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.
func (*RelationReference) EqualMessageVT ¶ added in v0.11.0
func (this *RelationReference) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationReference) EqualVT ¶ added in v0.11.0
func (this *RelationReference) EqualVT(that *RelationReference) bool
func (*RelationReference) GetNamespace ¶
func (x *RelationReference) GetNamespace() string
func (*RelationReference) GetRelation ¶
func (x *RelationReference) GetRelation() string
func (*RelationReference) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *RelationReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationReference) MarshalToVT ¶ added in v0.8.0
func (m *RelationReference) MarshalToVT(dAtA []byte) (int, error)
func (*RelationReference) MarshalVT ¶ added in v0.8.0
func (m *RelationReference) MarshalVT() (dAtA []byte, err error)
func (*RelationReference) ProtoMessage ¶
func (*RelationReference) ProtoMessage()
func (*RelationReference) ProtoReflect ¶
func (x *RelationReference) ProtoReflect() protoreflect.Message
func (*RelationReference) Reset ¶
func (x *RelationReference) Reset()
func (*RelationReference) SizeVT ¶ added in v0.8.0
func (m *RelationReference) SizeVT() (n int)
func (*RelationReference) String ¶
func (x *RelationReference) String() string
func (*RelationReference) UnmarshalVT ¶ added in v0.8.0
func (m *RelationReference) UnmarshalVT(dAtA []byte) error
func (*RelationReference) Validate ¶
func (m *RelationReference) Validate() error
Validate checks the field values on RelationReference with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationReference) ValidateAll ¶ added in v0.6.0
func (m *RelationReference) ValidateAll() error
ValidateAll checks the field values on RelationReference with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationReferenceMultiError, or nil if none found.
type RelationReferenceMultiError ¶ added in v0.6.0
type RelationReferenceMultiError []error
RelationReferenceMultiError is an error wrapping multiple validation errors returned by RelationReference.ValidateAll() if the designated constraints aren't met.
func (RelationReferenceMultiError) AllErrors ¶ added in v0.6.0
func (m RelationReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationReferenceMultiError) Error ¶ added in v0.6.0
func (m RelationReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationReferenceValidationError ¶
type RelationReferenceValidationError struct {
// contains filtered or unexported fields
}
RelationReferenceValidationError is the validation error returned by RelationReference.Validate if the designated constraints aren't met.
func (RelationReferenceValidationError) Cause ¶
func (e RelationReferenceValidationError) Cause() error
Cause function returns cause value.
func (RelationReferenceValidationError) Error ¶
func (e RelationReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (RelationReferenceValidationError) ErrorName ¶
func (e RelationReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (RelationReferenceValidationError) Field ¶
func (e RelationReferenceValidationError) Field() string
Field function returns field value.
func (RelationReferenceValidationError) Key ¶
func (e RelationReferenceValidationError) Key() bool
Key function returns key value.
func (RelationReferenceValidationError) Reason ¶
func (e RelationReferenceValidationError) Reason() string
Reason function returns reason value.
type RelationTuple ¶
type RelationTuple struct {
// Each tupleset specifies keys of a set of relation tuples. The set can
// include a single tuple key, or all tuples with a given object ID or
// userset in a namespace, optionally constrained by a relation name.
//
// examples:
// doc:readme#viewer@group:eng#member (fully specified)
// doc:*#*#group:eng#member (all tuples that this userset relates to)
// doc:12345#*#* (all tuples with a direct relationship to a document)
// doc:12345#writer#* (all tuples with direct write relationship with the
// document) doc:#writer#group:eng#member (all tuples that eng group has write
// relationship)
ObjectAndRelation *ObjectAndRelation `protobuf:"bytes,1,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*RelationTuple) CloneMessageVT ¶ added in v0.9.0
func (m *RelationTuple) CloneMessageVT() proto.Message
func (*RelationTuple) CloneVT ¶ added in v0.8.0
func (m *RelationTuple) CloneVT() *RelationTuple
func (*RelationTuple) Descriptor
deprecated
func (*RelationTuple) Descriptor() ([]byte, []int)
Deprecated: Use RelationTuple.ProtoReflect.Descriptor instead.
func (*RelationTuple) EqualMessageVT ¶ added in v0.11.0
func (this *RelationTuple) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationTuple) EqualVT ¶ added in v0.11.0
func (this *RelationTuple) EqualVT(that *RelationTuple) bool
func (*RelationTuple) GetObjectAndRelation ¶
func (x *RelationTuple) GetObjectAndRelation() *ObjectAndRelation
func (*RelationTuple) GetUser ¶
func (x *RelationTuple) GetUser() *User
func (*RelationTuple) HandwrittenValidate ¶ added in v0.4.0
func (m *RelationTuple) HandwrittenValidate() error
func (*RelationTuple) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *RelationTuple) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationTuple) MarshalToVT ¶ added in v0.8.0
func (m *RelationTuple) MarshalToVT(dAtA []byte) (int, error)
func (*RelationTuple) MarshalVT ¶ added in v0.8.0
func (m *RelationTuple) MarshalVT() (dAtA []byte, err error)
func (*RelationTuple) ProtoMessage ¶
func (*RelationTuple) ProtoMessage()
func (*RelationTuple) ProtoReflect ¶
func (x *RelationTuple) ProtoReflect() protoreflect.Message
func (*RelationTuple) Reset ¶
func (x *RelationTuple) Reset()
func (*RelationTuple) SizeVT ¶ added in v0.8.0
func (m *RelationTuple) SizeVT() (n int)
func (*RelationTuple) String ¶
func (x *RelationTuple) String() string
func (*RelationTuple) UnmarshalVT ¶ added in v0.8.0
func (m *RelationTuple) UnmarshalVT(dAtA []byte) error
func (*RelationTuple) Validate ¶
func (m *RelationTuple) Validate() error
Validate checks the field values on RelationTuple with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationTuple) ValidateAll ¶ added in v0.6.0
func (m *RelationTuple) ValidateAll() error
ValidateAll checks the field values on RelationTuple with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationTupleMultiError, or nil if none found.
type RelationTupleMultiError ¶ added in v0.6.0
type RelationTupleMultiError []error
RelationTupleMultiError is an error wrapping multiple validation errors returned by RelationTuple.ValidateAll() if the designated constraints aren't met.
func (RelationTupleMultiError) AllErrors ¶ added in v0.6.0
func (m RelationTupleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationTupleMultiError) Error ¶ added in v0.6.0
func (m RelationTupleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationTupleValidationError ¶
type RelationTupleValidationError struct {
// contains filtered or unexported fields
}
RelationTupleValidationError is the validation error returned by RelationTuple.Validate if the designated constraints aren't met.
func (RelationTupleValidationError) Cause ¶
func (e RelationTupleValidationError) Cause() error
Cause function returns cause value.
func (RelationTupleValidationError) Error ¶
func (e RelationTupleValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTupleValidationError) ErrorName ¶
func (e RelationTupleValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTupleValidationError) Field ¶
func (e RelationTupleValidationError) Field() string
Field function returns field value.
func (RelationTupleValidationError) Key ¶
func (e RelationTupleValidationError) Key() bool
Key function returns key value.
func (RelationTupleValidationError) Reason ¶
func (e RelationTupleValidationError) Reason() string
Reason function returns reason value.
type ShareRequest ¶
type ShareRequest struct {
// contains filtered or unexported fields
}
func (*ShareRequest) CloneMessageVT ¶ added in v0.9.0
func (m *ShareRequest) CloneMessageVT() proto.Message
func (*ShareRequest) CloneVT ¶ added in v0.8.0
func (m *ShareRequest) CloneVT() *ShareRequest
func (*ShareRequest) Descriptor
deprecated
func (*ShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareRequest.ProtoReflect.Descriptor instead.
func (*ShareRequest) EqualMessageVT ¶ added in v0.11.0
func (this *ShareRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ShareRequest) EqualVT ¶ added in v0.11.0
func (this *ShareRequest) EqualVT(that *ShareRequest) bool
func (*ShareRequest) GetAssertionsYaml ¶
func (x *ShareRequest) GetAssertionsYaml() string
func (*ShareRequest) GetRelationshipsYaml ¶
func (x *ShareRequest) GetRelationshipsYaml() string
func (*ShareRequest) GetSchema ¶
func (x *ShareRequest) GetSchema() string
func (*ShareRequest) GetValidationYaml ¶
func (x *ShareRequest) GetValidationYaml() string
func (*ShareRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ShareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShareRequest) MarshalToVT ¶ added in v0.8.0
func (m *ShareRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ShareRequest) MarshalVT ¶ added in v0.8.0
func (m *ShareRequest) MarshalVT() (dAtA []byte, err error)
func (*ShareRequest) ProtoMessage ¶
func (*ShareRequest) ProtoMessage()
func (*ShareRequest) ProtoReflect ¶
func (x *ShareRequest) ProtoReflect() protoreflect.Message
func (*ShareRequest) Reset ¶
func (x *ShareRequest) Reset()
func (*ShareRequest) SizeVT ¶ added in v0.8.0
func (m *ShareRequest) SizeVT() (n int)
func (*ShareRequest) String ¶
func (x *ShareRequest) String() string
func (*ShareRequest) UnmarshalVT ¶ added in v0.8.0
func (m *ShareRequest) UnmarshalVT(dAtA []byte) error
func (*ShareRequest) Validate ¶
func (m *ShareRequest) Validate() error
Validate checks the field values on ShareRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ShareRequest) ValidateAll ¶ added in v0.6.0
func (m *ShareRequest) ValidateAll() error
ValidateAll checks the field values on ShareRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ShareRequestMultiError, or nil if none found.
type ShareRequestMultiError ¶ added in v0.6.0
type ShareRequestMultiError []error
ShareRequestMultiError is an error wrapping multiple validation errors returned by ShareRequest.ValidateAll() if the designated constraints aren't met.
func (ShareRequestMultiError) AllErrors ¶ added in v0.6.0
func (m ShareRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShareRequestMultiError) Error ¶ added in v0.6.0
func (m ShareRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShareRequestValidationError ¶
type ShareRequestValidationError struct {
// contains filtered or unexported fields
}
ShareRequestValidationError is the validation error returned by ShareRequest.Validate if the designated constraints aren't met.
func (ShareRequestValidationError) Cause ¶
func (e ShareRequestValidationError) Cause() error
Cause function returns cause value.
func (ShareRequestValidationError) Error ¶
func (e ShareRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ShareRequestValidationError) ErrorName ¶
func (e ShareRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ShareRequestValidationError) Field ¶
func (e ShareRequestValidationError) Field() string
Field function returns field value.
func (ShareRequestValidationError) Key ¶
func (e ShareRequestValidationError) Key() bool
Key function returns key value.
func (ShareRequestValidationError) Reason ¶
func (e ShareRequestValidationError) Reason() string
Reason function returns reason value.
type ShareResponse ¶
type ShareResponse struct {
// contains filtered or unexported fields
}
func (*ShareResponse) CloneMessageVT ¶ added in v0.9.0
func (m *ShareResponse) CloneMessageVT() proto.Message
func (*ShareResponse) CloneVT ¶ added in v0.8.0
func (m *ShareResponse) CloneVT() *ShareResponse
func (*ShareResponse) Descriptor
deprecated
func (*ShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareResponse.ProtoReflect.Descriptor instead.
func (*ShareResponse) EqualMessageVT ¶ added in v0.11.0
func (this *ShareResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ShareResponse) EqualVT ¶ added in v0.11.0
func (this *ShareResponse) EqualVT(that *ShareResponse) bool
func (*ShareResponse) GetShareReference ¶
func (x *ShareResponse) GetShareReference() string
func (*ShareResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ShareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShareResponse) MarshalToVT ¶ added in v0.8.0
func (m *ShareResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ShareResponse) MarshalVT ¶ added in v0.8.0
func (m *ShareResponse) MarshalVT() (dAtA []byte, err error)
func (*ShareResponse) ProtoMessage ¶
func (*ShareResponse) ProtoMessage()
func (*ShareResponse) ProtoReflect ¶
func (x *ShareResponse) ProtoReflect() protoreflect.Message
func (*ShareResponse) Reset ¶
func (x *ShareResponse) Reset()
func (*ShareResponse) SizeVT ¶ added in v0.8.0
func (m *ShareResponse) SizeVT() (n int)
func (*ShareResponse) String ¶
func (x *ShareResponse) String() string
func (*ShareResponse) UnmarshalVT ¶ added in v0.8.0
func (m *ShareResponse) UnmarshalVT(dAtA []byte) error
func (*ShareResponse) Validate ¶
func (m *ShareResponse) Validate() error
Validate checks the field values on ShareResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ShareResponse) ValidateAll ¶ added in v0.6.0
func (m *ShareResponse) ValidateAll() error
ValidateAll checks the field values on ShareResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ShareResponseMultiError, or nil if none found.
type ShareResponseMultiError ¶ added in v0.6.0
type ShareResponseMultiError []error
ShareResponseMultiError is an error wrapping multiple validation errors returned by ShareResponse.ValidateAll() if the designated constraints aren't met.
func (ShareResponseMultiError) AllErrors ¶ added in v0.6.0
func (m ShareResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShareResponseMultiError) Error ¶ added in v0.6.0
func (m ShareResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShareResponseValidationError ¶
type ShareResponseValidationError struct {
// contains filtered or unexported fields
}
ShareResponseValidationError is the validation error returned by ShareResponse.Validate if the designated constraints aren't met.
func (ShareResponseValidationError) Cause ¶
func (e ShareResponseValidationError) Cause() error
Cause function returns cause value.
func (ShareResponseValidationError) Error ¶
func (e ShareResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ShareResponseValidationError) ErrorName ¶
func (e ShareResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ShareResponseValidationError) Field ¶
func (e ShareResponseValidationError) Field() string
Field function returns field value.
func (ShareResponseValidationError) Key ¶
func (e ShareResponseValidationError) Key() bool
Key function returns key value.
func (ShareResponseValidationError) Reason ¶
func (e ShareResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDeveloperServiceServer ¶
type UnimplementedDeveloperServiceServer struct{}
UnimplementedDeveloperServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDeveloperServiceServer) LookupShared ¶
func (UnimplementedDeveloperServiceServer) LookupShared(context.Context, *LookupShareRequest) (*LookupShareResponse, error)
func (UnimplementedDeveloperServiceServer) Share ¶
func (UnimplementedDeveloperServiceServer) Share(context.Context, *ShareRequest) (*ShareResponse, error)
type UnsafeDeveloperServiceServer ¶
type UnsafeDeveloperServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeveloperServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeveloperServiceServer will result in compilation errors.
type User ¶
type User struct {
// Types that are valid to be assigned to UserOneof:
//
// *User_Userset
UserOneof isUser_UserOneof `protobuf_oneof:"user_oneof"`
// contains filtered or unexported fields
}
func (*User) CloneMessageVT ¶ added in v0.9.0
func (*User) Descriptor
deprecated
func (*User) EqualMessageVT ¶ added in v0.11.0
func (*User) GetUserOneof ¶
func (x *User) GetUserOneof() isUser_UserOneof
func (*User) GetUserset ¶
func (x *User) GetUserset() *ObjectAndRelation
func (*User) MarshalToSizedBufferVT ¶ added in v0.8.0
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) UnmarshalVT ¶ added in v0.8.0
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶ added in v0.6.0
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserMultiError ¶ added in v0.6.0
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶ added in v0.6.0
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶ added in v0.6.0
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type User_Userset ¶
type User_Userset struct {
Userset *ObjectAndRelation `protobuf:"bytes,2,opt,name=userset,proto3,oneof"`
}
func (*User_Userset) CloneVT ¶ added in v0.8.0
func (m *User_Userset) CloneVT() isUser_UserOneof
func (*User_Userset) EqualVT ¶ added in v0.11.0
func (this *User_Userset) EqualVT(thatIface isUser_UserOneof) bool
func (*User_Userset) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *User_Userset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*User_Userset) MarshalToVT ¶ added in v0.8.0
func (m *User_Userset) MarshalToVT(dAtA []byte) (int, error)
func (*User_Userset) SizeVT ¶ added in v0.8.0
func (m *User_Userset) SizeVT() (n int)