- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class PrivatePool.Builder extends GeneratedMessageV3.Builder<PrivatePool.Builder> implements PrivatePoolOrBuilder
Execution using a private Cloud Build pool.
Protobuf type google.cloud.deploy.v1.PrivatePool
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PrivatePool.BuilderImplements
PrivatePoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivatePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
build()
public PrivatePool build()
Returns | |
---|---|
Type | Description |
PrivatePool |
buildPartial()
public PrivatePool buildPartial()
Returns | |
---|---|
Type | Description |
PrivatePool |
clear()
public PrivatePool.Builder clear()
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
clearArtifactStorage()
public PrivatePool.Builder clearArtifactStorage()
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 | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PrivatePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivatePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
clearServiceAccount()
public PrivatePool.Builder clearServiceAccount()
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 | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |
clearWorkerPool()
public PrivatePool.Builder clearWorkerPool()
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 | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |
clone()
public PrivatePool.Builder clone()
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
getArtifactStorage()
public 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 | |
---|---|
Type | Description |
String | The artifactStorage. |
getArtifactStorageBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for artifactStorage. |
getDefaultInstanceForType()
public PrivatePool getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PrivatePool |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getServiceAccount()
public 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 | |
---|---|
Type | Description |
String | The serviceAccount. |
getServiceAccountBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for serviceAccount. |
getWorkerPool()
public 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 | |
---|---|
Type | Description |
String | The workerPool. |
getWorkerPoolBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for workerPool. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PrivatePool other)
public PrivatePool.Builder mergeFrom(PrivatePool other)
Parameter | |
---|---|
Name | Description |
other | PrivatePool |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrivatePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PrivatePool.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivatePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
setArtifactStorage(String value)
public PrivatePool.Builder setArtifactStorage(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The artifactStorage to set. |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |
setArtifactStorageBytes(ByteString value)
public PrivatePool.Builder setArtifactStorageBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for artifactStorage to set. |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PrivatePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivatePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
setServiceAccount(String value)
public PrivatePool.Builder setServiceAccount(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The serviceAccount to set. |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |
setServiceAccountBytes(ByteString value)
public PrivatePool.Builder setServiceAccountBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for serviceAccount to set. |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivatePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder |
setWorkerPool(String value)
public PrivatePool.Builder setWorkerPool(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The workerPool to set. |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |
setWorkerPoolBytes(ByteString value)
public PrivatePool.Builder setWorkerPoolBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for workerPool to set. |
Returns | |
---|---|
Type | Description |
PrivatePool.Builder | This builder for chaining. |