public class CatalogServiceStubSettings extends StubSettings<CatalogServiceStubSettings>
Settings class to configure an instance of CatalogServiceStub .
The default instance has everything set to sensible defaults:
The default service address (dataplex.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 getEntryType to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CatalogServiceStubSettings.Builder catalogServiceSettingsBuilder =
CatalogServiceStubSettings.newBuilder();
catalogServiceSettingsBuilder
.getEntryTypeSettings()
.setRetrySettings(
catalogServiceSettingsBuilder
.getEntryTypeSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
CatalogServiceStubSettings catalogServiceSettings = catalogServiceSettingsBuilder.build();
Static Methods
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns a builder for the default REST ChannelProvider for this service.
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Returns
Type
Description
String
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Returns
Type
Description
String
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
newBuilder()
public static CatalogServiceStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
newBuilder(ClientContext clientContext)
public static CatalogServiceStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
newHttpJsonBuilder()
public static CatalogServiceStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Constructors
CatalogServiceStubSettings(CatalogServiceStubSettings.Builder settingsBuilder)
protected CatalogServiceStubSettings(CatalogServiceStubSettings.Builder settingsBuilder)
Methods
createAspectTypeOperationSettings()
public OperationCallSettings<CreateAspectTypeRequest,AspectType,OperationMetadata> createAspectTypeOperationSettings()
Returns the object with the settings used for calls to createAspectType.
createAspectTypeSettings()
public UnaryCallSettings<CreateAspectTypeRequest,Operation> createAspectTypeSettings()
Returns the object with the settings used for calls to createAspectType.
createEntryGroupOperationSettings()
public OperationCallSettings<CreateEntryGroupRequest,EntryGroup,OperationMetadata> createEntryGroupOperationSettings()
Returns the object with the settings used for calls to createEntryGroup.
createEntryGroupSettings()
public UnaryCallSettings<CreateEntryGroupRequest,Operation> createEntryGroupSettings()
Returns the object with the settings used for calls to createEntryGroup.
createEntrySettings()
public UnaryCallSettings<CreateEntryRequest,Entry> createEntrySettings()
Returns the object with the settings used for calls to createEntry.
createEntryTypeOperationSettings()
public OperationCallSettings<CreateEntryTypeRequest,EntryType,OperationMetadata> createEntryTypeOperationSettings()
Returns the object with the settings used for calls to createEntryType.
createEntryTypeSettings()
public UnaryCallSettings<CreateEntryTypeRequest,Operation> createEntryTypeSettings()
Returns the object with the settings used for calls to createEntryType.
createStub()
public CatalogServiceStub createStub()
deleteAspectTypeOperationSettings()
public OperationCallSettings<DeleteAspectTypeRequest,Empty,OperationMetadata> deleteAspectTypeOperationSettings()
Returns the object with the settings used for calls to deleteAspectType.
deleteAspectTypeSettings()
public UnaryCallSettings<DeleteAspectTypeRequest,Operation> deleteAspectTypeSettings()
Returns the object with the settings used for calls to deleteAspectType.
deleteEntryGroupOperationSettings()
public OperationCallSettings<DeleteEntryGroupRequest,Empty,OperationMetadata> deleteEntryGroupOperationSettings()
Returns the object with the settings used for calls to deleteEntryGroup.
deleteEntryGroupSettings()
public UnaryCallSettings<DeleteEntryGroupRequest,Operation> deleteEntryGroupSettings()
Returns the object with the settings used for calls to deleteEntryGroup.
deleteEntrySettings()
public UnaryCallSettings<DeleteEntryRequest,Entry> deleteEntrySettings()
Returns the object with the settings used for calls to deleteEntry.
deleteEntryTypeOperationSettings()
public OperationCallSettings<DeleteEntryTypeRequest,Empty,OperationMetadata> deleteEntryTypeOperationSettings()
Returns the object with the settings used for calls to deleteEntryType.
deleteEntryTypeSettings()
public UnaryCallSettings<DeleteEntryTypeRequest,Operation> deleteEntryTypeSettings()
Returns the object with the settings used for calls to deleteEntryType.
getAspectTypeSettings()
public UnaryCallSettings<GetAspectTypeRequest,AspectType> getAspectTypeSettings()
Returns the object with the settings used for calls to getAspectType.
getEntryGroupSettings()
public UnaryCallSettings<GetEntryGroupRequest,EntryGroup> getEntryGroupSettings()
Returns the object with the settings used for calls to getEntryGroup.
getEntrySettings()
public UnaryCallSettings<GetEntryRequest,Entry> getEntrySettings()
Returns the object with the settings used for calls to getEntry.
getEntryTypeSettings()
public UnaryCallSettings<GetEntryTypeRequest,EntryType> getEntryTypeSettings()
Returns the object with the settings used for calls to getEntryType.
getLocationSettings()
public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
Returns
Type
Description
UnaryCallSettings <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
getServiceName()
public String getServiceName()
Returns the default service name.
Returns
Type
Description
String
Overrides
listAspectTypesSettings()
public PagedCallSettings<ListAspectTypesRequest,ListAspectTypesResponse,CatalogServiceClient.ListAspectTypesPagedResponse> listAspectTypesSettings()
Returns the object with the settings used for calls to listAspectTypes.
listEntriesSettings()
public PagedCallSettings<ListEntriesRequest,ListEntriesResponse,CatalogServiceClient.ListEntriesPagedResponse> listEntriesSettings()
Returns the object with the settings used for calls to listEntries.
listEntryGroupsSettings()
public PagedCallSettings<ListEntryGroupsRequest,ListEntryGroupsResponse,CatalogServiceClient.ListEntryGroupsPagedResponse> listEntryGroupsSettings()
Returns the object with the settings used for calls to listEntryGroups.
listEntryTypesSettings()
public PagedCallSettings<ListEntryTypesRequest,ListEntryTypesResponse,CatalogServiceClient.ListEntryTypesPagedResponse> listEntryTypesSettings()
Returns the object with the settings used for calls to listEntryTypes.
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,CatalogServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
lookupEntrySettings()
public UnaryCallSettings<LookupEntryRequest,Entry> lookupEntrySettings()
Returns the object with the settings used for calls to lookupEntry.
searchEntriesSettings()
public PagedCallSettings<SearchEntriesRequest,SearchEntriesResponse,CatalogServiceClient.SearchEntriesPagedResponse> searchEntriesSettings()
Returns the object with the settings used for calls to searchEntries.
toBuilder()
public CatalogServiceStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Overrides
updateAspectTypeOperationSettings()
public OperationCallSettings<UpdateAspectTypeRequest,AspectType,OperationMetadata> updateAspectTypeOperationSettings()
Returns the object with the settings used for calls to updateAspectType.
updateAspectTypeSettings()
public UnaryCallSettings<UpdateAspectTypeRequest,Operation> updateAspectTypeSettings()
Returns the object with the settings used for calls to updateAspectType.
updateEntryGroupOperationSettings()
public OperationCallSettings<UpdateEntryGroupRequest,EntryGroup,OperationMetadata> updateEntryGroupOperationSettings()
Returns the object with the settings used for calls to updateEntryGroup.
updateEntryGroupSettings()
public UnaryCallSettings<UpdateEntryGroupRequest,Operation> updateEntryGroupSettings()
Returns the object with the settings used for calls to updateEntryGroup.
updateEntrySettings()
public UnaryCallSettings<UpdateEntryRequest,Entry> updateEntrySettings()
Returns the object with the settings used for calls to updateEntry.
updateEntryTypeOperationSettings()
public OperationCallSettings<UpdateEntryTypeRequest,EntryType,OperationMetadata> updateEntryTypeOperationSettings()
Returns the object with the settings used for calls to updateEntryType.
updateEntryTypeSettings()
public UnaryCallSettings<UpdateEntryTypeRequest,Operation> updateEntryTypeSettings()
Returns the object with the settings used for calls to updateEntryType.