sourcegraphv1

package
v0.0.0-...-d96e350 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetDisplayName

func (x *Commit) GetDisplayName() string

func (*Commit) GetEmail

func (x *Commit) GetEmail() string

func (*Commit) GetMessage

func (x *Commit) GetMessage() string

func (*Commit) GetOid

func (x *Commit) GetOid() string

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

func (x *Commit) ProtoReflect() protoreflect.Message

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

func (*Commit) Validate

func (m *Commit) Validate() error

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

func (m *Commit) ValidateAll() error

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

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

Cause function returns cause value.

func (CompareCommitsRequestValidationError) Error

Error satisfies the builtin error interface

func (CompareCommitsRequestValidationError) ErrorName

ErrorName returns error name.

func (CompareCommitsRequestValidationError) Field

Field function returns field value.

func (CompareCommitsRequestValidationError) Key

Key function returns key value.

func (CompareCommitsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CompareCommitsResponseValidationError) Error

Error satisfies the builtin error interface

func (CompareCommitsResponseValidationError) ErrorName

ErrorName returns error name.

func (CompareCommitsResponseValidationError) Field

Field function returns field value.

func (CompareCommitsResponseValidationError) Key

Key function returns key value.

func (CompareCommitsResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GetQueryResultsCountRequestMultiError) Error

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

Cause function returns cause value.

func (GetQueryResultsCountRequestValidationError) Error

Error satisfies the builtin error interface

func (GetQueryResultsCountRequestValidationError) ErrorName

ErrorName returns error name.

func (GetQueryResultsCountRequestValidationError) Field

Field function returns field value.

func (GetQueryResultsCountRequestValidationError) Key

Key function returns key value.

func (GetQueryResultsCountRequestValidationError) Reason

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 (*GetQueryResultsCountResponse) Reset

func (x *GetQueryResultsCountResponse) Reset()

func (*GetQueryResultsCountResponse) 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

AllErrors returns a list of validation violation errors.

func (GetQueryResultsCountResponseMultiError) Error

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

Cause function returns cause value.

func (GetQueryResultsCountResponseValidationError) Error

Error satisfies the builtin error interface

func (GetQueryResultsCountResponseValidationError) ErrorName

ErrorName returns error name.

func (GetQueryResultsCountResponseValidationError) Field

Field function returns field value.

func (GetQueryResultsCountResponseValidationError) Key

Key function returns key value.

func (GetQueryResultsCountResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL