Class DatastreamSettings.Builder (1.42.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>

fetchErrorsOperationSettings()

public OperationCallSettings.Builder<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata> fetchErrorsOperationSettings()

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

Returns
Type Description
Builder<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata>

fetchErrorsSettings()

public UnaryCallSettings.Builder<FetchErrorsRequest,Operation> fetchErrorsSettings()

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

Returns
Type Description
Builder<FetchErrorsRequest,Operation>

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>

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>

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>

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>

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>

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>