If true, recommends the Dataflow service to use only one core per SDK
container instance with this image. If false (or unset) recommends using
more than one core per SDK container instance with this image for
efficiency. Note that Dataflow service may choose to override this property
if needed.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface SdkHarnessContainerImageOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataflow.v1beta3.SdkHarnessContainerImageOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataflow.v1beta3.SdkHarnessContainerImageOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataflow.v1beta3.SdkHarnessContainerImageOrBuilder) \n\n public interface SdkHarnessContainerImageOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getCapabilities(int index)\n\n public abstract String getCapabilities(int index)\n\nThe set of capabilities enumerated in the above Environment proto. See also\n[beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)\n\n`repeated string capabilities = 4;`\n\n### getCapabilitiesBytes(int index)\n\n public abstract ByteString getCapabilitiesBytes(int index)\n\nThe set of capabilities enumerated in the above Environment proto. See also\n[beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)\n\n`repeated string capabilities = 4;`\n\n### getCapabilitiesCount()\n\n public abstract int getCapabilitiesCount()\n\nThe set of capabilities enumerated in the above Environment proto. See also\n[beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)\n\n`repeated string capabilities = 4;`\n\n### getCapabilitiesList()\n\n public abstract List\u003cString\u003e getCapabilitiesList()\n\nThe set of capabilities enumerated in the above Environment proto. See also\n[beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)\n\n`repeated string capabilities = 4;`\n\n### getContainerImage()\n\n public abstract String getContainerImage()\n\nA docker container image that resides in Google Container Registry.\n\n`string container_image = 1;`\n\n### getContainerImageBytes()\n\n public abstract ByteString getContainerImageBytes()\n\nA docker container image that resides in Google Container Registry.\n\n`string container_image = 1;`\n\n### getEnvironmentId()\n\n public abstract String getEnvironmentId()\n\nEnvironment ID for the Beam runner API proto Environment that corresponds\nto the current SDK Harness.\n\n`string environment_id = 3;`\n\n### getEnvironmentIdBytes()\n\n public abstract ByteString getEnvironmentIdBytes()\n\nEnvironment ID for the Beam runner API proto Environment that corresponds\nto the current SDK Harness.\n\n`string environment_id = 3;`\n\n### getUseSingleCorePerContainer()\n\n public abstract boolean getUseSingleCorePerContainer()\n\nIf true, recommends the Dataflow service to use only one core per SDK\ncontainer instance with this image. If false (or unset) recommends using\nmore than one core per SDK container instance with this image for\nefficiency. Note that Dataflow service may choose to override this property\nif needed.\n\n`bool use_single_core_per_container = 2;`"]]