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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • clear

      public Build.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Build.Builder>
    • getDefaultInstanceForType

      public Build getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Build build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Build buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Build.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Build.Builder>
    • mergeFrom

      public Build.Builder mergeFrom(Build other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Build.Builder>
      Throws:
      IOException
    • getName

      public 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];
      Specified by:
      getName in interface BuildOrBuilder
      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:
      getNameBytes in interface BuildOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Build.Builder setName(String value)
       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

      public Build.Builder 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

      public Build.Builder setNameBytes(com.google.protobuf.ByteString value)
       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

      public String getId()
       Output only. Unique identifier of the build.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getId in interface BuildOrBuilder
      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:
      getIdBytes in interface BuildOrBuilder
      Returns:
      The bytes for id.
    • setId

      public Build.Builder setId(String value)
       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

      public Build.Builder clearId()
       Output only. Unique identifier of the build.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Build.Builder setIdBytes(com.google.protobuf.ByteString value)
       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

      public String getProjectId()
       Output only. ID of the project.
       
      string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProjectId in interface BuildOrBuilder
      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:
      getProjectIdBytes in interface BuildOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public Build.Builder setProjectId(String value)
       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

      public Build.Builder clearProjectId()
       Output only. ID of the project.
       
      string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public Build.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       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:
      getStatusValue in interface BuildOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public Build.Builder setStatusValue(int value)
       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

      public Build.Status getStatus()
       Output only. Status of the build.
       
      .google.devtools.cloudbuild.v1.Build.Status status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface BuildOrBuilder
      Returns:
      The status.
    • setStatus

      public Build.Builder setStatus(Build.Status value)
       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

      public Build.Builder 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

      public String getStatusDetail()
       Output only. Customer-readable message about the current status.
       
      string status_detail = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusDetail in interface BuildOrBuilder
      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:
      getStatusDetailBytes in interface BuildOrBuilder
      Returns:
      The bytes for statusDetail.
    • setStatusDetail

      public Build.Builder setStatusDetail(String value)
       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

      public Build.Builder 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

      public Build.Builder setStatusDetailBytes(com.google.protobuf.ByteString value)
       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:
      hasSource in interface BuildOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public Source getSource()
       Optional. The location of the source files to build.
       
      .google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSource in interface BuildOrBuilder
      Returns:
      The source.
    • setSource

      public Build.Builder setSource(Source value)
       Optional. The location of the source files to build.
       
      .google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setSource

      public Build.Builder setSource(Source.Builder builderForValue)
       Optional. The location of the source files to build.
       
      .google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSource

      public Build.Builder mergeSource(Source value)
       Optional. The location of the source files to build.
       
      .google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearSource

      public Build.Builder clearSource()
       Optional. The location of the source files to build.
       
      .google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceBuilder

      public Source.Builder getSourceBuilder()
       Optional. The location of the source files to build.
       
      .google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceOrBuilder

      public SourceOrBuilder getSourceOrBuilder()
       Optional. The location of the source files to build.
       
      .google.devtools.cloudbuild.v1.Source source = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceOrBuilder in interface BuildOrBuilder
    • getStepsList

      public List<BuildStep> getStepsList()
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
      Specified by:
      getStepsList in interface BuildOrBuilder
    • getStepsCount

      public int getStepsCount()
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
      Specified by:
      getStepsCount in interface BuildOrBuilder
    • getSteps

      public BuildStep getSteps(int index)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
      Specified by:
      getSteps in interface BuildOrBuilder
    • setSteps

      public Build.Builder setSteps(int index, BuildStep value)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • setSteps

      public Build.Builder setSteps(int index, BuildStep.Builder builderForValue)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • addSteps

      public Build.Builder addSteps(BuildStep value)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • addSteps

      public Build.Builder addSteps(int index, BuildStep value)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • addSteps

      public Build.Builder addSteps(BuildStep.Builder builderForValue)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • addSteps

      public Build.Builder addSteps(int index, BuildStep.Builder builderForValue)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • addAllSteps

      public Build.Builder addAllSteps(Iterable<? extends BuildStep> values)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • clearSteps

      public Build.Builder clearSteps()
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • removeSteps

      public Build.Builder removeSteps(int index)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • getStepsBuilder

      public BuildStep.Builder getStepsBuilder(int index)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • getStepsOrBuilder

      public BuildStepOrBuilder getStepsOrBuilder(int index)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
      Specified by:
      getStepsOrBuilder in interface BuildOrBuilder
    • getStepsOrBuilderList

      public List<? extends BuildStepOrBuilder> getStepsOrBuilderList()
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
      Specified by:
      getStepsOrBuilderList in interface BuildOrBuilder
    • addStepsBuilder

      public BuildStep.Builder addStepsBuilder()
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • addStepsBuilder

      public BuildStep.Builder addStepsBuilder(int index)
       Required. The operations to be performed on the workspace.
       
      repeated .google.devtools.cloudbuild.v1.BuildStep steps = 11;
    • getStepsBuilderList

      public List<BuildStep.Builder> 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:
      hasResults in interface BuildOrBuilder
      Returns:
      Whether the results field is set.
    • getResults

      public Results getResults()
       Output only. Results of the build.
       
      .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResults in interface BuildOrBuilder
      Returns:
      The results.
    • setResults

      public Build.Builder setResults(Results value)
       Output only. Results of the build.
       
      .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setResults

      public Build.Builder setResults(Results.Builder builderForValue)
       Output only. Results of the build.
       
      .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeResults

      public Build.Builder mergeResults(Results value)
       Output only. Results of the build.
       
      .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearResults

      public Build.Builder clearResults()
       Output only. Results of the build.
       
      .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResultsBuilder

      public Results.Builder getResultsBuilder()
       Output only. Results of the build.
       
      .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResultsOrBuilder

      public ResultsOrBuilder getResultsOrBuilder()
       Output only. Results of the build.
       
      .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResultsOrBuilder in interface BuildOrBuilder
    • 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:
      hasCreateTime in interface BuildOrBuilder
      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:
      getCreateTime in interface BuildOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Build.Builder setCreateTime(com.google.protobuf.Timestamp value)
       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

      public Build.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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

      public Build.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       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

      public Build.Builder 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:
      getCreateTimeOrBuilder in interface BuildOrBuilder
    • 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:
      hasStartTime in interface BuildOrBuilder
      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:
      getStartTime in interface BuildOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public Build.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. Time at which execution of the build was started.
       
      .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public Build.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time at which execution of the build was started.
       
      .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public Build.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. Time at which execution of the build was started.
       
      .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public Build.Builder 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:
      getStartTimeOrBuilder in interface BuildOrBuilder
    • 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:
      hasFinishTime in interface BuildOrBuilder
      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:
      getFinishTime in interface BuildOrBuilder
      Returns:
      The finishTime.
    • setFinishTime

      public Build.Builder setFinishTime(com.google.protobuf.Timestamp value)
       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

      public Build.Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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

      public Build.Builder mergeFinishTime(com.google.protobuf.Timestamp value)
       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

      public Build.Builder 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:
      getFinishTimeOrBuilder in interface BuildOrBuilder
    • 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:
      hasTimeout in interface BuildOrBuilder
      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:
      getTimeout in interface BuildOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public Build.Builder setTimeout(com.google.protobuf.Duration value)
       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

      public Build.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       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

      public Build.Builder mergeTimeout(com.google.protobuf.Duration value)
       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

      public Build.Builder 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:
      getTimeoutOrBuilder in interface BuildOrBuilder
    • 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:
      getImagesList in interface BuildOrBuilder
      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:
      getImagesCount in interface BuildOrBuilder
      Returns:
      The count of images.
    • getImages

      public String getImages(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:
      getImages in interface BuildOrBuilder
      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:
      getImagesBytes in interface BuildOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the images at the given index.
    • setImages

      public Build.Builder setImages(int index, String value)
       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

      public Build.Builder addImages(String value)
       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

      public Build.Builder addAllImages(Iterable<String> values)
       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

      public Build.Builder 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

      public Build.Builder addImagesBytes(com.google.protobuf.ByteString value)
       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:
      hasQueueTtl in interface BuildOrBuilder
      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:
      getQueueTtl in interface BuildOrBuilder
      Returns:
      The queueTtl.
    • setQueueTtl

      public Build.Builder setQueueTtl(com.google.protobuf.Duration value)
       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

      public Build.Builder setQueueTtl(com.google.protobuf.Duration.Builder builderForValue)
       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

      public Build.Builder mergeQueueTtl(com.google.protobuf.Duration value)
       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

      public Build.Builder 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:
      getQueueTtlOrBuilder in interface BuildOrBuilder
    • 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:
      hasArtifacts in interface BuildOrBuilder
      Returns:
      Whether the artifacts field is set.
    • getArtifacts

      public 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;
      Specified by:
      getArtifacts in interface BuildOrBuilder
      Returns:
      The artifacts.
    • setArtifacts

      public Build.Builder setArtifacts(Artifacts value)
       Artifacts produced by the build that should be uploaded upon
       successful completion of all build steps.
       
      .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
    • setArtifacts

      public Build.Builder setArtifacts(Artifacts.Builder builderForValue)
       Artifacts produced by the build that should be uploaded upon
       successful completion of all build steps.
       
      .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
    • mergeArtifacts

      public Build.Builder mergeArtifacts(Artifacts value)
       Artifacts produced by the build that should be uploaded upon
       successful completion of all build steps.
       
      .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
    • clearArtifacts

      public Build.Builder 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

      public Artifacts.Builder 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

      public 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;
      Specified by:
      getArtifactsOrBuilder in interface BuildOrBuilder
    • getLogsBucket

      public 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;
      Specified by:
      getLogsBucket in interface BuildOrBuilder
      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:
      getLogsBucketBytes in interface BuildOrBuilder
      Returns:
      The bytes for logsBucket.
    • setLogsBucket

      public Build.Builder setLogsBucket(String value)
       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

      public Build.Builder 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

      public Build.Builder 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)).
       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:
      hasSourceProvenance in interface BuildOrBuilder
      Returns:
      Whether the sourceProvenance field is set.
    • getSourceProvenance

      public SourceProvenance 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:
      getSourceProvenance in interface BuildOrBuilder
      Returns:
      The sourceProvenance.
    • setSourceProvenance

      public Build.Builder setSourceProvenance(SourceProvenance value)
       Output only. A permanent fixed identifier for source.
       
      .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setSourceProvenance

      public Build.Builder setSourceProvenance(SourceProvenance.Builder builderForValue)
       Output only. A permanent fixed identifier for source.
       
      .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeSourceProvenance

      public Build.Builder mergeSourceProvenance(SourceProvenance value)
       Output only. A permanent fixed identifier for source.
       
      .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSourceProvenance

      public Build.Builder clearSourceProvenance()
       Output only. A permanent fixed identifier for source.
       
      .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceProvenanceBuilder

      public SourceProvenance.Builder getSourceProvenanceBuilder()
       Output only. A permanent fixed identifier for source.
       
      .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceProvenanceOrBuilder

      public SourceProvenanceOrBuilder 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:
      getSourceProvenanceOrBuilder in interface BuildOrBuilder
    • getBuildTriggerId

      public 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];
      Specified by:
      getBuildTriggerId in interface BuildOrBuilder
      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:
      getBuildTriggerIdBytes in interface BuildOrBuilder
      Returns:
      The bytes for buildTriggerId.
    • setBuildTriggerId

      public Build.Builder setBuildTriggerId(String value)
       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

      public Build.Builder 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

      public Build.Builder setBuildTriggerIdBytes(com.google.protobuf.ByteString value)
       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:
      hasOptions in interface BuildOrBuilder
      Returns:
      Whether the options field is set.
    • getOptions

      public BuildOptions getOptions()
       Special options for this build.
       
      .google.devtools.cloudbuild.v1.BuildOptions options = 23;
      Specified by:
      getOptions in interface BuildOrBuilder
      Returns:
      The options.
    • setOptions

      public Build.Builder setOptions(BuildOptions value)
       Special options for this build.
       
      .google.devtools.cloudbuild.v1.BuildOptions options = 23;
    • setOptions

      public Build.Builder setOptions(BuildOptions.Builder builderForValue)
       Special options for this build.
       
      .google.devtools.cloudbuild.v1.BuildOptions options = 23;
    • mergeOptions

      public Build.Builder mergeOptions(BuildOptions value)
       Special options for this build.
       
      .google.devtools.cloudbuild.v1.BuildOptions options = 23;
    • clearOptions

      public Build.Builder clearOptions()
       Special options for this build.
       
      .google.devtools.cloudbuild.v1.BuildOptions options = 23;
    • getOptionsBuilder

      public BuildOptions.Builder getOptionsBuilder()
       Special options for this build.
       
      .google.devtools.cloudbuild.v1.BuildOptions options = 23;
    • getOptionsOrBuilder

      public BuildOptionsOrBuilder getOptionsOrBuilder()
       Special options for this build.
       
      .google.devtools.cloudbuild.v1.BuildOptions options = 23;
      Specified by:
      getOptionsOrBuilder in interface BuildOrBuilder
    • getLogUrl

      public String 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:
      getLogUrl in interface BuildOrBuilder
      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:
      getLogUrlBytes in interface BuildOrBuilder
      Returns:
      The bytes for logUrl.
    • setLogUrl

      public Build.Builder setLogUrl(String value)
       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

      public Build.Builder 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

      public Build.Builder setLogUrlBytes(com.google.protobuf.ByteString value)
       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: BuildOrBuilder
       Substitutions data for `Build` resource.
       
      map<string, string> substitutions = 29;
      Specified by:
      getSubstitutionsCount in interface BuildOrBuilder
    • containsSubstitutions

      public boolean containsSubstitutions(String key)
       Substitutions data for `Build` resource.
       
      map<string, string> substitutions = 29;
      Specified by:
      containsSubstitutions in interface BuildOrBuilder
    • getSubstitutions

      @Deprecated public Map<String,String> getSubstitutions()
      Deprecated.
      Specified by:
      getSubstitutions in interface BuildOrBuilder
    • getSubstitutionsMap

      public Map<String,String> getSubstitutionsMap()
       Substitutions data for `Build` resource.
       
      map<string, string> substitutions = 29;
      Specified by:
      getSubstitutionsMap in interface BuildOrBuilder
    • getSubstitutionsOrDefault

      public String getSubstitutionsOrDefault(String key, String defaultValue)
       Substitutions data for `Build` resource.
       
      map<string, string> substitutions = 29;
      Specified by:
      getSubstitutionsOrDefault in interface BuildOrBuilder
    • getSubstitutionsOrThrow

      public String getSubstitutionsOrThrow(String key)
       Substitutions data for `Build` resource.
       
      map<string, string> substitutions = 29;
      Specified by:
      getSubstitutionsOrThrow in interface BuildOrBuilder
    • clearSubstitutions

      public Build.Builder clearSubstitutions()
    • removeSubstitutions

      public Build.Builder removeSubstitutions(String key)
       Substitutions data for `Build` resource.
       
      map<string, string> substitutions = 29;
    • getMutableSubstitutions

      @Deprecated public Map<String,String> getMutableSubstitutions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSubstitutions

      public Build.Builder putSubstitutions(String key, String value)
       Substitutions data for `Build` resource.
       
      map<string, string> substitutions = 29;
    • putAllSubstitutions

      public Build.Builder putAllSubstitutions(Map<String,String> values)
       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:
      getTagsList in interface BuildOrBuilder
      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:
      getTagsCount in interface BuildOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
       Tags for annotation of a `Build`. These are not docker tags.
       
      repeated string tags = 31;
      Specified by:
      getTags in interface BuildOrBuilder
      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:
      getTagsBytes in interface BuildOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public Build.Builder setTags(int index, String value)
       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

      public Build.Builder addTags(String value)
       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

      public Build.Builder addAllTags(Iterable<String> values)
       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

      public Build.Builder clearTags()
       Tags for annotation of a `Build`. These are not docker tags.
       
      repeated string tags = 31;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public Build.Builder addTagsBytes(com.google.protobuf.ByteString value)
       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

      public List<Secret> 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:
      getSecretsList in interface BuildOrBuilder
    • 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:
      getSecretsCount in interface BuildOrBuilder
    • getSecrets

      public Secret getSecrets(int index)
       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:
      getSecrets in interface BuildOrBuilder
    • setSecrets

      public Build.Builder setSecrets(int index, Secret value)
       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

      public Build.Builder setSecrets(int index, Secret.Builder builderForValue)
       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

      public Build.Builder addSecrets(Secret value)
       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

      public Build.Builder addSecrets(int index, Secret value)
       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

      public Build.Builder addSecrets(Secret.Builder builderForValue)
       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

      public Build.Builder addSecrets(int index, Secret.Builder builderForValue)
       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

      public Build.Builder addAllSecrets(Iterable<? extends Secret> values)
       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

      public Build.Builder 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

      public Build.Builder removeSecrets(int index)
       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

      public Secret.Builder getSecretsBuilder(int index)
       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

      public SecretOrBuilder getSecretsOrBuilder(int index)
       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:
      getSecretsOrBuilder in interface BuildOrBuilder
    • getSecretsOrBuilderList

      public 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;
      Specified by:
      getSecretsOrBuilderList in interface BuildOrBuilder
    • addSecretsBuilder

      public Secret.Builder 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

      public Secret.Builder addSecretsBuilder(int index)
       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

      public List<Secret.Builder> 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: BuildOrBuilder
       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:
      getTimingCount in interface BuildOrBuilder
    • containsTiming

      public boolean containsTiming(String key)
       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:
      containsTiming in interface BuildOrBuilder
    • getTiming

      @Deprecated public Map<String,TimeSpan> getTiming()
      Deprecated.
      Use getTimingMap() instead.
      Specified by:
      getTiming in interface BuildOrBuilder
    • getTimingMap

      public Map<String,TimeSpan> 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:
      getTimingMap in interface BuildOrBuilder
    • getTimingOrDefault

      public TimeSpan getTimingOrDefault(String key, TimeSpan defaultValue)
       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:
      getTimingOrDefault in interface BuildOrBuilder
    • getTimingOrThrow

      public TimeSpan getTimingOrThrow(String key)
       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:
      getTimingOrThrow in interface BuildOrBuilder
    • clearTiming

      public Build.Builder clearTiming()
    • removeTiming

      public Build.Builder removeTiming(String key)
       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 public Map<String,TimeSpan> getMutableTiming()
      Deprecated.
      Use alternate mutation accessors instead.
    • putTiming

      public Build.Builder putTiming(String key, TimeSpan value)
       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

      public Build.Builder putAllTiming(Map<String,TimeSpan> values)
       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

      public TimeSpan.Builder putTimingBuilderIfAbsent(String key)
       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:
      hasApproval in interface BuildOrBuilder
      Returns:
      Whether the approval field is set.
    • getApproval

      public 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];
      Specified by:
      getApproval in interface BuildOrBuilder
      Returns:
      The approval.
    • setApproval

      public Build.Builder setApproval(BuildApproval value)
       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

      public Build.Builder setApproval(BuildApproval.Builder builderForValue)
       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

      public Build.Builder mergeApproval(BuildApproval value)
       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

      public Build.Builder 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

      public BuildApproval.Builder 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

      public 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];
      Specified by:
      getApprovalOrBuilder in interface BuildOrBuilder
    • getServiceAccount

      public 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) = { ... }
      Specified by:
      getServiceAccount in interface BuildOrBuilder
      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:
      getServiceAccountBytes in interface BuildOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public Build.Builder setServiceAccount(String value)
       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

      public Build.Builder 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

      public Build.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       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:
      hasAvailableSecrets in interface BuildOrBuilder
      Returns:
      Whether the availableSecrets field is set.
    • getAvailableSecrets

      public Secrets getAvailableSecrets()
       Secrets and secret environment variables.
       
      .google.devtools.cloudbuild.v1.Secrets available_secrets = 47;
      Specified by:
      getAvailableSecrets in interface BuildOrBuilder
      Returns:
      The availableSecrets.
    • setAvailableSecrets

      public Build.Builder setAvailableSecrets(Secrets value)
       Secrets and secret environment variables.
       
      .google.devtools.cloudbuild.v1.Secrets available_secrets = 47;
    • setAvailableSecrets

      public Build.Builder setAvailableSecrets(Secrets.Builder builderForValue)
       Secrets and secret environment variables.
       
      .google.devtools.cloudbuild.v1.Secrets available_secrets = 47;
    • mergeAvailableSecrets

      public Build.Builder mergeAvailableSecrets(Secrets value)
       Secrets and secret environment variables.
       
      .google.devtools.cloudbuild.v1.Secrets available_secrets = 47;
    • clearAvailableSecrets

      public Build.Builder clearAvailableSecrets()
       Secrets and secret environment variables.
       
      .google.devtools.cloudbuild.v1.Secrets available_secrets = 47;
    • getAvailableSecretsBuilder

      public Secrets.Builder getAvailableSecretsBuilder()
       Secrets and secret environment variables.
       
      .google.devtools.cloudbuild.v1.Secrets available_secrets = 47;
    • getAvailableSecretsOrBuilder

      public SecretsOrBuilder getAvailableSecretsOrBuilder()
       Secrets and secret environment variables.
       
      .google.devtools.cloudbuild.v1.Secrets available_secrets = 47;
      Specified by:
      getAvailableSecretsOrBuilder in interface BuildOrBuilder
    • getWarningsList

      public 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];
      Specified by:
      getWarningsList in interface BuildOrBuilder
    • 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:
      getWarningsCount in interface BuildOrBuilder
    • getWarnings

      public Build.Warning getWarnings(int index)
       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:
      getWarnings in interface BuildOrBuilder
    • setWarnings

      public Build.Builder setWarnings(int index, Build.Warning value)
       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

      public Build.Builder setWarnings(int index, Build.Warning.Builder builderForValue)
       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

      public Build.Builder addWarnings(Build.Warning value)
       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

      public Build.Builder addWarnings(int index, Build.Warning value)
       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

      public Build.Builder addWarnings(Build.Warning.Builder builderForValue)
       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

      public Build.Builder addWarnings(int index, Build.Warning.Builder builderForValue)
       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

      public Build.Builder addAllWarnings(Iterable<? extends Build.Warning> values)
       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

      public Build.Builder 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

      public Build.Builder removeWarnings(int index)
       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

      public Build.Warning.Builder getWarningsBuilder(int index)
       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

      public Build.WarningOrBuilder getWarningsOrBuilder(int index)
       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:
      getWarningsOrBuilder in interface BuildOrBuilder
    • getWarningsOrBuilderList

      public 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];
      Specified by:
      getWarningsOrBuilderList in interface BuildOrBuilder
    • addWarningsBuilder

      public Build.Warning.Builder 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

      public Build.Warning.Builder addWarningsBuilder(int index)
       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

      public List<Build.Warning.Builder> 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:
      hasGitConfig in interface BuildOrBuilder
      Returns:
      Whether the gitConfig field is set.
    • getGitConfig

      public GitConfig getGitConfig()
       Optional. Configuration for git operations.
       
      .google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGitConfig in interface BuildOrBuilder
      Returns:
      The gitConfig.
    • setGitConfig

      public Build.Builder setGitConfig(GitConfig value)
       Optional. Configuration for git operations.
       
      .google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];
    • setGitConfig

      public Build.Builder setGitConfig(GitConfig.Builder builderForValue)
       Optional. Configuration for git operations.
       
      .google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGitConfig

      public Build.Builder mergeGitConfig(GitConfig value)
       Optional. Configuration for git operations.
       
      .google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];
    • clearGitConfig

      public Build.Builder clearGitConfig()
       Optional. Configuration for git operations.
       
      .google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];
    • getGitConfigBuilder

      public GitConfig.Builder getGitConfigBuilder()
       Optional. Configuration for git operations.
       
      .google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];
    • getGitConfigOrBuilder

      public GitConfigOrBuilder getGitConfigOrBuilder()
       Optional. Configuration for git operations.
       
      .google.devtools.cloudbuild.v1.GitConfig git_config = 48 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGitConfigOrBuilder in interface BuildOrBuilder
    • 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:
      hasFailureInfo in interface BuildOrBuilder
      Returns:
      Whether the failureInfo field is set.
    • getFailureInfo

      public 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];
      Specified by:
      getFailureInfo in interface BuildOrBuilder
      Returns:
      The failureInfo.
    • setFailureInfo

      public Build.Builder setFailureInfo(Build.FailureInfo value)
       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

      public Build.Builder setFailureInfo(Build.FailureInfo.Builder builderForValue)
       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

      public Build.Builder mergeFailureInfo(Build.FailureInfo value)
       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

      public Build.Builder 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

      public Build.FailureInfo.Builder 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

      public 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];
      Specified by:
      getFailureInfoOrBuilder in interface BuildOrBuilder
    • getDependenciesList

      public 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];
      Specified by:
      getDependenciesList in interface BuildOrBuilder
    • 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:
      getDependenciesCount in interface BuildOrBuilder
    • getDependencies

      public Dependency getDependencies(int index)
       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:
      getDependencies in interface BuildOrBuilder
    • setDependencies

      public Build.Builder setDependencies(int index, Dependency value)
       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

      public Build.Builder setDependencies(int index, Dependency.Builder builderForValue)
       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

      public Build.Builder addDependencies(Dependency value)
       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

      public Build.Builder addDependencies(int index, Dependency value)
       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

      public Build.Builder addDependencies(Dependency.Builder builderForValue)
       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

      public Build.Builder addDependencies(int index, Dependency.Builder builderForValue)
       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

      public Build.Builder addAllDependencies(Iterable<? extends Dependency> values)
       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

      public Build.Builder 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

      public Build.Builder removeDependencies(int index)
       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

      public Dependency.Builder getDependenciesBuilder(int index)
       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

      public DependencyOrBuilder getDependenciesOrBuilder(int index)
       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:
      getDependenciesOrBuilder in interface BuildOrBuilder
    • getDependenciesOrBuilderList

      public 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];
      Specified by:
      getDependenciesOrBuilderList in interface BuildOrBuilder
    • addDependenciesBuilder

      public Dependency.Builder 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

      public Dependency.Builder addDependenciesBuilder(int index)
       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

      public List<Dependency.Builder> 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];