Interface PrivatePoolV1Config.WorkerConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PrivatePoolV1Config.WorkerConfig, PrivatePoolV1Config.WorkerConfig.Builder
Enclosing class:
PrivatePoolV1Config

public static interface PrivatePoolV1Config.WorkerConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Size of the disk attached to the worker, in GB.
    boolean
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMachineType

      String getMachineType()
       Optional. Machine type of a worker, such as `e2-medium`.
       See [Worker pool config
       file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema).
       If left blank, Cloud Build will use a sensible default.
       
      string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The machineType.
    • getMachineTypeBytes

      com.google.protobuf.ByteString getMachineTypeBytes()
       Optional. Machine type of a worker, such as `e2-medium`.
       See [Worker pool config
       file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema).
       If left blank, Cloud Build will use a sensible default.
       
      string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for machineType.
    • getDiskSizeGb

      long getDiskSizeGb()
       Size of the disk attached to the worker, in GB.
       See [Worker pool config
       file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema).
       Specify a value of up to 4000. If `0` is specified, Cloud Build will use
       a standard disk size.
       
      int64 disk_size_gb = 2;
      Returns:
      The diskSizeGb.
    • hasEnableNestedVirtualization

      boolean hasEnableNestedVirtualization()
       Optional. Enable nested virtualization on the worker, if supported by the
       machine type. By default, nested virtualization is disabled.
       
      optional bool enable_nested_virtualization = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the enableNestedVirtualization field is set.
    • getEnableNestedVirtualization

      boolean getEnableNestedVirtualization()
       Optional. Enable nested virtualization on the worker, if supported by the
       machine type. By default, nested virtualization is disabled.
       
      optional bool enable_nested_virtualization = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enableNestedVirtualization.