Class InstructionsGetDiscoveryPathsRequest
java.lang.Object
com.github.copilot.generated.rpc.InstructionsGetDiscoveryPathsRequest
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public final class InstructionsGetDiscoveryPathsRequest
extends Object
Optional project paths to include when enumerating instruction discovery targets.
Required inputs are constructor arguments. Optional inputs have fluent setters.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a request with its required inputs. -
Method Summary
Modifier and TypeMethodDescriptionReturns theexcludeHostInstructionsproperty.Returns theinstructionDirectoriesproperty.Returns theprojectPathsproperty.Sets theexcludeHostInstructionsproperty.setInstructionDirectories(List<String> value) Sets theinstructionDirectoriesproperty.setProjectPaths(List<String> value) Sets theprojectPathsproperty.
-
Constructor Details
-
InstructionsGetDiscoveryPathsRequest
public InstructionsGetDiscoveryPathsRequest()Creates a request with its required inputs.
-
-
Method Details
-
getProjectPaths
-
getExcludeHostInstructions
Returns theexcludeHostInstructionsproperty.- Returns:
- When true, omit the host's user-level instruction targets, leaving only repository targets. For multitenant deployments (mirrors `discover`'s `excludeHostInstructions`).
-
getInstructionDirectories
Returns theinstructionDirectoriesproperty.- Returns:
- Explicit discovery-only instruction roots to enumerate, including configured missing directories. Relative paths resolve against the request's effective working directory when supplied. These are not filesystem grants or preferred creation targets. Null and omission are equivalent.
-
setProjectPaths
Sets theprojectPathsproperty.- Parameters:
value- Optional list of project directory paths. When omitted or empty, only the user-level targets are returned.- Returns:
- this request
-
setExcludeHostInstructions
Sets theexcludeHostInstructionsproperty.- Parameters:
value- When true, omit the host's user-level instruction targets, leaving only repository targets. For multitenant deployments (mirrors `discover`'s `excludeHostInstructions`).- Returns:
- this request
-
setInstructionDirectories
Sets theinstructionDirectoriesproperty.- Parameters:
value- Explicit discovery-only instruction roots to enumerate, including configured missing directories. Relative paths resolve against the request's effective working directory when supplied. These are not filesystem grants or preferred creation targets. Null and omission are equivalent.- Returns:
- this request
-