Class IndexEndpointServiceSettings.Builder (2.4.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
NameDescription
clientContextClientContext

Builder(IndexEndpointServiceSettings settings)

protected Builder(IndexEndpointServiceSettings settings)
Parameter
NameDescription
settingsIndexEndpointServiceSettings

Builder(IndexEndpointServiceStubSettings.Builder stubSettings)

protected Builder(IndexEndpointServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsIndexEndpointServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
IndexEndpointServiceSettings.Builder

build()

public IndexEndpointServiceSettings build()
Returns
TypeDescription
IndexEndpointServiceSettings
Overrides Exceptions
TypeDescription
IOException

createIndexEndpointOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata>

createIndexEndpointSettings()

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

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

Returns
TypeDescription
Builder<CreateIndexEndpointRequest,Operation>

deleteIndexEndpointOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteIndexEndpointRequest,Empty,DeleteOperationMetadata>

deleteIndexEndpointSettings()

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

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

Returns
TypeDescription
Builder<DeleteIndexEndpointRequest,Operation>

deployIndexOperationSettings()

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

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

Returns
TypeDescription
Builder<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata>

deployIndexSettings()

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

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

Returns
TypeDescription
Builder<DeployIndexRequest,Operation>

getIndexEndpointSettings()

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

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

Returns
TypeDescription
Builder<GetIndexEndpointRequest,IndexEndpoint>

getStubSettingsBuilder()

public IndexEndpointServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
IndexEndpointServiceStubSettings.Builder

listIndexEndpointsSettings()

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

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

Returns
TypeDescription
Builder<ListIndexEndpointsRequest,ListIndexEndpointsResponse,ListIndexEndpointsPagedResponse>

undeployIndexOperationSettings()

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

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

Returns
TypeDescription
Builder<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata>

undeployIndexSettings()

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

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

Returns
TypeDescription
Builder<UndeployIndexRequest,Operation>

updateIndexEndpointSettings()

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

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

Returns
TypeDescription
Builder<UpdateIndexEndpointRequest,IndexEndpoint>