- 3.80.0 (latest)
 - 3.78.0
 - 3.77.0
 - 3.76.0
 - 3.75.0
 - 3.74.0
 - 3.72.0
 - 3.70.0
 - 3.69.0
 - 3.66.0
 - 3.65.0
 - 3.64.0
 - 3.62.0
 - 3.61.0
 - 3.60.0
 - 3.59.0
 - 3.58.0
 - 3.57.0
 - 3.56.0
 - 3.55.0
 - 3.54.0
 - 3.53.0
 - 3.51.0
 - 3.50.0
 - 3.49.0
 - 3.48.0
 - 3.47.0
 - 3.46.0
 - 3.45.0
 - 3.44.0
 - 3.43.0
 - 3.42.0
 - 3.41.0
 - 3.39.0
 - 3.38.0
 - 3.37.0
 - 3.36.0
 - 3.35.0
 - 3.34.0
 - 3.33.0
 - 3.32.0
 - 3.31.0
 - 3.30.0
 - 3.29.0
 - 3.26.0
 - 3.25.0
 - 3.24.0
 - 3.23.0
 - 3.22.0
 - 3.21.0
 - 3.20.0
 - 3.19.0
 - 3.18.0
 - 3.17.0
 - 3.16.0
 - 3.15.0
 - 3.14.0
 - 3.13.0
 - 3.12.0
 - 3.11.0
 - 3.10.0
 - 3.9.0
 - 3.8.0
 - 3.7.0
 - 3.6.0
 - 3.5.6
 - 3.4.1
 - 3.3.12
 
public static final class UpdateWorkerPoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateWorkerPoolRequest.Builder> implements UpdateWorkerPoolRequestOrBuilder Request to update a WorkerPool.
 Protobuf type google.devtools.cloudbuild.v1.UpdateWorkerPoolRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateWorkerPoolRequest.BuilderImplements
UpdateWorkerPoolRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateWorkerPoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
build()
public UpdateWorkerPoolRequest build()| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest | 
        |
buildPartial()
public UpdateWorkerPoolRequest buildPartial()| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest | 
        |
clear()
public UpdateWorkerPoolRequest.Builder clear()| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public UpdateWorkerPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateWorkerPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
clearUpdateMask()
public UpdateWorkerPoolRequest.Builder clearUpdateMask() A mask specifying which fields in worker_pool to update.
 .google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
clearValidateOnly()
public UpdateWorkerPoolRequest.Builder clearValidateOnly()If set, validate the request and preview the response, but do not actually post it.
 bool validate_only = 4;
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        This builder for chaining.  | 
      
clearWorkerPool()
public UpdateWorkerPoolRequest.Builder clearWorkerPool() Required. The WorkerPool to update.
 The name field is used to identify the WorkerPool to update.
 Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
 
 .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
clone()
public UpdateWorkerPoolRequest.Builder clone()| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
getDefaultInstanceForType()
public UpdateWorkerPoolRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getUpdateMask()
public FieldMask getUpdateMask() A mask specifying which fields in worker_pool to update.
 .google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description | 
FieldMask | 
        The updateMask.  | 
      
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder() A mask specifying which fields in worker_pool to update.
 .google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder() A mask specifying which fields in worker_pool to update.
 .google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description | 
FieldMaskOrBuilder | 
        |
getValidateOnly()
public boolean getValidateOnly()If set, validate the request and preview the response, but do not actually post it.
 bool validate_only = 4;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        The validateOnly.  | 
      
getWorkerPool()
public WorkerPool getWorkerPool() Required. The WorkerPool to update.
 The name field is used to identify the WorkerPool to update.
 Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
 
 .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
WorkerPool | 
        The workerPool.  | 
      
getWorkerPoolBuilder()
public WorkerPool.Builder getWorkerPoolBuilder() Required. The WorkerPool to update.
 The name field is used to identify the WorkerPool to update.
 Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
 
 .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
WorkerPool.Builder | 
        |
getWorkerPoolOrBuilder()
public WorkerPoolOrBuilder getWorkerPoolOrBuilder() Required. The WorkerPool to update.
 The name field is used to identify the WorkerPool to update.
 Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
 
 .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
WorkerPoolOrBuilder | 
        |
hasUpdateMask()
public boolean hasUpdateMask() A mask specifying which fields in worker_pool to update.
 .google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the updateMask field is set.  | 
      
hasWorkerPool()
public boolean hasWorkerPool() Required. The WorkerPool to update.
 The name field is used to identify the WorkerPool to update.
 Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
 
 .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the workerPool field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(UpdateWorkerPoolRequest other)
public UpdateWorkerPoolRequest.Builder mergeFrom(UpdateWorkerPoolRequest other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        UpdateWorkerPoolRequest | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateWorkerPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public UpdateWorkerPoolRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkerPoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
mergeUpdateMask(FieldMask value)
public UpdateWorkerPoolRequest.Builder mergeUpdateMask(FieldMask value) A mask specifying which fields in worker_pool to update.
 .google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        FieldMask | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
mergeWorkerPool(WorkerPool value)
public UpdateWorkerPoolRequest.Builder mergeWorkerPool(WorkerPool value) Required. The WorkerPool to update.
 The name field is used to identify the WorkerPool to update.
 Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
 
 .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        WorkerPool | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateWorkerPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateWorkerPoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkerPoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
setUpdateMask(FieldMask value)
public UpdateWorkerPoolRequest.Builder setUpdateMask(FieldMask value) A mask specifying which fields in worker_pool to update.
 .google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        FieldMask | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateWorkerPoolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue) A mask specifying which fields in worker_pool to update.
 .google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
setValidateOnly(boolean value)
public UpdateWorkerPoolRequest.Builder setValidateOnly(boolean value)If set, validate the request and preview the response, but do not actually post it.
 bool validate_only = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        booleanThe validateOnly to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        This builder for chaining.  | 
      
setWorkerPool(WorkerPool value)
public UpdateWorkerPoolRequest.Builder setWorkerPool(WorkerPool value) Required. The WorkerPool to update.
 The name field is used to identify the WorkerPool to update.
 Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
 
 .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        WorkerPool | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |
setWorkerPool(WorkerPool.Builder builderForValue)
public UpdateWorkerPoolRequest.Builder setWorkerPool(WorkerPool.Builder builderForValue) Required. The WorkerPool to update.
 The name field is used to identify the WorkerPool to update.
 Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
 
 .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        WorkerPool.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
UpdateWorkerPoolRequest.Builder | 
        |