Class DatastreamStubSettings.Builder (1.47.0)

public static class DatastreamStubSettings.Builder extends StubSettings.Builder<DatastreamStubSettings,DatastreamStubSettings.Builder>

Builder for DatastreamStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DatastreamStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DatastreamStubSettings settings)

protected Builder(DatastreamStubSettings settings)
Parameter
Name Description
settings DatastreamStubSettings

Methods

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

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

build()

public DatastreamStubSettings build()
Returns
Type Description
DatastreamStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>