Class DatastreamSettings.Builder (1.43.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
Name Description
clientContext ClientContext

Builder(DatastreamSettings settings)

protected Builder(DatastreamSettings settings)
Parameter
Name Description
settings DatastreamSettings

Builder(DatastreamStubSettings.Builder stubSettings)

protected Builder(DatastreamStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DatastreamStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DatastreamSettings.Builder

build()

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

createConnectionProfileOperationSettings()

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

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

Returns
Type Description
Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata>

createConnectionProfileSettings()

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

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

Returns
Type Description
Builder<CreateConnectionProfileRequest,Operation>

createPrivateConnectionOperationSettings()

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

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

Returns
Type Description
Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata>

createPrivateConnectionSettings()

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

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

Returns
Type Description
Builder<CreatePrivateConnectionRequest,Operation>

createRouteOperationSettings()

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

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

Returns
Type Description
Builder<CreateRouteRequest,Route,OperationMetadata>

createRouteSettings()

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

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

Returns
Type Description
Builder<CreateRouteRequest,Operation>

createStreamOperationSettings()

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

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

Returns
Type Description
Builder<CreateStreamRequest,Stream,OperationMetadata>

createStreamSettings()

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

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

Returns
Type Description
Builder<CreateStreamRequest,Operation>

deleteConnectionProfileOperationSettings()

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

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

Returns
Type Description
Builder<DeleteConnectionProfileRequest,Empty,OperationMetadata>

deleteConnectionProfileSettings()

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

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

Returns
Type Description
Builder<DeleteConnectionProfileRequest,Operation>

deletePrivateConnectionOperationSettings()

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

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

Returns
Type Description
Builder<DeletePrivateConnectionRequest,Empty,OperationMetadata>

deletePrivateConnectionSettings()

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

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

Returns
Type Description
Builder<DeletePrivateConnectionRequest,Operation>

deleteRouteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteRouteRequest,Empty,OperationMetadata>

deleteRouteSettings()

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

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

Returns
Type Description
Builder<DeleteRouteRequest,Operation>

deleteStreamOperationSettings()

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

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

Returns
Type Description
Builder<DeleteStreamRequest,Empty,OperationMetadata>

deleteStreamSettings()

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

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

Returns
Type Description
Builder<DeleteStreamRequest,Operation>

discoverConnectionProfileSettings()

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

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

Returns
Type Description
Builder<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse>

fetchStaticIpsSettings()

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

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

Returns
Type Description
Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,FetchStaticIpsPagedResponse>

getConnectionProfileSettings()

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

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

Returns
Type Description
Builder<GetConnectionProfileRequest,ConnectionProfile>

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>

getPrivateConnectionSettings()

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

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

Returns
Type Description
Builder<GetPrivateConnectionRequest,PrivateConnection>

getRouteSettings()

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

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

Returns
Type Description
Builder<GetRouteRequest,Route>

getStreamObjectSettings()

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

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

Returns
Type Description
Builder<GetStreamObjectRequest,StreamObject>

getStreamSettings()

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

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

Returns
Type Description
Builder<GetStreamRequest,Stream>

getStubSettingsBuilder()

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

listConnectionProfilesSettings()

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

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Builder<ListStreamsRequest,ListStreamsResponse,ListStreamsPagedResponse>

lookupStreamObjectSettings()

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

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

Returns
Type Description
Builder<LookupStreamObjectRequest,StreamObject>

startBackfillJobSettings()

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

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

Returns
Type Description
Builder<StartBackfillJobRequest,StartBackfillJobResponse>

stopBackfillJobSettings()

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

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

Returns
Type Description
Builder<StopBackfillJobRequest,StopBackfillJobResponse>

updateConnectionProfileOperationSettings()

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

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

Returns
Type Description
Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata>

updateConnectionProfileSettings()

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

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

Returns
Type Description
Builder<UpdateConnectionProfileRequest,Operation>

updateStreamOperationSettings()

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

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

Returns
Type Description
Builder<UpdateStreamRequest,Stream,OperationMetadata>

updateStreamSettings()

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

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

Returns
Type Description
Builder<UpdateStreamRequest,Operation>