public static final class PrivatePool.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder> implements PrivatePoolOrBuilder
Execution using a private Cloud Build pool.Protobuf type
google.cloud.deploy.v1.PrivatePool| Modifier and Type | Method and Description |
|---|---|
PrivatePool.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PrivatePool |
build() |
PrivatePool |
buildPartial() |
PrivatePool.Builder |
clear() |
PrivatePool.Builder |
clearArtifactStorage()
Optional.
|
PrivatePool.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PrivatePool.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PrivatePool.Builder |
clearServiceAccount()
Optional.
|
PrivatePool.Builder |
clearWorkerPool()
Required.
|
PrivatePool.Builder |
clone() |
String |
getArtifactStorage()
Optional.
|
com.google.protobuf.ByteString |
getArtifactStorageBytes()
Optional.
|
PrivatePool |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getServiceAccount()
Optional.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Optional.
|
String |
getWorkerPool()
Required.
|
com.google.protobuf.ByteString |
getWorkerPoolBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PrivatePool.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PrivatePool.Builder |
mergeFrom(com.google.protobuf.Message other) |
PrivatePool.Builder |
mergeFrom(PrivatePool other) |
PrivatePool.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PrivatePool.Builder |
setArtifactStorage(String value)
Optional.
|
PrivatePool.Builder |
setArtifactStorageBytes(com.google.protobuf.ByteString value)
Optional.
|
PrivatePool.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PrivatePool.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PrivatePool.Builder |
setServiceAccount(String value)
Optional.
|
PrivatePool.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional.
|
PrivatePool.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PrivatePool.Builder |
setWorkerPool(String value)
Required.
|
PrivatePool.Builder |
setWorkerPoolBytes(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PrivatePool build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PrivatePool buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PrivatePool.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PrivatePool.Builder>public PrivatePool.Builder mergeFrom(PrivatePool other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public PrivatePool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PrivatePool.Builder>IOExceptionpublic 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) = { ... }
getWorkerPool in interface PrivatePoolOrBuilderpublic 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) = { ... }
getWorkerPoolBytes in interface PrivatePoolOrBuilderpublic 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) = { ... }
value - The workerPool to set.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) = { ... }
public PrivatePool.Builder setWorkerPoolBytes(com.google.protobuf.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) = { ... }
value - The bytes for workerPool to set.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];getServiceAccount in interface PrivatePoolOrBuilderpublic 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];getServiceAccountBytes in interface PrivatePoolOrBuilderpublic 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];value - The serviceAccount to set.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];public PrivatePool.Builder setServiceAccountBytes(com.google.protobuf.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];value - The bytes for serviceAccount to set.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];getArtifactStorage in interface PrivatePoolOrBuilderpublic 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];getArtifactStorageBytes in interface PrivatePoolOrBuilderpublic 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];value - The artifactStorage to set.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];public PrivatePool.Builder setArtifactStorageBytes(com.google.protobuf.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];value - The bytes for artifactStorage to set.public final PrivatePool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>public final PrivatePool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePool.Builder>Copyright © 2024 Google LLC. All rights reserved.