genproto: google.golang.org/genproto/googleapis/devtools/cloudbuild/v1 Index | Files

package cloudbuild

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

Index

Package Files

cloudbuild.pb.go

Variables

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",
        9:  "EXPIRED",
    }
    Build_Status_value = map[string]int32{
        "STATUS_UNKNOWN": 0,
        "QUEUED":         1,
        "WORKING":        2,
        "SUCCESS":        3,
        "FAILURE":        4,
        "INTERNAL_ERROR": 5,
        "TIMEOUT":        6,
        "CANCELLED":      7,
        "EXPIRED":        9,
    }
)

Enum value maps for Build_Status.

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.

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

Enum value maps for PullRequestFilter_CommentControl.

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.

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

Enum value maps for BuildOptions_MachineType.

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.

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.

var (
    BuildOptions_LoggingMode_name = map[int32]string{
        0:  "LOGGING_UNSPECIFIED",
        1:  "LEGACY",
        2:  "GCS_ONLY",
    }
    BuildOptions_LoggingMode_value = map[string]int32{
        "LOGGING_UNSPECIFIED": 0,
        "LEGACY":              1,
        "GCS_ONLY":            2,
    }
)

Enum value maps for BuildOptions_LoggingMode.

var (
    WorkerPool_Region_name = map[int32]string{
        0:  "REGION_UNSPECIFIED",
        1:  "US_CENTRAL1",
        2:  "US_WEST1",
        3:  "US_EAST1",
        4:  "US_EAST4",
    }
    WorkerPool_Region_value = map[string]int32{
        "REGION_UNSPECIFIED": 0,
        "US_CENTRAL1":        1,
        "US_WEST1":           2,
        "US_EAST1":           3,
        "US_EAST4":           4,
    }
)

Enum value maps for WorkerPool_Region.

var (
    WorkerPool_Status_name = map[int32]string{
        0:  "STATUS_UNSPECIFIED",
        1:  "CREATING",
        2:  "RUNNING",
        3:  "DELETING",
        4:  "DELETED",
    }
    WorkerPool_Status_value = map[string]int32{
        "STATUS_UNSPECIFIED": 0,
        "CREATING":           1,
        "RUNNING":            2,
        "DELETING":           3,
        "DELETED":            4,
    }
)

Enum value maps for WorkerPool_Status.

var File_google_devtools_cloudbuild_v1_cloudbuild_proto protoreflect.FileDescriptor

func RegisterCloudBuildServer Uses

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

type ArtifactResult Uses

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 Uses

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

Deprecated: Use ArtifactResult.ProtoReflect.Descriptor instead.

func (*ArtifactResult) GetFileHash Uses

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

func (*ArtifactResult) GetLocation Uses

func (x *ArtifactResult) GetLocation() string

func (*ArtifactResult) ProtoMessage Uses

func (*ArtifactResult) ProtoMessage()

func (*ArtifactResult) ProtoReflect Uses

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

func (*ArtifactResult) Reset Uses

func (x *ArtifactResult) Reset()

func (*ArtifactResult) String Uses

func (x *ArtifactResult) String() string

type Artifacts Uses

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"`
    // contains filtered or unexported fields
}

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

func (*Artifacts) Descriptor Uses

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

Deprecated: Use Artifacts.ProtoReflect.Descriptor instead.

func (*Artifacts) GetImages Uses

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

func (*Artifacts) GetObjects Uses

func (x *Artifacts) GetObjects() *Artifacts_ArtifactObjects

func (*Artifacts) ProtoMessage Uses

func (*Artifacts) ProtoMessage()

func (*Artifacts) ProtoReflect Uses

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

func (*Artifacts) Reset Uses

func (x *Artifacts) Reset()

func (*Artifacts) String Uses

func (x *Artifacts) String() string

type Artifacts_ArtifactObjects Uses

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 Uses

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

Deprecated: Use Artifacts_ArtifactObjects.ProtoReflect.Descriptor instead.

func (*Artifacts_ArtifactObjects) GetLocation Uses

func (x *Artifacts_ArtifactObjects) GetLocation() string

func (*Artifacts_ArtifactObjects) GetPaths Uses

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

func (*Artifacts_ArtifactObjects) GetTiming Uses

func (x *Artifacts_ArtifactObjects) GetTiming() *TimeSpan

func (*Artifacts_ArtifactObjects) ProtoMessage Uses

func (*Artifacts_ArtifactObjects) ProtoMessage()

func (*Artifacts_ArtifactObjects) ProtoReflect Uses

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

func (*Artifacts_ArtifactObjects) Reset Uses

func (x *Artifacts_ArtifactObjects) Reset()

func (*Artifacts_ArtifactObjects) String Uses

func (x *Artifacts_ArtifactObjects) String() string

type Build Uses

type Build struct {

    // Output only. Unique identifier of the build.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // Output only. ID of the project.
    ProjectId string `protobuf:"bytes,16,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Output only. Status of the build.
    Status Build_Status `protobuf:"varint,2,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"`
    // Output only. Customer-readable message about the current status.
    StatusDetail string `protobuf:"bytes,24,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
    // The location of the source files to build.
    Source *Source `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
    // Required. The operations to be performed on the workspace.
    Steps []*BuildStep `protobuf:"bytes,11,rep,name=steps,proto3" json:"steps,omitempty"`
    // Output only. Results of the build.
    Results *Results `protobuf:"bytes,10,opt,name=results,proto3" json:"results,omitempty"`
    // Output only. Time at which the request to create the build was received.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Output only. Time at which execution of the build was started.
    StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Output only. 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.
    FinishTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=finish_time,json=finishTime,proto3" 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 *duration.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"`
    // A list of images to be pushed upon the successful completion of all build
    // steps.
    //
    // The images are 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 status is marked
    // `FAILURE`.
    Images []string `protobuf:"bytes,13,rep,name=images,proto3" json:"images,omitempty"`
    // TTL in queue for this build. If provided and the build is enqueued longer
    // than this value, the build will expire and the build status will be
    // `EXPIRED`.
    //
    // The TTL starts ticking from create_time.
    QueueTtl *duration.Duration `protobuf:"bytes,40,opt,name=queue_ttl,json=queueTtl,proto3" json:"queue_ttl,omitempty"`
    // Artifacts produced by the build that should be uploaded upon
    // successful completion of all build steps.
    Artifacts *Artifacts `protobuf:"bytes,37,opt,name=artifacts,proto3" json:"artifacts,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,proto3" json:"logs_bucket,omitempty"`
    // Output only. A permanent fixed identifier for source.
    SourceProvenance *SourceProvenance `protobuf:"bytes,21,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"`
    // Output only. The ID of the `BuildTrigger` that triggered this build, if it
    // was triggered automatically.
    BuildTriggerId string `protobuf:"bytes,22,opt,name=build_trigger_id,json=buildTriggerId,proto3" json:"build_trigger_id,omitempty"`
    // Special options for this build.
    Options *BuildOptions `protobuf:"bytes,23,opt,name=options,proto3" json:"options,omitempty"`
    // Output only. URL to logs for this build in Google Cloud Console.
    LogUrl string `protobuf:"bytes,25,opt,name=log_url,json=logUrl,proto3" json:"log_url,omitempty"`
    // Substitutions data for `Build` resource.
    Substitutions map[string]string `protobuf:"bytes,29,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Tags for annotation of a `Build`. These are not docker tags.
    Tags []string `protobuf:"bytes,31,rep,name=tags,proto3" json:"tags,omitempty"`
    // Secrets to decrypt using Cloud Key Management Service.
    Secrets []*Secret `protobuf:"bytes,32,rep,name=secrets,proto3" json:"secrets,omitempty"`
    // Output only. Stores timing information for phases of the build. Valid keys
    // are:
    //
    // * BUILD: time to execute all build steps
    // * PUSH: time to push all specified images.
    // * FETCHSOURCE: time to fetch source.
    //
    // If the build does not specify source or images,
    // these keys will not be included.
    Timing map[string]*TimeSpan `protobuf:"bytes,33,rep,name=timing,proto3" json:"timing,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

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. - $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 Uses

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

Deprecated: Use Build.ProtoReflect.Descriptor instead.

func (*Build) GetArtifacts Uses

func (x *Build) GetArtifacts() *Artifacts

func (*Build) GetBuildTriggerId Uses

func (x *Build) GetBuildTriggerId() string

func (*Build) GetCreateTime Uses

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

func (*Build) GetFinishTime Uses

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

func (*Build) GetId Uses

func (x *Build) GetId() string

func (*Build) GetImages Uses

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

func (*Build) GetLogUrl Uses

func (x *Build) GetLogUrl() string

func (*Build) GetLogsBucket Uses

func (x *Build) GetLogsBucket() string

func (*Build) GetOptions Uses

func (x *Build) GetOptions() *BuildOptions

func (*Build) GetProjectId Uses

func (x *Build) GetProjectId() string

func (*Build) GetQueueTtl Uses

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

func (*Build) GetResults Uses

func (x *Build) GetResults() *Results

func (*Build) GetSecrets Uses

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

func (*Build) GetSource Uses

func (x *Build) GetSource() *Source

func (*Build) GetSourceProvenance Uses

func (x *Build) GetSourceProvenance() *SourceProvenance

func (*Build) GetStartTime Uses

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

func (*Build) GetStatus Uses

func (x *Build) GetStatus() Build_Status

func (*Build) GetStatusDetail Uses

func (x *Build) GetStatusDetail() string

func (*Build) GetSteps Uses

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

func (*Build) GetSubstitutions Uses

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

func (*Build) GetTags Uses

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

func (*Build) GetTimeout Uses

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

func (*Build) GetTiming Uses

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

func (*Build) ProtoMessage Uses

func (*Build) ProtoMessage()

func (*Build) ProtoReflect Uses

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

func (*Build) Reset Uses

func (x *Build) Reset()

func (*Build) String Uses

func (x *Build) String() string

type BuildOperationMetadata Uses

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 Uses

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

Deprecated: Use BuildOperationMetadata.ProtoReflect.Descriptor instead.

func (*BuildOperationMetadata) GetBuild Uses

func (x *BuildOperationMetadata) GetBuild() *Build

func (*BuildOperationMetadata) ProtoMessage Uses

func (*BuildOperationMetadata) ProtoMessage()

func (*BuildOperationMetadata) ProtoReflect Uses

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

func (*BuildOperationMetadata) Reset Uses

func (x *BuildOperationMetadata) Reset()

func (*BuildOperationMetadata) String Uses

func (x *BuildOperationMetadata) String() string

type BuildOptions Uses

type BuildOptions struct {

    // Requested hash for SourceProvenance.
    SourceProvenanceHash []Hash_HashType `protobuf:"varint,1,rep,packed,name=source_provenance_hash,json=sourceProvenanceHash,proto3,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,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_VerifyOption" json:"requested_verify_option,omitempty"`
    // Compute Engine machine type on which to run the build.
    MachineType BuildOptions_MachineType `protobuf:"varint,3,opt,name=machine_type,json=machineType,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_MachineType" json:"machine_type,omitempty"`
    // Requested disk size for the VM that runs the build. Note that this is *NOT*
    // "disk free"; some of the space will be used by the operating system and
    // build utilities. Also note that this is the minimum disk size that will be
    // allocated for the build -- the build may run with a larger disk than
    // requested. At present, the maximum disk size is 1000GB; builds that request
    // more than the maximum are rejected with an error.
    DiskSizeGb int64 `protobuf:"varint,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
    // Option to specify behavior when there is an error in the substitution
    // checks.
    SubstitutionOption BuildOptions_SubstitutionOption `protobuf:"varint,4,opt,name=substitution_option,json=substitutionOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_SubstitutionOption" json:"substitution_option,omitempty"`
    // Option to define build log streaming behavior to Google Cloud
    // Storage.
    LogStreamingOption BuildOptions_LogStreamingOption `protobuf:"varint,5,opt,name=log_streaming_option,json=logStreamingOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LogStreamingOption" json:"log_streaming_option,omitempty"`
    // Option to specify a `WorkerPool` for the build.
    // Format: projects/{project}/locations/{location}/workerPools/{workerPool}
    //
    // This field is experimental.
    WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
    // Option to specify the logging mode, which determines where the logs are
    // stored.
    Logging BuildOptions_LoggingMode `protobuf:"varint,11,opt,name=logging,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LoggingMode" json:"logging,omitempty"`
    // A list of global environment variable definitions that will exist for all
    // build steps in this build. If a variable is defined in both globally and in
    // a build step, the variable will use the build step value.
    //
    // The elements are of the form "KEY=VALUE" for the environment variable "KEY"
    // being given the value "VALUE".
    Env []string `protobuf:"bytes,12,rep,name=env,proto3" json:"env,omitempty"`
    // A list of global environment variables, which are encrypted using a Cloud
    // Key Management Service crypto key. These values must be specified in the
    // build's `Secret`. These variables will be available to all build steps
    // in this build.
    SecretEnv []string `protobuf:"bytes,13,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"`
    // Global list of volumes to mount for ALL build steps
    //
    // Each volume is created as an empty volume prior to starting the build
    // process. Upon completion of the build, volumes and their contents are
    // discarded. Global volume names and paths cannot conflict with the volumes
    // defined a build step.
    //
    // Using a global volume in a build with only one step is not valid as
    // it is indicative of a build request with an incorrect configuration.
    Volumes []*Volume `protobuf:"bytes,14,rep,name=volumes,proto3" json:"volumes,omitempty"`
    // contains filtered or unexported fields
}

Optional arguments to enable specific features of builds.

func (*BuildOptions) Descriptor Uses

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

Deprecated: Use BuildOptions.ProtoReflect.Descriptor instead.

func (*BuildOptions) GetDiskSizeGb Uses

func (x *BuildOptions) GetDiskSizeGb() int64

func (*BuildOptions) GetEnv Uses

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

func (*BuildOptions) GetLogStreamingOption Uses

func (x *BuildOptions) GetLogStreamingOption() BuildOptions_LogStreamingOption

func (*BuildOptions) GetLogging Uses

func (x *BuildOptions) GetLogging() BuildOptions_LoggingMode

func (*BuildOptions) GetMachineType Uses

func (x *BuildOptions) GetMachineType() BuildOptions_MachineType

func (*BuildOptions) GetRequestedVerifyOption Uses

func (x *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption

func (*BuildOptions) GetSecretEnv Uses

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

func (*BuildOptions) GetSourceProvenanceHash Uses

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

func (*BuildOptions) GetSubstitutionOption Uses

func (x *BuildOptions) GetSubstitutionOption() BuildOptions_SubstitutionOption

func (*BuildOptions) GetVolumes Uses

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

func (*BuildOptions) GetWorkerPool Uses

func (x *BuildOptions) GetWorkerPool() string

func (*BuildOptions) ProtoMessage Uses

func (*BuildOptions) ProtoMessage()

func (*BuildOptions) ProtoReflect Uses

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

func (*BuildOptions) Reset Uses

func (x *BuildOptions) Reset()

func (*BuildOptions) String Uses

func (x *BuildOptions) String() string

type BuildOptions_LogStreamingOption Uses

type BuildOptions_LogStreamingOption int32

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

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 Uses

func (BuildOptions_LogStreamingOption) Descriptor() protoreflect.EnumDescriptor

func (BuildOptions_LogStreamingOption) Enum Uses

func (x BuildOptions_LogStreamingOption) Enum() *BuildOptions_LogStreamingOption

func (BuildOptions_LogStreamingOption) EnumDescriptor Uses

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

Deprecated: Use BuildOptions_LogStreamingOption.Descriptor instead.

func (BuildOptions_LogStreamingOption) Number Uses

func (x BuildOptions_LogStreamingOption) Number() protoreflect.EnumNumber

func (BuildOptions_LogStreamingOption) String Uses

func (x BuildOptions_LogStreamingOption) String() string

func (BuildOptions_LogStreamingOption) Type Uses

func (BuildOptions_LogStreamingOption) Type() protoreflect.EnumType

type BuildOptions_LoggingMode Uses

type BuildOptions_LoggingMode int32

Specifies the logging mode.

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
    // Stackdriver logging and Cloud Storage logging are enabled.
    BuildOptions_LEGACY BuildOptions_LoggingMode = 1
    // Only Cloud Storage logging is enabled.
    BuildOptions_GCS_ONLY BuildOptions_LoggingMode = 2
)

func (BuildOptions_LoggingMode) Descriptor Uses

func (BuildOptions_LoggingMode) Descriptor() protoreflect.EnumDescriptor

func (BuildOptions_LoggingMode) Enum Uses

func (x BuildOptions_LoggingMode) Enum() *BuildOptions_LoggingMode

func (BuildOptions_LoggingMode) EnumDescriptor Uses

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

Deprecated: Use BuildOptions_LoggingMode.Descriptor instead.

func (BuildOptions_LoggingMode) Number Uses

func (x BuildOptions_LoggingMode) Number() protoreflect.EnumNumber

func (BuildOptions_LoggingMode) String Uses

func (x BuildOptions_LoggingMode) String() string

func (BuildOptions_LoggingMode) Type Uses

func (BuildOptions_LoggingMode) Type() protoreflect.EnumType

type BuildOptions_MachineType Uses

type BuildOptions_MachineType int32

Supported VM sizes.

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
)

func (BuildOptions_MachineType) Descriptor Uses

func (BuildOptions_MachineType) Descriptor() protoreflect.EnumDescriptor

func (BuildOptions_MachineType) Enum Uses

func (x BuildOptions_MachineType) Enum() *BuildOptions_MachineType

func (BuildOptions_MachineType) EnumDescriptor Uses

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

Deprecated: Use BuildOptions_MachineType.Descriptor instead.

func (BuildOptions_MachineType) Number Uses

func (x BuildOptions_MachineType) Number() protoreflect.EnumNumber

func (BuildOptions_MachineType) String Uses

func (x BuildOptions_MachineType) String() string

func (BuildOptions_MachineType) Type Uses

func (BuildOptions_MachineType) Type() protoreflect.EnumType

type BuildOptions_SubstitutionOption Uses

type BuildOptions_SubstitutionOption int32

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

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 Uses

func (BuildOptions_SubstitutionOption) Descriptor() protoreflect.EnumDescriptor

func (BuildOptions_SubstitutionOption) Enum Uses

func (x BuildOptions_SubstitutionOption) Enum() *BuildOptions_SubstitutionOption

func (BuildOptions_SubstitutionOption) EnumDescriptor Uses

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

Deprecated: Use BuildOptions_SubstitutionOption.Descriptor instead.

func (BuildOptions_SubstitutionOption) Number Uses

func (x BuildOptions_SubstitutionOption) Number() protoreflect.EnumNumber

func (BuildOptions_SubstitutionOption) String Uses

func (x BuildOptions_SubstitutionOption) String() string

func (BuildOptions_SubstitutionOption) Type Uses

func (BuildOptions_SubstitutionOption) Type() protoreflect.EnumType

type BuildOptions_VerifyOption Uses

type BuildOptions_VerifyOption int32

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

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

func (BuildOptions_VerifyOption) Descriptor Uses

func (BuildOptions_VerifyOption) Descriptor() protoreflect.EnumDescriptor

func (BuildOptions_VerifyOption) Enum Uses

func (x BuildOptions_VerifyOption) Enum() *BuildOptions_VerifyOption

func (BuildOptions_VerifyOption) EnumDescriptor Uses

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

Deprecated: Use BuildOptions_VerifyOption.Descriptor instead.

func (BuildOptions_VerifyOption) Number Uses

func (x BuildOptions_VerifyOption) Number() protoreflect.EnumNumber

func (BuildOptions_VerifyOption) String Uses

func (x BuildOptions_VerifyOption) String() string

func (BuildOptions_VerifyOption) Type Uses

func (BuildOptions_VerifyOption) Type() protoreflect.EnumType

type BuildStep Uses

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 *duration.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"`
    // contains filtered or unexported fields
}

A step in the build pipeline.

func (*BuildStep) Descriptor Uses

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

Deprecated: Use BuildStep.ProtoReflect.Descriptor instead.

func (*BuildStep) GetArgs Uses

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

func (*BuildStep) GetDir Uses

func (x *BuildStep) GetDir() string

func (*BuildStep) GetEntrypoint Uses

func (x *BuildStep) GetEntrypoint() string

func (*BuildStep) GetEnv Uses

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

func (*BuildStep) GetId Uses

func (x *BuildStep) GetId() string

func (*BuildStep) GetName Uses

func (x *BuildStep) GetName() string

func (*BuildStep) GetPullTiming Uses

func (x *BuildStep) GetPullTiming() *TimeSpan

func (*BuildStep) GetSecretEnv Uses

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

func (*BuildStep) GetStatus Uses

func (x *BuildStep) GetStatus() Build_Status

func (*BuildStep) GetTimeout Uses

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

func (*BuildStep) GetTiming Uses

func (x *BuildStep) GetTiming() *TimeSpan

func (*BuildStep) GetVolumes Uses

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

func (*BuildStep) GetWaitFor Uses

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

func (*BuildStep) ProtoMessage Uses

func (*BuildStep) ProtoMessage()

func (*BuildStep) ProtoReflect Uses

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

func (*BuildStep) Reset Uses

func (x *BuildStep) Reset()

func (*BuildStep) String Uses

func (x *BuildStep) String() string

type BuildTrigger Uses

type BuildTrigger struct {

    // Output only. Unique identifier of the trigger.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // Human-readable description of this trigger.
    Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
    // User-assigned name of the trigger. Must be unique within the project.
    // Trigger names must meet the following requirements:
    //
    // + They must contain only alphanumeric characters and dashes.
    // + They can be 1-64 characters long.
    // + They must begin and end with an alphanumeric character.
    Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty"`
    // Tags for annotation of a `BuildTrigger`
    Tags []string `protobuf:"bytes,19,rep,name=tags,proto3" json:"tags,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.
    //
    // Mutually exclusive with `github`.
    TriggerTemplate *RepoSource `protobuf:"bytes,7,opt,name=trigger_template,json=triggerTemplate,proto3" json:"trigger_template,omitempty"`
    // GitHubEventsConfig describes the configuration of a trigger that creates
    // a build whenever a GitHub event is received.
    //
    // Mutually exclusive with `trigger_template`.
    Github *GitHubEventsConfig `protobuf:"bytes,13,opt,name=github,proto3" json:"github,omitempty"`
    // Template describing the Build request to make when the trigger is matched.
    //
    // Types that are assignable to BuildTemplate:
    //	*BuildTrigger_Build
    //	*BuildTrigger_Filename
    BuildTemplate isBuildTrigger_BuildTemplate `protobuf_oneof:"build_template"`
    // Output only. Time when the trigger was created.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // If true, the trigger will never result in a build.
    Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"`
    // Substitutions for Build resource. The keys must match the following
    // regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the
    // keys in bindings.
    Substitutions map[string]string `protobuf:"bytes,11,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // ignored_files and included_files are file glob matches using
    // https://golang.org/pkg/path/filepath/#Match extended with support for "**".
    //
    // If ignored_files and changed files are both empty, then they are
    // not used to determine whether or not to trigger a build.
    //
    // If ignored_files is not empty, then we ignore any files that match
    // any of the ignored_file globs. If the change has no files that are
    // outside of the ignored_files globs, then we do not trigger a build.
    IgnoredFiles []string `protobuf:"bytes,15,rep,name=ignored_files,json=ignoredFiles,proto3" json:"ignored_files,omitempty"`
    // If any of the files altered in the commit pass the ignored_files
    // filter and included_files is empty, then as far as this filter is
    // concerned, we should trigger the build.
    //
    // If any of the files altered in the commit pass the ignored_files
    // filter and included_files is not empty, then we make sure that at
    // least one of those files matches a included_files glob. If not,
    // then we do not trigger a build.
    IncludedFiles []string `protobuf:"bytes,16,rep,name=included_files,json=includedFiles,proto3" json:"included_files,omitempty"`
    // contains filtered or unexported fields
}

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

func (*BuildTrigger) Descriptor Uses

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

Deprecated: Use BuildTrigger.ProtoReflect.Descriptor instead.

func (*BuildTrigger) GetBuild Uses

func (x *BuildTrigger) GetBuild() *Build

func (*BuildTrigger) GetBuildTemplate Uses

func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate

func (*BuildTrigger) GetCreateTime Uses

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

func (*BuildTrigger) GetDescription Uses

func (x *BuildTrigger) GetDescription() string

func (*BuildTrigger) GetDisabled Uses

func (x *BuildTrigger) GetDisabled() bool

func (*BuildTrigger) GetFilename Uses

func (x *BuildTrigger) GetFilename() string

func (*BuildTrigger) GetGithub Uses

func (x *BuildTrigger) GetGithub() *GitHubEventsConfig

func (*BuildTrigger) GetId Uses

func (x *BuildTrigger) GetId() string

func (*BuildTrigger) GetIgnoredFiles Uses

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

func (*BuildTrigger) GetIncludedFiles Uses

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

func (*BuildTrigger) GetName Uses

func (x *BuildTrigger) GetName() string

func (*BuildTrigger) GetSubstitutions Uses

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

func (*BuildTrigger) GetTags Uses

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

func (*BuildTrigger) GetTriggerTemplate Uses

func (x *BuildTrigger) GetTriggerTemplate() *RepoSource

func (*BuildTrigger) ProtoMessage Uses

func (*BuildTrigger) ProtoMessage()

func (*BuildTrigger) ProtoReflect Uses

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

func (*BuildTrigger) Reset Uses

func (x *BuildTrigger) Reset()

func (*BuildTrigger) String Uses

func (x *BuildTrigger) String() string

type BuildTrigger_Build Uses

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

type BuildTrigger_Filename Uses

type BuildTrigger_Filename struct {
    // Path, from the source root, to a file whose contents is used for the
    // template.
    Filename string `protobuf:"bytes,8,opt,name=filename,proto3,oneof"`
}

type Build_Status Uses

type Build_Status int32

Possible status of a build or build step.

const (
    // Status of the build is unknown.
    Build_STATUS_UNKNOWN Build_Status = 0
    // 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 Uses

func (Build_Status) Descriptor() protoreflect.EnumDescriptor

func (Build_Status) Enum Uses

func (x Build_Status) Enum() *Build_Status

func (Build_Status) EnumDescriptor Uses

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

Deprecated: Use Build_Status.Descriptor instead.

func (Build_Status) Number Uses

func (x Build_Status) Number() protoreflect.EnumNumber

func (Build_Status) String Uses

func (x Build_Status) String() string

func (Build_Status) Type Uses

func (Build_Status) Type() protoreflect.EnumType

type BuiltImage Uses

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 Uses

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

Deprecated: Use BuiltImage.ProtoReflect.Descriptor instead.

func (*BuiltImage) GetDigest Uses

func (x *BuiltImage) GetDigest() string

func (*BuiltImage) GetName Uses

func (x *BuiltImage) GetName() string

func (*BuiltImage) GetPushTiming Uses

func (x *BuiltImage) GetPushTiming() *TimeSpan

func (*BuiltImage) ProtoMessage Uses

func (*BuiltImage) ProtoMessage()

func (*BuiltImage) ProtoReflect Uses

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

func (*BuiltImage) Reset Uses

func (x *BuiltImage) Reset()

func (*BuiltImage) String Uses

func (x *BuiltImage) String() string

type CancelBuildRequest Uses

type CancelBuildRequest struct {

    // 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 Uses

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

Deprecated: Use CancelBuildRequest.ProtoReflect.Descriptor instead.

func (*CancelBuildRequest) GetId Uses

func (x *CancelBuildRequest) GetId() string

func (*CancelBuildRequest) GetProjectId Uses

func (x *CancelBuildRequest) GetProjectId() string

func (*CancelBuildRequest) ProtoMessage Uses

func (*CancelBuildRequest) ProtoMessage()

func (*CancelBuildRequest) ProtoReflect Uses

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

func (*CancelBuildRequest) Reset Uses

func (x *CancelBuildRequest) Reset()

func (*CancelBuildRequest) String Uses

func (x *CancelBuildRequest) String() string

type CloudBuildClient Uses

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)
    // 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) (*empty.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)
    // Creates a `WorkerPool` to run the builds, and returns the new worker pool.
    //
    // This API is experimental.
    CreateWorkerPool(ctx context.Context, in *CreateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error)
    // Returns information about a `WorkerPool`.
    //
    // This API is experimental.
    GetWorkerPool(ctx context.Context, in *GetWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error)
    // Deletes a `WorkerPool` by its project ID and WorkerPool name.
    //
    // This API is experimental.
    DeleteWorkerPool(ctx context.Context, in *DeleteWorkerPoolRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Update a `WorkerPool`.
    //
    // This API is experimental.
    UpdateWorkerPool(ctx context.Context, in *UpdateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error)
    // List project's `WorkerPools`.
    //
    // This API is experimental.
    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 refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCloudBuildClient Uses

func NewCloudBuildClient(cc grpc.ClientConnInterface) CloudBuildClient

type CloudBuildServer Uses

type CloudBuildServer 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(context.Context, *CreateBuildRequest) (*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(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 build in progress.
    CancelBuild(context.Context, *CancelBuildRequest) (*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(context.Context, *RetryBuildRequest) (*longrunning.Operation, error)
    // Creates a new `BuildTrigger`.
    //
    // This API is experimental.
    CreateBuildTrigger(context.Context, *CreateBuildTriggerRequest) (*BuildTrigger, error)
    // Returns information about a `BuildTrigger`.
    //
    // This API is experimental.
    GetBuildTrigger(context.Context, *GetBuildTriggerRequest) (*BuildTrigger, error)
    // Lists existing `BuildTrigger`s.
    //
    // This API is experimental.
    ListBuildTriggers(context.Context, *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error)
    // Deletes a `BuildTrigger` by its project ID and trigger ID.
    //
    // This API is experimental.
    DeleteBuildTrigger(context.Context, *DeleteBuildTriggerRequest) (*empty.Empty, error)
    // Updates a `BuildTrigger` by its project ID and trigger ID.
    //
    // This API is experimental.
    UpdateBuildTrigger(context.Context, *UpdateBuildTriggerRequest) (*BuildTrigger, error)
    // Runs a `BuildTrigger` at a particular source revision.
    RunBuildTrigger(context.Context, *RunBuildTriggerRequest) (*longrunning.Operation, error)
    // Creates a `WorkerPool` to run the builds, and returns the new worker pool.
    //
    // This API is experimental.
    CreateWorkerPool(context.Context, *CreateWorkerPoolRequest) (*WorkerPool, error)
    // Returns information about a `WorkerPool`.
    //
    // This API is experimental.
    GetWorkerPool(context.Context, *GetWorkerPoolRequest) (*WorkerPool, error)
    // Deletes a `WorkerPool` by its project ID and WorkerPool name.
    //
    // This API is experimental.
    DeleteWorkerPool(context.Context, *DeleteWorkerPoolRequest) (*empty.Empty, error)
    // Update a `WorkerPool`.
    //
    // This API is experimental.
    UpdateWorkerPool(context.Context, *UpdateWorkerPoolRequest) (*WorkerPool, error)
    // List project's `WorkerPools`.
    //
    // This API is experimental.
    ListWorkerPools(context.Context, *ListWorkerPoolsRequest) (*ListWorkerPoolsResponse, error)
}

CloudBuildServer is the server API for CloudBuild service.

type CreateBuildRequest Uses

type CreateBuildRequest struct {

    // Required. ID of the project.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. Build resource to create.
    Build *Build `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"`
    // contains filtered or unexported fields
}

Request to create a new build.

func (*CreateBuildRequest) Descriptor Uses

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

Deprecated: Use CreateBuildRequest.ProtoReflect.Descriptor instead.

func (*CreateBuildRequest) GetBuild Uses

func (x *CreateBuildRequest) GetBuild() *Build

func (*CreateBuildRequest) GetProjectId Uses

func (x *CreateBuildRequest) GetProjectId() string

func (*CreateBuildRequest) ProtoMessage Uses

func (*CreateBuildRequest) ProtoMessage()

func (*CreateBuildRequest) ProtoReflect Uses

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

func (*CreateBuildRequest) Reset Uses

func (x *CreateBuildRequest) Reset()

func (*CreateBuildRequest) String Uses

func (x *CreateBuildRequest) String() string

type CreateBuildTriggerRequest Uses

type CreateBuildTriggerRequest struct {

    // Required. ID of the project for which to configure automatic builds.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. `BuildTrigger` to create.
    Trigger *BuildTrigger `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"`
    // contains filtered or unexported fields
}

Request to create a new `BuildTrigger`.

func (*CreateBuildTriggerRequest) Descriptor Uses

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

Deprecated: Use CreateBuildTriggerRequest.ProtoReflect.Descriptor instead.

func (*CreateBuildTriggerRequest) GetProjectId Uses

func (x *CreateBuildTriggerRequest) GetProjectId() string

func (*CreateBuildTriggerRequest) GetTrigger Uses

func (x *CreateBuildTriggerRequest) GetTrigger() *BuildTrigger

func (*CreateBuildTriggerRequest) ProtoMessage Uses

func (*CreateBuildTriggerRequest) ProtoMessage()

func (*CreateBuildTriggerRequest) ProtoReflect Uses

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

func (*CreateBuildTriggerRequest) Reset Uses

func (x *CreateBuildTriggerRequest) Reset()

func (*CreateBuildTriggerRequest) String Uses

func (x *CreateBuildTriggerRequest) String() string

type CreateWorkerPoolRequest Uses

type CreateWorkerPoolRequest struct {

    // ID of the parent project.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // `WorkerPool` resource to create.
    WorkerPool *WorkerPool `protobuf:"bytes,2,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
    // contains filtered or unexported fields
}

Request to create a new `WorkerPool`.

func (*CreateWorkerPoolRequest) Descriptor Uses

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

Deprecated: Use CreateWorkerPoolRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkerPoolRequest) GetParent Uses

func (x *CreateWorkerPoolRequest) GetParent() string

func (*CreateWorkerPoolRequest) GetWorkerPool Uses

func (x *CreateWorkerPoolRequest) GetWorkerPool() *WorkerPool

func (*CreateWorkerPoolRequest) ProtoMessage Uses

func (*CreateWorkerPoolRequest) ProtoMessage()

func (*CreateWorkerPoolRequest) ProtoReflect Uses

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

func (*CreateWorkerPoolRequest) Reset Uses

func (x *CreateWorkerPoolRequest) Reset()

func (*CreateWorkerPoolRequest) String Uses

func (x *CreateWorkerPoolRequest) String() string

type DeleteBuildTriggerRequest Uses

type DeleteBuildTriggerRequest struct {

    // Required. ID of the project that owns the trigger.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. ID of the `BuildTrigger` to delete.
    TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
    // contains filtered or unexported fields
}

Request to delete a `BuildTrigger`.

func (*DeleteBuildTriggerRequest) Descriptor Uses

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

Deprecated: Use DeleteBuildTriggerRequest.ProtoReflect.Descriptor instead.

func (*DeleteBuildTriggerRequest) GetProjectId Uses

func (x *DeleteBuildTriggerRequest) GetProjectId() string

func (*DeleteBuildTriggerRequest) GetTriggerId Uses

func (x *DeleteBuildTriggerRequest) GetTriggerId() string

func (*DeleteBuildTriggerRequest) ProtoMessage Uses

func (*DeleteBuildTriggerRequest) ProtoMessage()

func (*DeleteBuildTriggerRequest) ProtoReflect Uses

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

func (*DeleteBuildTriggerRequest) Reset Uses

func (x *DeleteBuildTriggerRequest) Reset()

func (*DeleteBuildTriggerRequest) String Uses

func (x *DeleteBuildTriggerRequest) String() string

type DeleteWorkerPoolRequest Uses

type DeleteWorkerPoolRequest struct {

    // The field will contain name of the resource requested, for example:
    // "projects/project-1/workerPools/workerpool-name"
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request to delete a `WorkerPool`.

func (*DeleteWorkerPoolRequest) Descriptor Uses

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

Deprecated: Use DeleteWorkerPoolRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkerPoolRequest) GetName Uses

func (x *DeleteWorkerPoolRequest) GetName() string

func (*DeleteWorkerPoolRequest) ProtoMessage Uses

func (*DeleteWorkerPoolRequest) ProtoMessage()

func (*DeleteWorkerPoolRequest) ProtoReflect Uses

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

func (*DeleteWorkerPoolRequest) Reset Uses

func (x *DeleteWorkerPoolRequest) Reset()

func (*DeleteWorkerPoolRequest) String Uses

func (x *DeleteWorkerPoolRequest) String() string

type FileHashes Uses

type FileHashes struct {

    // Collection of file hashes.
    FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"`
    // contains filtered or unexported fields
}

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

func (*FileHashes) Descriptor Uses

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

Deprecated: Use FileHashes.ProtoReflect.Descriptor instead.

func (*FileHashes) GetFileHash Uses

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

func (*FileHashes) ProtoMessage Uses

func (*FileHashes) ProtoMessage()

func (*FileHashes) ProtoReflect Uses

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

func (*FileHashes) Reset Uses

func (x *FileHashes) Reset()

func (*FileHashes) String Uses

func (x *FileHashes) String() string

type GetBuildRequest Uses

type GetBuildRequest struct {

    // 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 get a build.

func (*GetBuildRequest) Descriptor Uses

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

Deprecated: Use GetBuildRequest.ProtoReflect.Descriptor instead.

func (*GetBuildRequest) GetId Uses

func (x *GetBuildRequest) GetId() string

func (*GetBuildRequest) GetProjectId Uses

func (x *GetBuildRequest) GetProjectId() string

func (*GetBuildRequest) ProtoMessage Uses

func (*GetBuildRequest) ProtoMessage()

func (*GetBuildRequest) ProtoReflect Uses

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

func (*GetBuildRequest) Reset Uses

func (x *GetBuildRequest) Reset()

func (*GetBuildRequest) String Uses

func (x *GetBuildRequest) String() string

type GetBuildTriggerRequest Uses

type GetBuildTriggerRequest struct {

    // Required. ID of the project that owns the trigger.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. Identifier (`id` or `name`) of the `BuildTrigger` to get.
    TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
    // contains filtered or unexported fields
}

Returns the `BuildTrigger` with the specified ID.

func (*GetBuildTriggerRequest) Descriptor Uses

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

Deprecated: Use GetBuildTriggerRequest.ProtoReflect.Descriptor instead.

func (*GetBuildTriggerRequest) GetProjectId Uses

func (x *GetBuildTriggerRequest) GetProjectId() string

func (*GetBuildTriggerRequest) GetTriggerId Uses

func (x *GetBuildTriggerRequest) GetTriggerId() string

func (*GetBuildTriggerRequest) ProtoMessage Uses

func (*GetBuildTriggerRequest) ProtoMessage()

func (*GetBuildTriggerRequest) ProtoReflect Uses

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

func (*GetBuildTriggerRequest) Reset Uses

func (x *GetBuildTriggerRequest) Reset()

func (*GetBuildTriggerRequest) String Uses

func (x *GetBuildTriggerRequest) String() string

type GetWorkerPoolRequest Uses

type GetWorkerPoolRequest struct {

    // The field will contain name of the resource requested, for example:
    // "projects/project-1/workerPools/workerpool-name"
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request to get a `WorkerPool` with the specified name.

func (*GetWorkerPoolRequest) Descriptor Uses

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

Deprecated: Use GetWorkerPoolRequest.ProtoReflect.Descriptor instead.

func (*GetWorkerPoolRequest) GetName Uses

func (x *GetWorkerPoolRequest) GetName() string

func (*GetWorkerPoolRequest) ProtoMessage Uses

func (*GetWorkerPoolRequest) ProtoMessage()

func (*GetWorkerPoolRequest) ProtoReflect Uses

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

func (*GetWorkerPoolRequest) Reset Uses

func (x *GetWorkerPoolRequest) Reset()

func (*GetWorkerPoolRequest) String Uses

func (x *GetWorkerPoolRequest) String() string

type GitHubEventsConfig Uses

type GitHubEventsConfig struct {

    // The installationID that emits the GitHub event.
    //
    // Deprecated: Do not use.
    InstallationId int64 `protobuf:"varint,1,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
    // Owner of the repository. For example: The owner for
    // https://github.com/googlecloudplatform/cloud-builders is
    // "googlecloudplatform".
    Owner string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
    // Name of the repository. For example: The name for
    // https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
    Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
    // Filter describing the types of events to trigger a build.
    // Currently supported event types: push, pull_request.
    //
    // Types that are assignable to Event:
    //	*GitHubEventsConfig_PullRequest
    //	*GitHubEventsConfig_Push
    Event isGitHubEventsConfig_Event `protobuf_oneof:"event"`
    // contains filtered or unexported fields
}

GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.

This message is experimental.

func (*GitHubEventsConfig) Descriptor Uses

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

Deprecated: Use GitHubEventsConfig.ProtoReflect.Descriptor instead.

func (*GitHubEventsConfig) GetEvent Uses

func (m *GitHubEventsConfig) GetEvent() isGitHubEventsConfig_Event

func (*GitHubEventsConfig) GetInstallationId Uses

func (x *GitHubEventsConfig) GetInstallationId() int64

Deprecated: Do not use.

func (*GitHubEventsConfig) GetName Uses

func (x *GitHubEventsConfig) GetName() string

func (*GitHubEventsConfig) GetOwner Uses

func (x *GitHubEventsConfig) GetOwner() string

func (*GitHubEventsConfig) GetPullRequest Uses

func (x *GitHubEventsConfig) GetPullRequest() *PullRequestFilter

func (*GitHubEventsConfig) GetPush Uses

func (x *GitHubEventsConfig) GetPush() *PushFilter

func (*GitHubEventsConfig) ProtoMessage Uses

func (*GitHubEventsConfig) ProtoMessage()

func (*GitHubEventsConfig) ProtoReflect Uses

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

func (*GitHubEventsConfig) Reset Uses

func (x *GitHubEventsConfig) Reset()

func (*GitHubEventsConfig) String Uses

func (x *GitHubEventsConfig) String() string

type GitHubEventsConfig_PullRequest Uses

type GitHubEventsConfig_PullRequest struct {
    // filter to match changes in pull requests.
    PullRequest *PullRequestFilter `protobuf:"bytes,4,opt,name=pull_request,json=pullRequest,proto3,oneof"`
}

type GitHubEventsConfig_Push Uses

type GitHubEventsConfig_Push struct {
    // filter to match changes in refs like branches, tags.
    Push *PushFilter `protobuf:"bytes,5,opt,name=push,proto3,oneof"`
}

type Hash Uses

type Hash struct {

    // The type of hash that was performed.
    Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,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"`
    // contains filtered or unexported fields
}

Container message for hash values.

func (*Hash) Descriptor Uses

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

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetType Uses

func (x *Hash) GetType() Hash_HashType

func (*Hash) GetValue Uses

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

func (*Hash) ProtoMessage Uses

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect Uses

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

func (*Hash) Reset Uses

func (x *Hash) Reset()

func (*Hash) String Uses

func (x *Hash) String() string

type Hash_HashType Uses

type Hash_HashType int32

Specifies the hash algorithm, if any.

const (
    // No hash requested.
    Hash_NONE Hash_HashType = 0
    // Use a sha256 hash.
    Hash_SHA256 Hash_HashType = 1
    // Use a md5 hash.
    Hash_MD5 Hash_HashType = 2
)

func (Hash_HashType) Descriptor Uses

func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor

func (Hash_HashType) Enum Uses

func (x Hash_HashType) Enum() *Hash_HashType

func (Hash_HashType) EnumDescriptor Uses

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

Deprecated: Use Hash_HashType.Descriptor instead.

func (Hash_HashType) Number Uses

func (x Hash_HashType) Number() protoreflect.EnumNumber

func (Hash_HashType) String Uses

func (x Hash_HashType) String() string

func (Hash_HashType) Type Uses

func (Hash_HashType) Type() protoreflect.EnumType

type ListBuildTriggersRequest Uses

type ListBuildTriggersRequest struct {

    // Required. ID of the project for which to list BuildTriggers.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Number of results to return in the list.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" 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,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request to list existing `BuildTriggers`.

func (*ListBuildTriggersRequest) Descriptor Uses

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

Deprecated: Use ListBuildTriggersRequest.ProtoReflect.Descriptor instead.

func (*ListBuildTriggersRequest) GetPageSize Uses

func (x *ListBuildTriggersRequest) GetPageSize() int32

func (*ListBuildTriggersRequest) GetPageToken Uses

func (x *ListBuildTriggersRequest) GetPageToken() string

func (*ListBuildTriggersRequest) GetProjectId Uses

func (x *ListBuildTriggersRequest) GetProjectId() string

func (*ListBuildTriggersRequest) ProtoMessage Uses

func (*ListBuildTriggersRequest) ProtoMessage()

func (*ListBuildTriggersRequest) ProtoReflect Uses

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

func (*ListBuildTriggersRequest) Reset Uses

func (x *ListBuildTriggersRequest) Reset()

func (*ListBuildTriggersRequest) String Uses

func (x *ListBuildTriggersRequest) String() string

type ListBuildTriggersResponse Uses

type ListBuildTriggersResponse struct {

    // `BuildTriggers` for the project, sorted by `create_time` descending.
    Triggers []*BuildTrigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"`
    // Token to receive the next page of results.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response containing existing `BuildTriggers`.

func (*ListBuildTriggersResponse) Descriptor Uses

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

Deprecated: Use ListBuildTriggersResponse.ProtoReflect.Descriptor instead.

func (*ListBuildTriggersResponse) GetNextPageToken Uses

func (x *ListBuildTriggersResponse) GetNextPageToken() string

func (*ListBuildTriggersResponse) GetTriggers Uses

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

func (*ListBuildTriggersResponse) ProtoMessage Uses

func (*ListBuildTriggersResponse) ProtoMessage()

func (*ListBuildTriggersResponse) ProtoReflect Uses

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

func (*ListBuildTriggersResponse) Reset Uses

func (x *ListBuildTriggersResponse) Reset()

func (*ListBuildTriggersResponse) String Uses

func (x *ListBuildTriggersResponse) String() string

type ListBuildsRequest Uses

type ListBuildsRequest struct {

    // Required. ID of the project.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Number of results to return in the list.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" 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,proto3" json:"page_token,omitempty"`
    // The raw filter text to constrain the results.
    Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"`
    // contains filtered or unexported fields
}

Request to list builds.

func (*ListBuildsRequest) Descriptor Uses

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

Deprecated: Use ListBuildsRequest.ProtoReflect.Descriptor instead.

func (*ListBuildsRequest) GetFilter Uses

func (x *ListBuildsRequest) GetFilter() string

func (*ListBuildsRequest) GetPageSize Uses

func (x *ListBuildsRequest) GetPageSize() int32

func (*ListBuildsRequest) GetPageToken Uses

func (x *ListBuildsRequest) GetPageToken() string

func (*ListBuildsRequest) GetProjectId Uses

func (x *ListBuildsRequest) GetProjectId() string

func (*ListBuildsRequest) ProtoMessage Uses

func (*ListBuildsRequest) ProtoMessage()

func (*ListBuildsRequest) ProtoReflect Uses

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

func (*ListBuildsRequest) Reset Uses

func (x *ListBuildsRequest) Reset()

func (*ListBuildsRequest) String Uses

func (x *ListBuildsRequest) String() string

type ListBuildsResponse Uses

type ListBuildsResponse struct {

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

Response including listed builds.

func (*ListBuildsResponse) Descriptor Uses

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

Deprecated: Use ListBuildsResponse.ProtoReflect.Descriptor instead.

func (*ListBuildsResponse) GetBuilds Uses

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

func (*ListBuildsResponse) GetNextPageToken Uses

func (x *ListBuildsResponse) GetNextPageToken() string

func (*ListBuildsResponse) ProtoMessage Uses

func (*ListBuildsResponse) ProtoMessage()

func (*ListBuildsResponse) ProtoReflect Uses

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

func (*ListBuildsResponse) Reset Uses

func (x *ListBuildsResponse) Reset()

func (*ListBuildsResponse) String Uses

func (x *ListBuildsResponse) String() string

type ListWorkerPoolsRequest Uses

type ListWorkerPoolsRequest struct {

    // ID of the parent project.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // contains filtered or unexported fields
}

Request to list `WorkerPools`.

func (*ListWorkerPoolsRequest) Descriptor Uses

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

Deprecated: Use ListWorkerPoolsRequest.ProtoReflect.Descriptor instead.

func (*ListWorkerPoolsRequest) GetParent Uses

func (x *ListWorkerPoolsRequest) GetParent() string

func (*ListWorkerPoolsRequest) ProtoMessage Uses

func (*ListWorkerPoolsRequest) ProtoMessage()

func (*ListWorkerPoolsRequest) ProtoReflect Uses

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

func (*ListWorkerPoolsRequest) Reset Uses

func (x *ListWorkerPoolsRequest) Reset()

func (*ListWorkerPoolsRequest) String Uses

func (x *ListWorkerPoolsRequest) String() string

type ListWorkerPoolsResponse Uses

type ListWorkerPoolsResponse struct {

    // `WorkerPools` for the project.
    WorkerPools []*WorkerPool `protobuf:"bytes,1,rep,name=worker_pools,json=workerPools,proto3" json:"worker_pools,omitempty"`
    // contains filtered or unexported fields
}

Response containing existing `WorkerPools`.

func (*ListWorkerPoolsResponse) Descriptor Uses

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

Deprecated: Use ListWorkerPoolsResponse.ProtoReflect.Descriptor instead.

func (*ListWorkerPoolsResponse) GetWorkerPools Uses

func (x *ListWorkerPoolsResponse) GetWorkerPools() []*WorkerPool

func (*ListWorkerPoolsResponse) ProtoMessage Uses

func (*ListWorkerPoolsResponse) ProtoMessage()

func (*ListWorkerPoolsResponse) ProtoReflect Uses

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

func (*ListWorkerPoolsResponse) Reset Uses

func (x *ListWorkerPoolsResponse) Reset()

func (*ListWorkerPoolsResponse) String Uses

func (x *ListWorkerPoolsResponse) String() string

type Network Uses

type Network struct {

    // Project id containing the defined network and subnetwork. For a peered VPC,
    // this will be the same as the project_id in which the workers are created.
    // For a shared VPC, this will be the project sharing the network with the
    // project_id project in which workers will be created. For custom workers
    // with no VPC, this will be the same as project_id.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Network on which the workers are created.
    // "default" network is used if empty.
    Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
    // Subnetwork on which the workers are created.
    // "default" subnetwork is used if empty.
    Subnetwork string `protobuf:"bytes,3,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
    // contains filtered or unexported fields
}

Network describes the GCP network used to create workers in.

func (*Network) Descriptor Uses

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetNetwork Uses

func (x *Network) GetNetwork() string

func (*Network) GetProjectId Uses

func (x *Network) GetProjectId() string

func (*Network) GetSubnetwork Uses

func (x *Network) GetSubnetwork() string

func (*Network) ProtoMessage Uses

func (*Network) ProtoMessage()

func (*Network) ProtoReflect Uses

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

func (*Network) Reset Uses

func (x *Network) Reset()

func (*Network) String Uses

func (x *Network) String() string

type PullRequestFilter Uses

type PullRequestFilter struct {

    // Target refs to match.
    // A target ref is the git reference where the pull request will be applied.
    //
    // Types that are assignable to GitRef:
    //	*PullRequestFilter_Branch
    GitRef isPullRequestFilter_GitRef `protobuf_oneof:"git_ref"`
    // Whether to block builds on a "/gcbrun" comment from a repository admin or
    // collaborator.
    CommentControl PullRequestFilter_CommentControl `protobuf:"varint,5,opt,name=comment_control,json=commentControl,proto3,enum=google.devtools.cloudbuild.v1.PullRequestFilter_CommentControl" json:"comment_control,omitempty"`
    // If true, branches that do NOT match the git_ref will trigger a build.
    InvertRegex bool `protobuf:"varint,6,opt,name=invert_regex,json=invertRegex,proto3" json:"invert_regex,omitempty"`
    // contains filtered or unexported fields
}

PullRequestFilter contains filter properties for matching GitHub Pull Requests.

func (*PullRequestFilter) Descriptor Uses

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

Deprecated: Use PullRequestFilter.ProtoReflect.Descriptor instead.

func (*PullRequestFilter) GetBranch Uses

func (x *PullRequestFilter) GetBranch() string

func (*PullRequestFilter) GetCommentControl Uses

func (x *PullRequestFilter) GetCommentControl() PullRequestFilter_CommentControl

func (*PullRequestFilter) GetGitRef Uses

func (m *PullRequestFilter) GetGitRef() isPullRequestFilter_GitRef

func (*PullRequestFilter) GetInvertRegex Uses

func (x *PullRequestFilter) GetInvertRegex() bool

func (*PullRequestFilter) ProtoMessage Uses

func (*PullRequestFilter) ProtoMessage()

func (*PullRequestFilter) ProtoReflect Uses

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

func (*PullRequestFilter) Reset Uses

func (x *PullRequestFilter) Reset()

func (*PullRequestFilter) String Uses

func (x *PullRequestFilter) String() string

type PullRequestFilter_Branch Uses

type PullRequestFilter_Branch struct {
    // Regex of branches to match.
    //
    // The syntax of the regular expressions accepted is the syntax accepted by
    // RE2 and described at https://github.com/google/re2/wiki/Syntax
    Branch string `protobuf:"bytes,2,opt,name=branch,proto3,oneof"`
}

type PullRequestFilter_CommentControl Uses

type PullRequestFilter_CommentControl int32

Controls behavior of Pull Request comments.

const (
    // Do not require comments on Pull Requests before builds are triggered.
    PullRequestFilter_COMMENTS_DISABLED PullRequestFilter_CommentControl = 0
    // Enforce that repository owners or collaborators must comment on Pull
    // Requests before builds are triggered.
    PullRequestFilter_COMMENTS_ENABLED PullRequestFilter_CommentControl = 1
)

func (PullRequestFilter_CommentControl) Descriptor Uses

func (PullRequestFilter_CommentControl) Descriptor() protoreflect.EnumDescriptor

func (PullRequestFilter_CommentControl) Enum Uses

func (x PullRequestFilter_CommentControl) Enum() *PullRequestFilter_CommentControl

func (PullRequestFilter_CommentControl) EnumDescriptor Uses

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

Deprecated: Use PullRequestFilter_CommentControl.Descriptor instead.

func (PullRequestFilter_CommentControl) Number Uses

func (x PullRequestFilter_CommentControl) Number() protoreflect.EnumNumber

func (PullRequestFilter_CommentControl) String Uses

func (x PullRequestFilter_CommentControl) String() string

func (PullRequestFilter_CommentControl) Type Uses

func (PullRequestFilter_CommentControl) Type() protoreflect.EnumType

type PushFilter Uses

type PushFilter struct {

    // Modified refs to match.
    // A modified refs are the refs modified by a git push operation.
    //
    // Types that are assignable to GitRef:
    //	*PushFilter_Branch
    //	*PushFilter_Tag
    GitRef isPushFilter_GitRef `protobuf_oneof:"git_ref"`
    // When true, only trigger a build if the revision regex does NOT match the
    // git_ref regex.
    InvertRegex bool `protobuf:"varint,4,opt,name=invert_regex,json=invertRegex,proto3" json:"invert_regex,omitempty"`
    // contains filtered or unexported fields
}

Push contains filter properties for matching GitHub git pushes.

func (*PushFilter) Descriptor Uses

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

Deprecated: Use PushFilter.ProtoReflect.Descriptor instead.

func (*PushFilter) GetBranch Uses

func (x *PushFilter) GetBranch() string

func (*PushFilter) GetGitRef Uses

func (m *PushFilter) GetGitRef() isPushFilter_GitRef

func (*PushFilter) GetInvertRegex Uses

func (x *PushFilter) GetInvertRegex() bool

func (*PushFilter) GetTag Uses

func (x *PushFilter) GetTag() string

func (*PushFilter) ProtoMessage Uses

func (*PushFilter) ProtoMessage()

func (*PushFilter) ProtoReflect Uses

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

func (*PushFilter) Reset Uses

func (x *PushFilter) Reset()

func (*PushFilter) String Uses

func (x *PushFilter) String() string

type PushFilter_Branch Uses

type PushFilter_Branch struct {
    // Regexes matching branches to build.
    //
    // The syntax of the regular expressions accepted is the syntax accepted by
    // RE2 and described at https://github.com/google/re2/wiki/Syntax
    Branch string `protobuf:"bytes,2,opt,name=branch,proto3,oneof"`
}

type PushFilter_Tag Uses

type PushFilter_Tag struct {
    // Regexes matching tags to build.
    //
    // The syntax of the regular expressions accepted is the syntax accepted by
    // RE2 and described at https://github.com/google/re2/wiki/Syntax
    Tag string `protobuf:"bytes,3,opt,name=tag,proto3,oneof"`
}

type RepoSource Uses

type RepoSource struct {

    // ID of the project that owns the Cloud Source Repository. If omitted, the
    // project ID requesting the build is assumed.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. Name of the Cloud Source Repository.
    RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
    // A revision within the Cloud Source Repository must be specified in
    // one of these ways.
    //
    // Types that are assignable to Revision:
    //	*RepoSource_BranchName
    //	*RepoSource_TagName
    //	*RepoSource_CommitSha
    Revision isRepoSource_Revision `protobuf_oneof:"revision"`
    // Directory, relative to the source root, in which to run the build.
    //
    // This must be a relative path. If a step's `dir` is specified and is an
    // absolute path, this value is ignored for that step's execution.
    Dir string `protobuf:"bytes,7,opt,name=dir,proto3" json:"dir,omitempty"`
    // Only trigger a build if the revision regex does NOT match the revision
    // regex.
    InvertRegex bool `protobuf:"varint,8,opt,name=invert_regex,json=invertRegex,proto3" json:"invert_regex,omitempty"`
    // Substitutions to use in a triggered build.
    // Should only be used with RunBuildTrigger
    Substitutions map[string]string `protobuf:"bytes,9,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

Location of the source in a Google Cloud Source Repository.

func (*RepoSource) Descriptor Uses

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

Deprecated: Use RepoSource.ProtoReflect.Descriptor instead.

func (*RepoSource) GetBranchName Uses

func (x *RepoSource) GetBranchName() string

func (*RepoSource) GetCommitSha Uses

func (x *RepoSource) GetCommitSha() string

func (*RepoSource) GetDir Uses

func (x *RepoSource) GetDir() string

func (*RepoSource) GetInvertRegex Uses

func (x *RepoSource) GetInvertRegex() bool

func (*RepoSource) GetProjectId Uses

func (x *RepoSource) GetProjectId() string

func (*RepoSource) GetRepoName Uses

func (x *RepoSource) GetRepoName() string

func (*RepoSource) GetRevision Uses

func (m *RepoSource) GetRevision() isRepoSource_Revision

func (*RepoSource) GetSubstitutions Uses

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

func (*RepoSource) GetTagName Uses

func (x *RepoSource) GetTagName() string

func (*RepoSource) ProtoMessage Uses

func (*RepoSource) ProtoMessage()

func (*RepoSource) ProtoReflect Uses

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

func (*RepoSource) Reset Uses

func (x *RepoSource) Reset()

func (*RepoSource) String Uses

func (x *RepoSource) String() string

type RepoSource_BranchName Uses

type RepoSource_BranchName struct {
    // Regex matching branches to build.
    //
    // The syntax of the regular expressions accepted is the syntax accepted by
    // RE2 and described at https://github.com/google/re2/wiki/Syntax
    BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"`
}

type RepoSource_CommitSha Uses

type RepoSource_CommitSha struct {
    // Explicit commit SHA to build.
    CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,proto3,oneof"`
}

type RepoSource_TagName Uses

type RepoSource_TagName struct {
    // Regex matching tags to build.
    //
    // The syntax of the regular expressions accepted is the syntax accepted by
    // RE2 and described at https://github.com/google/re2/wiki/Syntax
    TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"`
}

type Results Uses

type Results struct {

    // Container images that were built as a part of the build.
    Images []*BuiltImage `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"`
    // List of build step digests, in the order corresponding to build step
    // indices.
    BuildStepImages []string `protobuf:"bytes,3,rep,name=build_step_images,json=buildStepImages,proto3" json:"build_step_images,omitempty"`
    // Path to the artifact manifest. Only populated when artifacts are uploaded.
    ArtifactManifest string `protobuf:"bytes,4,opt,name=artifact_manifest,json=artifactManifest,proto3" json:"artifact_manifest,omitempty"`
    // Number of artifacts uploaded. Only populated when artifacts are uploaded.
    NumArtifacts int64 `protobuf:"varint,5,opt,name=num_artifacts,json=numArtifacts,proto3" json:"num_artifacts,omitempty"`
    // List of build step outputs, produced by builder images, in the order
    // corresponding to build step indices.
    //
    // [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)
    // can produce this output by writing to `$BUILDER_OUTPUT/output`.
    // Only the first 4KB of data is stored.
    BuildStepOutputs [][]byte `protobuf:"bytes,6,rep,name=build_step_outputs,json=buildStepOutputs,proto3" json:"build_step_outputs,omitempty"`
    // Time to push all non-container artifacts.
    ArtifactTiming *TimeSpan `protobuf:"bytes,7,opt,name=artifact_timing,json=artifactTiming,proto3" json:"artifact_timing,omitempty"`
    // contains filtered or unexported fields
}

Artifacts created by the build pipeline.

func (*Results) Descriptor Uses

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

Deprecated: Use Results.ProtoReflect.Descriptor instead.

func (*Results) GetArtifactManifest Uses

func (x *Results) GetArtifactManifest() string

func (*Results) GetArtifactTiming Uses

func (x *Results) GetArtifactTiming() *TimeSpan

func (*Results) GetBuildStepImages Uses

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

func (*Results) GetBuildStepOutputs Uses

func (x *Results) GetBuildStepOutputs() [][]byte

func (*Results) GetImages Uses

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

func (*Results) GetNumArtifacts Uses

func (x *Results) GetNumArtifacts() int64

func (*Results) ProtoMessage Uses

func (*Results) ProtoMessage()

func (*Results) ProtoReflect Uses

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

func (*Results) Reset Uses

func (x *Results) Reset()

func (*Results) String Uses

func (x *Results) String() string

type RetryBuildRequest Uses

type RetryBuildRequest struct {

    // Required. ID of the project.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. Build ID of the original build.
    Id  string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
    // contains filtered or unexported fields
}

Specifies a build to retry.

func (*RetryBuildRequest) Descriptor Uses

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

Deprecated: Use RetryBuildRequest.ProtoReflect.Descriptor instead.

func (*RetryBuildRequest) GetId Uses

func (x *RetryBuildRequest) GetId() string

func (*RetryBuildRequest) GetProjectId Uses

func (x *RetryBuildRequest) GetProjectId() string

func (*RetryBuildRequest) ProtoMessage Uses

func (*RetryBuildRequest) ProtoMessage()

func (*RetryBuildRequest) ProtoReflect Uses

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

func (*RetryBuildRequest) Reset Uses

func (x *RetryBuildRequest) Reset()

func (*RetryBuildRequest) String Uses

func (x *RetryBuildRequest) String() string

type RunBuildTriggerRequest Uses

type RunBuildTriggerRequest struct {

    // 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 trigger.
    TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
    // Required. Source to build against this trigger.
    Source *RepoSource `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
    // contains filtered or unexported fields
}

Specifies a build trigger to run and the source to use.

func (*RunBuildTriggerRequest) Descriptor Uses

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

Deprecated: Use RunBuildTriggerRequest.ProtoReflect.Descriptor instead.

func (*RunBuildTriggerRequest) GetProjectId Uses

func (x *RunBuildTriggerRequest) GetProjectId() string

func (*RunBuildTriggerRequest) GetSource Uses

func (x *RunBuildTriggerRequest) GetSource() *RepoSource

func (*RunBuildTriggerRequest) GetTriggerId Uses

func (x *RunBuildTriggerRequest) GetTriggerId() string

func (*RunBuildTriggerRequest) ProtoMessage Uses

func (*RunBuildTriggerRequest) ProtoMessage()

func (*RunBuildTriggerRequest) ProtoReflect Uses

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

func (*RunBuildTriggerRequest) Reset Uses

func (x *RunBuildTriggerRequest) Reset()

func (*RunBuildTriggerRequest) String Uses

func (x *RunBuildTriggerRequest) String() string

type Secret Uses

type Secret struct {

    // Cloud KMS key name to use to decrypt these envs.
    KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
    // Map of environment variable name to its encrypted value.
    //
    // Secret environment variables must be unique across all of a build's
    // secrets, and must be used by at least one build step. Values can be at most
    // 64 KB in size. There can be at most 100 secret values across all of a
    // build's secrets.
    SecretEnv map[string][]byte `protobuf:"bytes,3,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value.

func (*Secret) Descriptor Uses

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetKmsKeyName Uses

func (x *Secret) GetKmsKeyName() string

func (*Secret) GetSecretEnv Uses

func (x *Secret) GetSecretEnv() map[string][]byte

func (*Secret) ProtoMessage Uses

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect Uses

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

func (*Secret) Reset Uses

func (x *Secret) Reset()

func (*Secret) String Uses

func (x *Secret) String() string

type Source Uses

type Source struct {

    // Location of source.
    //
    // Types that are assignable to Source:
    //	*Source_StorageSource
    //	*Source_RepoSource
    Source isSource_Source `protobuf_oneof:"source"`
    // contains filtered or unexported fields
}

Location of the source in a supported storage service.

func (*Source) Descriptor Uses

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetRepoSource Uses

func (x *Source) GetRepoSource() *RepoSource

func (*Source) GetSource Uses

func (m *Source) GetSource() isSource_Source

func (*Source) GetStorageSource Uses

func (x *Source) GetStorageSource() *StorageSource

func (*Source) ProtoMessage Uses

func (*Source) ProtoMessage()

func (*Source) ProtoReflect Uses

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

func (*Source) Reset Uses

func (x *Source) Reset()

func (*Source) String Uses

func (x *Source) String() string

type SourceProvenance Uses

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,proto3" 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,proto3" json:"resolved_repo_source,omitempty"`
    // Output only. 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.
    FileHashes map[string]*FileHashes `protobuf:"bytes,4,rep,name=file_hashes,json=fileHashes,proto3" json:"file_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

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

func (*SourceProvenance) Descriptor Uses

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

Deprecated: Use SourceProvenance.ProtoReflect.Descriptor instead.

func (*SourceProvenance) GetFileHashes Uses

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

func (*SourceProvenance) GetResolvedRepoSource Uses

func (x *SourceProvenance) GetResolvedRepoSource() *RepoSource

func (*SourceProvenance) GetResolvedStorageSource Uses

func (x *SourceProvenance) GetResolvedStorageSource() *StorageSource

func (*SourceProvenance) ProtoMessage Uses

func (*SourceProvenance) ProtoMessage()

func (*SourceProvenance) ProtoReflect Uses

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

func (*SourceProvenance) Reset Uses

func (x *SourceProvenance) Reset()

func (*SourceProvenance) String Uses

func (x *SourceProvenance) String() string

type Source_RepoSource Uses

type Source_RepoSource struct {
    // If provided, get the source from this location in a Cloud Source
    // Repository.
    RepoSource *RepoSource `protobuf:"bytes,3,opt,name=repo_source,json=repoSource,proto3,oneof"`
}

type Source_StorageSource Uses

type Source_StorageSource struct {
    // If provided, get the source from this location in Google Cloud Storage.
    StorageSource *StorageSource `protobuf:"bytes,2,opt,name=storage_source,json=storageSource,proto3,oneof"`
}

type StorageSource Uses

type StorageSource struct {

    // Google Cloud Storage bucket containing the source (see
    // [Bucket Name
    // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
    Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
    // Google Cloud Storage object containing the source.
    //
    // This object must be a gzipped archive file (`.tar.gz`) containing source to
    // build.
    Object string `protobuf:"bytes,2,opt,name=object,proto3" 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,proto3" json:"generation,omitempty"`
    // contains filtered or unexported fields
}

Location of the source in an archive file in Google Cloud Storage.

func (*StorageSource) Descriptor Uses

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

Deprecated: Use StorageSource.ProtoReflect.Descriptor instead.

func (*StorageSource) GetBucket Uses

func (x *StorageSource) GetBucket() string

func (*StorageSource) GetGeneration Uses

func (x *StorageSource) GetGeneration() int64

func (*StorageSource) GetObject Uses

func (x *StorageSource) GetObject() string

func (*StorageSource) ProtoMessage Uses

func (*StorageSource) ProtoMessage()

func (*StorageSource) ProtoReflect Uses

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

func (*StorageSource) Reset Uses

func (x *StorageSource) Reset()

func (*StorageSource) String Uses

func (x *StorageSource) String() string

type TimeSpan Uses

type TimeSpan struct {

    // Start of time span.
    StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // End of time span.
    EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
    // contains filtered or unexported fields
}

Start and end times for a build execution phase.

func (*TimeSpan) Descriptor Uses

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

Deprecated: Use TimeSpan.ProtoReflect.Descriptor instead.

func (*TimeSpan) GetEndTime Uses

func (x *TimeSpan) GetEndTime() *timestamp.Timestamp

func (*TimeSpan) GetStartTime Uses

func (x *TimeSpan) GetStartTime() *timestamp.Timestamp

func (*TimeSpan) ProtoMessage Uses

func (*TimeSpan) ProtoMessage()

func (*TimeSpan) ProtoReflect Uses

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

func (*TimeSpan) Reset Uses

func (x *TimeSpan) Reset()

func (*TimeSpan) String Uses

func (x *TimeSpan) String() string

type UnimplementedCloudBuildServer Uses

type UnimplementedCloudBuildServer struct {
}

UnimplementedCloudBuildServer can be embedded to have forward compatible implementations.

func (*UnimplementedCloudBuildServer) CancelBuild Uses

func (*UnimplementedCloudBuildServer) CancelBuild(context.Context, *CancelBuildRequest) (*Build, error)

func (*UnimplementedCloudBuildServer) CreateBuild Uses

func (*UnimplementedCloudBuildServer) CreateBuild(context.Context, *CreateBuildRequest) (*longrunning.Operation, error)

func (*UnimplementedCloudBuildServer) CreateBuildTrigger Uses

func (*UnimplementedCloudBuildServer) CreateBuildTrigger(context.Context, *CreateBuildTriggerRequest) (*BuildTrigger, error)

func (*UnimplementedCloudBuildServer) CreateWorkerPool Uses

func (*UnimplementedCloudBuildServer) CreateWorkerPool(context.Context, *CreateWorkerPoolRequest) (*WorkerPool, error)

func (*UnimplementedCloudBuildServer) DeleteBuildTrigger Uses

func (*UnimplementedCloudBuildServer) DeleteBuildTrigger(context.Context, *DeleteBuildTriggerRequest) (*empty.Empty, error)

func (*UnimplementedCloudBuildServer) DeleteWorkerPool Uses

func (*UnimplementedCloudBuildServer) DeleteWorkerPool(context.Context, *DeleteWorkerPoolRequest) (*empty.Empty, error)

func (*UnimplementedCloudBuildServer) GetBuild Uses

func (*UnimplementedCloudBuildServer) GetBuild(context.Context, *GetBuildRequest) (*Build, error)

func (*UnimplementedCloudBuildServer) GetBuildTrigger Uses

func (*UnimplementedCloudBuildServer) GetBuildTrigger(context.Context, *GetBuildTriggerRequest) (*BuildTrigger, error)

func (*UnimplementedCloudBuildServer) GetWorkerPool Uses

func (*UnimplementedCloudBuildServer) GetWorkerPool(context.Context, *GetWorkerPoolRequest) (*WorkerPool, error)

func (*UnimplementedCloudBuildServer) ListBuildTriggers Uses

func (*UnimplementedCloudBuildServer) ListBuildTriggers(context.Context, *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error)

func (*UnimplementedCloudBuildServer) ListBuilds Uses

func (*UnimplementedCloudBuildServer) ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error)

func (*UnimplementedCloudBuildServer) ListWorkerPools Uses

func (*UnimplementedCloudBuildServer) ListWorkerPools(context.Context, *ListWorkerPoolsRequest) (*ListWorkerPoolsResponse, error)

func (*UnimplementedCloudBuildServer) RetryBuild Uses

func (*UnimplementedCloudBuildServer) RetryBuild(context.Context, *RetryBuildRequest) (*longrunning.Operation, error)

func (*UnimplementedCloudBuildServer) RunBuildTrigger Uses

func (*UnimplementedCloudBuildServer) RunBuildTrigger(context.Context, *RunBuildTriggerRequest) (*longrunning.Operation, error)

func (*UnimplementedCloudBuildServer) UpdateBuildTrigger Uses

func (*UnimplementedCloudBuildServer) UpdateBuildTrigger(context.Context, *UpdateBuildTriggerRequest) (*BuildTrigger, error)

func (*UnimplementedCloudBuildServer) UpdateWorkerPool Uses

func (*UnimplementedCloudBuildServer) UpdateWorkerPool(context.Context, *UpdateWorkerPoolRequest) (*WorkerPool, error)

type UpdateBuildTriggerRequest Uses

type UpdateBuildTriggerRequest struct {

    // Required. ID of the project that owns the trigger.
    ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Required. ID of the `BuildTrigger` to update.
    TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
    // Required. `BuildTrigger` to update.
    Trigger *BuildTrigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
    // contains filtered or unexported fields
}

Request to update an existing `BuildTrigger`.

func (*UpdateBuildTriggerRequest) Descriptor Uses

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

Deprecated: Use UpdateBuildTriggerRequest.ProtoReflect.Descriptor instead.

func (*UpdateBuildTriggerRequest) GetProjectId Uses

func (x *UpdateBuildTriggerRequest) GetProjectId() string

func (*UpdateBuildTriggerRequest) GetTrigger Uses

func (x *UpdateBuildTriggerRequest) GetTrigger() *BuildTrigger

func (*UpdateBuildTriggerRequest) GetTriggerId Uses

func (x *UpdateBuildTriggerRequest) GetTriggerId() string

func (*UpdateBuildTriggerRequest) ProtoMessage Uses

func (*UpdateBuildTriggerRequest) ProtoMessage()

func (*UpdateBuildTriggerRequest) ProtoReflect Uses

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

func (*UpdateBuildTriggerRequest) Reset Uses

func (x *UpdateBuildTriggerRequest) Reset()

func (*UpdateBuildTriggerRequest) String Uses

func (x *UpdateBuildTriggerRequest) String() string

type UpdateWorkerPoolRequest Uses

type UpdateWorkerPoolRequest struct {

    // The field will contain name of the resource requested, for example:
    // "projects/project-1/workerPools/workerpool-name"
    Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // `WorkerPool` resource to update.
    WorkerPool *WorkerPool `protobuf:"bytes,3,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
    // contains filtered or unexported fields
}

Request to update a `WorkerPool`.

func (*UpdateWorkerPoolRequest) Descriptor Uses

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

Deprecated: Use UpdateWorkerPoolRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkerPoolRequest) GetName Uses

func (x *UpdateWorkerPoolRequest) GetName() string

func (*UpdateWorkerPoolRequest) GetWorkerPool Uses

func (x *UpdateWorkerPoolRequest) GetWorkerPool() *WorkerPool

func (*UpdateWorkerPoolRequest) ProtoMessage Uses

func (*UpdateWorkerPoolRequest) ProtoMessage()

func (*UpdateWorkerPoolRequest) ProtoReflect Uses

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

func (*UpdateWorkerPoolRequest) Reset Uses

func (x *UpdateWorkerPoolRequest) Reset()

func (*UpdateWorkerPoolRequest) String Uses

func (x *UpdateWorkerPoolRequest) String() string

type Volume Uses

type Volume struct {

    // Name of the volume to mount.
    //
    // Volume names must be unique per build step and must be valid names for
    // Docker volumes. Each named volume must be used by at least two build steps.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Path at which to mount the volume.
    //
    // Paths must be absolute and cannot conflict with other volume paths on the
    // same build step or with certain reserved volume paths.
    Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
    // contains filtered or unexported fields
}

Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.

func (*Volume) Descriptor Uses

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

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetName Uses

func (x *Volume) GetName() string

func (*Volume) GetPath Uses

func (x *Volume) GetPath() string

func (*Volume) ProtoMessage Uses

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect Uses

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

func (*Volume) Reset Uses

func (x *Volume) Reset()

func (*Volume) String Uses

func (x *Volume) String() string

type WorkerConfig Uses

type WorkerConfig struct {

    // Machine Type of the worker, such as n1-standard-1.
    // See https://cloud.google.com/compute/docs/machine-types.
    // If left blank, Cloud Build will use a standard unspecified machine to
    // create the worker pool.
    // `machine_type` is overridden if you specify a different machine type in
    // `build_options`. In this case, the VM specified in the `build_options`
    // will be created on demand at build time. For more information see
    // https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes
    MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
    // Size of the disk attached to the worker, in GB.
    // See https://cloud.google.com/compute/docs/disks/
    // If `0` is specified, Cloud Build will use a standard disk size.
    // `disk_size` is overridden if you specify a different disk size in
    // `build_options`. In this case, a VM with a disk size specified in the
    // `build_options` will be created on demand at build time. For more
    // information see
    // https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions
    DiskSizeGb int64 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
    // The network definition used to create the worker.
    // If this section is left empty, the workers will be created in
    // WorkerPool.project_id on the default network.
    Network *Network `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
    // The tag applied to the worker, and the same tag used by the firewall rule.
    // It is used to identify the Cloud Build workers among other VMs.
    // The default value for tag is `worker`.
    Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
    // contains filtered or unexported fields
}

WorkerConfig defines the configuration to be used for a creating workers in the pool.

func (*WorkerConfig) Descriptor Uses

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

Deprecated: Use WorkerConfig.ProtoReflect.Descriptor instead.

func (*WorkerConfig) GetDiskSizeGb Uses

func (x *WorkerConfig) GetDiskSizeGb() int64

func (*WorkerConfig) GetMachineType Uses

func (x *WorkerConfig) GetMachineType() string

func (*WorkerConfig) GetNetwork Uses

func (x *WorkerConfig) GetNetwork() *Network

func (*WorkerConfig) GetTag Uses

func (x *WorkerConfig) GetTag() string

func (*WorkerConfig) ProtoMessage Uses

func (*WorkerConfig) ProtoMessage()

func (*WorkerConfig) ProtoReflect Uses

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

func (*WorkerConfig) Reset Uses

func (x *WorkerConfig) Reset()

func (*WorkerConfig) String Uses

func (x *WorkerConfig) String() string

type WorkerPool Uses

type WorkerPool struct {

    // User-defined name of the `WorkerPool`.
    Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"`
    // The project ID of the GCP project for which the `WorkerPool` is created.
    ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // Output only. The service account used to manage the `WorkerPool`. The
    // service account must have the Compute Instance Admin (Beta) permission at
    // the project level.
    ServiceAccountEmail string `protobuf:"bytes,3,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
    // Total number of workers to be created across all requested regions.
    WorkerCount int64 `protobuf:"varint,4,opt,name=worker_count,json=workerCount,proto3" json:"worker_count,omitempty"`
    // Configuration to be used for a creating workers in the `WorkerPool`.
    WorkerConfig *WorkerConfig `protobuf:"bytes,16,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"`
    // List of regions to create the `WorkerPool`. Regions can't be empty.
    // If Cloud Build adds a new GCP region in the future, the existing
    // `WorkerPool` will not be enabled in the new region automatically;
    // you must add the new region to the `regions` field to enable the
    // `WorkerPool` in that region.
    Regions []WorkerPool_Region `protobuf:"varint,9,rep,packed,name=regions,proto3,enum=google.devtools.cloudbuild.v1.WorkerPool_Region" json:"regions,omitempty"`
    // Output only. Time at which the request to create the `WorkerPool` was
    // received.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Output only. Time at which the request to update the `WorkerPool` was
    // received.
    UpdateTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // Output only. Time at which the request to delete the `WorkerPool` was
    // received.
    DeleteTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
    // Output only. WorkerPool Status.
    Status WorkerPool_Status `protobuf:"varint,13,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.WorkerPool_Status" json:"status,omitempty"`
    // contains filtered or unexported fields
}

Configuration for a WorkerPool to run the builds.

Workers are machines that Cloud Build uses to run your builds. By default, all workers run in a project owned by Cloud Build. To have full control over the workers that execute your builds -- such as enabling them to access private resources on your private network -- you can request Cloud Build to run the workers in your own project by creating a custom workers pool.

func (*WorkerPool) Descriptor Uses

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

Deprecated: Use WorkerPool.ProtoReflect.Descriptor instead.

func (*WorkerPool) GetCreateTime Uses

func (x *WorkerPool) GetCreateTime() *timestamp.Timestamp

func (*WorkerPool) GetDeleteTime Uses

func (x *WorkerPool) GetDeleteTime() *timestamp.Timestamp

func (*WorkerPool) GetName Uses

func (x *WorkerPool) GetName() string

func (*WorkerPool) GetProjectId Uses

func (x *WorkerPool) GetProjectId() string

func (*WorkerPool) GetRegions Uses

func (x *WorkerPool) GetRegions() []WorkerPool_Region

func (*WorkerPool) GetServiceAccountEmail Uses

func (x *WorkerPool) GetServiceAccountEmail() string

func (*WorkerPool) GetStatus Uses

func (x *WorkerPool) GetStatus() WorkerPool_Status

func (*WorkerPool) GetUpdateTime Uses

func (x *WorkerPool) GetUpdateTime() *timestamp.Timestamp

func (*WorkerPool) GetWorkerConfig Uses

func (x *WorkerPool) GetWorkerConfig() *WorkerConfig

func (*WorkerPool) GetWorkerCount Uses

func (x *WorkerPool) GetWorkerCount() int64

func (*WorkerPool) ProtoMessage Uses

func (*WorkerPool) ProtoMessage()

func (*WorkerPool) ProtoReflect Uses

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

func (*WorkerPool) Reset Uses

func (x *WorkerPool) Reset()

func (*WorkerPool) String Uses

func (x *WorkerPool) String() string

type WorkerPool_Region Uses

type WorkerPool_Region int32

Supported GCP regions to create the `WorkerPool`.

const (
    // no region
    WorkerPool_REGION_UNSPECIFIED WorkerPool_Region = 0
    // us-central1 region
    WorkerPool_US_CENTRAL1 WorkerPool_Region = 1
    // us-west1 region
    WorkerPool_US_WEST1 WorkerPool_Region = 2
    // us-east1 region
    WorkerPool_US_EAST1 WorkerPool_Region = 3
    // us-east4 region
    WorkerPool_US_EAST4 WorkerPool_Region = 4
)

func (WorkerPool_Region) Descriptor Uses

func (WorkerPool_Region) Descriptor() protoreflect.EnumDescriptor

func (WorkerPool_Region) Enum Uses

func (x WorkerPool_Region) Enum() *WorkerPool_Region

func (WorkerPool_Region) EnumDescriptor Uses

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

Deprecated: Use WorkerPool_Region.Descriptor instead.

func (WorkerPool_Region) Number Uses

func (x WorkerPool_Region) Number() protoreflect.EnumNumber

func (WorkerPool_Region) String Uses

func (x WorkerPool_Region) String() string

func (WorkerPool_Region) Type Uses

func (WorkerPool_Region) Type() protoreflect.EnumType

type WorkerPool_Status Uses

type WorkerPool_Status int32

`WorkerPool` status

const (
    // Status of the `WorkerPool` is unknown.
    WorkerPool_STATUS_UNSPECIFIED WorkerPool_Status = 0
    // `WorkerPool` is being created.
    WorkerPool_CREATING WorkerPool_Status = 1
    // `WorkerPool` is running.
    WorkerPool_RUNNING WorkerPool_Status = 2
    // `WorkerPool` is being deleted: cancelling builds and draining workers.
    WorkerPool_DELETING WorkerPool_Status = 3
    // `WorkerPool` is deleted.
    WorkerPool_DELETED WorkerPool_Status = 4
)

func (WorkerPool_Status) Descriptor Uses

func (WorkerPool_Status) Descriptor() protoreflect.EnumDescriptor

func (WorkerPool_Status) Enum Uses

func (x WorkerPool_Status) Enum() *WorkerPool_Status

func (WorkerPool_Status) EnumDescriptor Uses

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

Deprecated: Use WorkerPool_Status.Descriptor instead.

func (WorkerPool_Status) Number Uses

func (x WorkerPool_Status) Number() protoreflect.EnumNumber

func (WorkerPool_Status) String Uses

func (x WorkerPool_Status) String() string

func (WorkerPool_Status) Type Uses

func (WorkerPool_Status) Type() protoreflect.EnumType

Package cloudbuild imports 14 packages (graph) and is imported by 17 packages. Updated 2020-08-12. Refresh now. Tools for package owners.