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
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateWorkerPoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateWorkerPoolRequest build()
buildPartial()
public UpdateWorkerPoolRequest buildPartial()
clear()
public UpdateWorkerPoolRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateWorkerPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateWorkerPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateWorkerPoolRequest.Builder clearUpdateMask()
A mask specifying which fields in worker_pool
to update.
.google.protobuf.FieldMask update_mask = 2;
clearValidateOnly()
public UpdateWorkerPoolRequest.Builder clearValidateOnly()
If set, validate the request and preview the response, but do not actually
post it.
bool validate_only = 4;
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];
clone()
public UpdateWorkerPoolRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateWorkerPoolRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
A mask specifying which fields in worker_pool
to update.
.google.protobuf.FieldMask update_mask = 2;
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateWorkerPoolRequest other)
public UpdateWorkerPoolRequest.Builder mergeFrom(UpdateWorkerPoolRequest other)
public UpdateWorkerPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateWorkerPoolRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkerPoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateWorkerPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateWorkerPoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkerPoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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
|
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 | boolean
The validateOnly to set.
|
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];
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];