Class CatalogServiceStubSettings.Builder (1.38.0)

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

Builder for CatalogServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CatalogServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CatalogServiceStubSettings settings)

protected Builder(CatalogServiceStubSettings settings)
Parameter
NameDescription
settingsCatalogServiceStubSettings

Methods

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

public CatalogServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CatalogServiceStubSettings.Builder

build()

public CatalogServiceStubSettings build()
Returns
TypeDescription
CatalogServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

createAspectTypeOperationSettings()

public OperationCallSettings.Builder<CreateAspectTypeRequest,AspectType,OperationMetadata> createAspectTypeOperationSettings()

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

Returns
TypeDescription
Builder<CreateAspectTypeRequest,AspectType,OperationMetadata>

createAspectTypeSettings()

public UnaryCallSettings.Builder<CreateAspectTypeRequest,Operation> createAspectTypeSettings()

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

Returns
TypeDescription
Builder<CreateAspectTypeRequest,Operation>

createEntryGroupOperationSettings()

public OperationCallSettings.Builder<CreateEntryGroupRequest,EntryGroup,OperationMetadata> createEntryGroupOperationSettings()

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

Returns
TypeDescription
Builder<CreateEntryGroupRequest,EntryGroup,OperationMetadata>

createEntryGroupSettings()

public UnaryCallSettings.Builder<CreateEntryGroupRequest,Operation> createEntryGroupSettings()

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

Returns
TypeDescription
Builder<CreateEntryGroupRequest,Operation>

createEntrySettings()

public UnaryCallSettings.Builder<CreateEntryRequest,Entry> createEntrySettings()

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

Returns
TypeDescription
Builder<CreateEntryRequest,Entry>

createEntryTypeOperationSettings()

public OperationCallSettings.Builder<CreateEntryTypeRequest,EntryType,OperationMetadata> createEntryTypeOperationSettings()

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

Returns
TypeDescription
Builder<CreateEntryTypeRequest,EntryType,OperationMetadata>

createEntryTypeSettings()

public UnaryCallSettings.Builder<CreateEntryTypeRequest,Operation> createEntryTypeSettings()

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

Returns
TypeDescription
Builder<CreateEntryTypeRequest,Operation>

deleteAspectTypeOperationSettings()

public OperationCallSettings.Builder<DeleteAspectTypeRequest,Empty,OperationMetadata> deleteAspectTypeOperationSettings()

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

Returns
TypeDescription
Builder<DeleteAspectTypeRequest,Empty,OperationMetadata>

deleteAspectTypeSettings()

public UnaryCallSettings.Builder<DeleteAspectTypeRequest,Operation> deleteAspectTypeSettings()

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

Returns
TypeDescription
Builder<DeleteAspectTypeRequest,Operation>

deleteEntryGroupOperationSettings()

public OperationCallSettings.Builder<DeleteEntryGroupRequest,Empty,OperationMetadata> deleteEntryGroupOperationSettings()

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

Returns
TypeDescription
Builder<DeleteEntryGroupRequest,Empty,OperationMetadata>

deleteEntryGroupSettings()

public UnaryCallSettings.Builder<DeleteEntryGroupRequest,Operation> deleteEntryGroupSettings()

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

Returns
TypeDescription
Builder<DeleteEntryGroupRequest,Operation>

deleteEntrySettings()

public UnaryCallSettings.Builder<DeleteEntryRequest,Entry> deleteEntrySettings()

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

Returns
TypeDescription
Builder<DeleteEntryRequest,Entry>

deleteEntryTypeOperationSettings()

public OperationCallSettings.Builder<DeleteEntryTypeRequest,Empty,OperationMetadata> deleteEntryTypeOperationSettings()

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

Returns
TypeDescription
Builder<DeleteEntryTypeRequest,Empty,OperationMetadata>

deleteEntryTypeSettings()

public UnaryCallSettings.Builder<DeleteEntryTypeRequest,Operation> deleteEntryTypeSettings()

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

Returns
TypeDescription
Builder<DeleteEntryTypeRequest,Operation>

getAspectTypeSettings()

public UnaryCallSettings.Builder<GetAspectTypeRequest,AspectType> getAspectTypeSettings()

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

Returns
TypeDescription
Builder<GetAspectTypeRequest,AspectType>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getEntryGroupSettings()

public UnaryCallSettings.Builder<GetEntryGroupRequest,EntryGroup> getEntryGroupSettings()

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

Returns
TypeDescription
Builder<GetEntryGroupRequest,EntryGroup>

getEntrySettings()

public UnaryCallSettings.Builder<GetEntryRequest,Entry> getEntrySettings()

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

Returns
TypeDescription
Builder<GetEntryRequest,Entry>

getEntryTypeSettings()

public UnaryCallSettings.Builder<GetEntryTypeRequest,EntryType> getEntryTypeSettings()

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

Returns
TypeDescription
Builder<GetEntryTypeRequest,EntryType>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listAspectTypesSettings()

public PagedCallSettings.Builder<ListAspectTypesRequest,ListAspectTypesResponse,CatalogServiceClient.ListAspectTypesPagedResponse> listAspectTypesSettings()

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

Returns
TypeDescription
Builder<ListAspectTypesRequest,ListAspectTypesResponse,ListAspectTypesPagedResponse>

listEntriesSettings()

public PagedCallSettings.Builder<ListEntriesRequest,ListEntriesResponse,CatalogServiceClient.ListEntriesPagedResponse> listEntriesSettings()

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

Returns
TypeDescription
Builder<ListEntriesRequest,ListEntriesResponse,ListEntriesPagedResponse>

listEntryGroupsSettings()

public PagedCallSettings.Builder<ListEntryGroupsRequest,ListEntryGroupsResponse,CatalogServiceClient.ListEntryGroupsPagedResponse> listEntryGroupsSettings()

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

Returns
TypeDescription
Builder<ListEntryGroupsRequest,ListEntryGroupsResponse,ListEntryGroupsPagedResponse>

listEntryTypesSettings()

public PagedCallSettings.Builder<ListEntryTypesRequest,ListEntryTypesResponse,CatalogServiceClient.ListEntryTypesPagedResponse> listEntryTypesSettings()

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

Returns
TypeDescription
Builder<ListEntryTypesRequest,ListEntryTypesResponse,ListEntryTypesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,CatalogServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

lookupEntrySettings()

public UnaryCallSettings.Builder<LookupEntryRequest,Entry> lookupEntrySettings()

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

Returns
TypeDescription
Builder<LookupEntryRequest,Entry>

searchEntriesSettings()

public PagedCallSettings.Builder<SearchEntriesRequest,SearchEntriesResponse,CatalogServiceClient.SearchEntriesPagedResponse> searchEntriesSettings()

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

Returns
TypeDescription
Builder<SearchEntriesRequest,SearchEntriesResponse,SearchEntriesPagedResponse>

unaryMethodSettingsBuilders()

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

updateAspectTypeOperationSettings()

public OperationCallSettings.Builder<UpdateAspectTypeRequest,AspectType,OperationMetadata> updateAspectTypeOperationSettings()

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

Returns
TypeDescription
Builder<UpdateAspectTypeRequest,AspectType,OperationMetadata>

updateAspectTypeSettings()

public UnaryCallSettings.Builder<UpdateAspectTypeRequest,Operation> updateAspectTypeSettings()

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

Returns
TypeDescription
Builder<UpdateAspectTypeRequest,Operation>

updateEntryGroupOperationSettings()

public OperationCallSettings.Builder<UpdateEntryGroupRequest,EntryGroup,OperationMetadata> updateEntryGroupOperationSettings()

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

Returns
TypeDescription
Builder<UpdateEntryGroupRequest,EntryGroup,OperationMetadata>

updateEntryGroupSettings()

public UnaryCallSettings.Builder<UpdateEntryGroupRequest,Operation> updateEntryGroupSettings()

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

Returns
TypeDescription
Builder<UpdateEntryGroupRequest,Operation>

updateEntrySettings()

public UnaryCallSettings.Builder<UpdateEntryRequest,Entry> updateEntrySettings()

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

Returns
TypeDescription
Builder<UpdateEntryRequest,Entry>

updateEntryTypeOperationSettings()

public OperationCallSettings.Builder<UpdateEntryTypeRequest,EntryType,OperationMetadata> updateEntryTypeOperationSettings()

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

Returns
TypeDescription
Builder<UpdateEntryTypeRequest,EntryType,OperationMetadata>

updateEntryTypeSettings()

public UnaryCallSettings.Builder<UpdateEntryTypeRequest,Operation> updateEntryTypeSettings()

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

Returns
TypeDescription
Builder<UpdateEntryTypeRequest,Operation>