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

feat: release Control and ServingConfig serivces to v2 version #522

Merged
merged 4 commits into from
Aug 24, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,48 @@ public UnaryCallSettings<SetDefaultBranchRequest, Empty> setDefaultBranchSetting
return ((CatalogServiceStubSettings) getStubSettings()).getDefaultBranchSettings();
}

/** Returns the object with the settings used for calls to getCompletionConfig. */
public UnaryCallSettings<GetCompletionConfigRequest, CompletionConfig>
getCompletionConfigSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).getCompletionConfigSettings();
}

/** Returns the object with the settings used for calls to updateCompletionConfig. */
public UnaryCallSettings<UpdateCompletionConfigRequest, CompletionConfig>
updateCompletionConfigSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).updateCompletionConfigSettings();
}

/** Returns the object with the settings used for calls to getAttributesConfig. */
public UnaryCallSettings<GetAttributesConfigRequest, AttributesConfig>
getAttributesConfigSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).getAttributesConfigSettings();
}

/** Returns the object with the settings used for calls to updateAttributesConfig. */
public UnaryCallSettings<UpdateAttributesConfigRequest, AttributesConfig>
updateAttributesConfigSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).updateAttributesConfigSettings();
}

/** Returns the object with the settings used for calls to addCatalogAttribute. */
public UnaryCallSettings<AddCatalogAttributeRequest, AttributesConfig>
addCatalogAttributeSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).addCatalogAttributeSettings();
}

/** Returns the object with the settings used for calls to removeCatalogAttribute. */
public UnaryCallSettings<RemoveCatalogAttributeRequest, AttributesConfig>
removeCatalogAttributeSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).removeCatalogAttributeSettings();
}

/** Returns the object with the settings used for calls to replaceCatalogAttribute. */
public UnaryCallSettings<ReplaceCatalogAttributeRequest, AttributesConfig>
replaceCatalogAttributeSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).replaceCatalogAttributeSettings();
}

public static final CatalogServiceSettings create(CatalogServiceStubSettings stub)
throws IOException {
return new CatalogServiceSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -233,6 +275,48 @@ public UnaryCallSettings.Builder<SetDefaultBranchRequest, Empty> setDefaultBranc
return getStubSettingsBuilder().getDefaultBranchSettings();
}

/** Returns the builder for the settings used for calls to getCompletionConfig. */
public UnaryCallSettings.Builder<GetCompletionConfigRequest, CompletionConfig>
getCompletionConfigSettings() {
return getStubSettingsBuilder().getCompletionConfigSettings();
}

/** Returns the builder for the settings used for calls to updateCompletionConfig. */
public UnaryCallSettings.Builder<UpdateCompletionConfigRequest, CompletionConfig>
updateCompletionConfigSettings() {
return getStubSettingsBuilder().updateCompletionConfigSettings();
}

/** Returns the builder for the settings used for calls to getAttributesConfig. */
public UnaryCallSettings.Builder<GetAttributesConfigRequest, AttributesConfig>
getAttributesConfigSettings() {
return getStubSettingsBuilder().getAttributesConfigSettings();
}

/** Returns the builder for the settings used for calls to updateAttributesConfig. */
public UnaryCallSettings.Builder<UpdateAttributesConfigRequest, AttributesConfig>
updateAttributesConfigSettings() {
return getStubSettingsBuilder().updateAttributesConfigSettings();
}

/** Returns the builder for the settings used for calls to addCatalogAttribute. */
public UnaryCallSettings.Builder<AddCatalogAttributeRequest, AttributesConfig>
addCatalogAttributeSettings() {
return getStubSettingsBuilder().addCatalogAttributeSettings();
}

/** Returns the builder for the settings used for calls to removeCatalogAttribute. */
public UnaryCallSettings.Builder<RemoveCatalogAttributeRequest, AttributesConfig>
removeCatalogAttributeSettings() {
return getStubSettingsBuilder().removeCatalogAttributeSettings();
}

/** Returns the builder for the settings used for calls to replaceCatalogAttribute. */
public UnaryCallSettings.Builder<ReplaceCatalogAttributeRequest, AttributesConfig>
replaceCatalogAttributeSettings() {
return getStubSettingsBuilder().replaceCatalogAttributeSettings();
}

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