public static final class DefaultPool.Builder extends GeneratedMessageV3.Builder<DefaultPool.Builder> implements DefaultPoolOrBuilder
Execution using the default Cloud Build pool.
Protobuf type google.cloud.deploy.v1.DefaultPool
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DefaultPool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DefaultPool build()
Returns
buildPartial()
public DefaultPool buildPartial()
Returns
clear()
public DefaultPool.Builder clear()
Returns
Overrides
clearArtifactStorage()
public DefaultPool.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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public DefaultPool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DefaultPool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceAccount()
public DefaultPool.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public DefaultPool.Builder clone()
Returns
Overrides
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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for artifactStorage.
|
getDefaultInstanceForType()
public DefaultPool getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 = 1 [(.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for serviceAccount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DefaultPool other)
public DefaultPool.Builder mergeFrom(DefaultPool other)
Parameter
Returns
public DefaultPool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DefaultPool.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DefaultPool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setArtifactStorage(String value)
public DefaultPool.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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The artifactStorage to set.
|
Returns
setArtifactStorageBytes(ByteString value)
public DefaultPool.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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for artifactStorage to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DefaultPool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DefaultPool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceAccount(String value)
public DefaultPool.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The serviceAccount to set.
|
Returns
setServiceAccountBytes(ByteString value)
public DefaultPool.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for serviceAccount to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DefaultPool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides