Package com.google.cloudbuild.v1
Interface BuildOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Build,Build.Builder
@Generated
public interface BuildOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSubstitutions data for `Build` resource.booleancontainsTiming(String key) Output only.Output only.Output only.Artifacts produced by the build that should be uploaded upon successful completion of all build steps.Artifacts produced by the build that should be uploaded upon successful completion of all build steps.Secrets and secret environment variables.Secrets and secret environment variables.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getDependencies(int index) Optional.intOptional.Optional.getDependenciesOrBuilder(int index) Optional.List<? extends DependencyOrBuilder>Optional.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.Optional.getId()Output only.com.google.protobuf.ByteStringOutput only.getImages(int index) A list of images to be pushed upon the successful completion of all build steps.com.google.protobuf.ByteStringgetImagesBytes(int index) A list of images to be pushed upon the successful completion of all build steps.intA list of images to be pushed upon the successful completion of all build steps.A list of images to be pushed upon the successful completion of all build steps.Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).com.google.protobuf.ByteStringCloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Special options for this build.Special options for this build.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.DurationTTL in queue for this build.com.google.protobuf.DurationOrBuilderTTL in queue for this build.Output only.Output only.getSecrets(int index) Secrets to decrypt using Cloud Key Management Service.intSecrets to decrypt using Cloud Key Management Service.Secrets to decrypt using Cloud Key Management Service.getSecretsOrBuilder(int index) Secrets to decrypt using Cloud Key Management Service.List<? extends SecretOrBuilder>Secrets to decrypt using Cloud Key Management Service.IAM service account whose credentials will be used at build runtime.com.google.protobuf.ByteStringIAM service account whose credentials will be used at build runtime.Optional.Optional.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getSteps(int index) Required.intRequired.Required.getStepsOrBuilder(int index) Required.List<? extends BuildStepOrBuilder>Required.Deprecated.intSubstitutions data for `Build` resource.Substitutions data for `Build` resource.getSubstitutionsOrDefault(String key, String defaultValue) Substitutions data for `Build` resource.Substitutions data for `Build` resource.getTags(int index) Tags for annotation of a `Build`.com.google.protobuf.ByteStringgetTagsBytes(int index) Tags for annotation of a `Build`.intTags for annotation of a `Build`.Tags for annotation of a `Build`.com.google.protobuf.DurationAmount of time that this build should be allowed to run, to second granularity.com.google.protobuf.DurationOrBuilderAmount of time that this build should be allowed to run, to second granularity.Deprecated.intOutput only.Output only.getTimingOrDefault(String key, TimeSpan defaultValue) Output only.getTimingOrThrow(String key) Output only.getWarnings(int index) Output only.intOutput only.Output only.getWarningsOrBuilder(int index) Output only.List<? extends Build.WarningOrBuilder>Output only.booleanOutput only.booleanArtifacts produced by the build that should be uploaded upon successful completion of all build steps.booleanSecrets and secret environment variables.booleanOutput only.booleanOutput only.booleanOutput only.booleanOptional.booleanSpecial options for this build.booleanTTL in queue for this build.booleanOutput only.booleanOptional.booleanOutput only.booleanOutput only.booleanAmount of time that this build should be allowed to run, to second granularity.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.string name = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.string name = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getId
String getId()Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for id.
-
getProjectId
String getProjectId()Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for projectId.
-
getStatusValue
int getStatusValue()Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Build.Status getStatus()Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
getStatusDetail
String getStatusDetail()Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The statusDetail.
-
getStatusDetailBytes
com.google.protobuf.ByteString getStatusDetailBytes()Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for statusDetail.
-
hasSource
boolean hasSource()Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the source field is set.
-
getSource
Source getSource()Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The source.
-
getSourceOrBuilder
SourceOrBuilder getSourceOrBuilder()Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getStepsList
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
getSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
getStepsCount
int getStepsCount()Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
getStepsOrBuilderList
List<? extends BuildStepOrBuilder> getStepsOrBuilderList()Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
getStepsOrBuilder
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
hasResults
boolean hasResults()Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the results field is set.
-
getResults
Results getResults()Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The results.
-
getResultsOrBuilder
ResultsOrBuilder getResultsOrBuilder()Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCreateTime
boolean hasCreateTime()Output only. Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time at which the request to create the build was received.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasStartTime
boolean hasStartTime()Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasFinishTime
boolean hasFinishTime()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.
.google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the finishTime field is set.
-
getFinishTime
com.google.protobuf.Timestamp getFinishTime()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.
.google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The finishTime.
-
getFinishTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder()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.
.google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasTimeout
boolean hasTimeout()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`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.
.google.protobuf.Duration timeout = 12;- Returns:
- Whether the timeout field is set.
-
getTimeout
com.google.protobuf.Duration getTimeout()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`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.
.google.protobuf.Duration timeout = 12;- Returns:
- The timeout.
-
getTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()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`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.
.google.protobuf.Duration timeout = 12; -
getImagesList
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`.
repeated string images = 13;- Returns:
- A list containing the images.
-
getImagesCount
int getImagesCount()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`.
repeated string images = 13;- Returns:
- The count of images.
-
getImages
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`.
repeated string images = 13;- Parameters:
index- The index of the element to return.- Returns:
- The images at the given index.
-
getImagesBytes
com.google.protobuf.ByteString getImagesBytes(int index) 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`.
repeated string images = 13;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the images at the given index.
-
hasQueueTtl
boolean hasQueueTtl()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.
.google.protobuf.Duration queue_ttl = 40;- Returns:
- Whether the queueTtl field is set.
-
getQueueTtl
com.google.protobuf.Duration getQueueTtl()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.
.google.protobuf.Duration queue_ttl = 40;- Returns:
- The queueTtl.
-
getQueueTtlOrBuilder
com.google.protobuf.DurationOrBuilder getQueueTtlOrBuilder()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.
.google.protobuf.Duration queue_ttl = 40; -
hasArtifacts
boolean hasArtifacts()Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;- Returns:
- Whether the artifacts field is set.
-
getArtifacts
Artifacts getArtifacts()Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;- Returns:
- The artifacts.
-
getArtifactsOrBuilder
ArtifactsOrBuilder getArtifactsOrBuilder()Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37; -
getLogsBucket
String getLogsBucket()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`.string logs_bucket = 19;- Returns:
- The logsBucket.
-
getLogsBucketBytes
com.google.protobuf.ByteString getLogsBucketBytes()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`.string logs_bucket = 19;- Returns:
- The bytes for logsBucket.
-
hasSourceProvenance
boolean hasSourceProvenance()Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the sourceProvenance field is set.
-
getSourceProvenance
SourceProvenance getSourceProvenance()Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The sourceProvenance.
-
getSourceProvenanceOrBuilder
SourceProvenanceOrBuilder getSourceProvenanceOrBuilder()Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBuildTriggerId
String getBuildTriggerId()Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
string build_trigger_id = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The buildTriggerId.
-
getBuildTriggerIdBytes
com.google.protobuf.ByteString getBuildTriggerIdBytes()Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.
string build_trigger_id = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for buildTriggerId.
-
hasOptions
boolean hasOptions()Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23;- Returns:
- Whether the options field is set.
-
getOptions
BuildOptions getOptions()Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23;- Returns:
- The options.
-
getOptionsOrBuilder
BuildOptionsOrBuilder getOptionsOrBuilder()Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23; -
getLogUrl
String getLogUrl()Output only. URL to logs for this build in Google Cloud Console.
string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The logUrl.
-
getLogUrlBytes
com.google.protobuf.ByteString getLogUrlBytes()Output only. URL to logs for this build in Google Cloud Console.
string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for logUrl.
-
getSubstitutionsCount
int getSubstitutionsCount()Substitutions data for `Build` resource.
map<string, string> substitutions = 29; -
containsSubstitutions
Substitutions data for `Build` resource.
map<string, string> substitutions = 29; -
getSubstitutions
Deprecated.UsegetSubstitutionsMap()instead. -
getSubstitutionsMap
Substitutions data for `Build` resource.
map<string, string> substitutions = 29; -
getSubstitutionsOrDefault
Substitutions data for `Build` resource.
map<string, string> substitutions = 29; -
getSubstitutionsOrThrow
Substitutions data for `Build` resource.
map<string, string> substitutions = 29; -
getTagsList
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Returns:
- The count of tags.
-
getTags
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index) Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getSecretsList
Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32; -
getSecrets
Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32; -
getSecretsCount
int getSecretsCount()Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32; -
getSecretsOrBuilderList
List<? extends SecretOrBuilder> getSecretsOrBuilderList()Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32; -
getSecretsOrBuilder
Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
repeated .google.devtools.cloudbuild.v1.Secret secrets = 32; -
getTimingCount
int getTimingCount()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 artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
containsTiming
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 artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTiming
Deprecated.UsegetTimingMap()instead. -
getTimingMap
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 artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTimingOrDefault
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 artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTimingOrThrow
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 artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasApproval
boolean hasApproval()Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the approval field is set.
-
getApproval
BuildApproval getApproval()Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The approval.
-
getApprovalOrBuilder
BuildApprovalOrBuilder getApprovalOrBuilder()Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getServiceAccount
String getServiceAccount()IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account.string service_account = 42 [(.google.api.resource_reference) = { ... }- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.ByteString getServiceAccountBytes()IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account.string service_account = 42 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for serviceAccount.
-
hasAvailableSecrets
boolean hasAvailableSecrets()Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;- Returns:
- Whether the availableSecrets field is set.
-
getAvailableSecrets
Secrets getAvailableSecrets()Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;- Returns:
- The availableSecrets.
-
getAvailableSecretsOrBuilder
SecretsOrBuilder getAvailableSecretsOrBuilder()Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47; -
getWarningsList
List<Build.Warning> getWarningsList()Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarnings
Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarningsCount
int getWarningsCount()Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarningsOrBuilderList
List<? extends Build.WarningOrBuilder> getWarningsOrBuilderList()Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarningsOrBuilder
Output only. Non-fatal problems encountered during the execution of the build.
repeated .google.devtools.cloudbuild.v1.Build.Warning warnings = 49 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasGitConfig
boolean hasGitConfig()Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the gitConfig field is set.
-
getGitConfig
GitConfig getGitConfig()Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The gitConfig.
-
getGitConfigOrBuilder
GitConfigOrBuilder getGitConfigOrBuilder()Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL]; -
hasFailureInfo
boolean hasFailureInfo()Output only. Contains information about the build when status=FAILURE.
.google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the failureInfo field is set.
-
getFailureInfo
Build.FailureInfo getFailureInfo()Output only. Contains information about the build when status=FAILURE.
.google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The failureInfo.
-
getFailureInfoOrBuilder
Build.FailureInfoOrBuilder getFailureInfoOrBuilder()Output only. Contains information about the build when status=FAILURE.
.google.devtools.cloudbuild.v1.Build.FailureInfo failure_info = 51 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDependenciesList
List<Dependency> getDependenciesList()Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL]; -
getDependencies
Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL]; -
getDependenciesCount
int getDependenciesCount()Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL]; -
getDependenciesOrBuilderList
List<? extends DependencyOrBuilder> getDependenciesOrBuilderList()Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL]; -
getDependenciesOrBuilder
Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
repeated .google.devtools.cloudbuild.v1.Dependency dependencies = 56 [(.google.api.field_behavior) = OPTIONAL];
-