Documentation ¶
Index ¶
- Variables
- type AliasContext
- func (*AliasContext) Descriptor() ([]byte, []int)
- func (m *AliasContext) GetKind() AliasContext_Kind
- func (m *AliasContext) GetName() string
- func (*AliasContext) ProtoMessage()
- func (m *AliasContext) Reset()
- func (m *AliasContext) String() string
- func (m *AliasContext) XXX_DiscardUnknown()
- func (m *AliasContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AliasContext) XXX_Merge(src proto.Message)
- func (m *AliasContext) XXX_Size() int
- func (m *AliasContext) XXX_Unmarshal(b []byte) error
- type AliasContext_Kind
- type CloudRepoSourceContext
- func (*CloudRepoSourceContext) Descriptor() ([]byte, []int)
- func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext
- func (m *CloudRepoSourceContext) GetAliasName() string
- func (m *CloudRepoSourceContext) GetRepoId() *RepoId
- func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision
- func (m *CloudRepoSourceContext) GetRevisionId() string
- func (*CloudRepoSourceContext) ProtoMessage()
- func (m *CloudRepoSourceContext) Reset()
- func (m *CloudRepoSourceContext) String() string
- func (m *CloudRepoSourceContext) XXX_DiscardUnknown()
- func (m *CloudRepoSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloudRepoSourceContext) XXX_Merge(src proto.Message)
- func (*CloudRepoSourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *CloudRepoSourceContext) XXX_Size() int
- func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error
- type CloudRepoSourceContext_AliasContext
- type CloudRepoSourceContext_AliasName
- type CloudRepoSourceContext_RevisionId
- type CloudWorkspaceId
- func (*CloudWorkspaceId) Descriptor() ([]byte, []int)
- func (m *CloudWorkspaceId) GetName() string
- func (m *CloudWorkspaceId) GetRepoId() *RepoId
- func (*CloudWorkspaceId) ProtoMessage()
- func (m *CloudWorkspaceId) Reset()
- func (m *CloudWorkspaceId) String() string
- func (m *CloudWorkspaceId) XXX_DiscardUnknown()
- func (m *CloudWorkspaceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloudWorkspaceId) XXX_Merge(src proto.Message)
- func (m *CloudWorkspaceId) XXX_Size() int
- func (m *CloudWorkspaceId) XXX_Unmarshal(b []byte) error
- type CloudWorkspaceSourceContext
- func (*CloudWorkspaceSourceContext) Descriptor() ([]byte, []int)
- func (m *CloudWorkspaceSourceContext) GetSnapshotId() string
- func (m *CloudWorkspaceSourceContext) GetWorkspaceId() *CloudWorkspaceId
- func (*CloudWorkspaceSourceContext) ProtoMessage()
- func (m *CloudWorkspaceSourceContext) Reset()
- func (m *CloudWorkspaceSourceContext) String() string
- func (m *CloudWorkspaceSourceContext) XXX_DiscardUnknown()
- func (m *CloudWorkspaceSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloudWorkspaceSourceContext) XXX_Merge(src proto.Message)
- func (m *CloudWorkspaceSourceContext) XXX_Size() int
- func (m *CloudWorkspaceSourceContext) XXX_Unmarshal(b []byte) error
- type ExtendedSourceContext
- func (*ExtendedSourceContext) Descriptor() ([]byte, []int)
- func (m *ExtendedSourceContext) GetContext() *SourceContext
- func (m *ExtendedSourceContext) GetLabels() map[string]string
- func (*ExtendedSourceContext) ProtoMessage()
- func (m *ExtendedSourceContext) Reset()
- func (m *ExtendedSourceContext) String() string
- func (m *ExtendedSourceContext) XXX_DiscardUnknown()
- func (m *ExtendedSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendedSourceContext) XXX_Merge(src proto.Message)
- func (m *ExtendedSourceContext) XXX_Size() int
- func (m *ExtendedSourceContext) XXX_Unmarshal(b []byte) error
- type GerritSourceContext
- func (*GerritSourceContext) Descriptor() ([]byte, []int)
- func (m *GerritSourceContext) GetAliasContext() *AliasContext
- func (m *GerritSourceContext) GetAliasName() string
- func (m *GerritSourceContext) GetGerritProject() string
- func (m *GerritSourceContext) GetHostUri() string
- func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision
- func (m *GerritSourceContext) GetRevisionId() string
- func (*GerritSourceContext) ProtoMessage()
- func (m *GerritSourceContext) Reset()
- func (m *GerritSourceContext) String() string
- func (m *GerritSourceContext) XXX_DiscardUnknown()
- func (m *GerritSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GerritSourceContext) XXX_Merge(src proto.Message)
- func (*GerritSourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *GerritSourceContext) XXX_Size() int
- func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error
- type GerritSourceContext_AliasContext
- type GerritSourceContext_AliasName
- type GerritSourceContext_RevisionId
- type GitSourceContext
- func (*GitSourceContext) Descriptor() ([]byte, []int)
- func (m *GitSourceContext) GetRevisionId() string
- func (m *GitSourceContext) GetUrl() string
- func (*GitSourceContext) ProtoMessage()
- func (m *GitSourceContext) Reset()
- func (m *GitSourceContext) String() string
- func (m *GitSourceContext) XXX_DiscardUnknown()
- func (m *GitSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitSourceContext) XXX_Merge(src proto.Message)
- func (m *GitSourceContext) XXX_Size() int
- func (m *GitSourceContext) XXX_Unmarshal(b []byte) error
- type ProjectRepoId
- func (*ProjectRepoId) Descriptor() ([]byte, []int)
- func (m *ProjectRepoId) GetProjectId() string
- func (m *ProjectRepoId) GetRepoName() string
- func (*ProjectRepoId) ProtoMessage()
- func (m *ProjectRepoId) Reset()
- func (m *ProjectRepoId) String() string
- func (m *ProjectRepoId) XXX_DiscardUnknown()
- func (m *ProjectRepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectRepoId) XXX_Merge(src proto.Message)
- func (m *ProjectRepoId) XXX_Size() int
- func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error
- type RepoId
- func (*RepoId) Descriptor() ([]byte, []int)
- func (m *RepoId) GetId() isRepoId_Id
- func (m *RepoId) GetProjectRepoId() *ProjectRepoId
- func (m *RepoId) GetUid() string
- func (*RepoId) ProtoMessage()
- func (m *RepoId) Reset()
- func (m *RepoId) String() string
- func (m *RepoId) XXX_DiscardUnknown()
- func (m *RepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepoId) XXX_Merge(src proto.Message)
- func (*RepoId) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *RepoId) XXX_Size() int
- func (m *RepoId) XXX_Unmarshal(b []byte) error
- type RepoId_ProjectRepoId
- type RepoId_Uid
- type SourceContext
- func (*SourceContext) Descriptor() ([]byte, []int)
- func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext
- func (m *SourceContext) GetCloudWorkspace() *CloudWorkspaceSourceContext
- func (m *SourceContext) GetContext() isSourceContext_Context
- func (m *SourceContext) GetGerrit() *GerritSourceContext
- func (m *SourceContext) GetGit() *GitSourceContext
- func (*SourceContext) ProtoMessage()
- func (m *SourceContext) Reset()
- func (m *SourceContext) String() string
- func (m *SourceContext) XXX_DiscardUnknown()
- func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SourceContext) XXX_Merge(src proto.Message)
- func (*SourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *SourceContext) XXX_Size() int
- func (m *SourceContext) XXX_Unmarshal(b []byte) error
- type SourceContext_CloudRepo
- type SourceContext_CloudWorkspace
- type SourceContext_Gerrit
- type SourceContext_Git
Constants ¶
This section is empty.
Variables ¶
var AliasContext_Kind_name = map[int32]string{
0: "ANY",
1: "FIXED",
2: "MOVABLE",
4: "OTHER",
}
var AliasContext_Kind_value = map[string]int32{
"ANY": 0,
"FIXED": 1,
"MOVABLE": 2,
"OTHER": 4,
}
Functions ¶
This section is empty.
Types ¶
type AliasContext ¶
type AliasContext struct { // The alias kind. Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.devtools.source.v1.AliasContext_Kind" json:"kind,omitempty"` // The alias name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An alias to a repo revision.
func (*AliasContext) Descriptor ¶
func (*AliasContext) Descriptor() ([]byte, []int)
func (*AliasContext) GetKind ¶
func (m *AliasContext) GetKind() AliasContext_Kind
func (*AliasContext) GetName ¶
func (m *AliasContext) GetName() string
func (*AliasContext) ProtoMessage ¶
func (*AliasContext) ProtoMessage()
func (*AliasContext) Reset ¶
func (m *AliasContext) Reset()
func (*AliasContext) String ¶
func (m *AliasContext) String() string
func (*AliasContext) XXX_DiscardUnknown ¶
func (m *AliasContext) XXX_DiscardUnknown()
func (*AliasContext) XXX_Marshal ¶
func (m *AliasContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AliasContext) XXX_Merge ¶
func (m *AliasContext) XXX_Merge(src proto.Message)
func (*AliasContext) XXX_Size ¶
func (m *AliasContext) XXX_Size() int
func (*AliasContext) XXX_Unmarshal ¶
func (m *AliasContext) XXX_Unmarshal(b []byte) error
type AliasContext_Kind ¶
type AliasContext_Kind int32
The type of an Alias.
const ( // Do not use. AliasContext_ANY AliasContext_Kind = 0 // Git tag AliasContext_FIXED AliasContext_Kind = 1 // Git branch AliasContext_MOVABLE AliasContext_Kind = 2 // OTHER is used to specify non-standard aliases, those not of the kinds // above. For example, if a Git repo has a ref named "refs/foo/bar", it // is considered to be of kind OTHER. AliasContext_OTHER AliasContext_Kind = 4 )
func (AliasContext_Kind) EnumDescriptor ¶
func (AliasContext_Kind) EnumDescriptor() ([]byte, []int)
func (AliasContext_Kind) String ¶
func (x AliasContext_Kind) String() string
type CloudRepoSourceContext ¶
type CloudRepoSourceContext struct { // The ID of the repo. RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // A revision in a cloud repository can be identified by either its revision // ID or its Alias. // // Types that are valid to be assigned to Revision: // *CloudRepoSourceContext_RevisionId // *CloudRepoSourceContext_AliasName // *CloudRepoSourceContext_AliasContext Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform).
func (*CloudRepoSourceContext) Descriptor ¶
func (*CloudRepoSourceContext) Descriptor() ([]byte, []int)
func (*CloudRepoSourceContext) GetAliasContext ¶
func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext
func (*CloudRepoSourceContext) GetAliasName ¶
func (m *CloudRepoSourceContext) GetAliasName() string
func (*CloudRepoSourceContext) GetRepoId ¶
func (m *CloudRepoSourceContext) GetRepoId() *RepoId
func (*CloudRepoSourceContext) GetRevision ¶
func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision
func (*CloudRepoSourceContext) GetRevisionId ¶
func (m *CloudRepoSourceContext) GetRevisionId() string
func (*CloudRepoSourceContext) ProtoMessage ¶
func (*CloudRepoSourceContext) ProtoMessage()
func (*CloudRepoSourceContext) Reset ¶
func (m *CloudRepoSourceContext) Reset()
func (*CloudRepoSourceContext) String ¶
func (m *CloudRepoSourceContext) String() string
func (*CloudRepoSourceContext) XXX_DiscardUnknown ¶
func (m *CloudRepoSourceContext) XXX_DiscardUnknown()
func (*CloudRepoSourceContext) XXX_Marshal ¶
func (m *CloudRepoSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloudRepoSourceContext) XXX_Merge ¶
func (m *CloudRepoSourceContext) XXX_Merge(src proto.Message)
func (*CloudRepoSourceContext) XXX_OneofFuncs ¶
func (*CloudRepoSourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*CloudRepoSourceContext) XXX_Size ¶
func (m *CloudRepoSourceContext) XXX_Size() int
func (*CloudRepoSourceContext) XXX_Unmarshal ¶
func (m *CloudRepoSourceContext) XXX_Unmarshal(b []byte) error
type CloudRepoSourceContext_AliasContext ¶
type CloudRepoSourceContext_AliasContext struct {
AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}
type CloudRepoSourceContext_AliasName ¶
type CloudRepoSourceContext_AliasName struct {
AliasName string `protobuf:"bytes,3,opt,name=alias_name,json=aliasName,proto3,oneof"`
}
type CloudRepoSourceContext_RevisionId ¶
type CloudRepoSourceContext_RevisionId struct {
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3,oneof"`
}
type CloudWorkspaceId ¶
type CloudWorkspaceId struct { // The ID of the repo containing the workspace. RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // The unique name of the workspace within the repo. This is the name // chosen by the client in the Source API's CreateWorkspace method. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed.
func (*CloudWorkspaceId) Descriptor ¶
func (*CloudWorkspaceId) Descriptor() ([]byte, []int)
func (*CloudWorkspaceId) GetName ¶
func (m *CloudWorkspaceId) GetName() string
func (*CloudWorkspaceId) GetRepoId ¶
func (m *CloudWorkspaceId) GetRepoId() *RepoId
func (*CloudWorkspaceId) ProtoMessage ¶
func (*CloudWorkspaceId) ProtoMessage()
func (*CloudWorkspaceId) Reset ¶
func (m *CloudWorkspaceId) Reset()
func (*CloudWorkspaceId) String ¶
func (m *CloudWorkspaceId) String() string
func (*CloudWorkspaceId) XXX_DiscardUnknown ¶
func (m *CloudWorkspaceId) XXX_DiscardUnknown()
func (*CloudWorkspaceId) XXX_Marshal ¶
func (m *CloudWorkspaceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloudWorkspaceId) XXX_Merge ¶
func (m *CloudWorkspaceId) XXX_Merge(src proto.Message)
func (*CloudWorkspaceId) XXX_Size ¶
func (m *CloudWorkspaceId) XXX_Size() int
func (*CloudWorkspaceId) XXX_Unmarshal ¶
func (m *CloudWorkspaceId) XXX_Unmarshal(b []byte) error
type CloudWorkspaceSourceContext ¶
type CloudWorkspaceSourceContext struct { // The ID of the workspace. WorkspaceId *CloudWorkspaceId `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // The ID of the snapshot. // An empty snapshot_id refers to the most recent snapshot. SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
func (*CloudWorkspaceSourceContext) Descriptor ¶
func (*CloudWorkspaceSourceContext) Descriptor() ([]byte, []int)
func (*CloudWorkspaceSourceContext) GetSnapshotId ¶
func (m *CloudWorkspaceSourceContext) GetSnapshotId() string
func (*CloudWorkspaceSourceContext) GetWorkspaceId ¶
func (m *CloudWorkspaceSourceContext) GetWorkspaceId() *CloudWorkspaceId
func (*CloudWorkspaceSourceContext) ProtoMessage ¶
func (*CloudWorkspaceSourceContext) ProtoMessage()
func (*CloudWorkspaceSourceContext) Reset ¶
func (m *CloudWorkspaceSourceContext) Reset()
func (*CloudWorkspaceSourceContext) String ¶
func (m *CloudWorkspaceSourceContext) String() string
func (*CloudWorkspaceSourceContext) XXX_DiscardUnknown ¶
func (m *CloudWorkspaceSourceContext) XXX_DiscardUnknown()
func (*CloudWorkspaceSourceContext) XXX_Marshal ¶
func (m *CloudWorkspaceSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloudWorkspaceSourceContext) XXX_Merge ¶
func (m *CloudWorkspaceSourceContext) XXX_Merge(src proto.Message)
func (*CloudWorkspaceSourceContext) XXX_Size ¶
func (m *CloudWorkspaceSourceContext) XXX_Size() int
func (*CloudWorkspaceSourceContext) XXX_Unmarshal ¶
func (m *CloudWorkspaceSourceContext) XXX_Unmarshal(b []byte) error
type ExtendedSourceContext ¶
type ExtendedSourceContext struct { // Any source context. Context *SourceContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // Labels with user defined metadata. Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An ExtendedSourceContext is a SourceContext combined with additional details describing the context.
func (*ExtendedSourceContext) Descriptor ¶
func (*ExtendedSourceContext) Descriptor() ([]byte, []int)
func (*ExtendedSourceContext) GetContext ¶
func (m *ExtendedSourceContext) GetContext() *SourceContext
func (*ExtendedSourceContext) GetLabels ¶
func (m *ExtendedSourceContext) GetLabels() map[string]string
func (*ExtendedSourceContext) ProtoMessage ¶
func (*ExtendedSourceContext) ProtoMessage()
func (*ExtendedSourceContext) Reset ¶
func (m *ExtendedSourceContext) Reset()
func (*ExtendedSourceContext) String ¶
func (m *ExtendedSourceContext) String() string
func (*ExtendedSourceContext) XXX_DiscardUnknown ¶
func (m *ExtendedSourceContext) XXX_DiscardUnknown()
func (*ExtendedSourceContext) XXX_Marshal ¶
func (m *ExtendedSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendedSourceContext) XXX_Merge ¶
func (m *ExtendedSourceContext) XXX_Merge(src proto.Message)
func (*ExtendedSourceContext) XXX_Size ¶
func (m *ExtendedSourceContext) XXX_Size() int
func (*ExtendedSourceContext) XXX_Unmarshal ¶
func (m *ExtendedSourceContext) XXX_Unmarshal(b []byte) error
type GerritSourceContext ¶
type GerritSourceContext struct { // The URI of a running Gerrit instance. HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"` // The full project name within the host. Projects may be nested, so // "project/subproject" is a valid project name. // The "repo name" is hostURI/project. GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"` // A revision in a Gerrit project can be identified by either its revision ID // or its alias. // // Types that are valid to be assigned to Revision: // *GerritSourceContext_RevisionId // *GerritSourceContext_AliasName // *GerritSourceContext_AliasContext Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A SourceContext referring to a Gerrit project.
func (*GerritSourceContext) Descriptor ¶
func (*GerritSourceContext) Descriptor() ([]byte, []int)
func (*GerritSourceContext) GetAliasContext ¶
func (m *GerritSourceContext) GetAliasContext() *AliasContext
func (*GerritSourceContext) GetAliasName ¶
func (m *GerritSourceContext) GetAliasName() string
func (*GerritSourceContext) GetGerritProject ¶
func (m *GerritSourceContext) GetGerritProject() string
func (*GerritSourceContext) GetHostUri ¶
func (m *GerritSourceContext) GetHostUri() string
func (*GerritSourceContext) GetRevision ¶
func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision
func (*GerritSourceContext) GetRevisionId ¶
func (m *GerritSourceContext) GetRevisionId() string
func (*GerritSourceContext) ProtoMessage ¶
func (*GerritSourceContext) ProtoMessage()
func (*GerritSourceContext) Reset ¶
func (m *GerritSourceContext) Reset()
func (*GerritSourceContext) String ¶
func (m *GerritSourceContext) String() string
func (*GerritSourceContext) XXX_DiscardUnknown ¶
func (m *GerritSourceContext) XXX_DiscardUnknown()
func (*GerritSourceContext) XXX_Marshal ¶
func (m *GerritSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GerritSourceContext) XXX_Merge ¶
func (m *GerritSourceContext) XXX_Merge(src proto.Message)
func (*GerritSourceContext) XXX_OneofFuncs ¶
func (*GerritSourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*GerritSourceContext) XXX_Size ¶
func (m *GerritSourceContext) XXX_Size() int
func (*GerritSourceContext) XXX_Unmarshal ¶
func (m *GerritSourceContext) XXX_Unmarshal(b []byte) error
type GerritSourceContext_AliasContext ¶
type GerritSourceContext_AliasContext struct {
AliasContext *AliasContext `protobuf:"bytes,5,opt,name=alias_context,json=aliasContext,proto3,oneof"`
}
type GerritSourceContext_AliasName ¶
type GerritSourceContext_AliasName struct {
AliasName string `protobuf:"bytes,4,opt,name=alias_name,json=aliasName,proto3,oneof"`
}
type GerritSourceContext_RevisionId ¶
type GerritSourceContext_RevisionId struct {
RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3,oneof"`
}
type GitSourceContext ¶
type GitSourceContext struct { // Git repository URL. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Git commit hash. // required. RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).
func (*GitSourceContext) Descriptor ¶
func (*GitSourceContext) Descriptor() ([]byte, []int)
func (*GitSourceContext) GetRevisionId ¶
func (m *GitSourceContext) GetRevisionId() string
func (*GitSourceContext) GetUrl ¶
func (m *GitSourceContext) GetUrl() string
func (*GitSourceContext) ProtoMessage ¶
func (*GitSourceContext) ProtoMessage()
func (*GitSourceContext) Reset ¶
func (m *GitSourceContext) Reset()
func (*GitSourceContext) String ¶
func (m *GitSourceContext) String() string
func (*GitSourceContext) XXX_DiscardUnknown ¶
func (m *GitSourceContext) XXX_DiscardUnknown()
func (*GitSourceContext) XXX_Marshal ¶
func (m *GitSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GitSourceContext) XXX_Merge ¶
func (m *GitSourceContext) XXX_Merge(src proto.Message)
func (*GitSourceContext) XXX_Size ¶
func (m *GitSourceContext) XXX_Size() int
func (*GitSourceContext) XXX_Unmarshal ¶
func (m *GitSourceContext) XXX_Unmarshal(b []byte) error
type ProjectRepoId ¶
type ProjectRepoId struct { // The ID of the project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the repo. Leave empty for the default repo. RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project.
func (*ProjectRepoId) Descriptor ¶
func (*ProjectRepoId) Descriptor() ([]byte, []int)
func (*ProjectRepoId) GetProjectId ¶
func (m *ProjectRepoId) GetProjectId() string
func (*ProjectRepoId) GetRepoName ¶
func (m *ProjectRepoId) GetRepoName() string
func (*ProjectRepoId) ProtoMessage ¶
func (*ProjectRepoId) ProtoMessage()
func (*ProjectRepoId) Reset ¶
func (m *ProjectRepoId) Reset()
func (*ProjectRepoId) String ¶
func (m *ProjectRepoId) String() string
func (*ProjectRepoId) XXX_DiscardUnknown ¶
func (m *ProjectRepoId) XXX_DiscardUnknown()
func (*ProjectRepoId) XXX_Marshal ¶
func (m *ProjectRepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectRepoId) XXX_Merge ¶
func (m *ProjectRepoId) XXX_Merge(src proto.Message)
func (*ProjectRepoId) XXX_Size ¶
func (m *ProjectRepoId) XXX_Size() int
func (*ProjectRepoId) XXX_Unmarshal ¶
func (m *ProjectRepoId) XXX_Unmarshal(b []byte) error
type RepoId ¶
type RepoId struct { // A cloud repository can be identified by either its project ID and // repository name combination, or its globally unique identifier. // // Types that are valid to be assigned to Id: // *RepoId_ProjectRepoId // *RepoId_Uid Id isRepoId_Id `protobuf_oneof:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A unique identifier for a cloud repo.
func (*RepoId) Descriptor ¶
func (*RepoId) GetProjectRepoId ¶
func (m *RepoId) GetProjectRepoId() *ProjectRepoId
func (*RepoId) ProtoMessage ¶
func (*RepoId) ProtoMessage()
func (*RepoId) XXX_DiscardUnknown ¶
func (m *RepoId) XXX_DiscardUnknown()
func (*RepoId) XXX_Marshal ¶
func (*RepoId) XXX_OneofFuncs ¶
func (*RepoId) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*RepoId) XXX_Unmarshal ¶
type RepoId_ProjectRepoId ¶
type RepoId_ProjectRepoId struct {
ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,proto3,oneof"`
}
type RepoId_Uid ¶
type RepoId_Uid struct {
Uid string `protobuf:"bytes,2,opt,name=uid,proto3,oneof"`
}
type SourceContext ¶
type SourceContext struct { // A SourceContext can refer any one of the following types of repositories. // // Types that are valid to be assigned to Context: // *SourceContext_CloudRepo // *SourceContext_CloudWorkspace // *SourceContext_Gerrit // *SourceContext_Git Context isSourceContext_Context `protobuf_oneof:"context"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
func (*SourceContext) Descriptor ¶
func (*SourceContext) Descriptor() ([]byte, []int)
func (*SourceContext) GetCloudRepo ¶
func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext
func (*SourceContext) GetCloudWorkspace ¶
func (m *SourceContext) GetCloudWorkspace() *CloudWorkspaceSourceContext
func (*SourceContext) GetContext ¶
func (m *SourceContext) GetContext() isSourceContext_Context
func (*SourceContext) GetGerrit ¶
func (m *SourceContext) GetGerrit() *GerritSourceContext
func (*SourceContext) GetGit ¶
func (m *SourceContext) GetGit() *GitSourceContext
func (*SourceContext) ProtoMessage ¶
func (*SourceContext) ProtoMessage()
func (*SourceContext) Reset ¶
func (m *SourceContext) Reset()
func (*SourceContext) String ¶
func (m *SourceContext) String() string
func (*SourceContext) XXX_DiscardUnknown ¶
func (m *SourceContext) XXX_DiscardUnknown()
func (*SourceContext) XXX_Marshal ¶
func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourceContext) XXX_Merge ¶
func (m *SourceContext) XXX_Merge(src proto.Message)
func (*SourceContext) XXX_OneofFuncs ¶
func (*SourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*SourceContext) XXX_Size ¶
func (m *SourceContext) XXX_Size() int
func (*SourceContext) XXX_Unmarshal ¶
func (m *SourceContext) XXX_Unmarshal(b []byte) error
type SourceContext_CloudRepo ¶
type SourceContext_CloudRepo struct {
CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,proto3,oneof"`
}
type SourceContext_CloudWorkspace ¶
type SourceContext_CloudWorkspace struct {
CloudWorkspace *CloudWorkspaceSourceContext `protobuf:"bytes,2,opt,name=cloud_workspace,json=cloudWorkspace,proto3,oneof"`
}
type SourceContext_Gerrit ¶
type SourceContext_Gerrit struct {
Gerrit *GerritSourceContext `protobuf:"bytes,3,opt,name=gerrit,proto3,oneof"`
}
type SourceContext_Git ¶
type SourceContext_Git struct {
Git *GitSourceContext `protobuf:"bytes,6,opt,name=git,proto3,oneof"`
}