Class WarehouseSettings (0.10.0)

public class WarehouseSettings extends ClientSettings<WarehouseSettings>

Settings class to configure an instance of WarehouseClient.

The default instance has everything set to sensible defaults:

  • The default service address (visionai.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 RetrySettings of createAsset:


 // 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
 WarehouseSettings.Builder warehouseSettingsBuilder = WarehouseSettings.newBuilder();
 warehouseSettingsBuilder
     .createAssetSettings()
     .setRetrySettings(
         warehouseSettingsBuilder
             .createAssetSettings()
             .getRetrySettings()
             .toBuilder()
             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
             .setMaxAttempts(5)
             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
             .setRetryDelayMultiplier(1.3)
             .setRpcTimeoutMultiplier(1.5)
             .setTotalTimeoutDuration(Duration.ofSeconds(300))
             .build());
 WarehouseSettings warehouseSettings = warehouseSettingsBuilder.build();
 

Please refer to the Client Side Retry Guide for additional support in setting retries.

To configure the RetrySettings of a Long Running Operation method, create an OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to configure the RetrySettings for deleteAsset:


 // 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
 WarehouseSettings.Builder warehouseSettingsBuilder = WarehouseSettings.newBuilder();
 TimedRetryAlgorithm timedRetryAlgorithm =
     OperationalTimedPollAlgorithm.create(
         RetrySettings.newBuilder()
             .setInitialRetryDelayDuration(Duration.ofMillis(500))
             .setRetryDelayMultiplier(1.5)
             .setMaxRetryDelay(Duration.ofMillis(5000))
             .setTotalTimeoutDuration(Duration.ofHours(24))
             .build());
 warehouseSettingsBuilder
     .createClusterOperationSettings()
     .setPollingAlgorithm(timedRetryAlgorithm)
     .build();
 

Inheritance

java.lang.Object > ClientSettings > WarehouseSettings

Static Methods

create(WarehouseStubSettings stub)

public static final WarehouseSettings create(WarehouseStubSettings stub)
Parameter
Name Description
stub WarehouseStubSettings
Returns
Type Description
WarehouseSettings
Exceptions
Type Description
IOException

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
Type Description
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
Type Description
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
Type Description
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default gRPC ChannelProvider for this service.

Returns
Type Description
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default REST ChannelProvider for this service.

Returns
Type Description
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
Type Description
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
Type Description
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
Type Description
List<String>

newBuilder()

public static WarehouseSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
Type Description
WarehouseSettings.Builder

newBuilder(ClientContext clientContext)

public static WarehouseSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
Name Description
clientContext ClientContext
Returns
Type Description
WarehouseSettings.Builder

newHttpJsonBuilder()

public static WarehouseSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
Type Description
WarehouseSettings.Builder

Constructors

WarehouseSettings(WarehouseSettings.Builder settingsBuilder)

protected WarehouseSettings(WarehouseSettings.Builder settingsBuilder)
Parameter
Name Description
settingsBuilder WarehouseSettings.Builder

Methods

addCollectionItemSettings()

public UnaryCallSettings<AddCollectionItemRequest,AddCollectionItemResponse> addCollectionItemSettings()

Returns the object with the settings used for calls to addCollectionItem.

Returns
Type Description
UnaryCallSettings<AddCollectionItemRequest,AddCollectionItemResponse>

analyzeAssetOperationSettings()

public OperationCallSettings<AnalyzeAssetRequest,AnalyzeAssetResponse,AnalyzeAssetMetadata> analyzeAssetOperationSettings()

Returns the object with the settings used for calls to analyzeAsset.

Returns
Type Description
OperationCallSettings<AnalyzeAssetRequest,AnalyzeAssetResponse,AnalyzeAssetMetadata>

analyzeAssetSettings()

public UnaryCallSettings<AnalyzeAssetRequest,Operation> analyzeAssetSettings()

Returns the object with the settings used for calls to analyzeAsset.

Returns
Type Description
UnaryCallSettings<AnalyzeAssetRequest,Operation>

analyzeCorpusOperationSettings()

public OperationCallSettings<AnalyzeCorpusRequest,AnalyzeCorpusResponse,AnalyzeCorpusMetadata> analyzeCorpusOperationSettings()

Returns the object with the settings used for calls to analyzeCorpus.

Returns
Type Description
OperationCallSettings<AnalyzeCorpusRequest,AnalyzeCorpusResponse,AnalyzeCorpusMetadata>

analyzeCorpusSettings()

public UnaryCallSettings<AnalyzeCorpusRequest,Operation> analyzeCorpusSettings()

Returns the object with the settings used for calls to analyzeCorpus.

Returns
Type Description
UnaryCallSettings<AnalyzeCorpusRequest,Operation>

clipAssetSettings()

public UnaryCallSettings<ClipAssetRequest,ClipAssetResponse> clipAssetSettings()

Returns the object with the settings used for calls to clipAsset.

Returns
Type Description
UnaryCallSettings<ClipAssetRequest,ClipAssetResponse>

createAnnotationSettings()

public UnaryCallSettings<CreateAnnotationRequest,Annotation> createAnnotationSettings()

Returns the object with the settings used for calls to createAnnotation.

Returns
Type Description
UnaryCallSettings<CreateAnnotationRequest,Annotation>

createAssetSettings()

public UnaryCallSettings<CreateAssetRequest,Asset> createAssetSettings()

Returns the object with the settings used for calls to createAsset.

Returns
Type Description
UnaryCallSettings<CreateAssetRequest,Asset>

createCollectionOperationSettings()

public OperationCallSettings<CreateCollectionRequest,Collection,CreateCollectionMetadata> createCollectionOperationSettings()

Returns the object with the settings used for calls to createCollection.

Returns
Type Description
OperationCallSettings<CreateCollectionRequest,Collection,CreateCollectionMetadata>

createCollectionSettings()

public UnaryCallSettings<CreateCollectionRequest,Operation> createCollectionSettings()

Returns the object with the settings used for calls to createCollection.

Returns
Type Description
UnaryCallSettings<CreateCollectionRequest,Operation>

createCorpusOperationSettings()

public OperationCallSettings<CreateCorpusRequest,Corpus,CreateCorpusMetadata> createCorpusOperationSettings()

Returns the object with the settings used for calls to createCorpus.

Returns
Type Description
OperationCallSettings<CreateCorpusRequest,Corpus,CreateCorpusMetadata>

createCorpusSettings()

public UnaryCallSettings<CreateCorpusRequest,Operation> createCorpusSettings()

Returns the object with the settings used for calls to createCorpus.

Returns
Type Description
UnaryCallSettings<CreateCorpusRequest,Operation>

createDataSchemaSettings()

public UnaryCallSettings<CreateDataSchemaRequest,DataSchema> createDataSchemaSettings()

Returns the object with the settings used for calls to createDataSchema.

Returns
Type Description
UnaryCallSettings<CreateDataSchemaRequest,DataSchema>

createIndexEndpointOperationSettings()

public OperationCallSettings<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointMetadata> createIndexEndpointOperationSettings()

Returns the object with the settings used for calls to createIndexEndpoint.

Returns
Type Description
OperationCallSettings<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointMetadata>

createIndexEndpointSettings()

public UnaryCallSettings<CreateIndexEndpointRequest,Operation> createIndexEndpointSettings()

Returns the object with the settings used for calls to createIndexEndpoint.

Returns
Type Description
UnaryCallSettings<CreateIndexEndpointRequest,Operation>

createIndexOperationSettings()

public OperationCallSettings<CreateIndexRequest,Index,CreateIndexMetadata> createIndexOperationSettings()

Returns the object with the settings used for calls to createIndex.

Returns
Type Description
OperationCallSettings<CreateIndexRequest,Index,CreateIndexMetadata>

createIndexSettings()

public UnaryCallSettings<CreateIndexRequest,Operation> createIndexSettings()

Returns the object with the settings used for calls to createIndex.

Returns
Type Description
UnaryCallSettings<CreateIndexRequest,Operation>

createSearchConfigSettings()

public UnaryCallSettings<CreateSearchConfigRequest,SearchConfig> createSearchConfigSettings()

Returns the object with the settings used for calls to createSearchConfig.

Returns
Type Description
UnaryCallSettings<CreateSearchConfigRequest,SearchConfig>

createSearchHypernymSettings()

public UnaryCallSettings<CreateSearchHypernymRequest,SearchHypernym> createSearchHypernymSettings()

Returns the object with the settings used for calls to createSearchHypernym.

Returns
Type Description
UnaryCallSettings<CreateSearchHypernymRequest,SearchHypernym>

deleteAnnotationSettings()

public UnaryCallSettings<DeleteAnnotationRequest,Empty> deleteAnnotationSettings()

Returns the object with the settings used for calls to deleteAnnotation.

Returns
Type Description
UnaryCallSettings<DeleteAnnotationRequest,Empty>

deleteAssetOperationSettings()

public OperationCallSettings<DeleteAssetRequest,Empty,DeleteAssetMetadata> deleteAssetOperationSettings()

Returns the object with the settings used for calls to deleteAsset.

Returns
Type Description
OperationCallSettings<DeleteAssetRequest,Empty,DeleteAssetMetadata>

deleteAssetSettings()

public UnaryCallSettings<DeleteAssetRequest,Operation> deleteAssetSettings()

Returns the object with the settings used for calls to deleteAsset.

Returns
Type Description
UnaryCallSettings<DeleteAssetRequest,Operation>

deleteCollectionOperationSettings()

public OperationCallSettings<DeleteCollectionRequest,Empty,DeleteCollectionMetadata> deleteCollectionOperationSettings()

Returns the object with the settings used for calls to deleteCollection.

Returns
Type Description
OperationCallSettings<DeleteCollectionRequest,Empty,DeleteCollectionMetadata>

deleteCollectionSettings()

public UnaryCallSettings<DeleteCollectionRequest,Operation> deleteCollectionSettings()

Returns the object with the settings used for calls to deleteCollection.

Returns
Type Description
UnaryCallSettings<DeleteCollectionRequest,Operation>

deleteCorpusSettings()

public UnaryCallSettings<DeleteCorpusRequest,Empty> deleteCorpusSettings()

Returns the object with the settings used for calls to deleteCorpus.

Returns
Type Description
UnaryCallSettings<DeleteCorpusRequest,Empty>

deleteDataSchemaSettings()

public UnaryCallSettings<DeleteDataSchemaRequest,Empty> deleteDataSchemaSettings()

Returns the object with the settings used for calls to deleteDataSchema.

Returns
Type Description
UnaryCallSettings<DeleteDataSchemaRequest,Empty>

deleteIndexEndpointOperationSettings()

public OperationCallSettings<DeleteIndexEndpointRequest,Empty,DeleteIndexEndpointMetadata> deleteIndexEndpointOperationSettings()

Returns the object with the settings used for calls to deleteIndexEndpoint.

Returns
Type Description
OperationCallSettings<DeleteIndexEndpointRequest,Empty,DeleteIndexEndpointMetadata>

deleteIndexEndpointSettings()

public UnaryCallSettings<DeleteIndexEndpointRequest,Operation> deleteIndexEndpointSettings()

Returns the object with the settings used for calls to deleteIndexEndpoint.

Returns
Type Description
UnaryCallSettings<DeleteIndexEndpointRequest,Operation>

deleteIndexOperationSettings()

public OperationCallSettings<DeleteIndexRequest,Empty,DeleteIndexMetadata> deleteIndexOperationSettings()

Returns the object with the settings used for calls to deleteIndex.

Returns
Type Description
OperationCallSettings<DeleteIndexRequest,Empty,DeleteIndexMetadata>

deleteIndexSettings()

public UnaryCallSettings<DeleteIndexRequest,Operation> deleteIndexSettings()

Returns the object with the settings used for calls to deleteIndex.

Returns
Type Description
UnaryCallSettings<DeleteIndexRequest,Operation>

deleteSearchConfigSettings()

public UnaryCallSettings<DeleteSearchConfigRequest,Empty> deleteSearchConfigSettings()

Returns the object with the settings used for calls to deleteSearchConfig.

Returns
Type Description
UnaryCallSettings<DeleteSearchConfigRequest,Empty>

deleteSearchHypernymSettings()

public UnaryCallSettings<DeleteSearchHypernymRequest,Empty> deleteSearchHypernymSettings()

Returns the object with the settings used for calls to deleteSearchHypernym.

Returns
Type Description
UnaryCallSettings<DeleteSearchHypernymRequest,Empty>

deployIndexOperationSettings()

public OperationCallSettings<DeployIndexRequest,DeployIndexResponse,DeployIndexMetadata> deployIndexOperationSettings()

Returns the object with the settings used for calls to deployIndex.

Returns
Type Description
OperationCallSettings<DeployIndexRequest,DeployIndexResponse,DeployIndexMetadata>

deployIndexSettings()

public UnaryCallSettings<DeployIndexRequest,Operation> deployIndexSettings()

Returns the object with the settings used for calls to deployIndex.

Returns
Type Description
UnaryCallSettings<DeployIndexRequest,Operation>

generateHlsUriSettings()

public UnaryCallSettings<GenerateHlsUriRequest,GenerateHlsUriResponse> generateHlsUriSettings()

Returns the object with the settings used for calls to generateHlsUri.

Returns
Type Description
UnaryCallSettings<GenerateHlsUriRequest,GenerateHlsUriResponse>

generateRetrievalUrlSettings()

public UnaryCallSettings<GenerateRetrievalUrlRequest,GenerateRetrievalUrlResponse> generateRetrievalUrlSettings()

Returns the object with the settings used for calls to generateRetrievalUrl.

Returns
Type Description
UnaryCallSettings<GenerateRetrievalUrlRequest,GenerateRetrievalUrlResponse>

getAnnotationSettings()

public UnaryCallSettings<GetAnnotationRequest,Annotation> getAnnotationSettings()

Returns the object with the settings used for calls to getAnnotation.

Returns
Type Description
UnaryCallSettings<GetAnnotationRequest,Annotation>

getAssetSettings()

public UnaryCallSettings<GetAssetRequest,Asset> getAssetSettings()

Returns the object with the settings used for calls to getAsset.

Returns
Type Description
UnaryCallSettings<GetAssetRequest,Asset>

getCollectionSettings()

public UnaryCallSettings<GetCollectionRequest,Collection> getCollectionSettings()

Returns the object with the settings used for calls to getCollection.

Returns
Type Description
UnaryCallSettings<GetCollectionRequest,Collection>

getCorpusSettings()

public UnaryCallSettings<GetCorpusRequest,Corpus> getCorpusSettings()

Returns the object with the settings used for calls to getCorpus.

Returns
Type Description
UnaryCallSettings<GetCorpusRequest,Corpus>

getDataSchemaSettings()

public UnaryCallSettings<GetDataSchemaRequest,DataSchema> getDataSchemaSettings()

Returns the object with the settings used for calls to getDataSchema.

Returns
Type Description
UnaryCallSettings<GetDataSchemaRequest,DataSchema>

getIndexEndpointSettings()

public UnaryCallSettings<GetIndexEndpointRequest,IndexEndpoint> getIndexEndpointSettings()

Returns the object with the settings used for calls to getIndexEndpoint.

Returns
Type Description
UnaryCallSettings<GetIndexEndpointRequest,IndexEndpoint>

getIndexSettings()

public UnaryCallSettings<GetIndexRequest,Index> getIndexSettings()

Returns the object with the settings used for calls to getIndex.

Returns
Type Description
UnaryCallSettings<GetIndexRequest,Index>

getSearchConfigSettings()

public UnaryCallSettings<GetSearchConfigRequest,SearchConfig> getSearchConfigSettings()

Returns the object with the settings used for calls to getSearchConfig.

Returns
Type Description
UnaryCallSettings<GetSearchConfigRequest,SearchConfig>

getSearchHypernymSettings()

public UnaryCallSettings<GetSearchHypernymRequest,SearchHypernym> getSearchHypernymSettings()

Returns the object with the settings used for calls to getSearchHypernym.

Returns
Type Description
UnaryCallSettings<GetSearchHypernymRequest,SearchHypernym>

importAssetsOperationSettings()

public OperationCallSettings<ImportAssetsRequest,ImportAssetsResponse,ImportAssetsMetadata> importAssetsOperationSettings()

Returns the object with the settings used for calls to importAssets.

Returns
Type Description
OperationCallSettings<ImportAssetsRequest,ImportAssetsResponse,ImportAssetsMetadata>

importAssetsSettings()

public UnaryCallSettings<ImportAssetsRequest,Operation> importAssetsSettings()

Returns the object with the settings used for calls to importAssets.

Returns
Type Description
UnaryCallSettings<ImportAssetsRequest,Operation>

indexAssetOperationSettings()

public OperationCallSettings<IndexAssetRequest,IndexAssetResponse,IndexAssetMetadata> indexAssetOperationSettings()

Returns the object with the settings used for calls to indexAsset.

Returns
Type Description
OperationCallSettings<IndexAssetRequest,IndexAssetResponse,IndexAssetMetadata>

indexAssetSettings()

public UnaryCallSettings<IndexAssetRequest,Operation> indexAssetSettings()

Returns the object with the settings used for calls to indexAsset.

Returns
Type Description
UnaryCallSettings<IndexAssetRequest,Operation>

ingestAssetSettings()

public StreamingCallSettings<IngestAssetRequest,IngestAssetResponse> ingestAssetSettings()

Returns the object with the settings used for calls to ingestAsset.

Returns
Type Description
StreamingCallSettings<IngestAssetRequest,IngestAssetResponse>

listAnnotationsSettings()

public PagedCallSettings<ListAnnotationsRequest,ListAnnotationsResponse,WarehouseClient.ListAnnotationsPagedResponse> listAnnotationsSettings()

Returns the object with the settings used for calls to listAnnotations.

Returns
Type Description
PagedCallSettings<ListAnnotationsRequest,ListAnnotationsResponse,ListAnnotationsPagedResponse>

listAssetsSettings()

public PagedCallSettings<ListAssetsRequest,ListAssetsResponse,WarehouseClient.ListAssetsPagedResponse> listAssetsSettings()

Returns the object with the settings used for calls to listAssets.

Returns
Type Description
PagedCallSettings<ListAssetsRequest,ListAssetsResponse,ListAssetsPagedResponse>

listCollectionsSettings()

public PagedCallSettings<ListCollectionsRequest,ListCollectionsResponse,WarehouseClient.ListCollectionsPagedResponse> listCollectionsSettings()

Returns the object with the settings used for calls to listCollections.

Returns
Type Description
PagedCallSettings<ListCollectionsRequest,ListCollectionsResponse,ListCollectionsPagedResponse>

listCorporaSettings()

public PagedCallSettings<ListCorporaRequest,ListCorporaResponse,WarehouseClient.ListCorporaPagedResponse> listCorporaSettings()

Returns the object with the settings used for calls to listCorpora.

Returns
Type Description
PagedCallSettings<ListCorporaRequest,ListCorporaResponse,ListCorporaPagedResponse>

listDataSchemasSettings()

public PagedCallSettings<ListDataSchemasRequest,ListDataSchemasResponse,WarehouseClient.ListDataSchemasPagedResponse> listDataSchemasSettings()

Returns the object with the settings used for calls to listDataSchemas.

Returns
Type Description
PagedCallSettings<ListDataSchemasRequest,ListDataSchemasResponse,ListDataSchemasPagedResponse>

listIndexEndpointsSettings()

public PagedCallSettings<ListIndexEndpointsRequest,ListIndexEndpointsResponse,WarehouseClient.ListIndexEndpointsPagedResponse> listIndexEndpointsSettings()

Returns the object with the settings used for calls to listIndexEndpoints.

Returns
Type Description
PagedCallSettings<ListIndexEndpointsRequest,ListIndexEndpointsResponse,ListIndexEndpointsPagedResponse>

listIndexesSettings()

public PagedCallSettings<ListIndexesRequest,ListIndexesResponse,WarehouseClient.ListIndexesPagedResponse> listIndexesSettings()

Returns the object with the settings used for calls to listIndexes.

Returns
Type Description
PagedCallSettings<ListIndexesRequest,ListIndexesResponse,ListIndexesPagedResponse>

listSearchConfigsSettings()

public PagedCallSettings<ListSearchConfigsRequest,ListSearchConfigsResponse,WarehouseClient.ListSearchConfigsPagedResponse> listSearchConfigsSettings()

Returns the object with the settings used for calls to listSearchConfigs.

Returns
Type Description
PagedCallSettings<ListSearchConfigsRequest,ListSearchConfigsResponse,ListSearchConfigsPagedResponse>

listSearchHypernymsSettings()

public PagedCallSettings<ListSearchHypernymsRequest,ListSearchHypernymsResponse,WarehouseClient.ListSearchHypernymsPagedResponse> listSearchHypernymsSettings()

Returns the object with the settings used for calls to listSearchHypernyms.

Returns
Type Description
PagedCallSettings<ListSearchHypernymsRequest,ListSearchHypernymsResponse,ListSearchHypernymsPagedResponse>

removeCollectionItemSettings()

public UnaryCallSettings<RemoveCollectionItemRequest,RemoveCollectionItemResponse> removeCollectionItemSettings()

Returns the object with the settings used for calls to removeCollectionItem.

Returns
Type Description
UnaryCallSettings<RemoveCollectionItemRequest,RemoveCollectionItemResponse>

removeIndexAssetOperationSettings()

public OperationCallSettings<RemoveIndexAssetRequest,RemoveIndexAssetResponse,RemoveIndexAssetMetadata> removeIndexAssetOperationSettings()

Returns the object with the settings used for calls to removeIndexAsset.

Returns
Type Description
OperationCallSettings<RemoveIndexAssetRequest,RemoveIndexAssetResponse,RemoveIndexAssetMetadata>

removeIndexAssetSettings()

public UnaryCallSettings<RemoveIndexAssetRequest,Operation> removeIndexAssetSettings()

Returns the object with the settings used for calls to removeIndexAsset.

Returns
Type Description
UnaryCallSettings<RemoveIndexAssetRequest,Operation>

searchAssetsSettings()

public PagedCallSettings<SearchAssetsRequest,SearchAssetsResponse,WarehouseClient.SearchAssetsPagedResponse> searchAssetsSettings()

Returns the object with the settings used for calls to searchAssets.

Returns
Type Description
PagedCallSettings<SearchAssetsRequest,SearchAssetsResponse,SearchAssetsPagedResponse>

searchIndexEndpointSettings()

public PagedCallSettings<SearchIndexEndpointRequest,SearchIndexEndpointResponse,WarehouseClient.SearchIndexEndpointPagedResponse> searchIndexEndpointSettings()

Returns the object with the settings used for calls to searchIndexEndpoint.

Returns
Type Description
PagedCallSettings<SearchIndexEndpointRequest,SearchIndexEndpointResponse,SearchIndexEndpointPagedResponse>

toBuilder()

public WarehouseSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
Type Description
WarehouseSettings.Builder
Overrides

undeployIndexOperationSettings()

public OperationCallSettings<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexMetadata> undeployIndexOperationSettings()

Returns the object with the settings used for calls to undeployIndex.

Returns
Type Description
OperationCallSettings<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexMetadata>

undeployIndexSettings()

public UnaryCallSettings<UndeployIndexRequest,Operation> undeployIndexSettings()

Returns the object with the settings used for calls to undeployIndex.

Returns
Type Description
UnaryCallSettings<UndeployIndexRequest,Operation>

updateAnnotationSettings()

public UnaryCallSettings<UpdateAnnotationRequest,Annotation> updateAnnotationSettings()

Returns the object with the settings used for calls to updateAnnotation.

Returns
Type Description
UnaryCallSettings<UpdateAnnotationRequest,Annotation>

updateAssetSettings()

public UnaryCallSettings<UpdateAssetRequest,Asset> updateAssetSettings()

Returns the object with the settings used for calls to updateAsset.

Returns
Type Description
UnaryCallSettings<UpdateAssetRequest,Asset>

updateCollectionSettings()

public UnaryCallSettings<UpdateCollectionRequest,Collection> updateCollectionSettings()

Returns the object with the settings used for calls to updateCollection.

Returns
Type Description
UnaryCallSettings<UpdateCollectionRequest,Collection>

updateCorpusSettings()

public UnaryCallSettings<UpdateCorpusRequest,Corpus> updateCorpusSettings()

Returns the object with the settings used for calls to updateCorpus.

Returns
Type Description
UnaryCallSettings<UpdateCorpusRequest,Corpus>

updateDataSchemaSettings()

public UnaryCallSettings<UpdateDataSchemaRequest,DataSchema> updateDataSchemaSettings()

Returns the object with the settings used for calls to updateDataSchema.

Returns
Type Description
UnaryCallSettings<UpdateDataSchemaRequest,DataSchema>

updateIndexEndpointOperationSettings()

public OperationCallSettings<UpdateIndexEndpointRequest,IndexEndpoint,UpdateIndexEndpointMetadata> updateIndexEndpointOperationSettings()

Returns the object with the settings used for calls to updateIndexEndpoint.

Returns
Type Description
OperationCallSettings<UpdateIndexEndpointRequest,IndexEndpoint,UpdateIndexEndpointMetadata>

updateIndexEndpointSettings()

public UnaryCallSettings<UpdateIndexEndpointRequest,Operation> updateIndexEndpointSettings()

Returns the object with the settings used for calls to updateIndexEndpoint.

Returns
Type Description
UnaryCallSettings<UpdateIndexEndpointRequest,Operation>

updateIndexOperationSettings()

public OperationCallSettings<UpdateIndexRequest,Index,UpdateIndexMetadata> updateIndexOperationSettings()

Returns the object with the settings used for calls to updateIndex.

Returns
Type Description
OperationCallSettings<UpdateIndexRequest,Index,UpdateIndexMetadata>

updateIndexSettings()

public UnaryCallSettings<UpdateIndexRequest,Operation> updateIndexSettings()

Returns the object with the settings used for calls to updateIndex.

Returns
Type Description
UnaryCallSettings<UpdateIndexRequest,Operation>

updateSearchConfigSettings()

public UnaryCallSettings<UpdateSearchConfigRequest,SearchConfig> updateSearchConfigSettings()

Returns the object with the settings used for calls to updateSearchConfig.

Returns
Type Description
UnaryCallSettings<UpdateSearchConfigRequest,SearchConfig>

updateSearchHypernymSettings()

public UnaryCallSettings<UpdateSearchHypernymRequest,SearchHypernym> updateSearchHypernymSettings()

Returns the object with the settings used for calls to updateSearchHypernym.

Returns
Type Description
UnaryCallSettings<UpdateSearchHypernymRequest,SearchHypernym>

uploadAssetOperationSettings()

public OperationCallSettings<UploadAssetRequest,UploadAssetResponse,UploadAssetMetadata> uploadAssetOperationSettings()

Returns the object with the settings used for calls to uploadAsset.

Returns
Type Description
OperationCallSettings<UploadAssetRequest,UploadAssetResponse,UploadAssetMetadata>

uploadAssetSettings()

public UnaryCallSettings<UploadAssetRequest,Operation> uploadAssetSettings()

Returns the object with the settings used for calls to uploadAsset.

Returns
Type Description
UnaryCallSettings<UploadAssetRequest,Operation>

viewCollectionItemsSettings()

public PagedCallSettings<ViewCollectionItemsRequest,ViewCollectionItemsResponse,WarehouseClient.ViewCollectionItemsPagedResponse> viewCollectionItemsSettings()

Returns the object with the settings used for calls to viewCollectionItems.

Returns
Type Description
PagedCallSettings<ViewCollectionItemsRequest,ViewCollectionItemsResponse,ViewCollectionItemsPagedResponse>

viewIndexedAssetsSettings()

public PagedCallSettings<ViewIndexedAssetsRequest,ViewIndexedAssetsResponse,WarehouseClient.ViewIndexedAssetsPagedResponse> viewIndexedAssetsSettings()

Returns the object with the settings used for calls to viewIndexedAssets.

Returns
Type Description
PagedCallSettings<ViewIndexedAssetsRequest,ViewIndexedAssetsResponse,ViewIndexedAssetsPagedResponse>