Class DatastreamSettings.Builder (1.18.0)

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

Builder for DatastreamSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DatastreamSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DatastreamSettings settings)

protected Builder(DatastreamSettings settings)
Parameter
NameDescription
settingsDatastreamSettings

Builder(DatastreamStubSettings.Builder stubSettings)

protected Builder(DatastreamStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDatastreamStubSettings.Builder

Methods

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

public DatastreamSettings.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
DatastreamSettings.Builder

build()

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

createConnectionProfileOperationSettings()

public OperationCallSettings.Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationSettings()

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

Returns
TypeDescription
Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata>

createConnectionProfileSettings()

public UnaryCallSettings.Builder<CreateConnectionProfileRequest,Operation> createConnectionProfileSettings()

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

Returns
TypeDescription
Builder<CreateConnectionProfileRequest,Operation>

createPrivateConnectionOperationSettings()

public OperationCallSettings.Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationSettings()

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

Returns
TypeDescription
Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata>

createPrivateConnectionSettings()

public UnaryCallSettings.Builder<CreatePrivateConnectionRequest,Operation> createPrivateConnectionSettings()

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

Returns
TypeDescription
Builder<CreatePrivateConnectionRequest,Operation>

createRouteOperationSettings()

public OperationCallSettings.Builder<CreateRouteRequest,Route,OperationMetadata> createRouteOperationSettings()

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

Returns
TypeDescription
Builder<CreateRouteRequest,Route,OperationMetadata>

createRouteSettings()

public UnaryCallSettings.Builder<CreateRouteRequest,Operation> createRouteSettings()

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

Returns
TypeDescription
Builder<CreateRouteRequest,Operation>

createStreamOperationSettings()

public OperationCallSettings.Builder<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationSettings()

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

Returns
TypeDescription
Builder<CreateStreamRequest,Stream,OperationMetadata>

createStreamSettings()

public UnaryCallSettings.Builder<CreateStreamRequest,Operation> createStreamSettings()

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

Returns
TypeDescription
Builder<CreateStreamRequest,Operation>

deleteConnectionProfileOperationSettings()

public OperationCallSettings.Builder<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationSettings()

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

Returns
TypeDescription
Builder<DeleteConnectionProfileRequest,Empty,OperationMetadata>

deleteConnectionProfileSettings()

public UnaryCallSettings.Builder<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileSettings()

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

Returns
TypeDescription
Builder<DeleteConnectionProfileRequest,Operation>

deletePrivateConnectionOperationSettings()

public OperationCallSettings.Builder<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationSettings()

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

Returns
TypeDescription
Builder<DeletePrivateConnectionRequest,Empty,OperationMetadata>

deletePrivateConnectionSettings()

public UnaryCallSettings.Builder<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionSettings()

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

Returns
TypeDescription
Builder<DeletePrivateConnectionRequest,Operation>

deleteRouteOperationSettings()

public OperationCallSettings.Builder<DeleteRouteRequest,Empty,OperationMetadata> deleteRouteOperationSettings()

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

Returns
TypeDescription
Builder<DeleteRouteRequest,Empty,OperationMetadata>

deleteRouteSettings()

public UnaryCallSettings.Builder<DeleteRouteRequest,Operation> deleteRouteSettings()

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

Returns
TypeDescription
Builder<DeleteRouteRequest,Operation>

deleteStreamOperationSettings()

public OperationCallSettings.Builder<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationSettings()

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

Returns
TypeDescription
Builder<DeleteStreamRequest,Empty,OperationMetadata>

deleteStreamSettings()

public UnaryCallSettings.Builder<DeleteStreamRequest,Operation> deleteStreamSettings()

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

Returns
TypeDescription
Builder<DeleteStreamRequest,Operation>

discoverConnectionProfileSettings()

public UnaryCallSettings.Builder<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileSettings()

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

Returns
TypeDescription
Builder<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse>

fetchStaticIpsSettings()

public PagedCallSettings.Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsSettings()

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

Returns
TypeDescription
Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,FetchStaticIpsPagedResponse>

getConnectionProfileSettings()

public UnaryCallSettings.Builder<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileSettings()

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

Returns
TypeDescription
Builder<GetConnectionProfileRequest,ConnectionProfile>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getPrivateConnectionSettings()

public UnaryCallSettings.Builder<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionSettings()

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

Returns
TypeDescription
Builder<GetPrivateConnectionRequest,PrivateConnection>

getRouteSettings()

public UnaryCallSettings.Builder<GetRouteRequest,Route> getRouteSettings()

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

Returns
TypeDescription
Builder<GetRouteRequest,Route>

getStreamObjectSettings()

public UnaryCallSettings.Builder<GetStreamObjectRequest,StreamObject> getStreamObjectSettings()

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

Returns
TypeDescription
Builder<GetStreamObjectRequest,StreamObject>

getStreamSettings()

public UnaryCallSettings.Builder<GetStreamRequest,Stream> getStreamSettings()

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

Returns
TypeDescription
Builder<GetStreamRequest,Stream>

getStubSettingsBuilder()

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

listConnectionProfilesSettings()

public PagedCallSettings.Builder<ListConnectionProfilesRequest,ListConnectionProfilesResponse,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesSettings()

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

Returns
TypeDescription
Builder<ListConnectionProfilesRequest,ListConnectionProfilesResponse,ListConnectionProfilesPagedResponse>

listLocationsSettings()

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

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

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

listPrivateConnectionsSettings()

public PagedCallSettings.Builder<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings()

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

Returns
TypeDescription
Builder<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,ListPrivateConnectionsPagedResponse>

listRoutesSettings()

public PagedCallSettings.Builder<ListRoutesRequest,ListRoutesResponse,DatastreamClient.ListRoutesPagedResponse> listRoutesSettings()

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

Returns
TypeDescription
Builder<ListRoutesRequest,ListRoutesResponse,ListRoutesPagedResponse>

listStreamObjectsSettings()

public PagedCallSettings.Builder<ListStreamObjectsRequest,ListStreamObjectsResponse,DatastreamClient.ListStreamObjectsPagedResponse> listStreamObjectsSettings()

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

Returns
TypeDescription
Builder<ListStreamObjectsRequest,ListStreamObjectsResponse,ListStreamObjectsPagedResponse>

listStreamsSettings()

public PagedCallSettings.Builder<ListStreamsRequest,ListStreamsResponse,DatastreamClient.ListStreamsPagedResponse> listStreamsSettings()

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

Returns
TypeDescription
Builder<ListStreamsRequest,ListStreamsResponse,ListStreamsPagedResponse>

lookupStreamObjectSettings()

public UnaryCallSettings.Builder<LookupStreamObjectRequest,StreamObject> lookupStreamObjectSettings()

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

Returns
TypeDescription
Builder<LookupStreamObjectRequest,StreamObject>

startBackfillJobSettings()

public UnaryCallSettings.Builder<StartBackfillJobRequest,StartBackfillJobResponse> startBackfillJobSettings()

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

Returns
TypeDescription
Builder<StartBackfillJobRequest,StartBackfillJobResponse>

stopBackfillJobSettings()

public UnaryCallSettings.Builder<StopBackfillJobRequest,StopBackfillJobResponse> stopBackfillJobSettings()

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

Returns
TypeDescription
Builder<StopBackfillJobRequest,StopBackfillJobResponse>

updateConnectionProfileOperationSettings()

public OperationCallSettings.Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationSettings()

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

Returns
TypeDescription
Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata>

updateConnectionProfileSettings()

public UnaryCallSettings.Builder<UpdateConnectionProfileRequest,Operation> updateConnectionProfileSettings()

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

Returns
TypeDescription
Builder<UpdateConnectionProfileRequest,Operation>

updateStreamOperationSettings()

public OperationCallSettings.Builder<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationSettings()

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

Returns
TypeDescription
Builder<UpdateStreamRequest,Stream,OperationMetadata>

updateStreamSettings()

public UnaryCallSettings.Builder<UpdateStreamRequest,Operation> updateStreamSettings()

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

Returns
TypeDescription
Builder<UpdateStreamRequest,Operation>