Package com.google.protos.google.cloud.binaryauthorization.v1.stub (1.4.0)

Classes

BinauthzManagementServiceV1Stub

Base stub class for the BinauthzManagementServiceV1 service API.

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

BinauthzManagementServiceV1StubSettings

Settings class to configure an instance of BinauthzManagementServiceV1Stub.

The default instance has everything set to sensible defaults:

  • The default service address (binaryauthorization.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 getPolicy 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
 BinauthzManagementServiceV1StubSettings.Builder binauthzManagementServiceV1SettingsBuilder =
     BinauthzManagementServiceV1StubSettings.newBuilder();
 binauthzManagementServiceV1SettingsBuilder
     .getPolicySettings()
     .setRetrySettings(
         binauthzManagementServiceV1SettingsBuilder
             .getPolicySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 BinauthzManagementServiceV1StubSettings binauthzManagementServiceV1Settings =
     binauthzManagementServiceV1SettingsBuilder.build();
 

BinauthzManagementServiceV1StubSettings.Builder

Builder for BinauthzManagementServiceV1StubSettings.

GrpcBinauthzManagementServiceV1CallableFactory

gRPC callable factory implementation for the BinauthzManagementServiceV1 service API.

This class is for advanced usage.

GrpcBinauthzManagementServiceV1Stub

gRPC stub implementation for the BinauthzManagementServiceV1 service API.

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

GrpcSystemPolicyV1CallableFactory

gRPC callable factory implementation for the SystemPolicyV1 service API.

This class is for advanced usage.

GrpcSystemPolicyV1Stub

gRPC stub implementation for the SystemPolicyV1 service API.

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

GrpcValidationHelperV1CallableFactory

gRPC callable factory implementation for the ValidationHelperV1 service API.

This class is for advanced usage.

GrpcValidationHelperV1Stub

gRPC stub implementation for the ValidationHelperV1 service API.

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

HttpJsonBinauthzManagementServiceV1CallableFactory

REST callable factory implementation for the BinauthzManagementServiceV1 service API.

This class is for advanced usage.

HttpJsonBinauthzManagementServiceV1Stub

REST stub implementation for the BinauthzManagementServiceV1 service API.

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

HttpJsonSystemPolicyV1CallableFactory

REST callable factory implementation for the SystemPolicyV1 service API.

This class is for advanced usage.

HttpJsonSystemPolicyV1Stub

REST stub implementation for the SystemPolicyV1 service API.

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

HttpJsonValidationHelperV1CallableFactory

REST callable factory implementation for the ValidationHelperV1 service API.

This class is for advanced usage.

HttpJsonValidationHelperV1Stub

REST stub implementation for the ValidationHelperV1 service API.

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

SystemPolicyV1Stub

Base stub class for the SystemPolicyV1 service API.

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

SystemPolicyV1StubSettings

Settings class to configure an instance of SystemPolicyV1Stub.

The default instance has everything set to sensible defaults:

  • The default service address (binaryauthorization.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 getSystemPolicy 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
 SystemPolicyV1StubSettings.Builder systemPolicyV1SettingsBuilder =
     SystemPolicyV1StubSettings.newBuilder();
 systemPolicyV1SettingsBuilder
     .getSystemPolicySettings()
     .setRetrySettings(
         systemPolicyV1SettingsBuilder.getSystemPolicySettings().getRetrySettings().toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SystemPolicyV1StubSettings systemPolicyV1Settings = systemPolicyV1SettingsBuilder.build();
 

SystemPolicyV1StubSettings.Builder

Builder for SystemPolicyV1StubSettings.

ValidationHelperV1Stub

Base stub class for the ValidationHelperV1 service API.

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

ValidationHelperV1StubSettings

Settings class to configure an instance of ValidationHelperV1Stub.

The default instance has everything set to sensible defaults:

  • The default service address (binaryauthorization.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 validateAttestationOccurrence 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
 ValidationHelperV1StubSettings.Builder validationHelperV1SettingsBuilder =
     ValidationHelperV1StubSettings.newBuilder();
 validationHelperV1SettingsBuilder
     .validateAttestationOccurrenceSettings()
     .setRetrySettings(
         validationHelperV1SettingsBuilder
             .validateAttestationOccurrenceSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ValidationHelperV1StubSettings validationHelperV1Settings =
     validationHelperV1SettingsBuilder.build();
 

ValidationHelperV1StubSettings.Builder

Builder for ValidationHelperV1StubSettings.