cloudbuild - ActiveState ActiveGo 1.8
...

Package cloudbuild

import "google.golang.org/genproto/googleapis/devtools/cloudbuild/v1"
Overview
Index

Overview ▾

Package cloudbuild is a generated protocol buffer package.

It is generated from these files:

google/devtools/cloudbuild/v1/cloudbuild.proto

It has these top-level messages:

StorageSource
RepoSource
Source
BuiltImage
BuildStep
Results
Build
BuildOperationMetadata
SourceProvenance
FileHashes
Hash
CreateBuildRequest
GetBuildRequest
ListBuildsRequest
ListBuildsResponse
CancelBuildRequest
BuildTrigger
CreateBuildTriggerRequest
GetBuildTriggerRequest
ListBuildTriggersRequest
ListBuildTriggersResponse
DeleteBuildTriggerRequest
UpdateBuildTriggerRequest
BuildOptions

Index ▾

Variables
func RegisterCloudBuildServer(s *grpc.Server, srv CloudBuildServer)
type Build
    func (*Build) Descriptor() ([]byte, []int)
    func (m *Build) GetBuildTriggerId() string
    func (m *Build) GetCreateTime() *google_protobuf4.Timestamp
    func (m *Build) GetFinishTime() *google_protobuf4.Timestamp
    func (m *Build) GetId() string
    func (m *Build) GetImages() []string
    func (m *Build) GetLogUrl() string
    func (m *Build) GetLogsBucket() string
    func (m *Build) GetOptions() *BuildOptions
    func (m *Build) GetProjectId() string
    func (m *Build) GetResults() *Results
    func (m *Build) GetSource() *Source
    func (m *Build) GetSourceProvenance() *SourceProvenance
    func (m *Build) GetStartTime() *google_protobuf4.Timestamp
    func (m *Build) GetStatus() Build_Status
    func (m *Build) GetStatusDetail() string
    func (m *Build) GetSteps() []*BuildStep
    func (m *Build) GetSubstitutions() map[string]string
    func (m *Build) GetTimeout() *google_protobuf3.Duration
    func (*Build) ProtoMessage()
    func (m *Build) Reset()
    func (m *Build) String() string
type BuildOperationMetadata
    func (*BuildOperationMetadata) Descriptor() ([]byte, []int)
    func (m *BuildOperationMetadata) GetBuild() *Build
    func (*BuildOperationMetadata) ProtoMessage()
    func (m *BuildOperationMetadata) Reset()
    func (m *BuildOperationMetadata) String() string
type BuildOptions
    func (*BuildOptions) Descriptor() ([]byte, []int)
    func (m *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption
    func (m *BuildOptions) GetSourceProvenanceHash() []Hash_HashType
    func (*BuildOptions) ProtoMessage()
    func (m *BuildOptions) Reset()
    func (m *BuildOptions) String() string
type BuildOptions_VerifyOption
    func (BuildOptions_VerifyOption) EnumDescriptor() ([]byte, []int)
    func (x BuildOptions_VerifyOption) String() string
type BuildStep
    func (*BuildStep) Descriptor() ([]byte, []int)
    func (m *BuildStep) GetArgs() []string
    func (m *BuildStep) GetDir() string
    func (m *BuildStep) GetEntrypoint() string
    func (m *BuildStep) GetEnv() []string
    func (m *BuildStep) GetId() string
    func (m *BuildStep) GetName() string
    func (m *BuildStep) GetWaitFor() []string
    func (*BuildStep) ProtoMessage()
    func (m *BuildStep) Reset()
    func (m *BuildStep) String() string
type BuildTrigger
    func (*BuildTrigger) Descriptor() ([]byte, []int)
    func (m *BuildTrigger) GetBuild() *Build
    func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate
    func (m *BuildTrigger) GetCreateTime() *google_protobuf4.Timestamp
    func (m *BuildTrigger) GetDescription() string
    func (m *BuildTrigger) GetDisabled() bool
    func (m *BuildTrigger) GetFilename() string
    func (m *BuildTrigger) GetId() string
    func (m *BuildTrigger) GetSubstitutions() map[string]string
    func (m *BuildTrigger) GetTriggerTemplate() *RepoSource
    func (*BuildTrigger) ProtoMessage()
    func (m *BuildTrigger) Reset()
    func (m *BuildTrigger) String() string
    func (*BuildTrigger) 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{})
type BuildTrigger_Build
type BuildTrigger_Filename
type Build_Status
    func (Build_Status) EnumDescriptor() ([]byte, []int)
    func (x Build_Status) String() string
type BuiltImage
    func (*BuiltImage) Descriptor() ([]byte, []int)
    func (m *BuiltImage) GetDigest() string
    func (m *BuiltImage) GetName() string
    func (*BuiltImage) ProtoMessage()
    func (m *BuiltImage) Reset()
    func (m *BuiltImage) String() string
type CancelBuildRequest
    func (*CancelBuildRequest) Descriptor() ([]byte, []int)
    func (m *CancelBuildRequest) GetId() string
    func (m *CancelBuildRequest) GetProjectId() string
    func (*CancelBuildRequest) ProtoMessage()
    func (m *CancelBuildRequest) Reset()
    func (m *CancelBuildRequest) String() string
type CloudBuildClient
    func NewCloudBuildClient(cc *grpc.ClientConn) CloudBuildClient
type CloudBuildServer
type CreateBuildRequest
    func (*CreateBuildRequest) Descriptor() ([]byte, []int)
    func (m *CreateBuildRequest) GetBuild() *Build
    func (m *CreateBuildRequest) GetProjectId() string
    func (*CreateBuildRequest) ProtoMessage()
    func (m *CreateBuildRequest) Reset()
    func (m *CreateBuildRequest) String() string
type CreateBuildTriggerRequest
    func (*CreateBuildTriggerRequest) Descriptor() ([]byte, []int)
    func (m *CreateBuildTriggerRequest) GetProjectId() string
    func (m *CreateBuildTriggerRequest) GetTrigger() *BuildTrigger
    func (*CreateBuildTriggerRequest) ProtoMessage()
    func (m *CreateBuildTriggerRequest) Reset()
    func (m *CreateBuildTriggerRequest) String() string
type DeleteBuildTriggerRequest
    func (*DeleteBuildTriggerRequest) Descriptor() ([]byte, []int)
    func (m *DeleteBuildTriggerRequest) GetProjectId() string
    func (m *DeleteBuildTriggerRequest) GetTriggerId() string
    func (*DeleteBuildTriggerRequest) ProtoMessage()
    func (m *DeleteBuildTriggerRequest) Reset()
    func (m *DeleteBuildTriggerRequest) String() string
type FileHashes
    func (*FileHashes) Descriptor() ([]byte, []int)
    func (m *FileHashes) GetFileHash() []*Hash
    func (*FileHashes) ProtoMessage()
    func (m *FileHashes) Reset()
    func (m *FileHashes) String() string
type GetBuildRequest
    func (*GetBuildRequest) Descriptor() ([]byte, []int)
    func (m *GetBuildRequest) GetId() string
    func (m *GetBuildRequest) GetProjectId() string
    func (*GetBuildRequest) ProtoMessage()
    func (m *GetBuildRequest) Reset()
    func (m *GetBuildRequest) String() string
type GetBuildTriggerRequest
    func (*GetBuildTriggerRequest) Descriptor() ([]byte, []int)
    func (m *GetBuildTriggerRequest) GetProjectId() string
    func (m *GetBuildTriggerRequest) GetTriggerId() string
    func (*GetBuildTriggerRequest) ProtoMessage()
    func (m *GetBuildTriggerRequest) Reset()
    func (m *GetBuildTriggerRequest) String() string
type Hash
    func (*Hash) Descriptor() ([]byte, []int)
    func (m *Hash) GetType() Hash_HashType
    func (m *Hash) GetValue() []byte
    func (*Hash) ProtoMessage()
    func (m *Hash) Reset()
    func (m *Hash) String() string
type Hash_HashType
    func (Hash_HashType) EnumDescriptor() ([]byte, []int)
    func (x Hash_HashType) String() string
type ListBuildTriggersRequest
    func (*ListBuildTriggersRequest) Descriptor() ([]byte, []int)
    func (m *ListBuildTriggersRequest) GetProjectId() string
    func (*ListBuildTriggersRequest) ProtoMessage()
    func (m *ListBuildTriggersRequest) Reset()
    func (m *ListBuildTriggersRequest) String() string
type ListBuildTriggersResponse
    func (*ListBuildTriggersResponse) Descriptor() ([]byte, []int)
    func (m *ListBuildTriggersResponse) GetTriggers() []*BuildTrigger
    func (*ListBuildTriggersResponse) ProtoMessage()
    func (m *ListBuildTriggersResponse) Reset()
    func (m *ListBuildTriggersResponse) String() string
type ListBuildsRequest
    func (*ListBuildsRequest) Descriptor() ([]byte, []int)
    func (m *ListBuildsRequest) GetFilter() string
    func (m *ListBuildsRequest) GetPageSize() int32
    func (m *ListBuildsRequest) GetPageToken() string
    func (m *ListBuildsRequest) GetProjectId() string
    func (*ListBuildsRequest) ProtoMessage()
    func (m *ListBuildsRequest) Reset()
    func (m *ListBuildsRequest) String() string
type ListBuildsResponse
    func (*ListBuildsResponse) Descriptor() ([]byte, []int)
    func (m *ListBuildsResponse) GetBuilds() []*Build
    func (m *ListBuildsResponse) GetNextPageToken() string
    func (*ListBuildsResponse) ProtoMessage()
    func (m *ListBuildsResponse) Reset()
    func (m *ListBuildsResponse) String() string
type RepoSource
    func (*RepoSource) Descriptor() ([]byte, []int)
    func (m *RepoSource) GetBranchName() string
    func (m *RepoSource) GetCommitSha() string
    func (m *RepoSource) GetProjectId() string
    func (m *RepoSource) GetRepoName() string
    func (m *RepoSource) GetRevision() isRepoSource_Revision
    func (m *RepoSource) GetTagName() string
    func (*RepoSource) ProtoMessage()
    func (m *RepoSource) Reset()
    func (m *RepoSource) String() string
    func (*RepoSource) 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{})
type RepoSource_BranchName
type RepoSource_CommitSha
type RepoSource_TagName
type Results
    func (*Results) Descriptor() ([]byte, []int)
    func (m *Results) GetBuildStepImages() []string
    func (m *Results) GetImages() []*BuiltImage
    func (*Results) ProtoMessage()
    func (m *Results) Reset()
    func (m *Results) String() string
type Source
    func (*Source) Descriptor() ([]byte, []int)
    func (m *Source) GetRepoSource() *RepoSource
    func (m *Source) GetSource() isSource_Source
    func (m *Source) GetStorageSource() *StorageSource
    func (*Source) ProtoMessage()
    func (m *Source) Reset()
    func (m *Source) String() string
    func (*Source) 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{})
type SourceProvenance
    func (*SourceProvenance) Descriptor() ([]byte, []int)
    func (m *SourceProvenance) GetFileHashes() map[string]*FileHashes
    func (m *SourceProvenance) GetResolvedRepoSource() *RepoSource
    func (m *SourceProvenance) GetResolvedStorageSource() *StorageSource
    func (*SourceProvenance) ProtoMessage()
    func (m *SourceProvenance) Reset()
    func (m *SourceProvenance) String() string
type Source_RepoSource
type Source_StorageSource
type StorageSource
    func (*StorageSource) Descriptor() ([]byte, []int)
    func (m *StorageSource) GetBucket() string
    func (m *StorageSource) GetGeneration() int64
    func (m *StorageSource) GetObject() string
    func (*StorageSource) ProtoMessage()
    func (m *StorageSource) Reset()
    func (m *StorageSource) String() string
type UpdateBuildTriggerRequest
    func (*UpdateBuildTriggerRequest) Descriptor() ([]byte, []int)
    func (m *UpdateBuildTriggerRequest) GetProjectId() string
    func (m *UpdateBuildTriggerRequest) GetTrigger() *BuildTrigger
    func (m *UpdateBuildTriggerRequest) GetTriggerId() string
    func (*UpdateBuildTriggerRequest) ProtoMessage()
    func (m *UpdateBuildTriggerRequest) Reset()
    func (m *UpdateBuildTriggerRequest) String() string

Package files

cloudbuild.pb.go

Variables

var BuildOptions_VerifyOption_name = map[int32]string{
    0: "NOT_VERIFIED",
    1: "VERIFIED",
}
var BuildOptions_VerifyOption_value = map[string]int32{
    "NOT_VERIFIED": 0,
    "VERIFIED":     1,
}
var Build_Status_name = map[int32]string{
    0: "STATUS_UNKNOWN",
    1: "QUEUED",
    2: "WORKING",
    3: "SUCCESS",
    4: "FAILURE",
    5: "INTERNAL_ERROR",
    6: "TIMEOUT",
    7: "CANCELLED",
}
var Build_Status_value = map[string]int32{
    "STATUS_UNKNOWN": 0,
    "QUEUED":         1,
    "WORKING":        2,
    "SUCCESS":        3,
    "FAILURE":        4,
    "INTERNAL_ERROR": 5,
    "TIMEOUT":        6,
    "CANCELLED":      7,
}
var Hash_HashType_name = map[int32]string{
    0: "NONE",
    1: "SHA256",
}
var Hash_HashType_value = map[string]int32{
    "NONE":   0,
    "SHA256": 1,
}

func RegisterCloudBuildServer

func RegisterCloudBuildServer(s *grpc.Server, srv CloudBuildServer)

type Build

A build resource in the Container Builder API.

At a high level, a Build describes where to find source code, how to build it (for example, the builder image to run on the source), and what tag to apply to the built image when it is pushed to Google Container Registry.

Fields can include the following variables which will be expanded when the build is created:

- $PROJECT_ID: the project ID of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or

resolved from the specified branch or tag.
type Build struct {
    // Unique identifier of the build.
    // @OutputOnly
    Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
    // ID of the project.
    // @OutputOnly.
    ProjectId string `protobuf:"bytes,16,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // Status of the build.
    // @OutputOnly
    Status Build_Status `protobuf:"varint,2,opt,name=status,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"`
    // Customer-readable message about the current status.
    // @OutputOnly
    StatusDetail string `protobuf:"bytes,24,opt,name=status_detail,json=statusDetail" json:"status_detail,omitempty"`
    // Describes where to find the source files to build.
    Source *Source `protobuf:"bytes,3,opt,name=source" json:"source,omitempty"`
    // Describes the operations to be performed on the workspace.
    Steps []*BuildStep `protobuf:"bytes,11,rep,name=steps" json:"steps,omitempty"`
    // Results of the build.
    // @OutputOnly
    Results *Results `protobuf:"bytes,10,opt,name=results" json:"results,omitempty"`
    // Time at which the request to create the build was received.
    // @OutputOnly
    CreateTime *google_protobuf4.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
    // Time at which execution of the build was started.
    // @OutputOnly
    StartTime *google_protobuf4.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
    // Time at which execution of the build was finished.
    //
    // The difference between finish_time and start_time is the duration of the
    // build's execution.
    // @OutputOnly
    FinishTime *google_protobuf4.Timestamp `protobuf:"bytes,8,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"`
    // Amount of time that this build should be allowed to run, to second
    // granularity. If this amount of time elapses, work on the build will cease
    // and the build status will be TIMEOUT.
    //
    // Default time is ten minutes.
    Timeout *google_protobuf3.Duration `protobuf:"bytes,12,opt,name=timeout" json:"timeout,omitempty"`
    // A list of images to be pushed upon the successful completion of all build
    // steps.
    //
    // The images will be pushed using the builder service account's credentials.
    //
    // The digests of the pushed images will be stored in the Build resource's
    // results field.
    //
    // If any of the images fail to be pushed, the build is marked FAILURE.
    Images []string `protobuf:"bytes,13,rep,name=images" json:"images,omitempty"`
    // Google Cloud Storage bucket where logs should be written (see
    // [Bucket Name
    // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
    // Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
    LogsBucket string `protobuf:"bytes,19,opt,name=logs_bucket,json=logsBucket" json:"logs_bucket,omitempty"`
    // A permanent fixed identifier for source.
    // @OutputOnly
    SourceProvenance *SourceProvenance `protobuf:"bytes,21,opt,name=source_provenance,json=sourceProvenance" json:"source_provenance,omitempty"`
    // The ID of the BuildTrigger that triggered this build, if it was
    // triggered automatically.
    // @OutputOnly
    BuildTriggerId string `protobuf:"bytes,22,opt,name=build_trigger_id,json=buildTriggerId" json:"build_trigger_id,omitempty"`
    // Special options for this build.
    Options *BuildOptions `protobuf:"bytes,23,opt,name=options" json:"options,omitempty"`
    // URL to logs for this build in Google Cloud Logging.
    // @OutputOnly
    LogUrl string `protobuf:"bytes,25,opt,name=log_url,json=logUrl" json:"log_url,omitempty"`
    // Substitutions data for Build resource.
    Substitutions map[string]string `protobuf:"bytes,29,rep,name=substitutions" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}

func (*Build) Descriptor

func (*Build) Descriptor() ([]byte, []int)

func (*Build) GetBuildTriggerId

func (m *Build) GetBuildTriggerId() string

func (*Build) GetCreateTime

func (m *Build) GetCreateTime() *google_protobuf4.Timestamp

func (*Build) GetFinishTime

func (m *Build) GetFinishTime() *google_protobuf4.Timestamp

func (*Build) GetId

func (m *Build) GetId() string

func (*Build) GetImages

func (m *Build) GetImages() []string

func (*Build) GetLogUrl

func (m *Build) GetLogUrl() string

func (*Build) GetLogsBucket

func (m *Build) GetLogsBucket() string

func (*Build) GetOptions

func (m *Build) GetOptions() *BuildOptions

func (*Build) GetProjectId

func (m *Build) GetProjectId() string

func (*Build) GetResults

func (m *Build) GetResults() *Results

func (*Build) GetSource

func (m *Build) GetSource() *Source

func (*Build) GetSourceProvenance

func (m *Build) GetSourceProvenance() *SourceProvenance

func (*Build) GetStartTime

func (m *Build) GetStartTime() *google_protobuf4.Timestamp

func (*Build) GetStatus

func (m *Build) GetStatus() Build_Status

func (*Build) GetStatusDetail

func (m *Build) GetStatusDetail() string

func (*Build) GetSteps

func (m *Build) GetSteps() []*BuildStep

func (*Build) GetSubstitutions

func (m *Build) GetSubstitutions() map[string]string

func (*Build) GetTimeout

func (m *Build) GetTimeout() *google_protobuf3.Duration

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) Reset

func (m *Build) Reset()

func (*Build) String

func (m *Build) String() string

type BuildOperationMetadata

Metadata for build operations.

type BuildOperationMetadata struct {
    // The build that the operation is tracking.
    Build *Build `protobuf:"bytes,1,opt,name=build" json:"build,omitempty"`
}

func (*BuildOperationMetadata) Descriptor

func (*BuildOperationMetadata) Descriptor() ([]byte, []int)

func (*BuildOperationMetadata) GetBuild

func (m *BuildOperationMetadata) GetBuild() *Build

func (*BuildOperationMetadata) ProtoMessage

func (*BuildOperationMetadata) ProtoMessage()

func (*BuildOperationMetadata) Reset

func (m *BuildOperationMetadata) Reset()

func (*BuildOperationMetadata) String

func (m *BuildOperationMetadata) String() string

type BuildOptions

Optional arguments to enable specific features of builds.

type BuildOptions struct {
    // Requested hash for SourceProvenance.
    SourceProvenanceHash []Hash_HashType `protobuf:"varint,1,rep,packed,name=source_provenance_hash,json=sourceProvenanceHash,enum=google.devtools.cloudbuild.v1.Hash_HashType" json:"source_provenance_hash,omitempty"`
    // Requested verifiability options.
    RequestedVerifyOption BuildOptions_VerifyOption `protobuf:"varint,2,opt,name=requested_verify_option,json=requestedVerifyOption,enum=google.devtools.cloudbuild.v1.BuildOptions_VerifyOption" json:"requested_verify_option,omitempty"`
}

func (*BuildOptions) Descriptor

func (*BuildOptions) Descriptor() ([]byte, []int)

func (*BuildOptions) GetRequestedVerifyOption

func (m *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption

func (*BuildOptions) GetSourceProvenanceHash

func (m *BuildOptions) GetSourceProvenanceHash() []Hash_HashType

func (*BuildOptions) ProtoMessage

func (*BuildOptions) ProtoMessage()

func (*BuildOptions) Reset

func (m *BuildOptions) Reset()

func (*BuildOptions) String

func (m *BuildOptions) String() string

type BuildOptions_VerifyOption

Specifies the manner in which the build should be verified, if at all.

type BuildOptions_VerifyOption int32
const (
    // Not a verifiable build. (default)
    BuildOptions_NOT_VERIFIED BuildOptions_VerifyOption = 0
    // Verified build.
    BuildOptions_VERIFIED BuildOptions_VerifyOption = 1
)

func (BuildOptions_VerifyOption) EnumDescriptor

func (BuildOptions_VerifyOption) EnumDescriptor() ([]byte, []int)

func (BuildOptions_VerifyOption) String

func (x BuildOptions_VerifyOption) String() string

type BuildStep

BuildStep describes a step to perform in the build pipeline.

type BuildStep struct {
    // The name of the container image that will run this particular build step.
    //
    // If the image is already available in the host's Docker daemon's cache, it
    // will be run directly. If not, the host will attempt to pull the image
    // first, using the builder service account's credentials if necessary.
    //
    // The Docker daemon's cache will already have the latest versions of all of
    // the officially supported build steps
    // (https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon
    // will also have cached many of the layers for some popular images, like
    // "ubuntu", "debian", but they will be refreshed at the time you attempt to
    // use them.
    //
    // If you built an image in a previous build step, it will be stored in the
    // host's Docker daemon's cache and is available to use as the name for a
    // later build step.
    Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    // A list of environment variable definitions to be used when running a step.
    //
    // The elements are of the form "KEY=VALUE" for the environment variable "KEY"
    // being given the value "VALUE".
    Env []string `protobuf:"bytes,2,rep,name=env" json:"env,omitempty"`
    // A list of arguments that will be presented to the step when it is started.
    //
    // If the image used to run the step's container has an entrypoint, these args
    // will be used as arguments to that entrypoint. If the image does not define
    // an entrypoint, the first element in args will be used as the entrypoint,
    // and the remainder will be used as arguments.
    Args []string `protobuf:"bytes,3,rep,name=args" json:"args,omitempty"`
    // Working directory (relative to project source root) to use when running
    // this operation's container.
    Dir string `protobuf:"bytes,4,opt,name=dir" json:"dir,omitempty"`
    // Optional unique identifier for this build step, used in wait_for to
    // reference this build step as a dependency.
    Id string `protobuf:"bytes,5,opt,name=id" json:"id,omitempty"`
    // The ID(s) of the step(s) that this build step depends on.
    // This build step will not start until all the build steps in wait_for
    // have completed successfully. If wait_for is empty, this build step will
    // start when all previous build steps in the Build.Steps list have completed
    // successfully.
    WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor" json:"wait_for,omitempty"`
    // Optional entrypoint to be used instead of the build step image's default
    // If unset, the image's default will be used.
    Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint" json:"entrypoint,omitempty"`
}

func (*BuildStep) Descriptor

func (*BuildStep) Descriptor() ([]byte, []int)

func (*BuildStep) GetArgs

func (m *BuildStep) GetArgs() []string

func (*BuildStep) GetDir

func (m *BuildStep) GetDir() string

func (*BuildStep) GetEntrypoint

func (m *BuildStep) GetEntrypoint() string

func (*BuildStep) GetEnv

func (m *BuildStep) GetEnv() []string

func (*BuildStep) GetId

func (m *BuildStep) GetId() string

func (*BuildStep) GetName

func (m *BuildStep) GetName() string

func (*BuildStep) GetWaitFor

func (m *BuildStep) GetWaitFor() []string

func (*BuildStep) ProtoMessage

func (*BuildStep) ProtoMessage()

func (*BuildStep) Reset

func (m *BuildStep) Reset()

func (*BuildStep) String

func (m *BuildStep) String() string

type BuildTrigger

Configuration for an automated build in response to source repository changes.

type BuildTrigger struct {
    // Unique identifier of the trigger.
    //
    // @OutputOnly
    Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
    // Human-readable description of this trigger.
    Description string `protobuf:"bytes,10,opt,name=description" json:"description,omitempty"`
    // Template describing the types of source changes to trigger a build.
    //
    // Branch and tag names in trigger templates are interpreted as regular
    // expressions. Any branch or tag change that matches that regular expression
    // will trigger a build.
    TriggerTemplate *RepoSource `protobuf:"bytes,7,opt,name=trigger_template,json=triggerTemplate" json:"trigger_template,omitempty"`
    // Template describing the Build request to make when the trigger is matched.
    //
    // Types that are valid to be assigned to BuildTemplate:
    //	*BuildTrigger_Build
    //	*BuildTrigger_Filename
    BuildTemplate isBuildTrigger_BuildTemplate `protobuf_oneof:"build_template"`
    // Time when the trigger was created.
    //
    // @OutputOnly
    CreateTime *google_protobuf4.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
    // If true, the trigger will never result in a build.
    Disabled bool `protobuf:"varint,9,opt,name=disabled" json:"disabled,omitempty"`
    // Substitutions data for Build resource.
    Substitutions map[string]string `protobuf:"bytes,11,rep,name=substitutions" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}

func (*BuildTrigger) Descriptor

func (*BuildTrigger) Descriptor() ([]byte, []int)

func (*BuildTrigger) GetBuild

func (m *BuildTrigger) GetBuild() *Build

func (*BuildTrigger) GetBuildTemplate

func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate

func (*BuildTrigger) GetCreateTime

func (m *BuildTrigger) GetCreateTime() *google_protobuf4.Timestamp

func (*BuildTrigger) GetDescription

func (m *BuildTrigger) GetDescription() string

func (*BuildTrigger) GetDisabled

func (m *BuildTrigger) GetDisabled() bool

func (*BuildTrigger) GetFilename

func (m *BuildTrigger) GetFilename() string

func (*BuildTrigger) GetId

func (m *BuildTrigger) GetId() string

func (*BuildTrigger) GetSubstitutions

func (m *BuildTrigger) GetSubstitutions() map[string]string

func (*BuildTrigger) GetTriggerTemplate

func (m *BuildTrigger) GetTriggerTemplate() *RepoSource

func (*BuildTrigger) ProtoMessage

func (*BuildTrigger) ProtoMessage()

func (*BuildTrigger) Reset

func (m *BuildTrigger) Reset()

func (*BuildTrigger) String

func (m *BuildTrigger) String() string

func (*BuildTrigger) XXX_OneofFuncs

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

type BuildTrigger_Build

type BuildTrigger_Build struct {
    Build *Build `protobuf:"bytes,4,opt,name=build,oneof"`
}

type BuildTrigger_Filename

type BuildTrigger_Filename struct {
    Filename string `protobuf:"bytes,8,opt,name=filename,oneof"`
}

type Build_Status

Possible status of a build.

type Build_Status int32
const (
    // Status of the build is unknown.
    Build_STATUS_UNKNOWN Build_Status = 0
    // Build is queued; work has not yet begun.
    Build_QUEUED Build_Status = 1
    // Build is being executed.
    Build_WORKING Build_Status = 2
    // Build finished successfully.
    Build_SUCCESS Build_Status = 3
    // Build failed to complete successfully.
    Build_FAILURE Build_Status = 4
    // Build failed due to an internal cause.
    Build_INTERNAL_ERROR Build_Status = 5
    // Build took longer than was allowed.
    Build_TIMEOUT Build_Status = 6
    // Build was canceled by a user.
    Build_CANCELLED Build_Status = 7
)

func (Build_Status) EnumDescriptor

func (Build_Status) EnumDescriptor() ([]byte, []int)

func (Build_Status) String

func (x Build_Status) String() string

type BuiltImage

BuiltImage describes an image built by the pipeline.

type BuiltImage struct {
    // Name used to push the container image to Google Container Registry, as
    // presented to `docker push`.
    Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    // Docker Registry 2.0 digest.
    Digest string `protobuf:"bytes,3,opt,name=digest" json:"digest,omitempty"`
}

func (*BuiltImage) Descriptor

func (*BuiltImage) Descriptor() ([]byte, []int)

func (*BuiltImage) GetDigest

func (m *BuiltImage) GetDigest() string

func (*BuiltImage) GetName

func (m *BuiltImage) GetName() string

func (*BuiltImage) ProtoMessage

func (*BuiltImage) ProtoMessage()

func (*BuiltImage) Reset

func (m *BuiltImage) Reset()

func (*BuiltImage) String

func (m *BuiltImage) String() string

type CancelBuildRequest

Request to cancel an ongoing build.

type CancelBuildRequest struct {
    // ID of the project.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // ID of the build.
    Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
}

func (*CancelBuildRequest) Descriptor

func (*CancelBuildRequest) Descriptor() ([]byte, []int)

func (*CancelBuildRequest) GetId

func (m *CancelBuildRequest) GetId() string

func (*CancelBuildRequest) GetProjectId

func (m *CancelBuildRequest) GetProjectId() string

func (*CancelBuildRequest) ProtoMessage

func (*CancelBuildRequest) ProtoMessage()

func (*CancelBuildRequest) Reset

func (m *CancelBuildRequest) Reset()

func (*CancelBuildRequest) String

func (m *CancelBuildRequest) String() string

type CloudBuildClient

type CloudBuildClient interface {
    // Starts a build with the specified configuration.
    //
    // The long-running Operation returned by this method will include the ID of
    // the build, which can be passed to GetBuild to determine its status (e.g.,
    // success or failure).
    CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
    // Returns information about a previously requested build.
    //
    // The Build that is returned includes its status (e.g., success or failure,
    // or in-progress), and timing information.
    GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error)
    // Lists previously requested builds.
    //
    // Previously requested builds may still be in-progress, or may have finished
    // successfully or unsuccessfully.
    ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error)
    // Cancels a requested build in progress.
    CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error)
    // Creates a new BuildTrigger.
    //
    // This API is experimental.
    CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
    // Gets information about a BuildTrigger.
    //
    // This API is experimental.
    GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
    // Lists existing BuildTrigger.
    //
    // This API is experimental.
    ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error)
    // Deletes an BuildTrigger by its project ID and trigger ID.
    //
    // This API is experimental.
    DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
    // Updates an BuildTrigger by its project ID and trigger ID.
    //
    // This API is experimental.
    UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
}

func NewCloudBuildClient

func NewCloudBuildClient(cc *grpc.ClientConn) CloudBuildClient

type CloudBuildServer

type CloudBuildServer interface {
    // Starts a build with the specified configuration.
    //
    // The long-running Operation returned by this method will include the ID of
    // the build, which can be passed to GetBuild to determine its status (e.g.,
    // success or failure).
    CreateBuild(context.Context, *CreateBuildRequest) (*google_longrunning.Operation, error)
    // Returns information about a previously requested build.
    //
    // The Build that is returned includes its status (e.g., success or failure,
    // or in-progress), and timing information.
    GetBuild(context.Context, *GetBuildRequest) (*Build, error)
    // Lists previously requested builds.
    //
    // Previously requested builds may still be in-progress, or may have finished
    // successfully or unsuccessfully.
    ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error)
    // Cancels a requested build in progress.
    CancelBuild(context.Context, *CancelBuildRequest) (*Build, error)
    // Creates a new BuildTrigger.
    //
    // This API is experimental.
    CreateBuildTrigger(context.Context, *CreateBuildTriggerRequest) (*BuildTrigger, error)
    // Gets information about a BuildTrigger.
    //
    // This API is experimental.
    GetBuildTrigger(context.Context, *GetBuildTriggerRequest) (*BuildTrigger, error)
    // Lists existing BuildTrigger.
    //
    // This API is experimental.
    ListBuildTriggers(context.Context, *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error)
    // Deletes an BuildTrigger by its project ID and trigger ID.
    //
    // This API is experimental.
    DeleteBuildTrigger(context.Context, *DeleteBuildTriggerRequest) (*google_protobuf2.Empty, error)
    // Updates an BuildTrigger by its project ID and trigger ID.
    //
    // This API is experimental.
    UpdateBuildTrigger(context.Context, *UpdateBuildTriggerRequest) (*BuildTrigger, error)
}

type CreateBuildRequest

Request to create a new build.

type CreateBuildRequest struct {
    // ID of the project.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // Build resource to create.
    Build *Build `protobuf:"bytes,2,opt,name=build" json:"build,omitempty"`
}

func (*CreateBuildRequest) Descriptor

func (*CreateBuildRequest) Descriptor() ([]byte, []int)

func (*CreateBuildRequest) GetBuild

func (m *CreateBuildRequest) GetBuild() *Build

func (*CreateBuildRequest) GetProjectId

func (m *CreateBuildRequest) GetProjectId() string

func (*CreateBuildRequest) ProtoMessage

func (*CreateBuildRequest) ProtoMessage()

func (*CreateBuildRequest) Reset

func (m *CreateBuildRequest) Reset()

func (*CreateBuildRequest) String

func (m *CreateBuildRequest) String() string

type CreateBuildTriggerRequest

Request to create a new BuildTrigger.

type CreateBuildTriggerRequest struct {
    // ID of the project for which to configure automatic builds.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // BuildTrigger to create.
    Trigger *BuildTrigger `protobuf:"bytes,2,opt,name=trigger" json:"trigger,omitempty"`
}

func (*CreateBuildTriggerRequest) Descriptor

func (*CreateBuildTriggerRequest) Descriptor() ([]byte, []int)

func (*CreateBuildTriggerRequest) GetProjectId

func (m *CreateBuildTriggerRequest) GetProjectId() string

func (*CreateBuildTriggerRequest) GetTrigger

func (m *CreateBuildTriggerRequest) GetTrigger() *BuildTrigger

func (*CreateBuildTriggerRequest) ProtoMessage

func (*CreateBuildTriggerRequest) ProtoMessage()

func (*CreateBuildTriggerRequest) Reset

func (m *CreateBuildTriggerRequest) Reset()

func (*CreateBuildTriggerRequest) String

func (m *CreateBuildTriggerRequest) String() string

type DeleteBuildTriggerRequest

Request to delete a BuildTrigger.

type DeleteBuildTriggerRequest struct {
    // ID of the project that owns the trigger.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // ID of the BuildTrigger to delete.
    TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId" json:"trigger_id,omitempty"`
}

func (*DeleteBuildTriggerRequest) Descriptor

func (*DeleteBuildTriggerRequest) Descriptor() ([]byte, []int)

func (*DeleteBuildTriggerRequest) GetProjectId

func (m *DeleteBuildTriggerRequest) GetProjectId() string

func (*DeleteBuildTriggerRequest) GetTriggerId

func (m *DeleteBuildTriggerRequest) GetTriggerId() string

func (*DeleteBuildTriggerRequest) ProtoMessage

func (*DeleteBuildTriggerRequest) ProtoMessage()

func (*DeleteBuildTriggerRequest) Reset

func (m *DeleteBuildTriggerRequest) Reset()

func (*DeleteBuildTriggerRequest) String

func (m *DeleteBuildTriggerRequest) String() string

type FileHashes

Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.

type FileHashes struct {
    // Collection of file hashes.
    FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash" json:"file_hash,omitempty"`
}

func (*FileHashes) Descriptor

func (*FileHashes) Descriptor() ([]byte, []int)

func (*FileHashes) GetFileHash

func (m *FileHashes) GetFileHash() []*Hash

func (*FileHashes) ProtoMessage

func (*FileHashes) ProtoMessage()

func (*FileHashes) Reset

func (m *FileHashes) Reset()

func (*FileHashes) String

func (m *FileHashes) String() string

type GetBuildRequest

Request to get a build.

type GetBuildRequest struct {
    // ID of the project.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // ID of the build.
    Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
}

func (*GetBuildRequest) Descriptor

func (*GetBuildRequest) Descriptor() ([]byte, []int)

func (*GetBuildRequest) GetId

func (m *GetBuildRequest) GetId() string

func (*GetBuildRequest) GetProjectId

func (m *GetBuildRequest) GetProjectId() string

func (*GetBuildRequest) ProtoMessage

func (*GetBuildRequest) ProtoMessage()

func (*GetBuildRequest) Reset

func (m *GetBuildRequest) Reset()

func (*GetBuildRequest) String

func (m *GetBuildRequest) String() string

type GetBuildTriggerRequest

Returns the BuildTrigger with the specified ID.

type GetBuildTriggerRequest struct {
    // ID of the project that owns the trigger.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // ID of the BuildTrigger to get.
    TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId" json:"trigger_id,omitempty"`
}

func (*GetBuildTriggerRequest) Descriptor

func (*GetBuildTriggerRequest) Descriptor() ([]byte, []int)

func (*GetBuildTriggerRequest) GetProjectId

func (m *GetBuildTriggerRequest) GetProjectId() string

func (*GetBuildTriggerRequest) GetTriggerId

func (m *GetBuildTriggerRequest) GetTriggerId() string

func (*GetBuildTriggerRequest) ProtoMessage

func (*GetBuildTriggerRequest) ProtoMessage()

func (*GetBuildTriggerRequest) Reset

func (m *GetBuildTriggerRequest) Reset()

func (*GetBuildTriggerRequest) String

func (m *GetBuildTriggerRequest) String() string

type Hash

Container message for hash values.

type Hash struct {
    // The type of hash that was performed.
    Type Hash_HashType `protobuf:"varint,1,opt,name=type,enum=google.devtools.cloudbuild.v1.Hash_HashType" json:"type,omitempty"`
    // The hash value.
    Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Hash) Descriptor

func (*Hash) Descriptor() ([]byte, []int)

func (*Hash) GetType

func (m *Hash) GetType() Hash_HashType

func (*Hash) GetValue

func (m *Hash) GetValue() []byte

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) Reset

func (m *Hash) Reset()

func (*Hash) String

func (m *Hash) String() string

type Hash_HashType

Specifies the hash algorithm, if any.

type Hash_HashType int32
const (
    // No hash requested.
    Hash_NONE Hash_HashType = 0
    // Use a sha256 hash.
    Hash_SHA256 Hash_HashType = 1
)

func (Hash_HashType) EnumDescriptor

func (Hash_HashType) EnumDescriptor() ([]byte, []int)

func (Hash_HashType) String

func (x Hash_HashType) String() string

type ListBuildTriggersRequest

Request to list existing BuildTriggers.

type ListBuildTriggersRequest struct {
    // ID of the project for which to list BuildTriggers.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
}

func (*ListBuildTriggersRequest) Descriptor

func (*ListBuildTriggersRequest) Descriptor() ([]byte, []int)

func (*ListBuildTriggersRequest) GetProjectId

func (m *ListBuildTriggersRequest) GetProjectId() string

func (*ListBuildTriggersRequest) ProtoMessage

func (*ListBuildTriggersRequest) ProtoMessage()

func (*ListBuildTriggersRequest) Reset

func (m *ListBuildTriggersRequest) Reset()

func (*ListBuildTriggersRequest) String

func (m *ListBuildTriggersRequest) String() string

type ListBuildTriggersResponse

Response containing existing BuildTriggers.

type ListBuildTriggersResponse struct {
    // BuildTriggers for the project, sorted by create_time descending.
    Triggers []*BuildTrigger `protobuf:"bytes,1,rep,name=triggers" json:"triggers,omitempty"`
}

func (*ListBuildTriggersResponse) Descriptor

func (*ListBuildTriggersResponse) Descriptor() ([]byte, []int)

func (*ListBuildTriggersResponse) GetTriggers

func (m *ListBuildTriggersResponse) GetTriggers() []*BuildTrigger

func (*ListBuildTriggersResponse) ProtoMessage

func (*ListBuildTriggersResponse) ProtoMessage()

func (*ListBuildTriggersResponse) Reset

func (m *ListBuildTriggersResponse) Reset()

func (*ListBuildTriggersResponse) String

func (m *ListBuildTriggersResponse) String() string

type ListBuildsRequest

Request to list builds.

type ListBuildsRequest struct {
    // ID of the project.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // Number of results to return in the list.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
    // Token to provide to skip to a particular spot in the list.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
    // The raw filter text to constrain the results.
    Filter string `protobuf:"bytes,8,opt,name=filter" json:"filter,omitempty"`
}

func (*ListBuildsRequest) Descriptor

func (*ListBuildsRequest) Descriptor() ([]byte, []int)

func (*ListBuildsRequest) GetFilter

func (m *ListBuildsRequest) GetFilter() string

func (*ListBuildsRequest) GetPageSize

func (m *ListBuildsRequest) GetPageSize() int32

func (*ListBuildsRequest) GetPageToken

func (m *ListBuildsRequest) GetPageToken() string

func (*ListBuildsRequest) GetProjectId

func (m *ListBuildsRequest) GetProjectId() string

func (*ListBuildsRequest) ProtoMessage

func (*ListBuildsRequest) ProtoMessage()

func (*ListBuildsRequest) Reset

func (m *ListBuildsRequest) Reset()

func (*ListBuildsRequest) String

func (m *ListBuildsRequest) String() string

type ListBuildsResponse

Response including listed builds.

type ListBuildsResponse struct {
    // Builds will be sorted by create_time, descending.
    Builds []*Build `protobuf:"bytes,1,rep,name=builds" json:"builds,omitempty"`
    // Token to receive the next page of results.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}

func (*ListBuildsResponse) Descriptor

func (*ListBuildsResponse) Descriptor() ([]byte, []int)

func (*ListBuildsResponse) GetBuilds

func (m *ListBuildsResponse) GetBuilds() []*Build

func (*ListBuildsResponse) GetNextPageToken

func (m *ListBuildsResponse) GetNextPageToken() string

func (*ListBuildsResponse) ProtoMessage

func (*ListBuildsResponse) ProtoMessage()

func (*ListBuildsResponse) Reset

func (m *ListBuildsResponse) Reset()

func (*ListBuildsResponse) String

func (m *ListBuildsResponse) String() string

type RepoSource

RepoSource describes the location of the source in a Google Cloud Source Repository.

type RepoSource struct {
    // ID of the project that owns the repo. If omitted, the project ID requesting
    // the build is assumed.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // Name of the repo. If omitted, the name "default" is assumed.
    RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName" json:"repo_name,omitempty"`
    // A revision within the source repository must be specified in
    // one of these ways.
    //
    // Types that are valid to be assigned to Revision:
    //	*RepoSource_BranchName
    //	*RepoSource_TagName
    //	*RepoSource_CommitSha
    Revision isRepoSource_Revision `protobuf_oneof:"revision"`
}

func (*RepoSource) Descriptor

func (*RepoSource) Descriptor() ([]byte, []int)

func (*RepoSource) GetBranchName

func (m *RepoSource) GetBranchName() string

func (*RepoSource) GetCommitSha

func (m *RepoSource) GetCommitSha() string

func (*RepoSource) GetProjectId

func (m *RepoSource) GetProjectId() string

func (*RepoSource) GetRepoName

func (m *RepoSource) GetRepoName() string

func (*RepoSource) GetRevision

func (m *RepoSource) GetRevision() isRepoSource_Revision

func (*RepoSource) GetTagName

func (m *RepoSource) GetTagName() string

func (*RepoSource) ProtoMessage

func (*RepoSource) ProtoMessage()

func (*RepoSource) Reset

func (m *RepoSource) Reset()

func (*RepoSource) String

func (m *RepoSource) String() string

func (*RepoSource) XXX_OneofFuncs

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

type RepoSource_BranchName

type RepoSource_BranchName struct {
    BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,oneof"`
}

type RepoSource_CommitSha

type RepoSource_CommitSha struct {
    CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,oneof"`
}

type RepoSource_TagName

type RepoSource_TagName struct {
    TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,oneof"`
}

type Results

Results describes the artifacts created by the build pipeline.

type Results struct {
    // Images that were built as a part of the build.
    Images []*BuiltImage `protobuf:"bytes,2,rep,name=images" json:"images,omitempty"`
    // List of build step digests, in order corresponding to build step indices.
    BuildStepImages []string `protobuf:"bytes,3,rep,name=build_step_images,json=buildStepImages" json:"build_step_images,omitempty"`
}

func (*Results) Descriptor

func (*Results) Descriptor() ([]byte, []int)

func (*Results) GetBuildStepImages

func (m *Results) GetBuildStepImages() []string

func (*Results) GetImages

func (m *Results) GetImages() []*BuiltImage

func (*Results) ProtoMessage

func (*Results) ProtoMessage()

func (*Results) Reset

func (m *Results) Reset()

func (*Results) String

func (m *Results) String() string

type Source

Source describes the location of the source in a supported storage service.

type Source struct {
    // Describes location of source.
    //
    // Types that are valid to be assigned to Source:
    //	*Source_StorageSource
    //	*Source_RepoSource
    Source isSource_Source `protobuf_oneof:"source"`
}

func (*Source) Descriptor

func (*Source) Descriptor() ([]byte, []int)

func (*Source) GetRepoSource

func (m *Source) GetRepoSource() *RepoSource

func (*Source) GetSource

func (m *Source) GetSource() isSource_Source

func (*Source) GetStorageSource

func (m *Source) GetStorageSource() *StorageSource

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) Reset

func (m *Source) Reset()

func (*Source) String

func (m *Source) String() string

func (*Source) XXX_OneofFuncs

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

type SourceProvenance

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

type SourceProvenance struct {
    // A copy of the build's source.storage_source, if exists, with any
    // generations resolved.
    ResolvedStorageSource *StorageSource `protobuf:"bytes,3,opt,name=resolved_storage_source,json=resolvedStorageSource" json:"resolved_storage_source,omitempty"`
    // A copy of the build's source.repo_source, if exists, with any
    // revisions resolved.
    ResolvedRepoSource *RepoSource `protobuf:"bytes,6,opt,name=resolved_repo_source,json=resolvedRepoSource" json:"resolved_repo_source,omitempty"`
    // Hash(es) of the build source, which can be used to verify that the original
    // source integrity was maintained in the build. Note that FileHashes will
    // only be populated if BuildOptions has requested a SourceProvenanceHash.
    //
    // The keys to this map are file paths used as build source and the values
    // contain the hash values for those files.
    //
    // If the build source came in a single package such as a gzipped tarfile
    // (.tar.gz), the FileHash will be for the single path to that file.
    // @OutputOnly
    FileHashes map[string]*FileHashes `protobuf:"bytes,4,rep,name=file_hashes,json=fileHashes" json:"file_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}

func (*SourceProvenance) Descriptor

func (*SourceProvenance) Descriptor() ([]byte, []int)

func (*SourceProvenance) GetFileHashes

func (m *SourceProvenance) GetFileHashes() map[string]*FileHashes

func (*SourceProvenance) GetResolvedRepoSource

func (m *SourceProvenance) GetResolvedRepoSource() *RepoSource

func (*SourceProvenance) GetResolvedStorageSource

func (m *SourceProvenance) GetResolvedStorageSource() *StorageSource

func (*SourceProvenance) ProtoMessage

func (*SourceProvenance) ProtoMessage()

func (*SourceProvenance) Reset

func (m *SourceProvenance) Reset()

func (*SourceProvenance) String

func (m *SourceProvenance) String() string

type Source_RepoSource

type Source_RepoSource struct {
    RepoSource *RepoSource `protobuf:"bytes,3,opt,name=repo_source,json=repoSource,oneof"`
}

type Source_StorageSource

type Source_StorageSource struct {
    StorageSource *StorageSource `protobuf:"bytes,2,opt,name=storage_source,json=storageSource,oneof"`
}

type StorageSource

StorageSource describes the location of the source in an archive file in Google Cloud Storage.

type StorageSource struct {
    // Google Cloud Storage bucket containing source (see
    // [Bucket Name
    // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
    Bucket string `protobuf:"bytes,1,opt,name=bucket" json:"bucket,omitempty"`
    // Google Cloud Storage object containing source.
    //
    // This object must be a gzipped archive file (.tar.gz) containing source to
    // build.
    Object string `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"`
    // Google Cloud Storage generation for the object. If the generation is
    // omitted, the latest generation will be used.
    Generation int64 `protobuf:"varint,3,opt,name=generation" json:"generation,omitempty"`
}

func (*StorageSource) Descriptor

func (*StorageSource) Descriptor() ([]byte, []int)

func (*StorageSource) GetBucket

func (m *StorageSource) GetBucket() string

func (*StorageSource) GetGeneration

func (m *StorageSource) GetGeneration() int64

func (*StorageSource) GetObject

func (m *StorageSource) GetObject() string

func (*StorageSource) ProtoMessage

func (*StorageSource) ProtoMessage()

func (*StorageSource) Reset

func (m *StorageSource) Reset()

func (*StorageSource) String

func (m *StorageSource) String() string

type UpdateBuildTriggerRequest

Request to update an existing BuildTrigger.

type UpdateBuildTriggerRequest struct {
    // ID of the project that owns the trigger.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
    // ID of the BuildTrigger to update.
    TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId" json:"trigger_id,omitempty"`
    // BuildTrigger to update.
    Trigger *BuildTrigger `protobuf:"bytes,3,opt,name=trigger" json:"trigger,omitempty"`
}

func (*UpdateBuildTriggerRequest) Descriptor

func (*UpdateBuildTriggerRequest) Descriptor() ([]byte, []int)

func (*UpdateBuildTriggerRequest) GetProjectId

func (m *UpdateBuildTriggerRequest) GetProjectId() string

func (*UpdateBuildTriggerRequest) GetTrigger

func (m *UpdateBuildTriggerRequest) GetTrigger() *BuildTrigger

func (*UpdateBuildTriggerRequest) GetTriggerId

func (m *UpdateBuildTriggerRequest) GetTriggerId() string

func (*UpdateBuildTriggerRequest) ProtoMessage

func (*UpdateBuildTriggerRequest) ProtoMessage()

func (*UpdateBuildTriggerRequest) Reset

func (m *UpdateBuildTriggerRequest) Reset()

func (*UpdateBuildTriggerRequest) String

func (m *UpdateBuildTriggerRequest) String() string