Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

feat: added support for test cases and agent validation #141

Merged
merged 12 commits into from
Feb 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,17 @@ public OperationCallSettings<RestoreAgentRequest, Empty, Struct> restoreAgentOpe
return ((AgentsStubSettings) getStubSettings()).restoreAgentOperationSettings();
}

/** Returns the object with the settings used for calls to validateAgent. */
public UnaryCallSettings<ValidateAgentRequest, AgentValidationResult> validateAgentSettings() {
return ((AgentsStubSettings) getStubSettings()).validateAgentSettings();
}

/** Returns the object with the settings used for calls to getAgentValidationResult. */
public UnaryCallSettings<GetAgentValidationResultRequest, AgentValidationResult>
getAgentValidationResultSettings() {
return ((AgentsStubSettings) getStubSettings()).getAgentValidationResultSettings();
}

public static final AgentsSettings create(AgentsStubSettings stub) throws IOException {
return new AgentsSettings.Builder(stub.toBuilder()).build();
}
Expand Down Expand Up @@ -264,6 +275,18 @@ public UnaryCallSettings.Builder<RestoreAgentRequest, Operation> restoreAgentSet
return getStubSettingsBuilder().restoreAgentOperationSettings();
}

/** Returns the builder for the settings used for calls to validateAgent. */
public UnaryCallSettings.Builder<ValidateAgentRequest, AgentValidationResult>
validateAgentSettings() {
return getStubSettingsBuilder().validateAgentSettings();
}

/** Returns the builder for the settings used for calls to getAgentValidationResult. */
public UnaryCallSettings.Builder<GetAgentValidationResultRequest, AgentValidationResult>
getAgentValidationResultSettings() {
return getStubSettingsBuilder().getAgentValidationResultSettings();
}

@Override
public AgentsSettings build() throws IOException {
return new AgentsSettings(this);
Expand Down
Loading