Package com.google.cloudbuild.v1
Interface WorkerPoolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkerPool,WorkerPool.Builder
@Generated
public interface WorkerPoolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanUser specified annotations.Deprecated.intUser specified annotations.User specified annotations.getAnnotationsOrDefault(String key, String defaultValue) User specified annotations.User specified annotations.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A user-specified, human-readable name for the `WorkerPool`.com.google.protobuf.ByteStringA user-specified, human-readable name for the `WorkerPool`.getEtag()Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Private Pool configuration.Private Pool configuration.getState()Output only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanPrivate Pool configuration.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
string display_name = 2;- Returns:
- The bytes for displayName.
-
getUid
String getUid()Output only. A unique identifier for the `WorkerPool`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()Output only. A unique identifier for the `WorkerPool`.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for uid.
-
getAnnotationsCount
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; -
containsAnnotations
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
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; -
getAnnotationsOrDefault
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4; -
getAnnotationsOrThrow
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4; -
hasCreateTime
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];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.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]; -
hasUpdateTime
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];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.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]; -
hasDeleteTime
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];- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
com.google.protobuf.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];- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
com.google.protobuf.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]; -
getStateValue
int getStateValue()Output only. `WorkerPool` state.
.google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
WorkerPool.State getState()Output only. `WorkerPool` state.
.google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasPrivatePoolV1Config
boolean hasPrivatePoolV1Config()Private Pool configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;- Returns:
- Whether the privatePoolV1Config field is set.
-
getPrivatePoolV1Config
PrivatePoolV1Config getPrivatePoolV1Config()Private Pool configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;- Returns:
- The privatePoolV1Config.
-
getPrivatePoolV1ConfigOrBuilder
PrivatePoolV1ConfigOrBuilder getPrivatePoolV1ConfigOrBuilder()Private Pool configuration.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12; -
getEtag
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];- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.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];- Returns:
- The bytes for etag.
-
getConfigCase
WorkerPool.ConfigCase getConfigCase()
-