Package com.google.cloud.support.v2.stub (0.13.0)

Classes

CaseAttachmentServiceStub

Base stub class for the CaseAttachmentService service API.

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

CaseAttachmentServiceStubSettings

Settings class to configure an instance of CaseAttachmentServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (cloudsupport.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 listAttachments 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
 CaseAttachmentServiceStubSettings.Builder caseAttachmentServiceSettingsBuilder =
     CaseAttachmentServiceStubSettings.newBuilder();
 caseAttachmentServiceSettingsBuilder
     .listAttachmentsSettings()
     .setRetrySettings(
         caseAttachmentServiceSettingsBuilder
             .listAttachmentsSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 CaseAttachmentServiceStubSettings caseAttachmentServiceSettings =
     caseAttachmentServiceSettingsBuilder.build();
 

CaseAttachmentServiceStubSettings.Builder

Builder for CaseAttachmentServiceStubSettings.

CaseServiceStub

Base stub class for the CaseService service API.

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

CaseServiceStubSettings

Settings class to configure an instance of CaseServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (cloudsupport.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 getCase 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
 CaseServiceStubSettings.Builder caseServiceSettingsBuilder =
     CaseServiceStubSettings.newBuilder();
 caseServiceSettingsBuilder
     .getCaseSettings()
     .setRetrySettings(
         caseServiceSettingsBuilder
             .getCaseSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 CaseServiceStubSettings caseServiceSettings = caseServiceSettingsBuilder.build();
 

CaseServiceStubSettings.Builder

Builder for CaseServiceStubSettings.

CommentServiceStub

Base stub class for the CommentService service API.

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

CommentServiceStubSettings

Settings class to configure an instance of CommentServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (cloudsupport.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 createComment 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
 CommentServiceStubSettings.Builder commentServiceSettingsBuilder =
     CommentServiceStubSettings.newBuilder();
 commentServiceSettingsBuilder
     .createCommentSettings()
     .setRetrySettings(
         commentServiceSettingsBuilder
             .createCommentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 CommentServiceStubSettings commentServiceSettings = commentServiceSettingsBuilder.build();
 

CommentServiceStubSettings.Builder

Builder for CommentServiceStubSettings.

GrpcCaseAttachmentServiceCallableFactory

gRPC callable factory implementation for the CaseAttachmentService service API.

This class is for advanced usage.

GrpcCaseAttachmentServiceStub

gRPC stub implementation for the CaseAttachmentService service API.

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

GrpcCaseServiceCallableFactory

gRPC callable factory implementation for the CaseService service API.

This class is for advanced usage.

GrpcCaseServiceStub

gRPC stub implementation for the CaseService service API.

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

GrpcCommentServiceCallableFactory

gRPC callable factory implementation for the CommentService service API.

This class is for advanced usage.

GrpcCommentServiceStub

gRPC stub implementation for the CommentService service API.

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

HttpJsonCaseAttachmentServiceCallableFactory

REST callable factory implementation for the CaseAttachmentService service API.

This class is for advanced usage.

HttpJsonCaseAttachmentServiceStub

REST stub implementation for the CaseAttachmentService service API.

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

HttpJsonCaseServiceCallableFactory

REST callable factory implementation for the CaseService service API.

This class is for advanced usage.

HttpJsonCaseServiceStub

REST stub implementation for the CaseService service API.

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

HttpJsonCommentServiceCallableFactory

REST callable factory implementation for the CommentService service API.

This class is for advanced usage.

HttpJsonCommentServiceStub

REST stub implementation for the CommentService service API.

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