- 0.72.0 (latest)
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public static final class UpdateWorkerPoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateWorkerPoolRequest.Builder> implements UpdateWorkerPoolRequestOrBuilder
Request message for updating a worker pool.
Protobuf type google.cloud.run.v2.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 |
clearAllowMissing()
public UpdateWorkerPoolRequest.Builder clearAllowMissing()
Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist.
bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UpdateWorkerPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
clearForceNewRevision()
public UpdateWorkerPoolRequest.Builder clearForceNewRevision()
Optional. If set to true, a new revision will be created from the template even if the system doesn't detect any changes from the previously deployed revision.
This may be useful for cases where the underlying resources need to be recreated or reinitialized. For example if the image is specified by label, but the underlying image digest has changed) or if the container performs deployment initialization work that needs to be performed again.
bool force_new_revision = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
This builder for chaining. |
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()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
clearValidateOnly()
public UpdateWorkerPoolRequest.Builder clearValidateOnly()
Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
This builder for chaining. |
clearWorkerPool()
public UpdateWorkerPoolRequest.Builder clearWorkerPool()
Required. The WorkerPool to be updated.
.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
clone()
public UpdateWorkerPoolRequest.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
getAllowMissing()
public boolean getAllowMissing()
Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist.
bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The allowMissing. |
getDefaultInstanceForType()
public UpdateWorkerPoolRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getForceNewRevision()
public boolean getForceNewRevision()
Optional. If set to true, a new revision will be created from the template even if the system doesn't detect any changes from the previously deployed revision.
This may be useful for cases where the underlying resources need to be recreated or reinitialized. For example if the image is specified by label, but the underlying image digest has changed) or if the container performs deployment initialization work that needs to be performed again.
bool force_new_revision = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The forceNewRevision. |
getUpdateMask()
public FieldMask getUpdateMask()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
getValidateOnly()
public boolean getValidateOnly()
Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The validateOnly. |
getWorkerPool()
public WorkerPool getWorkerPool()
Required. The WorkerPool to be updated.
.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
WorkerPool |
The workerPool. |
getWorkerPoolBuilder()
public WorkerPool.Builder getWorkerPoolBuilder()
Required. The WorkerPool to be updated.
.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
WorkerPool.Builder |
getWorkerPoolOrBuilder()
public WorkerPoolOrBuilder getWorkerPoolOrBuilder()
Required. The WorkerPool to be updated.
.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
WorkerPoolOrBuilder |
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateMask field is set. |
hasWorkerPool()
public boolean hasWorkerPool()
Required. The WorkerPool to be updated.
.google.cloud.run.v2.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)
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
mergeWorkerPool(WorkerPool value)
public UpdateWorkerPoolRequest.Builder mergeWorkerPool(WorkerPool value)
Required. The WorkerPool to be updated.
.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
WorkerPool |
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
setAllowMissing(boolean value)
public UpdateWorkerPoolRequest.Builder setAllowMissing(boolean value)
Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist.
bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The allowMissing to set. |
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
This builder for chaining. |
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 |
setForceNewRevision(boolean value)
public UpdateWorkerPoolRequest.Builder setForceNewRevision(boolean value)
Optional. If set to true, a new revision will be created from the template even if the system doesn't detect any changes from the previously deployed revision.
This may be useful for cases where the underlying resources need to be recreated or reinitialized. For example if the image is specified by label, but the underlying image digest has changed) or if the container performs deployment initialization work that needs to be performed again.
bool force_new_revision = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The forceNewRevision to set. |
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
This builder for chaining. |
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)
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateWorkerPoolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |
setValidateOnly(boolean value)
public UpdateWorkerPoolRequest.Builder setValidateOnly(boolean value)
Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The 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 be updated.
.google.cloud.run.v2.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 be updated.
.google.cloud.run.v2.WorkerPool worker_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
WorkerPool.Builder |
Returns | |
---|---|
Type | Description |
UpdateWorkerPoolRequest.Builder |