Class EndpointServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<EndpointServiceStubSettings,EndpointServiceStubSettings.Builder>
-
- com.google.cloud.aiplatform.v1.stub.EndpointServiceStubSettings.Builder
-
- Enclosing class:
- EndpointServiceStubSettings
public static class EndpointServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<EndpointServiceStubSettings,EndpointServiceStubSettings.Builder>
Builder for EndpointServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(EndpointServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointServiceStubSettings.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.EndpointServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(EndpointServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public EndpointServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 EndpointServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<EndpointServiceStubSettings,EndpointServiceStubSettings.Builder>
- Throws:
IOException
-
-