Class IndexEndpointServiceSettings.Builder (3.47.0)

public static class IndexEndpointServiceSettings.Builder extends ClientSettings.Builder<IndexEndpointServiceSettings,IndexEndpointServiceSettings.Builder>

Builder for IndexEndpointServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > IndexEndpointServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(IndexEndpointServiceSettings settings)

protected Builder(IndexEndpointServiceSettings settings)
Parameter
Name Description
settings IndexEndpointServiceSettings

Builder(IndexEndpointServiceStubSettings.Builder stubSettings)

protected Builder(IndexEndpointServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings IndexEndpointServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public IndexEndpointServiceSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
IndexEndpointServiceSettings.Builder

build()

public IndexEndpointServiceSettings build()
Returns
Type Description
IndexEndpointServiceSettings
Overrides
Exceptions
Type Description
IOException

createIndexEndpointOperationSettings()

public OperationCallSettings.Builder<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata> createIndexEndpointOperationSettings()

Returns the builder for the settings used for calls to createIndexEndpoint.

Returns
Type Description
Builder<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata>

createIndexEndpointSettings()

public UnaryCallSettings.Builder<CreateIndexEndpointRequest,Operation> createIndexEndpointSettings()

Returns the builder for the settings used for calls to createIndexEndpoint.

Returns
Type Description
Builder<CreateIndexEndpointRequest,Operation>

deleteIndexEndpointOperationSettings()

public OperationCallSettings.Builder<DeleteIndexEndpointRequest,Empty,DeleteOperationMetadata> deleteIndexEndpointOperationSettings()

Returns the builder for the settings used for calls to deleteIndexEndpoint.

Returns
Type Description
Builder<DeleteIndexEndpointRequest,Empty,DeleteOperationMetadata>

deleteIndexEndpointSettings()

public UnaryCallSettings.Builder<DeleteIndexEndpointRequest,Operation> deleteIndexEndpointSettings()

Returns the builder for the settings used for calls to deleteIndexEndpoint.

Returns
Type Description
Builder<DeleteIndexEndpointRequest,Operation>

deployIndexOperationSettings()

public OperationCallSettings.Builder<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata> deployIndexOperationSettings()

Returns the builder for the settings used for calls to deployIndex.

Returns
Type Description
Builder<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata>

deployIndexSettings()

public UnaryCallSettings.Builder<DeployIndexRequest,Operation> deployIndexSettings()

Returns the builder for the settings used for calls to deployIndex.

Returns
Type Description
Builder<DeployIndexRequest,Operation>

getIamPolicySettings()

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>

getIndexEndpointSettings()

public UnaryCallSettings.Builder<GetIndexEndpointRequest,IndexEndpoint> getIndexEndpointSettings()

Returns the builder for the settings used for calls to getIndexEndpoint.

Returns
Type Description
Builder<GetIndexEndpointRequest,IndexEndpoint>

getLocationSettings()

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>

getStubSettingsBuilder()

public IndexEndpointServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
IndexEndpointServiceStubSettings.Builder

listIndexEndpointsSettings()

public PagedCallSettings.Builder<ListIndexEndpointsRequest,ListIndexEndpointsResponse,IndexEndpointServiceClient.ListIndexEndpointsPagedResponse> listIndexEndpointsSettings()

Returns the builder for the settings used for calls to listIndexEndpoints.

Returns
Type Description
Builder<ListIndexEndpointsRequest,ListIndexEndpointsResponse,ListIndexEndpointsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,IndexEndpointServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

mutateDeployedIndexOperationSettings()

public OperationCallSettings.Builder<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata> mutateDeployedIndexOperationSettings()

Returns the builder for the settings used for calls to mutateDeployedIndex.

Returns
Type Description
Builder<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata>

mutateDeployedIndexSettings()

public UnaryCallSettings.Builder<MutateDeployedIndexRequest,Operation> mutateDeployedIndexSettings()

Returns the builder for the settings used for calls to mutateDeployedIndex.

Returns
Type Description
Builder<MutateDeployedIndexRequest,Operation>

setIamPolicySettings()

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>

testIamPermissionsSettings()

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>

undeployIndexOperationSettings()

public OperationCallSettings.Builder<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata> undeployIndexOperationSettings()

Returns the builder for the settings used for calls to undeployIndex.

Returns
Type Description
Builder<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata>

undeployIndexSettings()

public UnaryCallSettings.Builder<UndeployIndexRequest,Operation> undeployIndexSettings()

Returns the builder for the settings used for calls to undeployIndex.

Returns
Type Description
Builder<UndeployIndexRequest,Operation>

updateIndexEndpointSettings()

public UnaryCallSettings.Builder<UpdateIndexEndpointRequest,IndexEndpoint> updateIndexEndpointSettings()

Returns the builder for the settings used for calls to updateIndexEndpoint.

Returns
Type Description
Builder<UpdateIndexEndpointRequest,IndexEndpoint>