- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public class DatastreamStubSettings extends StubSettings<DatastreamStubSettings>
Settings class to configure an instance of DatastreamStub.
The default instance has everything set to sensible defaults:
- The default service address (datastream.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getConnectionProfile to 30 seconds:
DatastreamStubSettings.Builder datastreamSettingsBuilder = DatastreamStubSettings.newBuilder();
datastreamSettingsBuilder
.getConnectionProfileSettings()
.setRetrySettings(
datastreamSettingsBuilder
.getConnectionProfileSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DatastreamStubSettings datastreamSettings = datastreamSettingsBuilder.build();
Static Methods
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Type | Description |
String |
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Type | Description |
List<String> |
newBuilder()
public static DatastreamStubSettings.Builder newBuilder()
Returns a new builder for this class.
Type | Description |
DatastreamStubSettings.Builder |
newBuilder(ClientContext clientContext)
public static DatastreamStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Name | Description |
clientContext | ClientContext |
Type | Description |
DatastreamStubSettings.Builder |
Constructors
DatastreamStubSettings(DatastreamStubSettings.Builder settingsBuilder)
protected DatastreamStubSettings(DatastreamStubSettings.Builder settingsBuilder)
Name | Description |
settingsBuilder | DatastreamStubSettings.Builder |
Methods
createConnectionProfileOperationSettings()
public OperationCallSettings<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationSettings()
Returns the object with the settings used for calls to createConnectionProfile.
Type | Description |
OperationCallSettings<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> |
createConnectionProfileSettings()
public UnaryCallSettings<CreateConnectionProfileRequest,Operation> createConnectionProfileSettings()
Returns the object with the settings used for calls to createConnectionProfile.
Type | Description |
UnaryCallSettings<CreateConnectionProfileRequest,Operation> |
createPrivateConnectionOperationSettings()
public OperationCallSettings<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationSettings()
Returns the object with the settings used for calls to createPrivateConnection.
Type | Description |
OperationCallSettings<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> |
createPrivateConnectionSettings()
public UnaryCallSettings<CreatePrivateConnectionRequest,Operation> createPrivateConnectionSettings()
Returns the object with the settings used for calls to createPrivateConnection.
Type | Description |
UnaryCallSettings<CreatePrivateConnectionRequest,Operation> |
createRouteOperationSettings()
public OperationCallSettings<CreateRouteRequest,Route,OperationMetadata> createRouteOperationSettings()
Returns the object with the settings used for calls to createRoute.
Type | Description |
OperationCallSettings<CreateRouteRequest,Route,OperationMetadata> |
createRouteSettings()
public UnaryCallSettings<CreateRouteRequest,Operation> createRouteSettings()
Returns the object with the settings used for calls to createRoute.
Type | Description |
UnaryCallSettings<CreateRouteRequest,Operation> |
createStreamOperationSettings()
public OperationCallSettings<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationSettings()
Returns the object with the settings used for calls to createStream.
Type | Description |
OperationCallSettings<CreateStreamRequest,Stream,OperationMetadata> |
createStreamSettings()
public UnaryCallSettings<CreateStreamRequest,Operation> createStreamSettings()
Returns the object with the settings used for calls to createStream.
Type | Description |
UnaryCallSettings<CreateStreamRequest,Operation> |
createStub()
public DatastreamStub createStub()
Type | Description |
DatastreamStub |
Type | Description |
IOException |
deleteConnectionProfileOperationSettings()
public OperationCallSettings<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationSettings()
Returns the object with the settings used for calls to deleteConnectionProfile.
Type | Description |
OperationCallSettings<DeleteConnectionProfileRequest,Empty,OperationMetadata> |
deleteConnectionProfileSettings()
public UnaryCallSettings<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileSettings()
Returns the object with the settings used for calls to deleteConnectionProfile.
Type | Description |
UnaryCallSettings<DeleteConnectionProfileRequest,Operation> |
deletePrivateConnectionOperationSettings()
public OperationCallSettings<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationSettings()
Returns the object with the settings used for calls to deletePrivateConnection.
Type | Description |
OperationCallSettings<DeletePrivateConnectionRequest,Empty,OperationMetadata> |
deletePrivateConnectionSettings()
public UnaryCallSettings<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionSettings()
Returns the object with the settings used for calls to deletePrivateConnection.
Type | Description |
UnaryCallSettings<DeletePrivateConnectionRequest,Operation> |
deleteRouteOperationSettings()
public OperationCallSettings<DeleteRouteRequest,Empty,OperationMetadata> deleteRouteOperationSettings()
Returns the object with the settings used for calls to deleteRoute.
Type | Description |
OperationCallSettings<DeleteRouteRequest,Empty,OperationMetadata> |
deleteRouteSettings()
public UnaryCallSettings<DeleteRouteRequest,Operation> deleteRouteSettings()
Returns the object with the settings used for calls to deleteRoute.
Type | Description |
UnaryCallSettings<DeleteRouteRequest,Operation> |
deleteStreamOperationSettings()
public OperationCallSettings<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationSettings()
Returns the object with the settings used for calls to deleteStream.
Type | Description |
OperationCallSettings<DeleteStreamRequest,Empty,OperationMetadata> |
deleteStreamSettings()
public UnaryCallSettings<DeleteStreamRequest,Operation> deleteStreamSettings()
Returns the object with the settings used for calls to deleteStream.
Type | Description |
UnaryCallSettings<DeleteStreamRequest,Operation> |
discoverConnectionProfileSettings()
public UnaryCallSettings<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileSettings()
Returns the object with the settings used for calls to discoverConnectionProfile.
Type | Description |
UnaryCallSettings<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> |
fetchStaticIpsSettings()
public PagedCallSettings<FetchStaticIpsRequest,FetchStaticIpsResponse,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsSettings()
Returns the object with the settings used for calls to fetchStaticIps.
Type | Description |
PagedCallSettings<FetchStaticIpsRequest,FetchStaticIpsResponse,FetchStaticIpsPagedResponse> |
getConnectionProfileSettings()
public UnaryCallSettings<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileSettings()
Returns the object with the settings used for calls to getConnectionProfile.
Type | Description |
UnaryCallSettings<GetConnectionProfileRequest,ConnectionProfile> |
getLocationSettings()
public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
Type | Description |
UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getPrivateConnectionSettings()
public UnaryCallSettings<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionSettings()
Returns the object with the settings used for calls to getPrivateConnection.
Type | Description |
UnaryCallSettings<GetPrivateConnectionRequest,PrivateConnection> |
getRouteSettings()
public UnaryCallSettings<GetRouteRequest,Route> getRouteSettings()
Returns the object with the settings used for calls to getRoute.
Type | Description |
UnaryCallSettings<GetRouteRequest,Route> |
getStreamObjectSettings()
public UnaryCallSettings<GetStreamObjectRequest,StreamObject> getStreamObjectSettings()
Returns the object with the settings used for calls to getStreamObject.
Type | Description |
UnaryCallSettings<GetStreamObjectRequest,StreamObject> |
getStreamSettings()
public UnaryCallSettings<GetStreamRequest,Stream> getStreamSettings()
Returns the object with the settings used for calls to getStream.
Type | Description |
UnaryCallSettings<GetStreamRequest,Stream> |
listConnectionProfilesSettings()
public PagedCallSettings<ListConnectionProfilesRequest,ListConnectionProfilesResponse,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesSettings()
Returns the object with the settings used for calls to listConnectionProfiles.
Type | Description |
PagedCallSettings<ListConnectionProfilesRequest,ListConnectionProfilesResponse,ListConnectionProfilesPagedResponse> |
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,DatastreamClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
Type | Description |
PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse> |
listPrivateConnectionsSettings()
public PagedCallSettings<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings()
Returns the object with the settings used for calls to listPrivateConnections.
Type | Description |
PagedCallSettings<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,ListPrivateConnectionsPagedResponse> |
listRoutesSettings()
public PagedCallSettings<ListRoutesRequest,ListRoutesResponse,DatastreamClient.ListRoutesPagedResponse> listRoutesSettings()
Returns the object with the settings used for calls to listRoutes.
Type | Description |
PagedCallSettings<ListRoutesRequest,ListRoutesResponse,ListRoutesPagedResponse> |
listStreamObjectsSettings()
public PagedCallSettings<ListStreamObjectsRequest,ListStreamObjectsResponse,DatastreamClient.ListStreamObjectsPagedResponse> listStreamObjectsSettings()
Returns the object with the settings used for calls to listStreamObjects.
Type | Description |
PagedCallSettings<ListStreamObjectsRequest,ListStreamObjectsResponse,ListStreamObjectsPagedResponse> |
listStreamsSettings()
public PagedCallSettings<ListStreamsRequest,ListStreamsResponse,DatastreamClient.ListStreamsPagedResponse> listStreamsSettings()
Returns the object with the settings used for calls to listStreams.
Type | Description |
PagedCallSettings<ListStreamsRequest,ListStreamsResponse,ListStreamsPagedResponse> |
lookupStreamObjectSettings()
public UnaryCallSettings<LookupStreamObjectRequest,StreamObject> lookupStreamObjectSettings()
Returns the object with the settings used for calls to lookupStreamObject.
Type | Description |
UnaryCallSettings<LookupStreamObjectRequest,StreamObject> |
startBackfillJobSettings()
public UnaryCallSettings<StartBackfillJobRequest,StartBackfillJobResponse> startBackfillJobSettings()
Returns the object with the settings used for calls to startBackfillJob.
Type | Description |
UnaryCallSettings<StartBackfillJobRequest,StartBackfillJobResponse> |
stopBackfillJobSettings()
public UnaryCallSettings<StopBackfillJobRequest,StopBackfillJobResponse> stopBackfillJobSettings()
Returns the object with the settings used for calls to stopBackfillJob.
Type | Description |
UnaryCallSettings<StopBackfillJobRequest,StopBackfillJobResponse> |
toBuilder()
public DatastreamStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Type | Description |
DatastreamStubSettings.Builder |
updateConnectionProfileOperationSettings()
public OperationCallSettings<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationSettings()
Returns the object with the settings used for calls to updateConnectionProfile.
Type | Description |
OperationCallSettings<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> |
updateConnectionProfileSettings()
public UnaryCallSettings<UpdateConnectionProfileRequest,Operation> updateConnectionProfileSettings()
Returns the object with the settings used for calls to updateConnectionProfile.
Type | Description |
UnaryCallSettings<UpdateConnectionProfileRequest,Operation> |
updateStreamOperationSettings()
public OperationCallSettings<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationSettings()
Returns the object with the settings used for calls to updateStream.
Type | Description |
OperationCallSettings<UpdateStreamRequest,Stream,OperationMetadata> |
updateStreamSettings()
public UnaryCallSettings<UpdateStreamRequest,Operation> updateStreamSettings()
Returns the object with the settings used for calls to updateStream.
Type | Description |
UnaryCallSettings<UpdateStreamRequest,Operation> |