sourcegraphv1

package
v0.0.0-...-0f6a5af Latest Latest
Warning

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

Go to latest
Published: May 1, 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.

Jump to

Keyboard shortcuts

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