Package cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb (v1.8.0)

Variables

Build_Status_name, Build_Status_value

var (
	Build_Status_name = map[int32]string{
		0:  "STATUS_UNKNOWN",
		10: "PENDING",
		1:  "QUEUED",
		2:  "WORKING",
		3:  "SUCCESS",
		4:  "FAILURE",
		5:  "INTERNAL_ERROR",
		6:  "TIMEOUT",
		7:  "CANCELLED",
		9:  "EXPIRED",
	}
	Build_Status_value = map[string]int32{
		"STATUS_UNKNOWN": 0,
		"PENDING":        10,
		"QUEUED":         1,
		"WORKING":        2,
		"SUCCESS":        3,
		"FAILURE":        4,
		"INTERNAL_ERROR": 5,
		"TIMEOUT":        6,
		"CANCELLED":      7,
		"EXPIRED":        9,
	}
)

Enum value maps for Build_Status.

Build_Warning_Priority_name, Build_Warning_Priority_value

var (
	Build_Warning_Priority_name = map[int32]string{
		0: "PRIORITY_UNSPECIFIED",
		1: "INFO",
		2: "WARNING",
		3: "ALERT",
	}
	Build_Warning_Priority_value = map[string]int32{
		"PRIORITY_UNSPECIFIED": 0,
		"INFO":                 1,
		"WARNING":              2,
		"ALERT":                3,
	}
)

Enum value maps for Build_Warning_Priority.

Build_FailureInfo_FailureType_name, Build_FailureInfo_FailureType_value

var (
	Build_FailureInfo_FailureType_name = map[int32]string{
		0: "FAILURE_TYPE_UNSPECIFIED",
		1: "PUSH_FAILED",
		2: "PUSH_IMAGE_NOT_FOUND",
		3: "PUSH_NOT_AUTHORIZED",
		4: "LOGGING_FAILURE",
		5: "USER_BUILD_STEP",
		6: "FETCH_SOURCE_FAILED",
	}
	Build_FailureInfo_FailureType_value = map[string]int32{
		"FAILURE_TYPE_UNSPECIFIED": 0,
		"PUSH_FAILED":              1,
		"PUSH_IMAGE_NOT_FOUND":     2,
		"PUSH_NOT_AUTHORIZED":      3,
		"LOGGING_FAILURE":          4,
		"USER_BUILD_STEP":          5,
		"FETCH_SOURCE_FAILED":      6,
	}
)

Enum value maps for Build_FailureInfo_FailureType.

Hash_HashType_name, Hash_HashType_value

var (
	Hash_HashType_name = map[int32]string{
		0: "NONE",
		1: "SHA256",
		2: "MD5",
	}
	Hash_HashType_value = map[string]int32{
		"NONE":   0,
		"SHA256": 1,
		"MD5":    2,
	}
)

Enum value maps for Hash_HashType.

BuildApproval_State_name, BuildApproval_State_value

var (
	BuildApproval_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "APPROVED",
		3: "REJECTED",
		5: "CANCELLED",
	}
	BuildApproval_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"APPROVED":          2,
		"REJECTED":          3,
		"CANCELLED":         5,
	}
)

Enum value maps for BuildApproval_State.

ApprovalResult_Decision_name, ApprovalResult_Decision_value

var (
	ApprovalResult_Decision_name = map[int32]string{
		0: "DECISION_UNSPECIFIED",
		1: "APPROVED",
		2: "REJECTED",
	}
	ApprovalResult_Decision_value = map[string]int32{
		"DECISION_UNSPECIFIED": 0,
		"APPROVED":             1,
		"REJECTED":             2,
	}
)

Enum value maps for ApprovalResult_Decision.

PubsubConfig_State_name, PubsubConfig_State_value

var (
	PubsubConfig_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "OK",
		2: "SUBSCRIPTION_DELETED",
		3: "TOPIC_DELETED",
		4: "SUBSCRIPTION_MISCONFIGURED",
	}
	PubsubConfig_State_value = map[string]int32{
		"STATE_UNSPECIFIED":          0,
		"OK":                         1,
		"SUBSCRIPTION_DELETED":       2,
		"TOPIC_DELETED":              3,
		"SUBSCRIPTION_MISCONFIGURED": 4,
	}
)

Enum value maps for PubsubConfig_State.

WebhookConfig_State_name, WebhookConfig_State_value

var (
	WebhookConfig_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "OK",
		2: "SECRET_DELETED",
	}
	WebhookConfig_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"OK":                1,
		"SECRET_DELETED":    2,
	}
)

Enum value maps for WebhookConfig_State.

PullRequestFilter_CommentControl_name, PullRequestFilter_CommentControl_value

var (
	PullRequestFilter_CommentControl_name = map[int32]string{
		0: "COMMENTS_DISABLED",
		1: "COMMENTS_ENABLED",
		2: "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY",
	}
	PullRequestFilter_CommentControl_value = map[string]int32{
		"COMMENTS_DISABLED": 0,
		"COMMENTS_ENABLED":  1,
		"COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY": 2,
	}
)

Enum value maps for PullRequestFilter_CommentControl.

BuildOptions_VerifyOption_name, BuildOptions_VerifyOption_value

var (
	BuildOptions_VerifyOption_name = map[int32]string{
		0: "NOT_VERIFIED",
		1: "VERIFIED",
	}
	BuildOptions_VerifyOption_value = map[string]int32{
		"NOT_VERIFIED": 0,
		"VERIFIED":     1,
	}
)

Enum value maps for BuildOptions_VerifyOption.

BuildOptions_MachineType_name, BuildOptions_MachineType_value

var (
	BuildOptions_MachineType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "N1_HIGHCPU_8",
		2: "N1_HIGHCPU_32",
		5: "E2_HIGHCPU_8",
		6: "E2_HIGHCPU_32",
	}
	BuildOptions_MachineType_value = map[string]int32{
		"UNSPECIFIED":   0,
		"N1_HIGHCPU_8":  1,
		"N1_HIGHCPU_32": 2,
		"E2_HIGHCPU_8":  5,
		"E2_HIGHCPU_32": 6,
	}
)

Enum value maps for BuildOptions_MachineType.

BuildOptions_SubstitutionOption_name, BuildOptions_SubstitutionOption_value

var (
	BuildOptions_SubstitutionOption_name = map[int32]string{
		0: "MUST_MATCH",
		1: "ALLOW_LOOSE",
	}
	BuildOptions_SubstitutionOption_value = map[string]int32{
		"MUST_MATCH":  0,
		"ALLOW_LOOSE": 1,
	}
)

Enum value maps for BuildOptions_SubstitutionOption.

BuildOptions_LogStreamingOption_name, BuildOptions_LogStreamingOption_value

var (
	BuildOptions_LogStreamingOption_name = map[int32]string{
		0: "STREAM_DEFAULT",
		1: "STREAM_ON",
		2: "STREAM_OFF",
	}
	BuildOptions_LogStreamingOption_value = map[string]int32{
		"STREAM_DEFAULT": 0,
		"STREAM_ON":      1,
		"STREAM_OFF":     2,
	}
)

Enum value maps for BuildOptions_LogStreamingOption.

BuildOptions_LoggingMode_name, BuildOptions_LoggingMode_value

var (
	BuildOptions_LoggingMode_name = map[int32]string{
		0: "LOGGING_UNSPECIFIED",
		1: "LEGACY",
		2: "GCS_ONLY",
		3: "STACKDRIVER_ONLY",
		5: "CLOUD_LOGGING_ONLY",
		4: "NONE",
	}
	BuildOptions_LoggingMode_value = map[string]int32{
		"LOGGING_UNSPECIFIED": 0,
		"LEGACY":              1,
		"GCS_ONLY":            2,
		"STACKDRIVER_ONLY":    3,
		"CLOUD_LOGGING_ONLY":  5,
		"NONE":                4,
	}
)

Enum value maps for BuildOptions_LoggingMode.

WorkerPool_State_name, WorkerPool_State_value

var (
	WorkerPool_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "RUNNING",
		3: "DELETING",
		4: "DELETED",
	}
	WorkerPool_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"RUNNING":           2,
		"DELETING":          3,
		"DELETED":           4,
	}
)

Enum value maps for WorkerPool_State.

PrivatePoolV1Config_NetworkConfig_EgressOption_name, PrivatePoolV1Config_NetworkConfig_EgressOption_value

var (
	PrivatePoolV1Config_NetworkConfig_EgressOption_name = map[int32]string{
		0: "EGRESS_OPTION_UNSPECIFIED",
		1: "NO_PUBLIC_EGRESS",
		2: "PUBLIC_EGRESS",
	}
	PrivatePoolV1Config_NetworkConfig_EgressOption_value = map[string]int32{
		"EGRESS_OPTION_UNSPECIFIED": 0,
		"NO_PUBLIC_EGRESS":          1,
		"PUBLIC_EGRESS":             2,
	}
)

Enum value maps for PrivatePoolV1Config_NetworkConfig_EgressOption.

File_google_devtools_cloudbuild_v1_cloudbuild_proto

var File_google_devtools_cloudbuild_v1_cloudbuild_proto protoreflect.FileDescriptor

Functions

func RegisterCloudBuildServer

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

ApprovalConfig

type ApprovalConfig struct {

	// Whether or not approval is needed. If this is set on a build, it will
	// become pending when created, and will need to be explicitly approved
	// to start.
	ApprovalRequired bool `protobuf:"varint,1,opt,name=approval_required,json=approvalRequired,proto3" json:"approval_required,omitempty"`
	// contains filtered or unexported fields
}

ApprovalConfig describes configuration for manual approval of a build.

func (*ApprovalConfig) Descriptor

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

Deprecated: Use ApprovalConfig.ProtoReflect.Descriptor instead.

func (*ApprovalConfig) GetApprovalRequired

func (x *ApprovalConfig) GetApprovalRequired() bool

func (*ApprovalConfig) ProtoMessage

func (*ApprovalConfig) ProtoMessage()

func (*ApprovalConfig) ProtoReflect

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

func (*ApprovalConfig) Reset

func (x *ApprovalConfig) Reset()

func (*ApprovalConfig) String

func (x *ApprovalConfig) String() string

ApprovalResult

type ApprovalResult struct {
	ApproverAccount string `protobuf:"bytes,2,opt,name=approver_account,json=approverAccount,proto3" json:"approver_account,omitempty"`

	ApprovalTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=approval_time,json=approvalTime,proto3" json:"approval_time,omitempty"`

	Decision ApprovalResult_Decision "" /* 129 byte string literal not displayed */

	Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`

	Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`

}

ApprovalResult describes the decision and associated metadata of a manual approval of a build.

func (*ApprovalResult) Descriptor

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

Deprecated: Use ApprovalResult.ProtoReflect.Descriptor instead.

func (*ApprovalResult) GetApprovalTime

func (x *ApprovalResult) GetApprovalTime() *timestamppb.Timestamp

func (*ApprovalResult) GetApproverAccount

func (x *ApprovalResult) GetApproverAccount() string

func (*ApprovalResult) GetComment

func (x *ApprovalResult) GetComment() string

func (*ApprovalResult) GetDecision

func (x *ApprovalResult) GetDecision() ApprovalResult_Decision

func (*ApprovalResult) GetUrl

func (x *ApprovalResult) GetUrl() string

func (*ApprovalResult) ProtoMessage

func (*ApprovalResult) ProtoMessage()

func (*ApprovalResult) ProtoReflect

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

func (*ApprovalResult) Reset

func (x *ApprovalResult) Reset()

func (*ApprovalResult) String

func (x *ApprovalResult) String() string

ApprovalResult_Decision

type ApprovalResult_Decision int32

Specifies whether or not this manual approval result is to approve or reject a build.

ApprovalResult_DECISION_UNSPECIFIED, ApprovalResult_APPROVED, ApprovalResult_REJECTED

const (
	// Default enum type. This should not be used.
	ApprovalResult_DECISION_UNSPECIFIED ApprovalResult_Decision = 0
	// Build is approved.
	ApprovalResult_APPROVED ApprovalResult_Decision = 1
	// Build is rejected.
	ApprovalResult_REJECTED ApprovalResult_Decision = 2
)

func (ApprovalResult_Decision) Descriptor

func (ApprovalResult_Decision) Enum

func (ApprovalResult_Decision) EnumDescriptor

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

Deprecated: Use ApprovalResult_Decision.Descriptor instead.

func (ApprovalResult_Decision) Number

func (ApprovalResult_Decision) String

func (x ApprovalResult_Decision) String() string

func (ApprovalResult_Decision) Type

ApproveBuildRequest

type ApproveBuildRequest struct {

	// Required. Name of the target build.
	// For example: "projects/{$project_id}/builds/{$build_id}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Approval decision and metadata.
	ApprovalResult *ApprovalResult `protobuf:"bytes,2,opt,name=approval_result,json=approvalResult,proto3" json:"approval_result,omitempty"`
	// contains filtered or unexported fields
}

Request to approve or reject a pending build.

func (*ApproveBuildRequest) Descriptor

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

Deprecated: Use ApproveBuildRequest.ProtoReflect.Descriptor instead.

func (*ApproveBuildRequest) GetApprovalResult

func (x *ApproveBuildRequest) GetApprovalResult() *ApprovalResult

func (*ApproveBuildRequest) GetName

func (x *ApproveBuildRequest) GetName() string

func (*ApproveBuildRequest) ProtoMessage

func (*ApproveBuildRequest) ProtoMessage()

func (*ApproveBuildRequest) ProtoReflect

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

func (*ApproveBuildRequest) Reset

func (x *ApproveBuildRequest) Reset()

func (*ApproveBuildRequest) String

func (x *ApproveBuildRequest) String() string

ArtifactResult

type ArtifactResult struct {

	// The path of an artifact in a Google Cloud Storage bucket, with the
	// generation number. For example,
	// `gs://mybucket/path/to/output.jar#generation`.
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// The file hash of the artifact.
	FileHash []*FileHashes `protobuf:"bytes,2,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"`
	// contains filtered or unexported fields
}

An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.

func (*ArtifactResult) Descriptor

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

Deprecated: Use ArtifactResult.ProtoReflect.Descriptor instead.

func (*ArtifactResult) GetFileHash

func (x *ArtifactResult) GetFileHash() []*FileHashes

func (*ArtifactResult) GetLocation

func (x *ArtifactResult) GetLocation() string

func (*ArtifactResult) ProtoMessage

func (*ArtifactResult) ProtoMessage()

func (*ArtifactResult) ProtoReflect

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

func (*ArtifactResult) Reset

func (x *ArtifactResult) Reset()

func (*ArtifactResult) String

func (x *ArtifactResult) String() string

Artifacts

type Artifacts struct {

	// 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,1,rep,name=images,proto3" json:"images,omitempty"`
	// A list of objects to be uploaded to Cloud Storage upon successful
	// completion of all build steps.
	//
	// Files in the workspace matching specified paths globs will be uploaded to
	// the specified Cloud Storage location using the builder service account's
	// credentials.
	//
	// The location and generation of the uploaded objects will be stored in the
	// Build resource's results field.
	//
	// If any objects fail to be pushed, the build is marked FAILURE.
	Objects *Artifacts_ArtifactObjects `protobuf:"bytes,2,opt,name=objects,proto3" json:"objects,omitempty"`
	// A list of Maven artifacts to be uploaded to Artifact Registry upon
	// successful completion of all build steps.
	//
	// Artifacts in the workspace matching specified paths globs will be uploaded
	// to the specified Artifact Registry repository using the builder service
	// account's credentials.
	//
	// If any artifacts fail to be pushed, the build is marked FAILURE.
	MavenArtifacts []*Artifacts_MavenArtifact `protobuf:"bytes,3,rep,name=maven_artifacts,json=mavenArtifacts,proto3" json:"maven_artifacts,omitempty"`
	// A list of Python packages to be uploaded to Artifact Registry upon
	// successful completion of all build steps.
	//
	// The build service account credentials will be used to perform the upload.
	//
	// If any objects fail to be pushed, the build is marked FAILURE.
	PythonPackages []*Artifacts_PythonPackage `protobuf:"bytes,5,rep,name=python_packages,json=pythonPackages,proto3" json:"python_packages,omitempty"`
	// contains filtered or unexported fields
}

Artifacts produced by a build that should be uploaded upon successful completion of all build steps.

func (*Artifacts) Descriptor

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

Deprecated: Use Artifacts.ProtoReflect.Descriptor instead.

func (*Artifacts) GetImages

func (x *Artifacts) GetImages() []string

func (*Artifacts) GetMavenArtifacts

func (x *Artifacts) GetMavenArtifacts() []*Artifacts_MavenArtifact

func (*Artifacts) GetObjects

func (x *Artifacts) GetObjects() *Artifacts_ArtifactObjects

func (*Artifacts) GetPythonPackages

func (x *Artifacts) GetPythonPackages() []*Artifacts_PythonPackage

func (*Artifacts) ProtoMessage

func (*Artifacts) ProtoMessage()

func (*Artifacts) ProtoReflect

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

func (*Artifacts) Reset

func (x *Artifacts) Reset()

func (*Artifacts) String

func (x *Artifacts) String() string

Artifacts_ArtifactObjects

type Artifacts_ArtifactObjects struct {

	// Cloud Storage bucket and optional object path, in the form
	// "gs://bucket/path/to/somewhere/". (see [Bucket Name
	// Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
	//
	// Files in the workspace matching any path pattern will be uploaded to
	// Cloud Storage with this location as a prefix.
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// Path globs used to match files in the build's workspace.
	Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// Output only. Stores timing information for pushing all artifact objects.
	Timing *TimeSpan `protobuf:"bytes,3,opt,name=timing,proto3" json:"timing,omitempty"`
	// contains filtered or unexported fields
}

Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.

func (*Artifacts_ArtifactObjects) Descriptor

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

Deprecated: Use Artifacts_ArtifactObjects.ProtoReflect.Descriptor instead.

func (*Artifacts_ArtifactObjects) GetLocation

func (x *Artifacts_ArtifactObjects) GetLocation() string

func (*Artifacts_ArtifactObjects) GetPaths

func (x *Artifacts_ArtifactObjects) GetPaths() []string

func (*Artifacts_ArtifactObjects) GetTiming

func (x *Artifacts_ArtifactObjects) GetTiming() *TimeSpan

func (*Artifacts_ArtifactObjects) ProtoMessage

func (*Artifacts_ArtifactObjects) ProtoMessage()

func (*Artifacts_ArtifactObjects) ProtoReflect

func (*Artifacts_ArtifactObjects) Reset

func (x *Artifacts_ArtifactObjects) Reset()

func (*Artifacts_ArtifactObjects) String

func (x *Artifacts_ArtifactObjects) String() string

Artifacts_MavenArtifact

type Artifacts_MavenArtifact struct {

	// Artifact Registry repository, in the form
	// "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
	//
	// Artifact in the workspace specified by path will be uploaded to
	// Artifact Registry with this location as a prefix.
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// Path to an artifact in the build's workspace to be uploaded to
	// Artifact Registry.
	// This can be either an absolute path,
	// e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar
	// or a relative path from /workspace,
	// e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Maven `artifactId` value used when uploading the artifact to Artifact
	// Registry.
	ArtifactId string `protobuf:"bytes,3,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// Maven `groupId` value used when uploading the artifact to Artifact
	// Registry.
	GroupId string `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Maven `version` value used when uploading the artifact to Artifact
	// Registry.
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.

func (*Artifacts_MavenArtifact) Descriptor

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

Deprecated: Use Artifacts_MavenArtifact.ProtoReflect.Descriptor instead.

func (*Artifacts_MavenArtifact) GetArtifactId

func (x *Artifacts_MavenArtifact) GetArtifactId() string

func (*Artifacts_MavenArtifact) GetGroupId

func (x *Artifacts_MavenArtifact) GetGroupId() string

func (*Artifacts_MavenArtifact) GetPath

func (x *Artifacts_MavenArtifact) GetPath() string

func (*Artifacts_MavenArtifact) GetRepository

func (x *Artifacts_MavenArtifact) GetRepository() string

func (*Artifacts_MavenArtifact) GetVersion

func (x *Artifacts_MavenArtifact) GetVersion() string

func (*Artifacts_MavenArtifact) ProtoMessage

func (*Artifacts_MavenArtifact) ProtoMessage()

func (*Artifacts_MavenArtifact) ProtoReflect

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

func (*Artifacts_MavenArtifact) Reset

func (x *Artifacts_MavenArtifact) Reset()

func (*Artifacts_MavenArtifact) String

func (x *Artifacts_MavenArtifact) String() string

Artifacts_PythonPackage

type Artifacts_PythonPackage struct {

	// Artifact Registry repository, in the form
	// "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
	//
	// Files in the workspace matching any path pattern will be uploaded to
	// Artifact Registry with this location as a prefix.
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// Path globs used to match files in the build's workspace. For Python/
	// Twine, this is usually `dist/*`, and sometimes additionally an `.asc`
	// file.
	Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.

func (*Artifacts_PythonPackage) Descriptor

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

Deprecated: Use Artifacts_PythonPackage.ProtoReflect.Descriptor instead.

func (*Artifacts_PythonPackage) GetPaths

func (x *Artifacts_PythonPackage) GetPaths() []string

func (*Artifacts_PythonPackage) GetRepository

func (x *Artifacts_PythonPackage) GetRepository() string

func (*Artifacts_PythonPackage) ProtoMessage

func (*Artifacts_PythonPackage) ProtoMessage()

func (*Artifacts_PythonPackage) ProtoReflect

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

func (*Artifacts_PythonPackage) Reset

func (x *Artifacts_PythonPackage) Reset()

func (*Artifacts_PythonPackage) String

func (x *Artifacts_PythonPackage) String() string

Build

type Build struct {
	Name string `protobuf:"bytes,45,opt,name=name,proto3" json:"name,omitempty"`

	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

	ProjectId string `protobuf:"bytes,16,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`

	Status Build_Status `protobuf:"varint,2,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"`

	StatusDetail string `protobuf:"bytes,24,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`

	Source *Source `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`

	Steps []*BuildStep `protobuf:"bytes,11,rep,name=steps,proto3" json:"steps,omitempty"`

	Results *Results `protobuf:"bytes,10,opt,name=results,proto3" json:"results,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	FinishTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`

	Timeout *durationpb.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"`

	Images []string `protobuf:"bytes,13,rep,name=images,proto3" json:"images,omitempty"`

	QueueTtl *durationpb.Duration `protobuf:"bytes,40,opt,name=queue_ttl,json=queueTtl,proto3" json:"queue_ttl,omitempty"`

	Artifacts *Artifacts `protobuf:"bytes,37,opt,name=artifacts,proto3" json:"artifacts,omitempty"`

	LogsBucket string `protobuf:"bytes,19,opt,name=logs_bucket,json=logsBucket,proto3" json:"logs_bucket,omitempty"`

	SourceProvenance *SourceProvenance `protobuf:"bytes,21,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"`

	BuildTriggerId string `protobuf:"bytes,22,opt,name=build_trigger_id,json=buildTriggerId,proto3" json:"build_trigger_id,omitempty"`

	Options *BuildOptions `protobuf:"bytes,23,opt,name=options,proto3" json:"options,omitempty"`

	LogUrl string `protobuf:"bytes,25,opt,name=log_url,json=logUrl,proto3" json:"log_url,omitempty"`

	Substitutions map[string]string "" /* 168 byte string literal not displayed */

	Tags []string `protobuf:"bytes,31,rep,name=tags,proto3" json:"tags,omitempty"`

	Secrets []*Secret `protobuf:"bytes,32,rep,name=secrets,proto3" json:"secrets,omitempty"`

	Timing map[string]*TimeSpan "" /* 154 byte string literal not displayed */

	Approval *BuildApproval `protobuf:"bytes,44,opt,name=approval,proto3" json:"approval,omitempty"`

	ServiceAccount string `protobuf:"bytes,42,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`

	AvailableSecrets *Secrets `protobuf:"bytes,47,opt,name=available_secrets,json=availableSecrets,proto3" json:"available_secrets,omitempty"`

	Warnings []*Build_Warning `protobuf:"bytes,49,rep,name=warnings,proto3" json:"warnings,omitempty"`

	FailureInfo *Build_FailureInfo `protobuf:"bytes,51,opt,name=failure_info,json=failureInfo,proto3" json:"failure_info,omitempty"`

}

A build resource in the Cloud Build 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 where to store the built artifacts.

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

  • $PROJECT_ID: the project ID of the build.
  • $PROJECT_NUMBER: the project number 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.
  • $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.

func (*Build) Descriptor

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

Deprecated: Use Build.ProtoReflect.Descriptor instead.

func (*Build) GetApproval

func (x *Build) GetApproval() *BuildApproval

func (*Build) GetArtifacts

func (x *Build) GetArtifacts() *Artifacts

func (*Build) GetAvailableSecrets

func (x *Build) GetAvailableSecrets() *Secrets

func (*Build) GetBuildTriggerId

func (x *Build) GetBuildTriggerId() string

func (*Build) GetCreateTime

func (x *Build) GetCreateTime() *timestamppb.Timestamp

func (*Build) GetFailureInfo

func (x *Build) GetFailureInfo() *Build_FailureInfo

func (*Build) GetFinishTime

func (x *Build) GetFinishTime() *timestamppb.Timestamp

func (*Build) GetId

func (x *Build) GetId() string

func (*Build) GetImages

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

func (*Build) GetLogUrl

func (x *Build) GetLogUrl() string

func (*Build) GetLogsBucket

func (x *Build) GetLogsBucket() string

func (*Build) GetName

func (x *Build) GetName() string

func (*Build) GetOptions

func (x *Build) GetOptions() *BuildOptions

func (*Build) GetProjectId

func (x *Build) GetProjectId() string

func (*Build) GetQueueTtl

func (x *Build) GetQueueTtl() *durationpb.Duration

func (*Build) GetResults

func (x *Build) GetResults() *Results

func (*Build) GetSecrets

func (x *Build) GetSecrets() []*Secret

func (*Build) GetServiceAccount

func (x *Build) GetServiceAccount() string

func (*Build) GetSource

func (x *Build) GetSource() *Source

func (*Build) GetSourceProvenance

func (x *Build) GetSourceProvenance() *SourceProvenance

func (*Build) GetStartTime

func (x *Build) GetStartTime() *timestamppb.Timestamp

func (*Build) GetStatus

func (x *Build) GetStatus() Build_Status

func (*Build) GetStatusDetail

func (x *Build) GetStatusDetail() string

func (*Build) GetSteps

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

func (*Build) GetSubstitutions

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

func (*Build) GetTags

func (x *Build) GetTags() []string

func (*Build) GetTimeout

func (x *Build) GetTimeout() *durationpb.Duration

func (*Build) GetTiming

func (x *Build) GetTiming() map[string]*TimeSpan

func (*Build) GetWarnings

func (x *Build) GetWarnings() []*Build_Warning

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) ProtoReflect

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

func (*Build) Reset

func (x *Build) Reset()

func (*Build) String

func (x *Build) String() string

BuildApproval

type BuildApproval struct {

	// Output only. The state of this build's approval.
	State BuildApproval_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.devtools.cloudbuild.v1.BuildApproval_State" json:"state,omitempty"`
	// Output only. Configuration for manual approval of this build.
	Config *ApprovalConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// Output only. Result of manual approval for this Build.
	Result *ApprovalResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

BuildApproval describes a build's approval configuration, state, and result.

func (*BuildApproval) Descriptor

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

Deprecated: Use BuildApproval.ProtoReflect.Descriptor instead.

func (*BuildApproval) GetConfig

func (x *BuildApproval) GetConfig() *ApprovalConfig

func (*BuildApproval) GetResult

func (x *BuildApproval) GetResult() *ApprovalResult

func (*BuildApproval) GetState

func (x *BuildApproval) GetState() BuildApproval_State

func (*BuildApproval) ProtoMessage

func (*BuildApproval) ProtoMessage()

func (*BuildApproval) ProtoReflect

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

func (*BuildApproval) Reset

func (x *BuildApproval) Reset()

func (*BuildApproval) String

func (x *BuildApproval) String() string

BuildApproval_State

type BuildApproval_State int32

Specifies the current state of a build's approval.

BuildApproval_STATE_UNSPECIFIED, BuildApproval_PENDING, BuildApproval_APPROVED, BuildApproval_REJECTED, BuildApproval_CANCELLED

const (
	// Default enum type. This should not be used.
	BuildApproval_STATE_UNSPECIFIED BuildApproval_State = 0
	// Build approval is pending.
	BuildApproval_PENDING BuildApproval_State = 1
	// Build approval has been approved.
	BuildApproval_APPROVED BuildApproval_State = 2
	// Build approval has been rejected.
	BuildApproval_REJECTED BuildApproval_State = 3
	// Build was cancelled while it was still pending approval.
	BuildApproval_CANCELLED BuildApproval_State = 5
)

func (BuildApproval_State) Descriptor

func (BuildApproval_State) Enum

func (BuildApproval_State) EnumDescriptor

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

Deprecated: Use BuildApproval_State.Descriptor instead.

func (BuildApproval_State) Number

func (BuildApproval_State) String

func (x BuildApproval_State) String() string

func (BuildApproval_State) Type

BuildOperationMetadata

type BuildOperationMetadata struct {

	// The build that the operation is tracking.
	Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
	// contains filtered or unexported fields
}

Metadata for build operations.

func (*BuildOperationMetadata) Descriptor

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

Deprecated: Use BuildOperationMetadata.ProtoReflect.Descriptor instead.

func (*BuildOperationMetadata) GetBuild

func (x *BuildOperationMetadata) GetBuild() *Build

func (*BuildOperationMetadata) ProtoMessage

func (*BuildOperationMetadata) ProtoMessage()

func (*BuildOperationMetadata) ProtoReflect

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

func (*BuildOperationMetadata) Reset

func (x *BuildOperationMetadata) Reset()

func (*BuildOperationMetadata) String

func (x *BuildOperationMetadata) String() string

BuildOptions

type BuildOptions struct {
	SourceProvenanceHash []Hash_HashType "" /* 180 byte string literal not displayed */

	RequestedVerifyOption BuildOptions_VerifyOption "" /* 188 byte string literal not displayed */

	MachineType BuildOptions_MachineType "" /* 155 byte string literal not displayed */

	DiskSizeGb int64 `protobuf:"varint,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`

	SubstitutionOption BuildOptions_SubstitutionOption "" /* 183 byte string literal not displayed */

	DynamicSubstitutions bool `protobuf:"varint,17,opt,name=dynamic_substitutions,json=dynamicSubstitutions,proto3" json:"dynamic_substitutions,omitempty"`

	LogStreamingOption BuildOptions_LogStreamingOption "" /* 185 byte string literal not displayed */

	WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`

	Pool *BuildOptions_PoolOption `protobuf:"bytes,19,opt,name=pool,proto3" json:"pool,omitempty"`

	Logging BuildOptions_LoggingMode "" /* 129 byte string literal not displayed */

	Env []string `protobuf:"bytes,12,rep,name=env,proto3" json:"env,omitempty"`

	SecretEnv []string `protobuf:"bytes,13,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"`

	Volumes []*Volume `protobuf:"bytes,14,rep,name=volumes,proto3" json:"volumes,omitempty"`

}

Optional arguments to enable specific features of builds.

func (*BuildOptions) Descriptor

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

Deprecated: Use BuildOptions.ProtoReflect.Descriptor instead.

func (*BuildOptions) GetDiskSizeGb

func (x *BuildOptions) GetDiskSizeGb() int64

func (*BuildOptions) GetDynamicSubstitutions

func (x *BuildOptions) GetDynamicSubstitutions() bool

func (*BuildOptions) GetEnv

func (x *BuildOptions) GetEnv() []string

func (*BuildOptions) GetLogStreamingOption

func (x *BuildOptions) GetLogStreamingOption() BuildOptions_LogStreamingOption

func (*BuildOptions) GetLogging

func (x *BuildOptions) GetLogging() BuildOptions_LoggingMode

func (*BuildOptions) GetMachineType

func (x *BuildOptions) GetMachineType() BuildOptions_MachineType

func (*BuildOptions) GetPool

func (x *BuildOptions) GetPool() *BuildOptions_PoolOption

func (*BuildOptions) GetRequestedVerifyOption

func (x *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption

func (*BuildOptions) GetSecretEnv

func (x *BuildOptions) GetSecretEnv() []string

func (*BuildOptions) GetSourceProvenanceHash

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

func (*BuildOptions) GetSubstitutionOption

func (x *BuildOptions) GetSubstitutionOption() BuildOptions_SubstitutionOption

func (*BuildOptions) GetVolumes

func (x *BuildOptions) GetVolumes() []*Volume

func (*BuildOptions) GetWorkerPool

func (x *BuildOptions) GetWorkerPool() string

Deprecated: Do not use.

func (*BuildOptions) ProtoMessage

func (*BuildOptions) ProtoMessage()

func (*BuildOptions) ProtoReflect

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

func (*BuildOptions) Reset

func (x *BuildOptions) Reset()

func (*BuildOptions) String

func (x *BuildOptions) String() string

BuildOptions_LogStreamingOption

type BuildOptions_LogStreamingOption int32

Specifies the behavior when writing build logs to Google Cloud Storage.

BuildOptions_STREAM_DEFAULT, BuildOptions_STREAM_ON, BuildOptions_STREAM_OFF

const (
	// Service may automatically determine build log streaming behavior.
	BuildOptions_STREAM_DEFAULT BuildOptions_LogStreamingOption = 0
	// Build logs should be streamed to Google Cloud Storage.
	BuildOptions_STREAM_ON BuildOptions_LogStreamingOption = 1
	// Build logs should not be streamed to Google Cloud Storage; they will be
	// written when the build is completed.
	BuildOptions_STREAM_OFF BuildOptions_LogStreamingOption = 2
)

func (BuildOptions_LogStreamingOption) Descriptor

func (BuildOptions_LogStreamingOption) Enum

func (BuildOptions_LogStreamingOption) EnumDescriptor

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

Deprecated: Use BuildOptions_LogStreamingOption.Descriptor instead.

func (BuildOptions_LogStreamingOption) Number

func (BuildOptions_LogStreamingOption) String

func (BuildOptions_LogStreamingOption) Type

BuildOptions_LoggingMode

type BuildOptions_LoggingMode int32

Specifies the logging mode.

BuildOptions_LOGGING_UNSPECIFIED, BuildOptions_LEGACY, BuildOptions_GCS_ONLY, BuildOptions_STACKDRIVER_ONLY, BuildOptions_CLOUD_LOGGING_ONLY, BuildOptions_NONE

const (
	// The service determines the logging mode. The default is `LEGACY`. Do not
	// rely on the default logging behavior as it may change in the future.
	BuildOptions_LOGGING_UNSPECIFIED BuildOptions_LoggingMode = 0
	// Cloud Logging and Cloud Storage logging are enabled.
	BuildOptions_LEGACY BuildOptions_LoggingMode = 1
	// Only Cloud Storage logging is enabled.
	BuildOptions_GCS_ONLY BuildOptions_LoggingMode = 2
	// This option is the same as CLOUD_LOGGING_ONLY.
	//
	// Deprecated: Do not use.
	BuildOptions_STACKDRIVER_ONLY BuildOptions_LoggingMode = 3
	// Only Cloud Logging is enabled. Note that logs for both the Cloud Console
	// UI and Cloud SDK are based on Cloud Storage logs, so neither will provide
	// logs if this option is chosen.
	BuildOptions_CLOUD_LOGGING_ONLY BuildOptions_LoggingMode = 5
	// Turn off all logging. No build logs will be captured.
	BuildOptions_NONE BuildOptions_LoggingMode = 4
)

func (BuildOptions_LoggingMode) Descriptor

func (BuildOptions_LoggingMode) Enum

func (BuildOptions_LoggingMode) EnumDescriptor

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

Deprecated: Use BuildOptions_LoggingMode.Descriptor instead.

func (BuildOptions_LoggingMode) Number

func (BuildOptions_LoggingMode) String

func (x BuildOptions_LoggingMode) String() string

func (BuildOptions_LoggingMode) Type

BuildOptions_MachineType

type BuildOptions_MachineType int32

Supported Compute Engine machine types. For more information, see Machine types.

BuildOptions_UNSPECIFIED, BuildOptions_N1_HIGHCPU_8, BuildOptions_N1_HIGHCPU_32, BuildOptions_E2_HIGHCPU_8, BuildOptions_E2_HIGHCPU_32

const (
	// Standard machine type.
	BuildOptions_UNSPECIFIED BuildOptions_MachineType = 0
	// Highcpu machine with 8 CPUs.
	BuildOptions_N1_HIGHCPU_8 BuildOptions_MachineType = 1
	// Highcpu machine with 32 CPUs.
	BuildOptions_N1_HIGHCPU_32 BuildOptions_MachineType = 2
	// Highcpu e2 machine with 8 CPUs.
	BuildOptions_E2_HIGHCPU_8 BuildOptions_MachineType = 5
	// Highcpu e2 machine with 32 CPUs.
	BuildOptions_E2_HIGHCPU_32 BuildOptions_MachineType = 6
)

func (BuildOptions_MachineType) Descriptor

func (BuildOptions_MachineType) Enum

func (BuildOptions_MachineType) EnumDescriptor

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

Deprecated: Use BuildOptions_MachineType.Descriptor instead.

func (BuildOptions_MachineType) Number

func (BuildOptions_MachineType) String

func (x BuildOptions_MachineType) String() string

func (BuildOptions_MachineType) Type

BuildOptions_PoolOption

type BuildOptions_PoolOption struct {

	// The `WorkerPool` resource to execute the build on.
	// You must have `cloudbuild.workerpools.use` on the project hosting the
	// WorkerPool.
	//
	// Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Details about how a build should be executed on a WorkerPool.

See running builds in a private pool for more information.

func (*BuildOptions_PoolOption) Descriptor

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

Deprecated: Use BuildOptions_PoolOption.ProtoReflect.Descriptor instead.

func (*BuildOptions_PoolOption) GetName

func (x *BuildOptions_PoolOption) GetName() string

func (*BuildOptions_PoolOption) ProtoMessage

func (*BuildOptions_PoolOption) ProtoMessage()

func (*BuildOptions_PoolOption) ProtoReflect

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

func (*BuildOptions_PoolOption) Reset

func (x *BuildOptions_PoolOption) Reset()

func (*BuildOptions_PoolOption) String

func (x *BuildOptions_PoolOption) String() string

BuildOptions_SubstitutionOption

type BuildOptions_SubstitutionOption int32

Specifies the behavior when there is an error in the substitution checks.

BuildOptions_MUST_MATCH, BuildOptions_ALLOW_LOOSE

const (
	// Fails the build if error in substitutions checks, like missing
	// a substitution in the template or in the map.
	BuildOptions_MUST_MATCH BuildOptions_SubstitutionOption = 0
	// Do not fail the build if error in substitutions checks.
	BuildOptions_ALLOW_LOOSE BuildOptions_SubstitutionOption = 1
)

func (BuildOptions_SubstitutionOption) Descriptor

func (BuildOptions_SubstitutionOption) Enum

func (BuildOptions_SubstitutionOption) EnumDescriptor

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

Deprecated: Use BuildOptions_SubstitutionOption.Descriptor instead.

func (BuildOptions_SubstitutionOption) Number

func (BuildOptions_SubstitutionOption) String

func (BuildOptions_SubstitutionOption) Type

BuildOptions_VerifyOption

type BuildOptions_VerifyOption int32

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

BuildOptions_NOT_VERIFIED, BuildOptions_VERIFIED

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

func (BuildOptions_VerifyOption) Descriptor

func (BuildOptions_VerifyOption) Enum

func (BuildOptions_VerifyOption) EnumDescriptor

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

Deprecated: Use BuildOptions_VerifyOption.Descriptor instead.

func (BuildOptions_VerifyOption) Number

func (BuildOptions_VerifyOption) String

func (x BuildOptions_VerifyOption) String() string

func (BuildOptions_VerifyOption) Type

BuildStep

type BuildStep struct {

	// Required. The name of the container image that will run this particular
	// build step.
	//
	// If the image is 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](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,proto3" 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,proto3" 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, the `args`
	// are used as arguments to that entrypoint. If the image does not define
	// an entrypoint, the first element in args is used as the entrypoint,
	// and the remainder will be used as arguments.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// Working directory to use when running this step's container.
	//
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	//
	// If the build specifies a `RepoSource` with `dir` and a step with a `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored for
	// the step's execution.
	Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"`
	// 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,proto3" 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,proto3" json:"wait_for,omitempty"`
	// Entrypoint to be used instead of the build step image's default entrypoint.
	// If unset, the image's default entrypoint is used.
	Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// A list of environment variables which are encrypted using a Cloud Key
	// Management Service crypto key. These values must be specified in the
	// build's `Secret`.
	SecretEnv []string `protobuf:"bytes,8,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"`
	// List of volumes to mount into the build step.
	//
	// Each volume is created as an empty volume prior to execution of the
	// build step. Upon completion of the build, volumes and their contents are
	// discarded.
	//
	// Using a named volume in only one step is not valid as it is indicative
	// of a build request with an incorrect configuration.
	Volumes []*Volume `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// Output only. Stores timing information for executing this build step.
	Timing *TimeSpan `protobuf:"bytes,10,opt,name=timing,proto3" json:"timing,omitempty"`
	// Output only. Stores timing information for pulling this build step's
	// builder image only.
	PullTiming *TimeSpan `protobuf:"bytes,13,opt,name=pull_timing,json=pullTiming,proto3" json:"pull_timing,omitempty"`
	// Time limit for executing this build step. If not defined, the step has no
	// time limit and will be allowed to continue to run until either it completes
	// or the build itself times out.
	Timeout *durationpb.Duration `protobuf:"bytes,11,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Output only. Status of the build step. At this time, build step status is
	// only updated on build completion; step status is not updated in real-time
	// as the build progresses.
	Status Build_Status `protobuf:"varint,12,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"`
	// Allow this build step to fail without failing the entire build.
	//
	// If false, the entire build will fail if this step fails. Otherwise, the
	// build will succeed, but this step will still have a failure status.
	// Error information will be reported in the failure_detail field.
	AllowFailure bool `protobuf:"varint,14,opt,name=allow_failure,json=allowFailure,proto3" json:"allow_failure,omitempty"`
	// Output only. Return code from running the step.
	ExitCode int32 `protobuf:"varint,16,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// Allow this build step to fail without failing the entire build if and
	// only if the exit code is one of the specified codes. If allow_failure
	// is also specified, this field will take precedence.
	AllowExitCodes []int32 `protobuf:"varint,18,rep,packed,name=allow_exit_codes,json=allowExitCodes,proto3" json:"allow_exit_codes,omitempty"`
	// A shell script to be executed in the step.
	//
	// When script is provided, the user cannot specify the entrypoint or args.
	Script string `protobuf:"bytes,19,opt,name=script,proto3" json:"script,omitempty"`
	// contains filtered or unexported fields
}

A step in the build pipeline.

func (*BuildStep) Descriptor

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

Deprecated: Use BuildStep.ProtoReflect.Descriptor instead.

func (*BuildStep) GetAllowExitCodes

func (x *BuildStep) GetAllowExitCodes() []int32

func (*BuildStep) GetAllowFailure

func (x *BuildStep) GetAllowFailure() bool

func (*BuildStep) GetArgs

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

func (*BuildStep) GetDir

func (x *BuildStep) GetDir() string

func (*BuildStep) GetEntrypoint

func (x *BuildStep) GetEntrypoint() string

func (*BuildStep) GetEnv

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

func (*BuildStep) GetExitCode

func (x *BuildStep) GetExitCode() int32

func (*BuildStep) GetId

func (x *BuildStep) GetId() string

func (*BuildStep) GetName

func (x *BuildStep) GetName() string

func (*BuildStep) GetPullTiming

func (x *BuildStep) GetPullTiming() *TimeSpan

func (*BuildStep) GetScript

func (x *BuildStep) GetScript() string

func (*BuildStep) GetSecretEnv

func (x *BuildStep) GetSecretEnv() []string

func (*BuildStep) GetStatus

func (x *BuildStep) GetStatus() Build_Status

func (*BuildStep) GetTimeout

func (x *BuildStep) GetTimeout() *durationpb.Duration

func (*BuildStep) GetTiming

func (x *BuildStep) GetTiming() *TimeSpan

func (*BuildStep) GetVolumes

func (x *BuildStep) GetVolumes() []*Volume

func (*BuildStep) GetWaitFor

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

func (*BuildStep) ProtoMessage

func (*BuildStep) ProtoMessage()

func (*BuildStep) ProtoReflect

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

func (*BuildStep) Reset

func (x *BuildStep) Reset()

func (*BuildStep) String

func (x *BuildStep) String() string

BuildTrigger

type BuildTrigger struct {
	ResourceName string `protobuf:"bytes,34,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`

	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

	Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`

	Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty"`

	Tags []string `protobuf:"bytes,19,rep,name=tags,proto3" json:"tags,omitempty"`

	TriggerTemplate *RepoSource `protobuf:"bytes,7,opt,name=trigger_template,json=triggerTemplate,proto3" json:"trigger_template,omitempty"`

	Github *GitHubEventsConfig `protobuf:"bytes,13,opt,name=github,proto3" json:"github,omitempty"`

	PubsubConfig *PubsubConfig `protobuf:"bytes,29,opt,name=pubsub_config,json=pubsubConfig,proto3" json:"pubsub_config,omitempty"`

	WebhookConfig *WebhookConfig `protobuf:"bytes,31,opt,name=webhook_config,json=webhookConfig,proto3" json:"webhook_config,omitempty"`

	BuildTemplate isBuildTrigger_BuildTemplate `protobuf_oneof:"build_template"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"`

	Substitutions map[string]string "" /* 168 byte string literal not displayed */

	IgnoredFiles []string `protobuf:"bytes,15,rep,name=ignored_files,json=ignoredFiles,proto3" json:"ignored_files,omitempty"`

	IncludedFiles []string `protobuf:"bytes,16,rep,name=included_files,json=includedFiles,proto3" json:"included_files,omitempty"`

	Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty"`

	ServiceAccount string `protobuf:"bytes,33,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`

}

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

func (*BuildTrigger) Descriptor

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

Deprecated: Use BuildTrigger.ProtoReflect.Descriptor instead.

func (*BuildTrigger) GetAutodetect

func (x *BuildTrigger) GetAutodetect() bool

func (*BuildTrigger) GetBuild

func (x *BuildTrigger) GetBuild() *Build

func (*BuildTrigger) GetBuildTemplate

func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate

func (*BuildTrigger) GetCreateTime

func (x *BuildTrigger) GetCreateTime() *timestamppb.Timestamp

func (*BuildTrigger) GetDescription

func (x *BuildTrigger) GetDescription() string

func (*BuildTrigger) GetDisabled

func (x *BuildTrigger) GetDisabled() bool

func (*BuildTrigger) GetFilename

func (x *BuildTrigger) GetFilename() string

func (*BuildTrigger) GetFilter

func (x *BuildTrigger) GetFilter() string

func (*BuildTrigger) GetGithub

func (x *BuildTrigger) GetGithub() *GitHubEventsConfig

func (*BuildTrigger) GetId

func (x *BuildTrigger) GetId() string

func (*BuildTrigger) GetIgnoredFiles

func (x *BuildTrigger) GetIgnoredFiles() []string

func (*BuildTrigger) GetIncludedFiles

func (x *BuildTrigger) GetIncludedFiles() []string

func (*BuildTrigger) GetName

func (x *BuildTrigger) GetName() string

func (*BuildTrigger) GetPubsubConfig

func (x *BuildTrigger) GetPubsubConfig() *PubsubConfig

func (*BuildTrigger) GetResourceName

func (x *BuildTrigger) GetResourceName() string

func (*BuildTrigger) GetServiceAccount

func (x *BuildTrigger) GetServiceAccount() string

func (*BuildTrigger) GetSubstitutions

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

func (*BuildTrigger) GetTags

func (x *BuildTrigger) GetTags() []string

func (*BuildTrigger) GetTriggerTemplate

func (x *BuildTrigger) GetTriggerTemplate() *RepoSource

func (*BuildTrigger) GetWebhookConfig

func (x *BuildTrigger) GetWebhookConfig() *WebhookConfig

func (*BuildTrigger) ProtoMessage

func (*BuildTrigger) ProtoMessage()

func (*BuildTrigger) ProtoReflect

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

func (*BuildTrigger) Reset

func (x *BuildTrigger) Reset()

func (*BuildTrigger) String

func (x *BuildTrigger) String() string

BuildTrigger_Autodetect

type BuildTrigger_Autodetect struct {
	// Autodetect build configuration.  The following precedence is used (case
	// insensitive):
	//
	// 1. cloudbuild.yaml
	// 2. cloudbuild.yml
	// 3. cloudbuild.json
	// 4. Dockerfile
	//
	// Currently only available for GitHub App Triggers.
	Autodetect bool `protobuf:"varint,18,opt,name=autodetect,proto3,oneof"`
}

BuildTrigger_Build

type BuildTrigger_Build struct {
	// Contents of the build template.
	Build *Build `protobuf:"bytes,4,opt,name=build,proto3,oneof"`
}

BuildTrigger_Filename

type BuildTrigger_Filename struct {
	// Path, from the source root, to the build configuration file
	// (i.e. cloudbuild.yaml).
	Filename string `protobuf:"bytes,8,opt,name=filename,proto3,oneof"`
}

Build_FailureInfo

type Build_FailureInfo struct {
	Type Build_FailureInfo_FailureType "" /* 127 byte string literal not displayed */

	Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`

}

A fatal problem encountered during the execution of the build.

func (*Build_FailureInfo) Descriptor

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

Deprecated: Use Build_FailureInfo.ProtoReflect.Descriptor instead.

func (*Build_FailureInfo) GetDetail

func (x *Build_FailureInfo) GetDetail() string

func (*Build_FailureInfo) GetType

func (*Build_FailureInfo) ProtoMessage

func (*Build_FailureInfo) ProtoMessage()

func (*Build_FailureInfo) ProtoReflect

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

func (*Build_FailureInfo) Reset

func (x *Build_FailureInfo) Reset()

func (*Build_FailureInfo) String

func (x *Build_FailureInfo) String() string

Build_FailureInfo_FailureType

type Build_FailureInfo_FailureType int32

The name of a fatal problem encountered during the execution of the build.

Build_FailureInfo_FAILURE_TYPE_UNSPECIFIED, Build_FailureInfo_PUSH_FAILED, Build_FailureInfo_PUSH_IMAGE_NOT_FOUND, Build_FailureInfo_PUSH_NOT_AUTHORIZED, Build_FailureInfo_LOGGING_FAILURE, Build_FailureInfo_USER_BUILD_STEP, Build_FailureInfo_FETCH_SOURCE_FAILED

const (
	// Type unspecified
	Build_FailureInfo_FAILURE_TYPE_UNSPECIFIED Build_FailureInfo_FailureType = 0
	// Unable to push the image to the repository.
	Build_FailureInfo_PUSH_FAILED Build_FailureInfo_FailureType = 1
	// Final image not found.
	Build_FailureInfo_PUSH_IMAGE_NOT_FOUND Build_FailureInfo_FailureType = 2
	// Unauthorized push of the final image.
	Build_FailureInfo_PUSH_NOT_AUTHORIZED Build_FailureInfo_FailureType = 3
	// Backend logging failures. Should retry.
	Build_FailureInfo_LOGGING_FAILURE Build_FailureInfo_FailureType = 4
	// A build step has failed.
	Build_FailureInfo_USER_BUILD_STEP Build_FailureInfo_FailureType = 5
	// The source fetching has failed.
	Build_FailureInfo_FETCH_SOURCE_FAILED Build_FailureInfo_FailureType = 6
)

func (Build_FailureInfo_FailureType) Descriptor

func (Build_FailureInfo_FailureType) Enum

func (Build_FailureInfo_FailureType) EnumDescriptor

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

Deprecated: Use Build_FailureInfo_FailureType.Descriptor instead.

func (Build_FailureInfo_FailureType) Number

func (Build_FailureInfo_FailureType) String

func (Build_FailureInfo_FailureType) Type

Build_Status

type Build_Status int32

Possible status of a build or build step.

Build_STATUS_UNKNOWN, Build_PENDING, Build_QUEUED, Build_WORKING, Build_SUCCESS, Build_FAILURE, Build_INTERNAL_ERROR, Build_TIMEOUT, Build_CANCELLED, Build_EXPIRED

const (
	// Status of the build is unknown.
	Build_STATUS_UNKNOWN Build_Status = 0
	// Build has been created and is pending execution and queuing. It has not
	// been queued.
	Build_PENDING Build_Status = 10
	// Build or step is queued; work has not yet begun.
	Build_QUEUED Build_Status = 1
	// Build or step is being executed.
	Build_WORKING Build_Status = 2
	// Build or step finished successfully.
	Build_SUCCESS Build_Status = 3
	// Build or step failed to complete successfully.
	Build_FAILURE Build_Status = 4
	// Build or step failed due to an internal cause.
	Build_INTERNAL_ERROR Build_Status = 5
	// Build or step took longer than was allowed.
	Build_TIMEOUT Build_Status = 6
	// Build or step was canceled by a user.
	Build_CANCELLED Build_Status = 7
	// Build was enqueued for longer than the value of `queue_ttl`.
	Build_EXPIRED Build_Status = 9
)

func (Build_Status) Descriptor

func (Build_Status) Enum

func (x Build_Status) Enum() *Build_Status

func (Build_Status) EnumDescriptor

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

Deprecated: Use Build_Status.Descriptor instead.

func (Build_Status) Number

func (Build_Status) String

func (x Build_Status) String() string

func (Build_Status) Type

Build_Warning

type Build_Warning struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`

	Priority Build_Warning_Priority "" /* 128 byte string literal not displayed */

}

A non-fatal problem encountered during the execution of the build.

func (*Build_Warning) Descriptor

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

Deprecated: Use Build_Warning.ProtoReflect.Descriptor instead.

func (*Build_Warning) GetPriority

func (x *Build_Warning) GetPriority() Build_Warning_Priority

func (*Build_Warning) GetText

func (x *Build_Warning) GetText() string

func (*Build_Warning) ProtoMessage

func (*Build_Warning) ProtoMessage()

func (*Build_Warning) ProtoReflect

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

func (*Build_Warning) Reset

func (x *Build_Warning) Reset()

func (*Build_Warning) String

func (x *Build_Warning) String() string

Build_Warning_Priority

type Build_Warning_Priority int32

The relative importance of this warning.

Build_Warning_PRIORITY_UNSPECIFIED, Build_Warning_INFO, Build_Warning_WARNING, Build_Warning_ALERT

const (
	// Should not be used.
	Build_Warning_PRIORITY_UNSPECIFIED Build_Warning_Priority = 0
	// e.g. deprecation warnings and alternative feature highlights.
	Build_Warning_INFO Build_Warning_Priority = 1
	// e.g. automated detection of possible issues with the build.
	Build_Warning_WARNING Build_Warning_Priority = 2
	// e.g. alerts that a feature used in the build is pending removal
	Build_Warning_ALERT Build_Warning_Priority = 3
)

func (Build_Warning_Priority) Descriptor

func (Build_Warning_Priority) Enum

func (Build_Warning_Priority) EnumDescriptor

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

Deprecated: Use Build_Warning_Priority.Descriptor instead.

func (Build_Warning_Priority) Number

func (Build_Warning_Priority) String

func (x Build_Warning_Priority) String() string

func (Build_Warning_Priority) Type

BuiltImage

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,proto3" json:"name,omitempty"`
	// Docker Registry 2.0 digest.
	Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	// Output only. Stores timing information for pushing the specified image.
	PushTiming *TimeSpan `protobuf:"bytes,4,opt,name=push_timing,json=pushTiming,proto3" json:"push_timing,omitempty"`
	// contains filtered or unexported fields
}

An image built by the pipeline.

func (*BuiltImage) Descriptor

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

Deprecated: Use BuiltImage.ProtoReflect.Descriptor instead.

func (*BuiltImage) GetDigest

func (x *BuiltImage) GetDigest() string

func (*BuiltImage) GetName

func (x *BuiltImage) GetName() string

func (*BuiltImage) GetPushTiming

func (x *BuiltImage) GetPushTiming() *TimeSpan

func (*BuiltImage) ProtoMessage

func (*BuiltImage) ProtoMessage()

func (*BuiltImage) ProtoReflect

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

func (*BuiltImage) Reset

func (x *BuiltImage) Reset()

func (*BuiltImage) String

func (x *BuiltImage) String() string

CancelBuildRequest

type CancelBuildRequest struct {

	// The name of the `Build` to cancel.
	// Format: `projects/{project}/locations/{location}/builds/{build}`
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Required. ID of the project.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Required. ID of the build.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request to cancel an ongoing build.

func (*CancelBuildRequest) Descriptor

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

Deprecated: Use CancelBuildRequest.ProtoReflect.Descriptor instead.

func (*CancelBuildRequest) GetId

func (x *CancelBuildRequest) GetId() string

func (*CancelBuildRequest) GetName

func (x *CancelBuildRequest) GetName() string

func (*CancelBuildRequest) GetProjectId

func (x *CancelBuildRequest) GetProjectId() string

func (*CancelBuildRequest) ProtoMessage

func (*CancelBuildRequest) ProtoMessage()

func (*CancelBuildRequest) ProtoReflect

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

func (*CancelBuildRequest) Reset

func (x *CancelBuildRequest) Reset()

func (*CancelBuildRequest) String

func (x *CancelBuildRequest) String() string

CloudBuildClient

type CloudBuildClient interface {
	// Starts a build with the specified configuration.
	//
	// This method returns a long-running `Operation`, which includes the build
	// ID. Pass the build ID to `GetBuild` to determine the build status (such as
	// `SUCCESS` or `FAILURE`).
	CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Returns information about a previously requested build.
	//
	// The `Build` that is returned includes its status (such as `SUCCESS`,
	// `FAILURE`, or `WORKING`), 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 build in progress.
	CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error)
	// Creates a new build based on the specified build.
	//
	// This method creates a new build using the original build request, which may
	// or may not result in an identical build.
	//
	// For triggered builds:
	//
	// * Triggered builds resolve to a precise revision; therefore a retry of a
	// triggered build will result in a build that uses the same revision.
	//
	// For non-triggered builds that specify `RepoSource`:
	//
	// * If the original build built from the tip of a branch, the retried build
	// will build from the tip of that branch, which may not be the same revision
	// as the original build.
	// * If the original build specified a commit sha or revision ID, the retried
	// build will use the identical source.
	//
	// For builds that specify `StorageSource`:
	//
	// * If the original build pulled source from Google Cloud Storage without
	// specifying the generation of the object, the new build will use the current
	// object, which may be different from the original build source.
	// * If the original build pulled source from Cloud Storage and specified the
	// generation of the object, the new build will attempt to use the same
	// object, which may or may not be available depending on the bucket's
	// lifecycle management settings.
	RetryBuild(ctx context.Context, in *RetryBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Approves or rejects a pending build.
	//
	// If approved, the returned LRO will be analogous to the LRO returned from
	// a CreateBuild call.
	//
	// If rejected, the returned LRO will be immediately done.
	ApproveBuild(ctx context.Context, in *ApproveBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Creates a new `BuildTrigger`.
	//
	// This API is experimental.
	CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
	// Returns information about a `BuildTrigger`.
	//
	// This API is experimental.
	GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
	// Lists existing `BuildTrigger`s.
	//
	// This API is experimental.
	ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error)
	// Deletes a `BuildTrigger` by its project ID and trigger ID.
	//
	// This API is experimental.
	DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a `BuildTrigger` by its project ID and trigger ID.
	//
	// This API is experimental.
	UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
	// Runs a `BuildTrigger` at a particular source revision.
	RunBuildTrigger(ctx context.Context, in *RunBuildTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// ReceiveTriggerWebhook [Experimental] is called when the API receives a
	// webhook request targeted at a specific trigger.
	ReceiveTriggerWebhook(ctx context.Context, in *ReceiveTriggerWebhookRequest, opts ...grpc.CallOption) (*ReceiveTriggerWebhookResponse, error)
	// Creates a `WorkerPool`.
	CreateWorkerPool(ctx context.Context, in *CreateWorkerPoolRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Returns details of a `WorkerPool`.
	GetWorkerPool(ctx context.Context, in *GetWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error)
	// Deletes a `WorkerPool`.
	DeleteWorkerPool(ctx context.Context, in *DeleteWorkerPoolRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates a `WorkerPool`.
	UpdateWorkerPool(ctx context.Context, in *UpdateWorkerPoolRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists `WorkerPool`s.
	ListWorkerPools(ctx context.Context, in *ListWorkerPoolsRequest, opts ...grpc.CallOption) (*ListWorkerPoolsResponse, error)
}

CloudBuildClient is the client API for CloudBuild service.

For semantics around ctx use and closing/ending streaming RPCs, please re