Class PrivatePoolV1Config.Builder (3.53.0)

public static final class PrivatePoolV1Config.Builder extends GeneratedMessageV3.Builder<PrivatePoolV1Config.Builder> implements PrivatePoolV1ConfigOrBuilder

Configuration for a V1 PrivatePool.

Protobuf type google.devtools.cloudbuild.v1.PrivatePoolV1Config

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivatePoolV1Config.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

build()

public PrivatePoolV1Config build()
Returns
Type Description
PrivatePoolV1Config

buildPartial()

public PrivatePoolV1Config buildPartial()
Returns
Type Description
PrivatePoolV1Config

clear()

public PrivatePoolV1Config.Builder clear()
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PrivatePoolV1Config.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

clearNetworkConfig()

public PrivatePoolV1Config.Builder clearNetworkConfig()

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Returns
Type Description
PrivatePoolV1Config.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivatePoolV1Config.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

clearWorkerConfig()

public PrivatePoolV1Config.Builder clearWorkerConfig()

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Returns
Type Description
PrivatePoolV1Config.Builder

clone()

public PrivatePoolV1Config.Builder clone()
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

getDefaultInstanceForType()

public PrivatePoolV1Config getDefaultInstanceForType()
Returns
Type Description
PrivatePoolV1Config

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNetworkConfig()

public PrivatePoolV1Config.NetworkConfig getNetworkConfig()

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Returns
Type Description
PrivatePoolV1Config.NetworkConfig

The networkConfig.

getNetworkConfigBuilder()

public PrivatePoolV1Config.NetworkConfig.Builder getNetworkConfigBuilder()

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Returns
Type Description
PrivatePoolV1Config.NetworkConfig.Builder

getNetworkConfigOrBuilder()

public PrivatePoolV1Config.NetworkConfigOrBuilder getNetworkConfigOrBuilder()

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Returns
Type Description
PrivatePoolV1Config.NetworkConfigOrBuilder

getWorkerConfig()

public PrivatePoolV1Config.WorkerConfig getWorkerConfig()

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Returns
Type Description
PrivatePoolV1Config.WorkerConfig

The workerConfig.

getWorkerConfigBuilder()

public PrivatePoolV1Config.WorkerConfig.Builder getWorkerConfigBuilder()

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Returns
Type Description
PrivatePoolV1Config.WorkerConfig.Builder

getWorkerConfigOrBuilder()

public PrivatePoolV1Config.WorkerConfigOrBuilder getWorkerConfigOrBuilder()

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Returns
Type Description
PrivatePoolV1Config.WorkerConfigOrBuilder

hasNetworkConfig()

public boolean hasNetworkConfig()

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Returns
Type Description
boolean

Whether the networkConfig field is set.

hasWorkerConfig()

public boolean hasWorkerConfig()

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Returns
Type Description
boolean

Whether the workerConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivatePoolV1Config other)

public PrivatePoolV1Config.Builder mergeFrom(PrivatePoolV1Config other)
Parameter
Name Description
other PrivatePoolV1Config
Returns
Type Description
PrivatePoolV1Config.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivatePoolV1Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PrivatePoolV1Config.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

mergeNetworkConfig(PrivatePoolV1Config.NetworkConfig value)

public PrivatePoolV1Config.Builder mergeNetworkConfig(PrivatePoolV1Config.NetworkConfig value)

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Parameter
Name Description
value PrivatePoolV1Config.NetworkConfig
Returns
Type Description
PrivatePoolV1Config.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivatePoolV1Config.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

mergeWorkerConfig(PrivatePoolV1Config.WorkerConfig value)

public PrivatePoolV1Config.Builder mergeWorkerConfig(PrivatePoolV1Config.WorkerConfig value)

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Parameter
Name Description
value PrivatePoolV1Config.WorkerConfig
Returns
Type Description
PrivatePoolV1Config.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PrivatePoolV1Config.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

setNetworkConfig(PrivatePoolV1Config.NetworkConfig value)

public PrivatePoolV1Config.Builder setNetworkConfig(PrivatePoolV1Config.NetworkConfig value)

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Parameter
Name Description
value PrivatePoolV1Config.NetworkConfig
Returns
Type Description
PrivatePoolV1Config.Builder

setNetworkConfig(PrivatePoolV1Config.NetworkConfig.Builder builderForValue)

public PrivatePoolV1Config.Builder setNetworkConfig(PrivatePoolV1Config.NetworkConfig.Builder builderForValue)

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Parameter
Name Description
builderForValue PrivatePoolV1Config.NetworkConfig.Builder
Returns
Type Description
PrivatePoolV1Config.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PrivatePoolV1Config.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivatePoolV1Config.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

setWorkerConfig(PrivatePoolV1Config.WorkerConfig value)

public PrivatePoolV1Config.Builder setWorkerConfig(PrivatePoolV1Config.WorkerConfig value)

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Parameter
Name Description
value PrivatePoolV1Config.WorkerConfig
Returns
Type Description
PrivatePoolV1Config.Builder

setWorkerConfig(PrivatePoolV1Config.WorkerConfig.Builder builderForValue)

public PrivatePoolV1Config.Builder setWorkerConfig(PrivatePoolV1Config.WorkerConfig.Builder builderForValue)

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Parameter
Name Description
builderForValue PrivatePoolV1Config.WorkerConfig.Builder
Returns
Type Description
PrivatePoolV1Config.Builder