Class ModelGardenServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ModelGardenServiceSettings,ModelGardenServiceSettings.Builder>
com.google.cloud.aiplatform.v1beta1.ModelGardenServiceSettings.Builder
- Enclosing class:
- ModelGardenServiceSettings
public static class ModelGardenServiceSettings.Builder
extends ClientSettings.Builder<ModelGardenServiceSettings,ModelGardenServiceSettings.Builder>
Builder for ModelGardenServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ModelGardenServiceSettings settings) protectedBuilder(ModelGardenServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to acceptPublisherModelEula.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to checkPublisherModelEulaAcceptance.Returns the builder for the settings used for calls to deploy.OperationCallSettings.Builder<DeployPublisherModelRequest,DeployPublisherModelResponse, DeployPublisherModelOperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to deploy.OperationCallSettings.Builder<ExportPublisherModelRequest,ExportPublisherModelResponse, ExportPublisherModelOperationMetadata> Returns the builder for the settings used for calls to exportPublisherModel.Returns the builder for the settings used for calls to exportPublisherModel.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getPublisherModel.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, ModelGardenServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListPublisherModelsRequest,ListPublisherModelsResponse, ModelGardenServiceClient.ListPublisherModelsPagedResponse> Returns the builder for the settings used for calls to listPublisherModels.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public ModelGardenServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
getPublisherModelSettings
public UnaryCallSettings.Builder<GetPublisherModelRequest,PublisherModel> getPublisherModelSettings()Returns the builder for the settings used for calls to getPublisherModel. -
listPublisherModelsSettings
public PagedCallSettings.Builder<ListPublisherModelsRequest,ListPublisherModelsResponse, listPublisherModelsSettings()ModelGardenServiceClient.ListPublisherModelsPagedResponse> Returns the builder for the settings used for calls to listPublisherModels. -
deploySettings
Returns the builder for the settings used for calls to deploy. -
deployOperationSettings
public OperationCallSettings.Builder<DeployRequest,DeployResponse, deployOperationSettings()DeployOperationMetadata> Returns the builder for the settings used for calls to deploy. -
deployPublisherModelSettings
@Deprecated public UnaryCallSettings.Builder<DeployPublisherModelRequest,Operation> deployPublisherModelSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to deployPublisherModel. -
deployPublisherModelOperationSettings
@Deprecated public OperationCallSettings.Builder<DeployPublisherModelRequest,DeployPublisherModelResponse, deployPublisherModelOperationSettings()DeployPublisherModelOperationMetadata> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to deployPublisherModel. -
exportPublisherModelSettings
public UnaryCallSettings.Builder<ExportPublisherModelRequest,Operation> exportPublisherModelSettings()Returns the builder for the settings used for calls to exportPublisherModel. -
exportPublisherModelOperationSettings
public OperationCallSettings.Builder<ExportPublisherModelRequest,ExportPublisherModelResponse, exportPublisherModelOperationSettings()ExportPublisherModelOperationMetadata> Returns the builder for the settings used for calls to exportPublisherModel. -
checkPublisherModelEulaAcceptanceSettings
public UnaryCallSettings.Builder<CheckPublisherModelEulaAcceptanceRequest,PublisherModelEulaAcceptance> checkPublisherModelEulaAcceptanceSettings()Returns the builder for the settings used for calls to checkPublisherModelEulaAcceptance. -
acceptPublisherModelEulaSettings
public UnaryCallSettings.Builder<AcceptPublisherModelEulaRequest,PublisherModelEulaAcceptance> acceptPublisherModelEulaSettings()Returns the builder for the settings used for calls to acceptPublisherModelEula. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()ModelGardenServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<ModelGardenServiceSettings,ModelGardenServiceSettings.Builder> - Throws:
IOException
-