Class PrivatePoolV1Config.Builder (3.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivatePoolV1Config.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PrivatePoolV1Config.Builder
Overrides

build()

public PrivatePoolV1Config build()
Returns
TypeDescription
PrivatePoolV1Config

buildPartial()

public PrivatePoolV1Config buildPartial()
Returns
TypeDescription
PrivatePoolV1Config

clear()

public PrivatePoolV1Config.Builder clear()
Returns
TypeDescription
PrivatePoolV1Config.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PrivatePoolV1Config.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PrivatePoolV1Config.Builder
Overrides

clearNetworkConfig()

public PrivatePoolV1Config.Builder clearNetworkConfig()

Network configuration for the pool.

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

Returns
TypeDescription
PrivatePoolV1Config.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivatePoolV1Config.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PrivatePoolV1Config.Builder

clone()

public PrivatePoolV1Config.Builder clone()
Returns
TypeDescription
PrivatePoolV1Config.Builder
Overrides

getDefaultInstanceForType()

public PrivatePoolV1Config getDefaultInstanceForType()
Returns
TypeDescription
PrivatePoolV1Config

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNetworkConfig()

public PrivatePoolV1Config.NetworkConfig getNetworkConfig()

Network configuration for the pool.

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

Returns
TypeDescription
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
TypeDescription
PrivatePoolV1Config.NetworkConfig.Builder

getNetworkConfigOrBuilder()

public PrivatePoolV1Config.NetworkConfigOrBuilder getNetworkConfigOrBuilder()

Network configuration for the pool.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PrivatePoolV1Config.WorkerConfigOrBuilder

hasNetworkConfig()

public boolean hasNetworkConfig()

Network configuration for the pool.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the workerConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PrivatePoolV1Config other)

public PrivatePoolV1Config.Builder mergeFrom(PrivatePoolV1Config other)
Parameter
NameDescription
otherPrivatePoolV1Config
Returns
TypeDescription
PrivatePoolV1Config.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivatePoolV1Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePoolV1Config.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PrivatePoolV1Config.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePrivatePoolV1Config.NetworkConfig
Returns
TypeDescription
PrivatePoolV1Config.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivatePoolV1Config.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuePrivatePoolV1Config.WorkerConfig
Returns
TypeDescription
PrivatePoolV1Config.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PrivatePoolV1Config.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePrivatePoolV1Config.NetworkConfig
Returns
TypeDescription
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
NameDescription
builderForValuePrivatePoolV1Config.NetworkConfig.Builder
Returns
TypeDescription
PrivatePoolV1Config.Builder

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

public PrivatePoolV1Config.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PrivatePoolV1Config.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivatePoolV1Config.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuePrivatePoolV1Config.WorkerConfig
Returns
TypeDescription
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
NameDescription
builderForValuePrivatePoolV1Config.WorkerConfig.Builder
Returns
TypeDescription
PrivatePoolV1Config.Builder