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

feat(v2)!: add ListEnvironments #167

Merged
merged 8 commits into from
Apr 27, 2020

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ public UnaryCallSettings<DeleteAgentRequest, Empty> deleteAgentSettings() {
return ((AgentsStubSettings) getStubSettings()).deleteAgentSettings();
}

/** Returns the object with the settings used for calls to getAgent. */
public UnaryCallSettings<GetAgentRequest, Agent> getAgentSettings() {
return ((AgentsStubSettings) getStubSettings()).getAgentSettings();
}

/** Returns the object with the settings used for calls to searchAgents. */
public PagedCallSettings<SearchAgentsRequest, SearchAgentsResponse, SearchAgentsPagedResponse>
searchAgentsSettings() {
Expand Down Expand Up @@ -117,18 +112,6 @@ public UnaryCallSettings<ExportAgentRequest, Operation> exportAgentSettings() {
return ((AgentsStubSettings) getStubSettings()).exportAgentOperationSettings();
}

/** Returns the object with the settings used for calls to importAgent. */
public UnaryCallSettings<ImportAgentRequest, Operation> importAgentSettings() {
return ((AgentsStubSettings) getStubSettings()).importAgentSettings();
}

/** Returns the object with the settings used for calls to importAgent. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<ImportAgentRequest, Empty, Struct> importAgentOperationSettings() {
return ((AgentsStubSettings) getStubSettings()).importAgentOperationSettings();
}

/** Returns the object with the settings used for calls to restoreAgent. */
public UnaryCallSettings<RestoreAgentRequest, Operation> restoreAgentSettings() {
return ((AgentsStubSettings) getStubSettings()).restoreAgentSettings();
Expand All @@ -141,6 +124,23 @@ public OperationCallSettings<RestoreAgentRequest, Empty, Struct> restoreAgentOpe
return ((AgentsStubSettings) getStubSettings()).restoreAgentOperationSettings();
}

/** Returns the object with the settings used for calls to getAgent. */
public UnaryCallSettings<GetAgentRequest, Agent> getAgentSettings() {
return ((AgentsStubSettings) getStubSettings()).getAgentSettings();
}

/** Returns the object with the settings used for calls to importAgent. */
public UnaryCallSettings<ImportAgentRequest, Operation> importAgentSettings() {
return ((AgentsStubSettings) getStubSettings()).importAgentSettings();
}

/** Returns the object with the settings used for calls to importAgent. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<ImportAgentRequest, Empty, Struct> importAgentOperationSettings() {
return ((AgentsStubSettings) getStubSettings()).importAgentOperationSettings();
}

/** Returns the object with the settings used for calls to getValidationResult. */
public UnaryCallSettings<GetValidationResultRequest, ValidationResult>
getValidationResultSettings() {
Expand Down Expand Up @@ -253,11 +253,6 @@ public UnaryCallSettings.Builder<DeleteAgentRequest, Empty> deleteAgentSettings(
return getStubSettingsBuilder().deleteAgentSettings();
}

/** Returns the builder for the settings used for calls to getAgent. */
public UnaryCallSettings.Builder<GetAgentRequest, Agent> getAgentSettings() {
return getStubSettingsBuilder().getAgentSettings();
}

/** Returns the builder for the settings used for calls to searchAgents. */
public PagedCallSettings.Builder<
SearchAgentsRequest, SearchAgentsResponse, SearchAgentsPagedResponse>
Expand Down Expand Up @@ -291,19 +286,6 @@ public UnaryCallSettings.Builder<ExportAgentRequest, Operation> exportAgentSetti
return getStubSettingsBuilder().exportAgentOperationSettings();
}

/** Returns the builder for the settings used for calls to importAgent. */
public UnaryCallSettings.Builder<ImportAgentRequest, Operation> importAgentSettings() {
return getStubSettingsBuilder().importAgentSettings();
}

/** Returns the builder for the settings used for calls to importAgent. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<ImportAgentRequest, Empty, Struct>
importAgentOperationSettings() {
return getStubSettingsBuilder().importAgentOperationSettings();
}

/** Returns the builder for the settings used for calls to restoreAgent. */
public UnaryCallSettings.Builder<RestoreAgentRequest, Operation> restoreAgentSettings() {
return getStubSettingsBuilder().restoreAgentSettings();
Expand All @@ -317,6 +299,24 @@ public UnaryCallSettings.Builder<RestoreAgentRequest, Operation> restoreAgentSet
return getStubSettingsBuilder().restoreAgentOperationSettings();
}

/** Returns the builder for the settings used for calls to getAgent. */
public UnaryCallSettings.Builder<GetAgentRequest, Agent> getAgentSettings() {
return getStubSettingsBuilder().getAgentSettings();
}

/** Returns the builder for the settings used for calls to importAgent. */
public UnaryCallSettings.Builder<ImportAgentRequest, Operation> importAgentSettings() {
return getStubSettingsBuilder().importAgentSettings();
}

/** Returns the builder for the settings used for calls to importAgent. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<ImportAgentRequest, Empty, Struct>
importAgentOperationSettings() {
return getStubSettingsBuilder().importAgentOperationSettings();
}

/** Returns the builder for the settings used for calls to getValidationResult. */
public UnaryCallSettings.Builder<GetValidationResultRequest, ValidationResult>
getValidationResultSettings() {
Expand Down
Loading