Package com.google.cloud.deploy.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetArtifactStorage()Optional.com.google.protobuf.ByteStringgetArtifactStorageBytes()Optional.StringgetServiceAccount()Optional.com.google.protobuf.ByteStringgetServiceAccountBytes()Optional.StringgetWorkerPool()Required.com.google.protobuf.ByteStringgetWorkerPoolBytes()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
-