Package com.google.cloudbuild.v1
Class Build.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
com.google.cloudbuild.v1.Build.Builder
- All Implemented Interfaces:
BuildOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Build
public static final class Build.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
implements BuildOrBuilder
A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region 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.Protobuf type
google.devtools.cloudbuild.v1.Build-
Method Summary
Modifier and TypeMethodDescriptionaddAllDependencies(Iterable<? extends Dependency> values) Optional.addAllImages(Iterable<String> values) A list of images to be pushed upon the successful completion of all build steps.addAllSecrets(Iterable<? extends Secret> values) Secrets to decrypt using Cloud Key Management Service.addAllSteps(Iterable<? extends BuildStep> values) Required.addAllTags(Iterable<String> values) Tags for annotation of a `Build`.addAllWarnings(Iterable<? extends Build.Warning> values) Output only.addDependencies(int index, Dependency value) Optional.addDependencies(int index, Dependency.Builder builderForValue) Optional.addDependencies(Dependency value) Optional.addDependencies(Dependency.Builder builderForValue) Optional.Optional.addDependenciesBuilder(int index) Optional.A list of images to be pushed upon the successful completion of all build steps.addImagesBytes(com.google.protobuf.ByteString value) A list of images to be pushed upon the successful completion of all build steps.addSecrets(int index, Secret value) Secrets to decrypt using Cloud Key Management Service.addSecrets(int index, Secret.Builder builderForValue) Secrets to decrypt using Cloud Key Management Service.addSecrets(Secret value) Secrets to decrypt using Cloud Key Management Service.addSecrets(Secret.Builder builderForValue) Secrets to decrypt using Cloud Key Management Service.Secrets to decrypt using Cloud Key Management Service.addSecretsBuilder(int index) Secrets to decrypt using Cloud Key Management Service.Required.addSteps(int index, BuildStep.Builder builderForValue) Required.Required.addSteps(BuildStep.Builder builderForValue) Required.Required.addStepsBuilder(int index) Required.Tags for annotation of a `Build`.addTagsBytes(com.google.protobuf.ByteString value) Tags for annotation of a `Build`.addWarnings(int index, Build.Warning value) Output only.addWarnings(int index, Build.Warning.Builder builderForValue) Output only.addWarnings(Build.Warning value) Output only.addWarnings(Build.Warning.Builder builderForValue) Output only.Output only.addWarningsBuilder(int index) Output only.build()clear()Output only.Artifacts produced by the build that should be uploaded upon successful completion of all build steps.Secrets and secret environment variables.Output only.Output only.Optional.Output only.Output only.Optional.clearId()Output only.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)).Output only.Output only.Special options for this build.Output only.TTL in queue for this build.Output only.Secrets to decrypt using Cloud Key Management Service.IAM service account whose credentials will be used at build runtime.Optional.Output only.Output only.Output only.Output only.Required.Tags for annotation of a `Build`.Amount of time that this build should be allowed to run, to second granularity.Output only.booleanSubstitutions data for `Build` resource.booleancontainsTiming(String key) Output only.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.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.Secrets and secret environment variables.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getDependencies(int index) Optional.getDependenciesBuilder(int index) Optional.Optional.intOptional.Optional.getDependenciesOrBuilder(int index) Optional.List<? extends DependencyOrBuilder>Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.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.com.google.protobuf.ProtocolStringListA 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.Deprecated.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Special options for this build.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.Duration.BuilderTTL in queue for this build.com.google.protobuf.DurationOrBuilderTTL in queue for this build.Output only.Output only.Output only.getSecrets(int index) Secrets to decrypt using Cloud Key Management Service.getSecretsBuilder(int index) Secrets to decrypt using Cloud Key Management Service.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.Optional.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getSteps(int index) Required.getStepsBuilder(int index) Required.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`.com.google.protobuf.ProtocolStringListTags 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.Duration.BuilderAmount 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.getWarningsBuilder(int index) Output only.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeApproval(BuildApproval value) Output only.mergeArtifacts(Artifacts value) Artifacts produced by the build that should be uploaded upon successful completion of all build steps.mergeAvailableSecrets(Secrets value) Secrets and secret environment variables.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.Output only.mergeFinishTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGitConfig(GitConfig value) Optional.mergeOptions(BuildOptions value) Special options for this build.mergeQueueTtl(com.google.protobuf.Duration value) TTL in queue for this build.mergeResults(Results value) Output only.mergeSource(Source value) Optional.Output only.mergeStartTime(com.google.protobuf.Timestamp value) Output only.mergeTimeout(com.google.protobuf.Duration value) Amount of time that this build should be allowed to run, to second granularity.putAllSubstitutions(Map<String, String> values) Substitutions data for `Build` resource.putAllTiming(Map<String, TimeSpan> values) Output only.putSubstitutions(String key, String value) Substitutions data for `Build` resource.Output only.Output only.removeDependencies(int index) Optional.removeSecrets(int index) Secrets to decrypt using Cloud Key Management Service.removeSteps(int index) Required.Substitutions data for `Build` resource.removeTiming(String key) Output only.removeWarnings(int index) Output only.setApproval(BuildApproval value) Output only.setApproval(BuildApproval.Builder builderForValue) Output only.setArtifacts(Artifacts value) Artifacts produced by the build that should be uploaded upon successful completion of all build steps.setArtifacts(Artifacts.Builder builderForValue) Artifacts produced by the build that should be uploaded upon successful completion of all build steps.setAvailableSecrets(Secrets value) Secrets and secret environment variables.setAvailableSecrets(Secrets.Builder builderForValue) Secrets and secret environment variables.setBuildTriggerId(String value) Output only.setBuildTriggerIdBytes(com.google.protobuf.ByteString value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDependencies(int index, Dependency value) Optional.setDependencies(int index, Dependency.Builder builderForValue) Optional.setFailureInfo(Build.FailureInfo value) Output only.setFailureInfo(Build.FailureInfo.Builder builderForValue) Output only.setFinishTime(com.google.protobuf.Timestamp value) Output only.setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setGitConfig(GitConfig value) Optional.setGitConfig(GitConfig.Builder builderForValue) Optional.Output only.setIdBytes(com.google.protobuf.ByteString value) Output only.A list of images to be pushed upon the successful completion of all build steps.setLogsBucket(String value) Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).setLogsBucketBytes(com.google.protobuf.ByteString value) Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).Output only.setLogUrlBytes(com.google.protobuf.ByteString value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setOptions(BuildOptions value) Special options for this build.setOptions(BuildOptions.Builder builderForValue) Special options for this build.setProjectId(String value) Output only.setProjectIdBytes(com.google.protobuf.ByteString value) Output only.setQueueTtl(com.google.protobuf.Duration value) TTL in queue for this build.setQueueTtl(com.google.protobuf.Duration.Builder builderForValue) TTL in queue for this build.setResults(Results value) Output only.setResults(Results.Builder builderForValue) Output only.setSecrets(int index, Secret value) Secrets to decrypt using Cloud Key Management Service.setSecrets(int index, Secret.Builder builderForValue) Secrets to decrypt using Cloud Key Management Service.setServiceAccount(String value) IAM service account whose credentials will be used at build runtime.setServiceAccountBytes(com.google.protobuf.ByteString value) IAM service account whose credentials will be used at build runtime.Optional.setSource(Source.Builder builderForValue) Optional.Output only.setSourceProvenance(SourceProvenance.Builder builderForValue) Output only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setStatus(Build.Status value) Output only.setStatusDetail(String value) Output only.setStatusDetailBytes(com.google.protobuf.ByteString value) Output only.setStatusValue(int value) Output only.Required.setSteps(int index, BuildStep.Builder builderForValue) Required.Tags for annotation of a `Build`.setTimeout(com.google.protobuf.Duration value) Amount of time that this build should be allowed to run, to second granularity.setTimeout(com.google.protobuf.Duration.Builder builderForValue) Amount of time that this build should be allowed to run, to second granularity.setWarnings(int index, Build.Warning value) Output only.setWarnings(int index, Build.Warning.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Build.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Build.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Build.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Build.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Build.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Build.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Build.Builder>
-
mergeFrom
public Build.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Build.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceBuildOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceBuildOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceBuildOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceBuildOrBuilder- Returns:
- The bytes for id.
-
setId
Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIdBytes
Output only. Unique identifier of the build.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getProjectId
Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProjectIdin interfaceBuildOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProjectIdBytesin interfaceBuildOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProjectIdBytes
Output only. ID of the project.
string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceBuildOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceBuildOrBuilder- Returns:
- The status.
-
setStatus
Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. Status of the build.
.google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStatusDetail
Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusDetailin interfaceBuildOrBuilder- Returns:
- The statusDetail.
-
getStatusDetailBytes
public com.google.protobuf.ByteString getStatusDetailBytes()Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusDetailBytesin interfaceBuildOrBuilder- Returns:
- The bytes for statusDetail.
-
setStatusDetail
Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The statusDetail to set.- Returns:
- This builder for chaining.
-
clearStatusDetail
Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStatusDetailBytes
Output only. Customer-readable message about the current status.
string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for statusDetail to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSourcein interfaceBuildOrBuilder- Returns:
- Whether the source field is set.
-
getSource
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourcein interfaceBuildOrBuilder- Returns:
- The source.
-
setSource
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setSource
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSource
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearSource
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getSourceBuilder
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getSourceOrBuilder
Optional. The location of the source files to build.
.google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourceOrBuilderin interfaceBuildOrBuilder
-
getStepsList
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsListin interfaceBuildOrBuilder
-
getStepsCount
public int getStepsCount()Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsCountin interfaceBuildOrBuilder
-
getSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsin interfaceBuildOrBuilder
-
setSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
setSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
addSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
addSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
addSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
addSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
addAllSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
clearSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
removeSteps
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
getStepsBuilder
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;- Specified by:
getStepsOrBuilderin interfaceBuildOrBuilder
-
getStepsOrBuilderList
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;- Specified by:
getStepsOrBuilderListin interfaceBuildOrBuilder
-
addStepsBuilder
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
addStepsBuilder
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
getStepsBuilderList
Required. The operations to be performed on the workspace.
repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11; -
hasResults
public boolean hasResults()Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasResultsin interfaceBuildOrBuilder- Returns:
- Whether the results field is set.
-
getResults
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResultsin interfaceBuildOrBuilder- Returns:
- The results.
-
setResults
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setResults
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeResults
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearResults
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResultsBuilder
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResultsOrBuilder
Output only. Results of the build.
.google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResultsOrBuilderin interfaceBuildOrBuilder
-
hasCreateTime
public 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];- Specified by:
hasCreateTimein interfaceBuildOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceBuildOrBuilder- Returns:
- The createTime.
-
setCreateTime
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]; -
setCreateTime
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]; -
mergeCreateTime
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]; -
clearCreateTime
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]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()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]; -
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceBuildOrBuilder
-
hasStartTime
public 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];- Specified by:
hasStartTimein interfaceBuildOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public 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];- Specified by:
getStartTimein interfaceBuildOrBuilder- Returns:
- The startTime.
-
setStartTime
Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStartTime
Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStartTime
Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStartTime
Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Output only. Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeOrBuilder
public 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];- Specified by:
getStartTimeOrBuilderin interfaceBuildOrBuilder
-
hasFinishTime
public 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];- Specified by:
hasFinishTimein interfaceBuildOrBuilder- Returns:
- Whether the finishTime field is set.
-
getFinishTime
public 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];- Specified by:
getFinishTimein interfaceBuildOrBuilder- Returns:
- The finishTime.
-
setFinishTime
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]; -
setFinishTime
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]; -
mergeFinishTime
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]; -
clearFinishTime
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]; -
getFinishTimeBuilder
public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder()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]; -
getFinishTimeOrBuilder
public 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];- Specified by:
getFinishTimeOrBuilderin interfaceBuildOrBuilder
-
hasTimeout
public 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;- Specified by:
hasTimeoutin interfaceBuildOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public 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;- Specified by:
getTimeoutin interfaceBuildOrBuilder- Returns:
- The timeout.
-
setTimeout
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; -
setTimeout
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; -
mergeTimeout
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; -
clearTimeout
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; -
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()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; -
getTimeoutOrBuilder
public 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;- Specified by:
getTimeoutOrBuilderin interfaceBuildOrBuilder
-
getImagesList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getImagesListin interfaceBuildOrBuilder- Returns:
- A list containing the images.
-
getImagesCount
public 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;- Specified by:
getImagesCountin interfaceBuildOrBuilder- 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;- Specified by:
getImagesin interfaceBuildOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The images at the given index.
-
getImagesBytes
public 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;- Specified by:
getImagesBytesin interfaceBuildOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the images at the given index.
-
setImages
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 to set the value at.value- The images to set.- Returns:
- This builder for chaining.
-
addImages
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:
value- The images to add.- Returns:
- This builder for chaining.
-
addAllImages
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:
values- The images to add.- Returns:
- This builder for chaining.
-
clearImages
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:
- This builder for chaining.
-
addImagesBytes
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:
value- The bytes of the images to add.- Returns:
- This builder for chaining.
-
hasQueueTtl
public 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;- Specified by:
hasQueueTtlin interfaceBuildOrBuilder- Returns:
- Whether the queueTtl field is set.
-
getQueueTtl
public 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;- Specified by:
getQueueTtlin interfaceBuildOrBuilder- Returns:
- The queueTtl.
-
setQueueTtl
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; -
setQueueTtl
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; -
mergeQueueTtl
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; -
clearQueueTtl
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; -
getQueueTtlBuilder
public com.google.protobuf.Duration.Builder getQueueTtlBuilder()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; -
getQueueTtlOrBuilder
public 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;- Specified by:
getQueueTtlOrBuilderin interfaceBuildOrBuilder
-
hasArtifacts
public 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;- Specified by:
hasArtifactsin interfaceBuildOrBuilder- Returns:
- Whether the artifacts field is set.
-
getArtifacts
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;- Specified by:
getArtifactsin interfaceBuildOrBuilder- Returns:
- The artifacts.
-
setArtifacts
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37; -
setArtifacts
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37; -
mergeArtifacts
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37; -
clearArtifacts
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37; -
getArtifactsBuilder
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37; -
getArtifactsOrBuilder
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
.google.devtools.cloudbuild.v1.Artifacts artifacts = 37;- Specified by:
getArtifactsOrBuilderin interfaceBuildOrBuilder
-
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;- Specified by:
getLogsBucketin interfaceBuildOrBuilder- Returns:
- The logsBucket.
-
getLogsBucketBytes
public 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;- Specified by:
getLogsBucketBytesin interfaceBuildOrBuilder- Returns:
- The bytes for logsBucket.
-
setLogsBucket
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;- Parameters:
value- The logsBucket to set.- Returns:
- This builder for chaining.
-
clearLogsBucket
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:
- This builder for chaining.
-
setLogsBucketBytes
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;- Parameters:
value- The bytes for logsBucket to set.- Returns:
- This builder for chaining.
-
hasSourceProvenance
public boolean hasSourceProvenance()Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSourceProvenancein interfaceBuildOrBuilder- Returns:
- Whether the sourceProvenance field is set.
-
getSourceProvenance
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceProvenancein interfaceBuildOrBuilder- Returns:
- The sourceProvenance.
-
setSourceProvenance
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setSourceProvenance
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeSourceProvenance
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearSourceProvenance
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSourceProvenanceBuilder
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSourceProvenanceOrBuilder
Output only. A permanent fixed identifier for source.
.google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceProvenanceOrBuilderin interfaceBuildOrBuilder
-
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];- Specified by:
getBuildTriggerIdin interfaceBuildOrBuilder- Returns:
- The buildTriggerId.
-
getBuildTriggerIdBytes
public 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];- Specified by:
getBuildTriggerIdBytesin interfaceBuildOrBuilder- Returns:
- The bytes for buildTriggerId.
-
setBuildTriggerId
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];- Parameters:
value- The buildTriggerId to set.- Returns:
- This builder for chaining.
-
clearBuildTriggerId
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:
- This builder for chaining.
-
setBuildTriggerIdBytes
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];- Parameters:
value- The bytes for buildTriggerId to set.- Returns:
- This builder for chaining.
-
hasOptions
public boolean hasOptions()Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23;- Specified by:
hasOptionsin interfaceBuildOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23;- Specified by:
getOptionsin interfaceBuildOrBuilder- Returns:
- The options.
-
setOptions
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23; -
setOptions
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23; -
mergeOptions
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23; -
clearOptions
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23; -
getOptionsBuilder
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23; -
getOptionsOrBuilder
Special options for this build.
.google.devtools.cloudbuild.v1.BuildOptions options = 23;- Specified by:
getOptionsOrBuilderin interfaceBuildOrBuilder
-
getLogUrl
Output only. URL to logs for this build in Google Cloud Console.
string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogUrlin interfaceBuildOrBuilder- Returns:
- The logUrl.
-
getLogUrlBytes
public 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];- Specified by:
getLogUrlBytesin interfaceBuildOrBuilder- Returns:
- The bytes for logUrl.
-
setLogUrl
Output only. URL to logs for this build in Google Cloud Console.
string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The logUrl to set.- Returns:
- This builder for chaining.
-
clearLogUrl
Output only. URL to logs for this build in Google Cloud Console.
string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLogUrlBytes
Output only. URL to logs for this build in Google Cloud Console.
string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for logUrl to set.- Returns:
- This builder for chaining.
-
getSubstitutionsCount
public int getSubstitutionsCount()Description copied from interface:BuildOrBuilderSubstitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
getSubstitutionsCountin interfaceBuildOrBuilder
-
containsSubstitutions
Substitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
containsSubstitutionsin interfaceBuildOrBuilder
-
getSubstitutions
Deprecated.UsegetSubstitutionsMap()instead.- Specified by:
getSubstitutionsin interfaceBuildOrBuilder
-
getSubstitutionsMap
Substitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
getSubstitutionsMapin interfaceBuildOrBuilder
-
getSubstitutionsOrDefault
Substitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
getSubstitutionsOrDefaultin interfaceBuildOrBuilder
-
getSubstitutionsOrThrow
Substitutions data for `Build` resource.
map<string, string> substitutions = 29;- Specified by:
getSubstitutionsOrThrowin interfaceBuildOrBuilder
-
clearSubstitutions
-
removeSubstitutions
Substitutions data for `Build` resource.
map<string, string> substitutions = 29; -
getMutableSubstitutions
Deprecated.Use alternate mutation accessors instead. -
putSubstitutions
Substitutions data for `Build` resource.
map<string, string> substitutions = 29; -
putAllSubstitutions
Substitutions data for `Build` resource.
map<string, string> substitutions = 29; -
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Specified by:
getTagsListin interfaceBuildOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Specified by:
getTagsCountin interfaceBuildOrBuilder- Returns:
- The count of tags.
-
getTags
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Specified by:
getTagsin interfaceBuildOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Specified by:
getTagsBytesin interfaceBuildOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Returns:
- This builder for chaining.
-
addTagsBytes
Tags for annotation of a `Build`. These are not docker tags.
repeated string tags = 31;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getSecretsListin interfaceBuildOrBuilder
-
getSecretsCount
public 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;- Specified by:
getSecretsCountin interfaceBuildOrBuilder
-
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;- Specified by:
getSecretsin interfaceBuildOrBuilder
-
setSecrets
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; -
setSecrets
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; -
addSecrets
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; -
addSecrets
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; -
addSecrets
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; -
addSecrets
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; -
addAllSecrets
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; -
clearSecrets
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; -
removeSecrets
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; -
getSecretsBuilder
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;- Specified by:
getSecretsOrBuilderin interfaceBuildOrBuilder
-
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;- Specified by:
getSecretsOrBuilderListin interfaceBuildOrBuilder
-
addSecretsBuilder
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; -
addSecretsBuilder
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; -
getSecretsBuilderList
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
public int getTimingCount()Description copied from interface:BuildOrBuilderOutput 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];- Specified by:
getTimingCountin interfaceBuildOrBuilder
-
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];- Specified by:
containsTimingin interfaceBuildOrBuilder
-
getTiming
Deprecated.UsegetTimingMap()instead.- Specified by:
getTimingin interfaceBuildOrBuilder
-
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];- Specified by:
getTimingMapin interfaceBuildOrBuilder
-
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];- Specified by:
getTimingOrDefaultin interfaceBuildOrBuilder
-
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];- Specified by:
getTimingOrThrowin interfaceBuildOrBuilder
-
clearTiming
-
removeTiming
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]; -
getMutableTiming
Deprecated.Use alternate mutation accessors instead. -
putTiming
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]; -
putAllTiming
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]; -
putTimingBuilderIfAbsent
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
public 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];- Specified by:
hasApprovalin interfaceBuildOrBuilder- Returns:
- Whether the approval field is set.
-
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];- Specified by:
getApprovalin interfaceBuildOrBuilder- Returns:
- The approval.
-
setApproval
Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setApproval
Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeApproval
Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearApproval
Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getApprovalBuilder
Output only. Describes this build's approval configuration, status, and result.
.google.devtools.cloudbuild.v1.BuildApproval approval = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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];- Specified by:
getApprovalOrBuilderin interfaceBuildOrBuilder
-
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) = { ... }- Specified by:
getServiceAccountin interfaceBuildOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public 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) = { ... }- Specified by:
getServiceAccountBytesin interfaceBuildOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
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) = { ... }- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
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:
- This builder for chaining.
-
setServiceAccountBytes
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) = { ... }- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
hasAvailableSecrets
public boolean hasAvailableSecrets()Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;- Specified by:
hasAvailableSecretsin interfaceBuildOrBuilder- Returns:
- Whether the availableSecrets field is set.
-
getAvailableSecrets
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;- Specified by:
getAvailableSecretsin interfaceBuildOrBuilder- Returns:
- The availableSecrets.
-
setAvailableSecrets
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47; -
setAvailableSecrets
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47; -
mergeAvailableSecrets
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47; -
clearAvailableSecrets
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47; -
getAvailableSecretsBuilder
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47; -
getAvailableSecretsOrBuilder
Secrets and secret environment variables.
.google.devtools.cloudbuild.v1.Secrets available_secrets = 47;- Specified by:
getAvailableSecretsOrBuilderin interfaceBuildOrBuilder
-
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];- Specified by:
getWarningsListin interfaceBuildOrBuilder
-
getWarningsCount
public 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];- Specified by:
getWarningsCountin interfaceBuildOrBuilder
-
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];- Specified by:
getWarningsin interfaceBuildOrBuilder
-
setWarnings
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]; -
setWarnings
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]; -
addWarnings
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]; -
addWarnings
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]; -
addWarnings
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]; -
addWarnings
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]; -
addAllWarnings
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]; -
clearWarnings
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]; -
removeWarnings
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]; -
getWarningsBuilder
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];- Specified by:
getWarningsOrBuilderin interfaceBuildOrBuilder
-
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];- Specified by:
getWarningsOrBuilderListin interfaceBuildOrBuilder
-
addWarningsBuilder
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]; -
addWarningsBuilder
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]; -
getWarningsBuilderList
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
public boolean hasGitConfig()Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGitConfigin interfaceBuildOrBuilder- Returns:
- Whether the gitConfig field is set.
-
getGitConfig
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitConfigin interfaceBuildOrBuilder- Returns:
- The gitConfig.
-
setGitConfig
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL]; -
setGitConfig
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGitConfig
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL]; -
clearGitConfig
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL]; -
getGitConfigBuilder
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL]; -
getGitConfigOrBuilder
Optional. Configuration for git operations.
.google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitConfigOrBuilderin interfaceBuildOrBuilder
-
hasFailureInfo
public 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];- Specified by:
hasFailureInfoin interfaceBuildOrBuilder- Returns:
- Whether the failureInfo field is set.
-
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];- Specified by:
getFailureInfoin interfaceBuildOrBuilder- Returns:
- The failureInfo.
-
setFailureInfo
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]; -
setFailureInfo
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]; -
mergeFailureInfo
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]; -
clearFailureInfo
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]; -
getFailureInfoBuilder
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]; -
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];- Specified by:
getFailureInfoOrBuilderin interfaceBuildOrBuilder
-
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];- Specified by:
getDependenciesListin interfaceBuildOrBuilder
-
getDependenciesCount
public 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];- Specified by:
getDependenciesCountin interfaceBuildOrBuilder
-
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];- Specified by:
getDependenciesin interfaceBuildOrBuilder
-
setDependencies
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]; -
setDependencies
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]; -
addDependencies
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]; -
addDependencies
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]; -
addDependencies
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]; -
addDependencies
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]; -
addAllDependencies
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]; -
clearDependencies
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]; -
removeDependencies
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]; -
getDependenciesBuilder
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];- Specified by:
getDependenciesOrBuilderin interfaceBuildOrBuilder
-
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];- Specified by:
getDependenciesOrBuilderListin interfaceBuildOrBuilder
-
addDependenciesBuilder
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]; -
addDependenciesBuilder
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]; -
getDependenciesBuilderList
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];
-