Optional. Max configurable executors.
If max_executors_count > executors_count, then auto-scaling is enabled.
Max Executor Count should be between 2 and 1000. [Default=1000]
[[["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 Task.InfrastructureSpec.BatchComputeResourcesOrBuilder (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.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResourcesOrBuilder) \n\n public static interface Task.InfrastructureSpec.BatchComputeResourcesOrBuilder 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### getExecutorsCount()\n\n public abstract int getExecutorsCount()\n\nOptional. Total number of job executors.\nExecutor Count should be between 2 and 100. \\[Default=2\\]\n\n`int32 executors_count = 1;`\n\n### getMaxExecutorsCount()\n\n public abstract int getMaxExecutorsCount()\n\nOptional. Max configurable executors.\nIf max_executors_count \\\u003e executors_count, then auto-scaling is enabled.\nMax Executor Count should be between 2 and 1000. \\[Default=1000\\]\n\n`int32 max_executors_count = 2;`"]]