public static class IndexEndpointServiceStubSettings.Builder extends StubSettings.Builder<IndexEndpointServiceStubSettings,IndexEndpointServiceStubSettings.Builder>
Builder for IndexEndpointServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(IndexEndpointServiceStubSettings settings)
Methods
public IndexEndpointServiceStubSettings.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.
public IndexEndpointServiceStubSettings build()
Overrides
public OperationCallSettings.Builder<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata> createIndexEndpointOperationSettings()
Returns the builder for the settings used for calls to createIndexEndpoint.
public UnaryCallSettings.Builder<CreateIndexEndpointRequest,Operation> createIndexEndpointSettings()
Returns the builder for the settings used for calls to createIndexEndpoint.
public OperationCallSettings.Builder<DeleteIndexEndpointRequest,Empty,DeleteOperationMetadata> deleteIndexEndpointOperationSettings()
Returns the builder for the settings used for calls to deleteIndexEndpoint.
public UnaryCallSettings.Builder<DeleteIndexEndpointRequest,Operation> deleteIndexEndpointSettings()
Returns the builder for the settings used for calls to deleteIndexEndpoint.
public OperationCallSettings.Builder<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata> deployIndexOperationSettings()
Returns the builder for the settings used for calls to deployIndex.
public UnaryCallSettings.Builder<DeployIndexRequest,Operation> deployIndexSettings()
Returns the builder for the settings used for calls to deployIndex.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns |
---|
Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
public UnaryCallSettings.Builder<GetIndexEndpointRequest,IndexEndpoint> getIndexEndpointSettings()
Returns the builder for the settings used for calls to getIndexEndpoint.
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
---|
Type | Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
public PagedCallSettings.Builder<ListIndexEndpointsRequest,ListIndexEndpointsResponse,IndexEndpointServiceClient.ListIndexEndpointsPagedResponse> listIndexEndpointsSettings()
Returns the builder for the settings used for calls to listIndexEndpoints.
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,IndexEndpointServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
public OperationCallSettings.Builder<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata> mutateDeployedIndexOperationSettings()
Returns the builder for the settings used for calls to mutateDeployedIndex.
public UnaryCallSettings.Builder<MutateDeployedIndexRequest,Operation> mutateDeployedIndexSettings()
Returns the builder for the settings used for calls to mutateDeployedIndex.
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns |
---|
Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns |
---|
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
public OperationCallSettings.Builder<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata> undeployIndexOperationSettings()
Returns the builder for the settings used for calls to undeployIndex.
public UnaryCallSettings.Builder<UndeployIndexRequest,Operation> undeployIndexSettings()
Returns the builder for the settings used for calls to undeployIndex.
public UnaryCallSettings.Builder<UpdateIndexEndpointRequest,IndexEndpoint> updateIndexEndpointSettings()
Returns the builder for the settings used for calls to updateIndexEndpoint.