Documentation ¶
Index ¶
- Variables
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetDisplayName() string
- func (x *Commit) GetEmail() string
- func (x *Commit) GetMessage() string
- func (x *Commit) GetOid() string
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- func (m *Commit) Validate() error
- func (m *Commit) ValidateAll() error
- type CommitMultiError
- type CommitValidationError
- type CompareCommitsRequest
- func (*CompareCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompareCommitsRequest) GetBase() string
- func (x *CompareCommitsRequest) GetHead() string
- func (x *CompareCommitsRequest) GetRepository() string
- func (*CompareCommitsRequest) ProtoMessage()
- func (x *CompareCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *CompareCommitsRequest) Reset()
- func (x *CompareCommitsRequest) String() string
- func (m *CompareCommitsRequest) Validate() error
- func (m *CompareCommitsRequest) ValidateAll() error
- type CompareCommitsRequestMultiError
- type CompareCommitsRequestValidationError
- func (e CompareCommitsRequestValidationError) Cause() error
- func (e CompareCommitsRequestValidationError) Error() string
- func (e CompareCommitsRequestValidationError) ErrorName() string
- func (e CompareCommitsRequestValidationError) Field() string
- func (e CompareCommitsRequestValidationError) Key() bool
- func (e CompareCommitsRequestValidationError) Reason() string
- type CompareCommitsResponse
- func (*CompareCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompareCommitsResponse) GetCommits() []*Commit
- func (*CompareCommitsResponse) ProtoMessage()
- func (x *CompareCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *CompareCommitsResponse) Reset()
- func (x *CompareCommitsResponse) String() string
- func (m *CompareCommitsResponse) Validate() error
- func (m *CompareCommitsResponse) ValidateAll() error
- type CompareCommitsResponseMultiError
- type CompareCommitsResponseValidationError
- func (e CompareCommitsResponseValidationError) Cause() error
- func (e CompareCommitsResponseValidationError) Error() string
- func (e CompareCommitsResponseValidationError) ErrorName() string
- func (e CompareCommitsResponseValidationError) Field() string
- func (e CompareCommitsResponseValidationError) Key() bool
- func (e CompareCommitsResponseValidationError) Reason() string
- type GetQueryResultsCountRequest
- func (*GetQueryResultsCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetQueryResultsCountRequest) GetQuery() string
- func (*GetQueryResultsCountRequest) ProtoMessage()
- func (x *GetQueryResultsCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetQueryResultsCountRequest) Reset()
- func (x *GetQueryResultsCountRequest) String() string
- func (m *GetQueryResultsCountRequest) Validate() error
- func (m *GetQueryResultsCountRequest) ValidateAll() error
- type GetQueryResultsCountRequestMultiError
- type GetQueryResultsCountRequestValidationError
- func (e GetQueryResultsCountRequestValidationError) Cause() error
- func (e GetQueryResultsCountRequestValidationError) Error() string
- func (e GetQueryResultsCountRequestValidationError) ErrorName() string
- func (e GetQueryResultsCountRequestValidationError) Field() string
- func (e GetQueryResultsCountRequestValidationError) Key() bool
- func (e GetQueryResultsCountRequestValidationError) Reason() string
- type GetQueryResultsCountResponse
- func (*GetQueryResultsCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetQueryResultsCountResponse) GetCount() uint32
- func (*GetQueryResultsCountResponse) ProtoMessage()
- func (x *GetQueryResultsCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetQueryResultsCountResponse) Reset()
- func (x *GetQueryResultsCountResponse) String() string
- func (m *GetQueryResultsCountResponse) Validate() error
- func (m *GetQueryResultsCountResponse) ValidateAll() error
- type GetQueryResultsCountResponseMultiError
- type GetQueryResultsCountResponseValidationError
- func (e GetQueryResultsCountResponseValidationError) Cause() error
- func (e GetQueryResultsCountResponseValidationError) Error() string
- func (e GetQueryResultsCountResponseValidationError) ErrorName() string
- func (e GetQueryResultsCountResponseValidationError) Field() string
- func (e GetQueryResultsCountResponseValidationError) Key() bool
- func (e GetQueryResultsCountResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_sourcegraph_v1_sourcegraph_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) GetDisplayName ¶
func (*Commit) GetMessage ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
func (*Commit) Validate ¶
Validate checks the field values on Commit 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 (*Commit) ValidateAll ¶
ValidateAll checks the field values on Commit 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 CommitMultiError, or nil if none found.
type CommitMultiError ¶
type CommitMultiError []error
CommitMultiError is an error wrapping multiple validation errors returned by Commit.ValidateAll() if the designated constraints aren't met.
func (CommitMultiError) AllErrors ¶
func (m CommitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitMultiError) Error ¶
func (m CommitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitValidationError ¶
type CommitValidationError struct {
// contains filtered or unexported fields
}
CommitValidationError is the validation error returned by Commit.Validate if the designated constraints aren't met.
func (CommitValidationError) Cause ¶
func (e CommitValidationError) Cause() error
Cause function returns cause value.
func (CommitValidationError) Error ¶
func (e CommitValidationError) Error() string
Error satisfies the builtin error interface
func (CommitValidationError) ErrorName ¶
func (e CommitValidationError) ErrorName() string
ErrorName returns error name.
func (CommitValidationError) Field ¶
func (e CommitValidationError) Field() string
Field function returns field value.
func (CommitValidationError) Key ¶
func (e CommitValidationError) Key() bool
Key function returns key value.
func (CommitValidationError) Reason ¶
func (e CommitValidationError) Reason() string
Reason function returns reason value.
type CompareCommitsRequest ¶
type CompareCommitsRequest struct { Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` Head string `protobuf:"bytes,3,opt,name=head,proto3" json:"head,omitempty"` // contains filtered or unexported fields }
func (*CompareCommitsRequest) Descriptor
deprecated
func (*CompareCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompareCommitsRequest.ProtoReflect.Descriptor instead.
func (*CompareCommitsRequest) GetBase ¶
func (x *CompareCommitsRequest) GetBase() string
func (*CompareCommitsRequest) GetHead ¶
func (x *CompareCommitsRequest) GetHead() string
func (*CompareCommitsRequest) GetRepository ¶
func (x *CompareCommitsRequest) GetRepository() string
func (*CompareCommitsRequest) ProtoMessage ¶
func (*CompareCommitsRequest) ProtoMessage()
func (*CompareCommitsRequest) ProtoReflect ¶
func (x *CompareCommitsRequest) ProtoReflect() protoreflect.Message
func (*CompareCommitsRequest) Reset ¶
func (x *CompareCommitsRequest) Reset()
func (*CompareCommitsRequest) String ¶
func (x *CompareCommitsRequest) String() string
func (*CompareCommitsRequest) Validate ¶
func (m *CompareCommitsRequest) Validate() error
Validate checks the field values on CompareCommitsRequest 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 (*CompareCommitsRequest) ValidateAll ¶
func (m *CompareCommitsRequest) ValidateAll() error
ValidateAll checks the field values on CompareCommitsRequest 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 CompareCommitsRequestMultiError, or nil if none found.
type CompareCommitsRequestMultiError ¶
type CompareCommitsRequestMultiError []error
CompareCommitsRequestMultiError is an error wrapping multiple validation errors returned by CompareCommitsRequest.ValidateAll() if the designated constraints aren't met.
func (CompareCommitsRequestMultiError) AllErrors ¶
func (m CompareCommitsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompareCommitsRequestMultiError) Error ¶
func (m CompareCommitsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompareCommitsRequestValidationError ¶
type CompareCommitsRequestValidationError struct {
// contains filtered or unexported fields
}
CompareCommitsRequestValidationError is the validation error returned by CompareCommitsRequest.Validate if the designated constraints aren't met.
func (CompareCommitsRequestValidationError) Cause ¶
func (e CompareCommitsRequestValidationError) Cause() error
Cause function returns cause value.
func (CompareCommitsRequestValidationError) Error ¶
func (e CompareCommitsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CompareCommitsRequestValidationError) ErrorName ¶
func (e CompareCommitsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CompareCommitsRequestValidationError) Field ¶
func (e CompareCommitsRequestValidationError) Field() string
Field function returns field value.
func (CompareCommitsRequestValidationError) Key ¶
func (e CompareCommitsRequestValidationError) Key() bool
Key function returns key value.
func (CompareCommitsRequestValidationError) Reason ¶
func (e CompareCommitsRequestValidationError) Reason() string
Reason function returns reason value.
type CompareCommitsResponse ¶
type CompareCommitsResponse struct { Commits []*Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
func (*CompareCommitsResponse) Descriptor
deprecated
func (*CompareCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompareCommitsResponse.ProtoReflect.Descriptor instead.
func (*CompareCommitsResponse) GetCommits ¶
func (x *CompareCommitsResponse) GetCommits() []*Commit
func (*CompareCommitsResponse) ProtoMessage ¶
func (*CompareCommitsResponse) ProtoMessage()
func (*CompareCommitsResponse) ProtoReflect ¶
func (x *CompareCommitsResponse) ProtoReflect() protoreflect.Message
func (*CompareCommitsResponse) Reset ¶
func (x *CompareCommitsResponse) Reset()
func (*CompareCommitsResponse) String ¶
func (x *CompareCommitsResponse) String() string
func (*CompareCommitsResponse) Validate ¶
func (m *CompareCommitsResponse) Validate() error
Validate checks the field values on CompareCommitsResponse 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 (*CompareCommitsResponse) ValidateAll ¶
func (m *CompareCommitsResponse) ValidateAll() error
ValidateAll checks the field values on CompareCommitsResponse 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 CompareCommitsResponseMultiError, or nil if none found.
type CompareCommitsResponseMultiError ¶
type CompareCommitsResponseMultiError []error
CompareCommitsResponseMultiError is an error wrapping multiple validation errors returned by CompareCommitsResponse.ValidateAll() if the designated constraints aren't met.
func (CompareCommitsResponseMultiError) AllErrors ¶
func (m CompareCommitsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompareCommitsResponseMultiError) Error ¶
func (m CompareCommitsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompareCommitsResponseValidationError ¶
type CompareCommitsResponseValidationError struct {
// contains filtered or unexported fields
}
CompareCommitsResponseValidationError is the validation error returned by CompareCommitsResponse.Validate if the designated constraints aren't met.
func (CompareCommitsResponseValidationError) Cause ¶
func (e CompareCommitsResponseValidationError) Cause() error
Cause function returns cause value.
func (CompareCommitsResponseValidationError) Error ¶
func (e CompareCommitsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CompareCommitsResponseValidationError) ErrorName ¶
func (e CompareCommitsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CompareCommitsResponseValidationError) Field ¶
func (e CompareCommitsResponseValidationError) Field() string
Field function returns field value.
func (CompareCommitsResponseValidationError) Key ¶
func (e CompareCommitsResponseValidationError) Key() bool
Key function returns key value.
func (CompareCommitsResponseValidationError) Reason ¶
func (e CompareCommitsResponseValidationError) Reason() string
Reason function returns reason value.
type GetQueryResultsCountRequest ¶
type GetQueryResultsCountRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*GetQueryResultsCountRequest) Descriptor
deprecated
func (*GetQueryResultsCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQueryResultsCountRequest.ProtoReflect.Descriptor instead.
func (*GetQueryResultsCountRequest) GetQuery ¶
func (x *GetQueryResultsCountRequest) GetQuery() string
func (*GetQueryResultsCountRequest) ProtoMessage ¶
func (*GetQueryResultsCountRequest) ProtoMessage()
func (*GetQueryResultsCountRequest) ProtoReflect ¶
func (x *GetQueryResultsCountRequest) ProtoReflect() protoreflect.Message
func (*GetQueryResultsCountRequest) Reset ¶
func (x *GetQueryResultsCountRequest) Reset()
func (*GetQueryResultsCountRequest) String ¶
func (x *GetQueryResultsCountRequest) String() string
func (*GetQueryResultsCountRequest) Validate ¶
func (m *GetQueryResultsCountRequest) Validate() error
Validate checks the field values on GetQueryResultsCountRequest 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 (*GetQueryResultsCountRequest) ValidateAll ¶
func (m *GetQueryResultsCountRequest) ValidateAll() error
ValidateAll checks the field values on GetQueryResultsCountRequest 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 GetQueryResultsCountRequestMultiError, or nil if none found.
type GetQueryResultsCountRequestMultiError ¶
type GetQueryResultsCountRequestMultiError []error
GetQueryResultsCountRequestMultiError is an error wrapping multiple validation errors returned by GetQueryResultsCountRequest.ValidateAll() if the designated constraints aren't met.
func (GetQueryResultsCountRequestMultiError) AllErrors ¶
func (m GetQueryResultsCountRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetQueryResultsCountRequestMultiError) Error ¶
func (m GetQueryResultsCountRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetQueryResultsCountRequestValidationError ¶
type GetQueryResultsCountRequestValidationError struct {
// contains filtered or unexported fields
}
GetQueryResultsCountRequestValidationError is the validation error returned by GetQueryResultsCountRequest.Validate if the designated constraints aren't met.
func (GetQueryResultsCountRequestValidationError) Cause ¶
func (e GetQueryResultsCountRequestValidationError) Cause() error
Cause function returns cause value.
func (GetQueryResultsCountRequestValidationError) Error ¶
func (e GetQueryResultsCountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetQueryResultsCountRequestValidationError) ErrorName ¶
func (e GetQueryResultsCountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetQueryResultsCountRequestValidationError) Field ¶
func (e GetQueryResultsCountRequestValidationError) Field() string
Field function returns field value.
func (GetQueryResultsCountRequestValidationError) Key ¶
func (e GetQueryResultsCountRequestValidationError) Key() bool
Key function returns key value.
func (GetQueryResultsCountRequestValidationError) Reason ¶
func (e GetQueryResultsCountRequestValidationError) Reason() string
Reason function returns reason value.
type GetQueryResultsCountResponse ¶
type GetQueryResultsCountResponse struct { Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetQueryResultsCountResponse) Descriptor
deprecated
func (*GetQueryResultsCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetQueryResultsCountResponse.ProtoReflect.Descriptor instead.
func (*GetQueryResultsCountResponse) GetCount ¶
func (x *GetQueryResultsCountResponse) GetCount() uint32
func (*GetQueryResultsCountResponse) ProtoMessage ¶
func (*GetQueryResultsCountResponse) ProtoMessage()
func (*GetQueryResultsCountResponse) ProtoReflect ¶
func (x *GetQueryResultsCountResponse) ProtoReflect() protoreflect.Message
func (*GetQueryResultsCountResponse) Reset ¶
func (x *GetQueryResultsCountResponse) Reset()
func (*GetQueryResultsCountResponse) String ¶
func (x *GetQueryResultsCountResponse) String() string
func (*GetQueryResultsCountResponse) Validate ¶
func (m *GetQueryResultsCountResponse) Validate() error
Validate checks the field values on GetQueryResultsCountResponse 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 (*GetQueryResultsCountResponse) ValidateAll ¶
func (m *GetQueryResultsCountResponse) ValidateAll() error
ValidateAll checks the field values on GetQueryResultsCountResponse 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 GetQueryResultsCountResponseMultiError, or nil if none found.
type GetQueryResultsCountResponseMultiError ¶
type GetQueryResultsCountResponseMultiError []error
GetQueryResultsCountResponseMultiError is an error wrapping multiple validation errors returned by GetQueryResultsCountResponse.ValidateAll() if the designated constraints aren't met.
func (GetQueryResultsCountResponseMultiError) AllErrors ¶
func (m GetQueryResultsCountResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetQueryResultsCountResponseMultiError) Error ¶
func (m GetQueryResultsCountResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetQueryResultsCountResponseValidationError ¶
type GetQueryResultsCountResponseValidationError struct {
// contains filtered or unexported fields
}
GetQueryResultsCountResponseValidationError is the validation error returned by GetQueryResultsCountResponse.Validate if the designated constraints aren't met.
func (GetQueryResultsCountResponseValidationError) Cause ¶
func (e GetQueryResultsCountResponseValidationError) Cause() error
Cause function returns cause value.
func (GetQueryResultsCountResponseValidationError) Error ¶
func (e GetQueryResultsCountResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetQueryResultsCountResponseValidationError) ErrorName ¶
func (e GetQueryResultsCountResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetQueryResultsCountResponseValidationError) Field ¶
func (e GetQueryResultsCountResponseValidationError) Field() string
Field function returns field value.
func (GetQueryResultsCountResponseValidationError) Key ¶
func (e GetQueryResultsCountResponseValidationError) Key() bool
Key function returns key value.
func (GetQueryResultsCountResponseValidationError) Reason ¶
func (e GetQueryResultsCountResponseValidationError) Reason() string
Reason function returns reason value.