Class EndpointServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<EndpointServiceSettings,EndpointServiceSettings.Builder>
-
- com.google.cloud.aiplatform.v1beta1.EndpointServiceSettings.Builder
-
- Enclosing class:
- EndpointServiceSettings
public static class EndpointServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<EndpointServiceSettings,EndpointServiceSettings.Builder>
Builder for EndpointServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(EndpointServiceSettings settings)
protected
Builder(EndpointServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.EndpointServiceSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateEndpointRequest,Endpoint,CreateEndpointOperationMetadata>
createEndpointOperationSettings()
Returns the builder for the settings used for calls to createEndpoint.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEndpointRequest,com.google.longrunning.Operation>
createEndpointSettings()
Returns the builder for the settings used for calls to createEndpoint.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteEndpointRequest,com.google.protobuf.Empty,DeleteOperationMetadata>
deleteEndpointOperationSettings()
Returns the builder for the settings used for calls to deleteEndpoint.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEndpointRequest,com.google.longrunning.Operation>
deleteEndpointSettings()
Returns the builder for the settings used for calls to deleteEndpoint.com.google.api.gax.rpc.OperationCallSettings.Builder<DeployModelRequest,DeployModelResponse,DeployModelOperationMetadata>
deployModelOperationSettings()
Returns the builder for the settings used for calls to deployModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployModelRequest,com.google.longrunning.Operation>
deployModelSettings()
Returns the builder for the settings used for calls to deployModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEndpointRequest,Endpoint>
getEndpointSettings()
Returns the builder for the settings used for calls to getEndpoint.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.EndpointServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListEndpointsRequest,ListEndpointsResponse,EndpointServiceClient.ListEndpointsPagedResponse>
listEndpointsSettings()
Returns the builder for the settings used for calls to listEndpoints.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,EndpointServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.OperationCallSettings.Builder<MutateDeployedModelRequest,MutateDeployedModelResponse,MutateDeployedModelOperationMetadata>
mutateDeployedModelOperationSettings()
Returns the builder for the settings used for calls to mutateDeployedModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateDeployedModelRequest,com.google.longrunning.Operation>
mutateDeployedModelSettings()
Returns the builder for the settings used for calls to mutateDeployedModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UndeployModelRequest,UndeployModelResponse,UndeployModelOperationMetadata>
undeployModelOperationSettings()
Returns the builder for the settings used for calls to undeployModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeployModelRequest,com.google.longrunning.Operation>
undeployModelSettings()
Returns the builder for the settings used for calls to undeployModel.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEndpointRequest,Endpoint>
updateEndpointSettings()
Returns the builder for the settings used for calls to updateEndpoint.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(EndpointServiceSettings settings)
-
Builder
protected Builder(EndpointServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public EndpointServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public EndpointServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
createEndpointSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEndpointRequest,com.google.longrunning.Operation> createEndpointSettings()
Returns the builder for the settings used for calls to createEndpoint.
-
createEndpointOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateEndpointRequest,Endpoint,CreateEndpointOperationMetadata> createEndpointOperationSettings()
Returns the builder for the settings used for calls to createEndpoint.
-
getEndpointSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEndpointRequest,Endpoint> getEndpointSettings()
Returns the builder for the settings used for calls to getEndpoint.
-
listEndpointsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEndpointsRequest,ListEndpointsResponse,EndpointServiceClient.ListEndpointsPagedResponse> listEndpointsSettings()
Returns the builder for the settings used for calls to listEndpoints.
-
updateEndpointSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEndpointRequest,Endpoint> updateEndpointSettings()
Returns the builder for the settings used for calls to updateEndpoint.
-
deleteEndpointSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEndpointRequest,com.google.longrunning.Operation> deleteEndpointSettings()
Returns the builder for the settings used for calls to deleteEndpoint.
-
deleteEndpointOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteEndpointRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteEndpointOperationSettings()
Returns the builder for the settings used for calls to deleteEndpoint.
-
deployModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployModelRequest,com.google.longrunning.Operation> deployModelSettings()
Returns the builder for the settings used for calls to deployModel.
-
deployModelOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeployModelRequest,DeployModelResponse,DeployModelOperationMetadata> deployModelOperationSettings()
Returns the builder for the settings used for calls to deployModel.
-
undeployModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeployModelRequest,com.google.longrunning.Operation> undeployModelSettings()
Returns the builder for the settings used for calls to undeployModel.
-
undeployModelOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeployModelRequest,UndeployModelResponse,UndeployModelOperationMetadata> undeployModelOperationSettings()
Returns the builder for the settings used for calls to undeployModel.
-
mutateDeployedModelSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateDeployedModelRequest,com.google.longrunning.Operation> mutateDeployedModelSettings()
Returns the builder for the settings used for calls to mutateDeployedModel.
-
mutateDeployedModelOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<MutateDeployedModelRequest,MutateDeployedModelResponse,MutateDeployedModelOperationMetadata> mutateDeployedModelOperationSettings()
Returns the builder for the settings used for calls to mutateDeployedModel.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,EndpointServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public EndpointServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<EndpointServiceSettings,EndpointServiceSettings.Builder>
- Throws:
IOException
-
-