Class WorkerPool.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
com.google.cloudbuild.v1.WorkerPool.Builder
All Implemented Interfaces:
WorkerPoolOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
WorkerPool

public static final class WorkerPool.Builder extends com.google.protobuf.GeneratedMessage.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](https://cloud.google.com/build/docs/private-pools/private-pools-overview).
 
Protobuf type google.devtools.cloudbuild.v1.WorkerPool
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
    • clear

      public WorkerPool.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
    • getDefaultInstanceForType

      public WorkerPool getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public WorkerPool build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public WorkerPool buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public WorkerPool.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkerPool.Builder>
    • mergeFrom

      public WorkerPool.Builder mergeFrom(WorkerPool other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
    • mergeFrom

      public WorkerPool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkerPool.Builder>
      Throws:
      IOException
    • getConfigCase

      public WorkerPool.ConfigCase getConfigCase()
      Specified by:
      getConfigCase in interface WorkerPoolOrBuilder
    • clearConfig

      public WorkerPool.Builder clearConfig()
    • 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];
      Specified by:
      getName in interface WorkerPoolOrBuilder
      Returns:
      The name.
    • getNameBytes

      public 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];
      Specified by:
      getNameBytes in interface WorkerPoolOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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];
      Returns:
      This builder for chaining.
    • setNameBytes

      public WorkerPool.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getDisplayName in interface WorkerPoolOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public 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;
      Specified by:
      getDisplayNameBytes in interface WorkerPoolOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      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;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public WorkerPool.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       A user-specified, human-readable name for the `WorkerPool`. If provided,
       this value must be 1-63 characters.
       
      string display_name = 2;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getUid

      public String getUid()
       Output only. A unique identifier for the `WorkerPool`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface WorkerPoolOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. A unique identifier for the `WorkerPool`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUidBytes in interface WorkerPoolOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public WorkerPool.Builder setUid(String value)
       Output only. A unique identifier for the `WorkerPool`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The uid to set.
      Returns:
      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];
      Returns:
      This builder for chaining.
    • setUidBytes

      public WorkerPool.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. A unique identifier for the `WorkerPool`.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: WorkerPoolOrBuilder
       User specified annotations. See https://google.aip.dev/128#annotations
       for more details such as format and size limitations.
       
      map<string, string> annotations = 4;
      Specified by:
      getAnnotationsCount in interface WorkerPoolOrBuilder
    • containsAnnotations

      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;
      Specified by:
      containsAnnotations in interface WorkerPoolOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface WorkerPoolOrBuilder
    • 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;
      Specified by:
      getAnnotationsMap in interface WorkerPoolOrBuilder
    • getAnnotationsOrDefault

      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;
      Specified by:
      getAnnotationsOrDefault in interface WorkerPoolOrBuilder
    • getAnnotationsOrThrow

      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;
      Specified by:
      getAnnotationsOrThrow in interface WorkerPoolOrBuilder
    • clearAnnotations

      public WorkerPool.Builder clearAnnotations()
    • removeAnnotations

      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;
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      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;
    • putAllAnnotations

      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;
    • 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];
      Specified by:
      hasCreateTime in interface WorkerPoolOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public 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];
      Specified by:
      getCreateTime in interface WorkerPoolOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public WorkerPool.Builder setCreateTime(com.google.protobuf.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];
    • setCreateTime

      public WorkerPool.Builder setCreateTime(com.google.protobuf.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];
    • mergeCreateTime

      public WorkerPool.Builder mergeCreateTime(com.google.protobuf.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];
    • 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];
    • getCreateTimeBuilder

      public com.google.protobuf.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];
    • getCreateTimeOrBuilder

      public 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];
      Specified by:
      getCreateTimeOrBuilder in interface WorkerPoolOrBuilder
    • 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];
      Specified by:
      hasUpdateTime in interface WorkerPoolOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public 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];
      Specified by:
      getUpdateTime in interface WorkerPoolOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public WorkerPool.Builder setUpdateTime(com.google.protobuf.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];
    • setUpdateTime

      public WorkerPool.Builder setUpdateTime(com.google.protobuf.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];
    • mergeUpdateTime

      public WorkerPool.Builder mergeUpdateTime(com.google.protobuf.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];
    • 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];
    • getUpdateTimeBuilder

      public com.google.protobuf.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];
    • getUpdateTimeOrBuilder

      public 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];
      Specified by:
      getUpdateTimeOrBuilder in interface WorkerPoolOrBuilder
    • 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];
      Specified by:
      hasDeleteTime in interface WorkerPoolOrBuilder
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      public 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];
      Specified by:
      getDeleteTime in interface WorkerPoolOrBuilder
      Returns:
      The deleteTime.
    • setDeleteTime

      public WorkerPool.Builder setDeleteTime(com.google.protobuf.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];
    • setDeleteTime

      public WorkerPool.Builder setDeleteTime(com.google.protobuf.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];
    • mergeDeleteTime

      public WorkerPool.Builder mergeDeleteTime(com.google.protobuf.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];
    • 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];
    • getDeleteTimeBuilder

      public com.google.protobuf.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];
    • getDeleteTimeOrBuilder

      public 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];
      Specified by:
      getDeleteTimeOrBuilder in interface WorkerPoolOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. `WorkerPool` state.
       
      .google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface WorkerPoolOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public WorkerPool.Builder setStateValue(int value)
       Output only. `WorkerPool` state.
       
      .google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public WorkerPool.State getState()
       Output only. `WorkerPool` state.
       
      .google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface WorkerPoolOrBuilder
      Returns:
      The state.
    • setState

      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];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public WorkerPool.Builder clearState()
       Output only. `WorkerPool` state.
       
      .google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasPrivatePoolV1Config

      public boolean hasPrivatePoolV1Config()
       Private Pool configuration.
       
      .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
      Specified by:
      hasPrivatePoolV1Config in interface WorkerPoolOrBuilder
      Returns:
      Whether the privatePoolV1Config field is set.
    • getPrivatePoolV1Config

      public PrivatePoolV1Config getPrivatePoolV1Config()
       Private Pool configuration.
       
      .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
      Specified by:
      getPrivatePoolV1Config in interface WorkerPoolOrBuilder
      Returns:
      The privatePoolV1Config.
    • setPrivatePoolV1Config

      public WorkerPool.Builder setPrivatePoolV1Config(PrivatePoolV1Config value)
       Private Pool configuration.
       
      .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
    • setPrivatePoolV1Config

      public WorkerPool.Builder setPrivatePoolV1Config(PrivatePoolV1Config.Builder builderForValue)
       Private Pool configuration.
       
      .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
    • mergePrivatePoolV1Config

      public WorkerPool.Builder mergePrivatePoolV1Config(PrivatePoolV1Config value)
       Private Pool configuration.
       
      .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
    • clearPrivatePoolV1Config

      public WorkerPool.Builder clearPrivatePoolV1Config()
       Private Pool configuration.
       
      .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
    • getPrivatePoolV1ConfigBuilder

      public PrivatePoolV1Config.Builder getPrivatePoolV1ConfigBuilder()
       Private Pool configuration.
       
      .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
    • getPrivatePoolV1ConfigOrBuilder

      public PrivatePoolV1ConfigOrBuilder getPrivatePoolV1ConfigOrBuilder()
       Private Pool configuration.
       
      .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
      Specified by:
      getPrivatePoolV1ConfigOrBuilder in interface WorkerPoolOrBuilder
    • 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];
      Specified by:
      getEtag in interface WorkerPoolOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public 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];
      Specified by:
      getEtagBytes in interface WorkerPoolOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      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];
      Parameters:
      value - The etag to set.
      Returns:
      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];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public WorkerPool.Builder setEtagBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.