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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivatePoolV1Config.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PrivatePoolV1Config build()
Returns
buildPartial()
public PrivatePoolV1Config buildPartial()
Returns
clear()
public PrivatePoolV1Config.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PrivatePoolV1Config.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNetworkConfig()
public PrivatePoolV1Config.Builder clearNetworkConfig()
Network configuration for the pool.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivatePoolV1Config.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWorkerConfig()
public PrivatePoolV1Config.Builder clearWorkerConfig()
Machine configuration for the workers in the pool.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;
Returns
clone()
public PrivatePoolV1Config.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PrivatePoolV1Config getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNetworkConfig()
public PrivatePoolV1Config.NetworkConfig getNetworkConfig()
Network configuration for the pool.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;
Returns
getNetworkConfigBuilder()
public PrivatePoolV1Config.NetworkConfig.Builder getNetworkConfigBuilder()
Network configuration for the pool.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;
Returns
getNetworkConfigOrBuilder()
public PrivatePoolV1Config.NetworkConfigOrBuilder getNetworkConfigOrBuilder()
Network configuration for the pool.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;
Returns
getWorkerConfig()
public PrivatePoolV1Config.WorkerConfig getWorkerConfig()
Machine configuration for the workers in the pool.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;
Returns
getWorkerConfigBuilder()
public PrivatePoolV1Config.WorkerConfig.Builder getWorkerConfigBuilder()
Machine configuration for the workers in the pool.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;
Returns
getWorkerConfigOrBuilder()
public PrivatePoolV1Config.WorkerConfigOrBuilder getWorkerConfigOrBuilder()
Machine configuration for the workers in the pool.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PrivatePoolV1Config other)
public PrivatePoolV1Config.Builder mergeFrom(PrivatePoolV1Config other)
Parameter
Returns
public PrivatePoolV1Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PrivatePoolV1Config.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivatePoolV1Config.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PrivatePoolV1Config.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivatePoolV1Config.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivatePoolV1Config.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns