Package com.google.cloud.contentwarehouse.v1.stub (0.13.0)

Classes

DocumentLinkServiceStub

Base stub class for the DocumentLinkService service API.

This class is for advanced usage and reflects the underlying API directly.

DocumentLinkServiceStubSettings

Settings class to configure an instance of DocumentLinkServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (contentwarehouse.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 listLinkedTargets 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
 DocumentLinkServiceStubSettings.Builder documentLinkServiceSettingsBuilder =
     DocumentLinkServiceStubSettings.newBuilder();
 documentLinkServiceSettingsBuilder
     .listLinkedTargetsSettings()
     .setRetrySettings(
         documentLinkServiceSettingsBuilder
             .listLinkedTargetsSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 DocumentLinkServiceStubSettings documentLinkServiceSettings =
     documentLinkServiceSettingsBuilder.build();
 

DocumentLinkServiceStubSettings.Builder

Builder for DocumentLinkServiceStubSettings.

DocumentSchemaServiceStub

Base stub class for the DocumentSchemaService service API.

This class is for advanced usage and reflects the underlying API directly.

DocumentSchemaServiceStubSettings

Settings class to configure an instance of DocumentSchemaServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (contentwarehouse.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 createDocumentSchema 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
 DocumentSchemaServiceStubSettings.Builder documentSchemaServiceSettingsBuilder =
     DocumentSchemaServiceStubSettings.newBuilder();
 documentSchemaServiceSettingsBuilder
     .createDocumentSchemaSettings()
     .setRetrySettings(
         documentSchemaServiceSettingsBuilder
             .createDocumentSchemaSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 DocumentSchemaServiceStubSettings documentSchemaServiceSettings =
     documentSchemaServiceSettingsBuilder.build();
 

DocumentSchemaServiceStubSettings.Builder

Builder for DocumentSchemaServiceStubSettings.

DocumentServiceStub

Base stub class for the DocumentService service API.

This class is for advanced usage and reflects the underlying API directly.

DocumentServiceStubSettings

Settings class to configure an instance of DocumentServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (contentwarehouse.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 createDocument 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
 DocumentServiceStubSettings.Builder documentServiceSettingsBuilder =
     DocumentServiceStubSettings.newBuilder();
 documentServiceSettingsBuilder
     .createDocumentSettings()
     .setRetrySettings(
         documentServiceSettingsBuilder
             .createDocumentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 DocumentServiceStubSettings documentServiceSettings = documentServiceSettingsBuilder.build();
 

DocumentServiceStubSettings.Builder

Builder for DocumentServiceStubSettings.

GrpcDocumentLinkServiceCallableFactory

gRPC callable factory implementation for the DocumentLinkService service API.

This class is for advanced usage.

GrpcDocumentLinkServiceStub

gRPC stub implementation for the DocumentLinkService service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcDocumentSchemaServiceCallableFactory

gRPC callable factory implementation for the DocumentSchemaService service API.

This class is for advanced usage.

GrpcDocumentSchemaServiceStub

gRPC stub implementation for the DocumentSchemaService service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcDocumentServiceCallableFactory

gRPC callable factory implementation for the DocumentService service API.

This class is for advanced usage.

GrpcDocumentServiceStub

gRPC stub implementation for the DocumentService service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcRuleSetServiceCallableFactory

gRPC callable factory implementation for the RuleSetService service API.

This class is for advanced usage.

GrpcRuleSetServiceStub

gRPC stub implementation for the RuleSetService service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcSynonymSetServiceCallableFactory

gRPC callable factory implementation for the SynonymSetService service API.

This class is for advanced usage.

GrpcSynonymSetServiceStub

gRPC stub implementation for the SynonymSetService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonDocumentLinkServiceCallableFactory

REST callable factory implementation for the DocumentLinkService service API.

This class is for advanced usage.

HttpJsonDocumentLinkServiceStub

REST stub implementation for the DocumentLinkService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonDocumentSchemaServiceCallableFactory

REST callable factory implementation for the DocumentSchemaService service API.

This class is for advanced usage.

HttpJsonDocumentSchemaServiceStub

REST stub implementation for the DocumentSchemaService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonDocumentServiceCallableFactory

REST callable factory implementation for the DocumentService service API.

This class is for advanced usage.

HttpJsonDocumentServiceStub

REST stub implementation for the DocumentService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonRuleSetServiceCallableFactory

REST callable factory implementation for the RuleSetService service API.

This class is for advanced usage.

HttpJsonRuleSetServiceStub

REST stub implementation for the RuleSetService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonSynonymSetServiceCallableFactory

REST callable factory implementation for the SynonymSetService service API.

This class is for advanced usage.

HttpJsonSynonymSetServiceStub

REST stub implementation for the SynonymSetService service API.

This class is for advanced usage and reflects the underlying API directly.

RuleSetServiceStub

Base stub class for the RuleSetService service API.

This class is for advanced usage and reflects the underlying API directly.

RuleSetServiceStubSettings

Settings class to configure an instance of RuleSetServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (contentwarehouse.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 createRuleSet 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
 RuleSetServiceStubSettings.Builder ruleSetServiceSettingsBuilder =
     RuleSetServiceStubSettings.newBuilder();
 ruleSetServiceSettingsBuilder
     .createRuleSetSettings()
     .setRetrySettings(
         ruleSetServiceSettingsBuilder
             .createRuleSetSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RuleSetServiceStubSettings ruleSetServiceSettings = ruleSetServiceSettingsBuilder.build();
 

RuleSetServiceStubSettings.Builder

Builder for RuleSetServiceStubSettings.

SynonymSetServiceStub

Base stub class for the SynonymSetService service API.

This class is for advanced usage and reflects the underlying API directly.

SynonymSetServiceStubSettings

Settings class to configure an instance of SynonymSetServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (contentwarehouse.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 createSynonymSet 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
 SynonymSetServiceStubSettings.Builder synonymSetServiceSettingsBuilder =
     SynonymSetServiceStubSettings.newBuilder();
 synonymSetServiceSettingsBuilder
     .createSynonymSetSettings()
     .setRetrySettings(
         synonymSetServiceSettingsBuilder
             .createSynonymSetSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SynonymSetServiceStubSettings synonymSetServiceSettings =
     synonymSetServiceSettingsBuilder.build();
 

SynonymSetServiceStubSettings.Builder

Builder for SynonymSetServiceStubSettings.