Class ModelGardenServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ModelGardenServiceStubSettings,ModelGardenServiceStubSettings.Builder>
com.google.cloud.aiplatform.v1beta1.stub.ModelGardenServiceStubSettings.Builder
- Enclosing class:
- ModelGardenServiceStubSettings
public static class ModelGardenServiceStubSettings.Builder
extends StubSettings.Builder<ModelGardenServiceStubSettings,ModelGardenServiceStubSettings.Builder>
Builder for ModelGardenServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ModelGardenServiceStubSettings settings) -
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> Returns the builder for the settings used for calls to deployPublisherModel.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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public ModelGardenServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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
public OperationCallSettings.Builder<DeployPublisherModelRequest,DeployPublisherModelResponse, deployPublisherModelOperationSettings()DeployPublisherModelOperationMetadata> 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 classStubSettings.Builder<ModelGardenServiceStubSettings,ModelGardenServiceStubSettings.Builder> - Throws:
IOException
-