Interface PrivatePoolOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PrivatePool, PrivatePool.Builder

    public interface PrivatePoolOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getWorkerPool

        String getWorkerPool()
         Required. Resource name of the Cloud Build worker pool to use. The format
         is `projects/{project}/locations/{location}/workerPools/{pool}`.
         
        string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The workerPool.
      • getWorkerPoolBytes

        com.google.protobuf.ByteString getWorkerPoolBytes()
         Required. Resource name of the Cloud Build worker pool to use. The format
         is `projects/{project}/locations/{location}/workerPools/{pool}`.
         
        string worker_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for workerPool.
      • getServiceAccount

        String getServiceAccount()
         Optional. Google service account to use for execution. If unspecified,
         the project execution service account
         (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) will be used.
         
        string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        com.google.protobuf.ByteString getServiceAccountBytes()
         Optional. Google service account to use for execution. If unspecified,
         the project execution service account
         (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) will be used.
         
        string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for serviceAccount.
      • getArtifactStorage

        String getArtifactStorage()
         Optional. Cloud Storage location where execution outputs should be stored.
         This can either be a bucket ("gs://my-bucket") or a path within a bucket
         ("gs://my-bucket/my-dir").
         If unspecified, a default bucket located in the same region will be used.
         
        string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The artifactStorage.
      • getArtifactStorageBytes

        com.google.protobuf.ByteString getArtifactStorageBytes()
         Optional. Cloud Storage location where execution outputs should be stored.
         This can either be a bucket ("gs://my-bucket") or a path within a bucket
         ("gs://my-bucket/my-dir").
         If unspecified, a default bucket located in the same region will be used.
         
        string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for artifactStorage.