- 3.55.0 (latest)
- 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 WorkerPool.Builder extends GeneratedMessageV3.Builder<WorkerPool.Builder> implements WorkerPoolOrBuilder
Configuration for a WorkerPool
.
Cloud Build owns and maintains a pool of workers for general use and have no
access to a project's private network. By default, builds submitted to
Cloud Build will use a worker from this pool.
If your build needs access to resources on a private network,
create and use a WorkerPool
to run your builds. Private WorkerPool
s give
your builds access to any single VPC network that you
administer, including any on-prem resources connected to that VPC
network. For an overview of private pools, see
Private pools
overview.
Protobuf type google.devtools.cloudbuild.v1.WorkerPool
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkerPool.BuilderImplements
WorkerPoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkerPool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WorkerPool.Builder |
build()
public WorkerPool build()
Type | Description |
WorkerPool |
buildPartial()
public WorkerPool buildPartial()
Type | Description |
WorkerPool |
clear()
public WorkerPool.Builder clear()
Type | Description |
WorkerPool.Builder |
clearAnnotations()
public WorkerPool.Builder clearAnnotations()
Type | Description |
WorkerPool.Builder |
clearConfig()
public WorkerPool.Builder clearConfig()
Type | Description |
WorkerPool.Builder |
clearCreateTime()
public WorkerPool.Builder clearCreateTime()
Output only. Time at which the request to create the WorkerPool
was
received.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkerPool.Builder |
clearDeleteTime()
public WorkerPool.Builder clearDeleteTime()
Output only. Time at which the request to delete the WorkerPool
was
received.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkerPool.Builder |
clearDisplayName()
public WorkerPool.Builder clearDisplayName()
A user-specified, human-readable name for the WorkerPool
. If provided,
this value must be 1-63 characters.
string display_name = 2;
Type | Description |
WorkerPool.Builder | This builder for chaining. |
clearEtag()
public WorkerPool.Builder clearEtag()
Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkerPool.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public WorkerPool.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
WorkerPool.Builder |
clearName()
public WorkerPool.Builder clearName()
Output only. The resource name of the WorkerPool
, with format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
The value of {worker_pool}
is provided by worker_pool_id
in
CreateWorkerPool
request and the value of {location}
is determined by
the endpoint accessed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkerPool.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkerPool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
WorkerPool.Builder |
clearPrivatePoolV1Config()
public WorkerPool.Builder clearPrivatePoolV1Config()
Private Pool using a v1 configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
Type | Description |
WorkerPool.Builder |
clearState()
public WorkerPool.Builder clearState()
Output only. WorkerPool
state.
.google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkerPool.Builder | This builder for chaining. |
clearUid()
public WorkerPool.Builder clearUid()
Output only. A unique identifier for the WorkerPool
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkerPool.Builder | This builder for chaining. |
clearUpdateTime()
public WorkerPool.Builder clearUpdateTime()
Output only. Time at which the request to update the WorkerPool
was
received.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkerPool.Builder |
clone()
public WorkerPool.Builder clone()
Type | Description |
WorkerPool.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Name | Description |
key | String |
Type | Description |
String |
getConfigCase()
public WorkerPool.ConfigCase getConfigCase()
Type | Description |
WorkerPool.ConfigCase |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time at which the request to create the WorkerPool
was
received.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time at which the request to create the WorkerPool
was
received.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the request to create the WorkerPool
was
received.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public WorkerPool getDefaultInstanceForType()
Type | Description |
WorkerPool |
getDeleteTime()
public Timestamp getDeleteTime()
Output only. Time at which the request to delete the WorkerPool
was
received.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()
Output only. Time at which the request to delete the WorkerPool
was
received.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Time at which the request to delete the WorkerPool
was
received.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
A user-specified, human-readable name for the WorkerPool
. If provided,
this value must be 1-63 characters.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
A user-specified, human-readable name for the WorkerPool
. If provided,
this value must be 1-63 characters.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getEtag()
public String getEtag()
Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for etag. |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The resource name of the WorkerPool
, with format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
The value of {worker_pool}
is provided by worker_pool_id
in
CreateWorkerPool
request and the value of {location}
is determined by
the endpoint accessed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the WorkerPool
, with format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
The value of {worker_pool}
is provided by worker_pool_id
in
CreateWorkerPool
request and the value of {location}
is determined by
the endpoint accessed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getPrivatePoolV1Config()
public PrivatePoolV1Config getPrivatePoolV1Config()
Private Pool using a v1 configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
Type | Description |
PrivatePoolV1Config | The privatePoolV1Config. |
getPrivatePoolV1ConfigBuilder()
public PrivatePoolV1Config.Builder getPrivatePoolV1ConfigBuilder()
Private Pool using a v1 configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
Type | Description |
PrivatePoolV1Config.Builder |
getPrivatePoolV1ConfigOrBuilder()
public PrivatePoolV1ConfigOrBuilder getPrivatePoolV1ConfigOrBuilder()
Private Pool using a v1 configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
Type | Description |
PrivatePoolV1ConfigOrBuilder |
getState()
public WorkerPool.State getState()
Output only. WorkerPool
state.
.google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkerPool.State | The state. |
getStateValue()
public int getStateValue()
Output only. WorkerPool
state.
.google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getUid()
public String getUid()
Output only. A unique identifier for the WorkerPool
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. A unique identifier for the WorkerPool
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time at which the request to update the WorkerPool
was
received.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time at which the request to update the WorkerPool
was
received.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time at which the request to update the WorkerPool
was
received.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time at which the request to create the WorkerPool
was
received.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasDeleteTime()
public boolean hasDeleteTime()
Output only. Time at which the request to delete the WorkerPool
was
received.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the deleteTime field is set. |
hasPrivatePoolV1Config()
public boolean hasPrivatePoolV1Config()
Private Pool using a v1 configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
Type | Description |
boolean | Whether the privatePoolV1Config field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time at which the request to update the WorkerPool
was
received.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public WorkerPool.Builder mergeCreateTime(Timestamp value)
Output only. Time at which the request to create the WorkerPool
was
received.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
WorkerPool.Builder |
mergeDeleteTime(Timestamp value)
public WorkerPool.Builder mergeDeleteTime(Timestamp value)
Output only. Time at which the request to delete the WorkerPool
was
received.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
WorkerPool.Builder |
mergeFrom(WorkerPool other)
public WorkerPool.Builder mergeFrom(WorkerPool other)
Name | Description |
other | WorkerPool |
Type | Description |
WorkerPool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkerPool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WorkerPool.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public WorkerPool.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
WorkerPool.Builder |
mergePrivatePoolV1Config(PrivatePoolV1Config value)
public WorkerPool.Builder mergePrivatePoolV1Config(PrivatePoolV1Config value)
Private Pool using a v1 configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
Name | Description |
value | PrivatePoolV1Config |
Type | Description |
WorkerPool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkerPool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WorkerPool.Builder |
mergeUpdateTime(Timestamp value)
public WorkerPool.Builder mergeUpdateTime(Timestamp value)
Output only. Time at which the request to update the WorkerPool
was
received.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
WorkerPool.Builder |
putAllAnnotations(Map<String,String> values)
public WorkerPool.Builder putAllAnnotations(Map<String,String> values)
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Name | Description |
values | Map<String,String> |
Type | Description |
WorkerPool.Builder |
putAnnotations(String key, String value)
public WorkerPool.Builder putAnnotations(String key, String value)
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Name | Description |
key | String |
value | String |
Type | Description |
WorkerPool.Builder |
removeAnnotations(String key)
public WorkerPool.Builder removeAnnotations(String key)
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Name | Description |
key | String |
Type | Description |
WorkerPool.Builder |
setCreateTime(Timestamp value)
public WorkerPool.Builder setCreateTime(Timestamp value)
Output only. Time at which the request to create the WorkerPool
was
received.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
WorkerPool.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public WorkerPool.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time at which the request to create the WorkerPool
was
received.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
WorkerPool.Builder |
setDeleteTime(Timestamp value)
public WorkerPool.Builder setDeleteTime(Timestamp value)
Output only. Time at which the request to delete the WorkerPool
was
received.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
WorkerPool.Builder |
setDeleteTime(Timestamp.Builder builderForValue)
public WorkerPool.Builder setDeleteTime(Timestamp.Builder builderForValue)
Output only. Time at which the request to delete the WorkerPool
was
received.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
WorkerPool.Builder |
setDisplayName(String value)
public WorkerPool.Builder setDisplayName(String value)
A user-specified, human-readable name for the WorkerPool
. If provided,
this value must be 1-63 characters.
string display_name = 2;
Name | Description |
value | String The displayName to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public WorkerPool.Builder setDisplayNameBytes(ByteString value)
A user-specified, human-readable name for the WorkerPool
. If provided,
this value must be 1-63 characters.
string display_name = 2;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setEtag(String value)
public WorkerPool.Builder setEtag(String value)
Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The etag to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public WorkerPool.Builder setEtagBytes(ByteString value)
Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public WorkerPool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WorkerPool.Builder |
setName(String value)
public WorkerPool.Builder setName(String value)
Output only. The resource name of the WorkerPool
, with format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
The value of {worker_pool}
is provided by worker_pool_id
in
CreateWorkerPool
request and the value of {location}
is determined by
the endpoint accessed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public WorkerPool.Builder setNameBytes(ByteString value)
Output only. The resource name of the WorkerPool
, with format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
The value of {worker_pool}
is provided by worker_pool_id
in
CreateWorkerPool
request and the value of {location}
is determined by
the endpoint accessed.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setPrivatePoolV1Config(PrivatePoolV1Config value)
public WorkerPool.Builder setPrivatePoolV1Config(PrivatePoolV1Config value)
Private Pool using a v1 configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
Name | Description |
value | PrivatePoolV1Config |
Type | Description |
WorkerPool.Builder |
setPrivatePoolV1Config(PrivatePoolV1Config.Builder builderForValue)
public WorkerPool.Builder setPrivatePoolV1Config(PrivatePoolV1Config.Builder builderForValue)
Private Pool using a v1 configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
Name | Description |
builderForValue | PrivatePoolV1Config.Builder |
Type | Description |
WorkerPool.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkerPool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
WorkerPool.Builder |
setState(WorkerPool.State value)
public WorkerPool.Builder setState(WorkerPool.State value)
Output only. WorkerPool
state.
.google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | WorkerPool.State The state to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setStateValue(int value)
public WorkerPool.Builder setStateValue(int value)
Output only. WorkerPool
state.
.google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setUid(String value)
public WorkerPool.Builder setUid(String value)
Output only. A unique identifier for the WorkerPool
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uid to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public WorkerPool.Builder setUidBytes(ByteString value)
Output only. A unique identifier for the WorkerPool
.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
WorkerPool.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkerPool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WorkerPool.Builder |
setUpdateTime(Timestamp value)
public WorkerPool.Builder setUpdateTime(Timestamp value)
Output only. Time at which the request to update the WorkerPool
was
received.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
WorkerPool.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public WorkerPool.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time at which the request to update the WorkerPool
was
received.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
WorkerPool.Builder |