Package com.google.cloud.aiplatform.v1
Class GenAiTuningServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<GenAiTuningServiceSettings,GenAiTuningServiceSettings.Builder>
com.google.cloud.aiplatform.v1.GenAiTuningServiceSettings.Builder
- Enclosing class:
- GenAiTuningServiceSettings
public static class GenAiTuningServiceSettings.Builder
extends ClientSettings.Builder<GenAiTuningServiceSettings,GenAiTuningServiceSettings.Builder>
Builder for GenAiTuningServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(GenAiTuningServiceSettings settings) protectedBuilder(GenAiTuningServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()UnaryCallSettings.Builder<CancelTuningJobRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to cancelTuningJob.Returns the builder for the settings used for calls to createTuningJob.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 getTuningJob.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, GenAiTuningServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListTuningJobsRequest,ListTuningJobsResponse, GenAiTuningServiceClient.ListTuningJobsPagedResponse> Returns the builder for the settings used for calls to listTuningJobs.Returns the builder for the settings used for calls to rebaseTunedModel.Returns the builder for the settings used for calls to rebaseTunedModel.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 GenAiTuningServiceSettings.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.
-
createTuningJobSettings
Returns the builder for the settings used for calls to createTuningJob. -
getTuningJobSettings
Returns the builder for the settings used for calls to getTuningJob. -
listTuningJobsSettings
public PagedCallSettings.Builder<ListTuningJobsRequest,ListTuningJobsResponse, listTuningJobsSettings()GenAiTuningServiceClient.ListTuningJobsPagedResponse> Returns the builder for the settings used for calls to listTuningJobs. -
cancelTuningJobSettings
public UnaryCallSettings.Builder<CancelTuningJobRequest,com.google.protobuf.Empty> cancelTuningJobSettings()Returns the builder for the settings used for calls to cancelTuningJob. -
rebaseTunedModelSettings
Returns the builder for the settings used for calls to rebaseTunedModel. -
rebaseTunedModelOperationSettings
public OperationCallSettings.Builder<RebaseTunedModelRequest,TuningJob, rebaseTunedModelOperationSettings()RebaseTunedModelOperationMetadata> Returns the builder for the settings used for calls to rebaseTunedModel. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()GenAiTuningServiceClient.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<GenAiTuningServiceSettings,GenAiTuningServiceSettings.Builder> - Throws:
IOException
-