Package com.google.cloud.domains.v1
Class DomainsSettings
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings<DomainsSettings>
-
- com.google.cloud.domains.v1.DomainsSettings
-
@Generated("by gapic-generator-java") public class DomainsSettings extends com.google.api.gax.rpc.ClientSettings<DomainsSettings>
Settings class to configure an instance ofDomainsClient
.The default instance has everything set to sensible defaults:
- The default service address (domains.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 searchDomains 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 DomainsSettings.Builder domainsSettingsBuilder = DomainsSettings.newBuilder(); domainsSettingsBuilder .searchDomainsSettings() .setRetrySettings( domainsSettingsBuilder .searchDomainsSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); DomainsSettings domainsSettings = domainsSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainsSettings.Builder
Builder for DomainsSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DomainsSettings(DomainsSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings<ConfigureContactSettingsRequest,Registration,OperationMetadata>
configureContactSettingsOperationSettings()
Returns the object with the settings used for calls to configureContactSettings.com.google.api.gax.rpc.UnaryCallSettings<ConfigureContactSettingsRequest,com.google.longrunning.Operation>
configureContactSettingsSettings()
Returns the object with the settings used for calls to configureContactSettings.com.google.api.gax.rpc.OperationCallSettings<ConfigureDnsSettingsRequest,Registration,OperationMetadata>
configureDnsSettingsOperationSettings()
Returns the object with the settings used for calls to configureDnsSettings.com.google.api.gax.rpc.UnaryCallSettings<ConfigureDnsSettingsRequest,com.google.longrunning.Operation>
configureDnsSettingsSettings()
Returns the object with the settings used for calls to configureDnsSettings.com.google.api.gax.rpc.OperationCallSettings<ConfigureManagementSettingsRequest,Registration,OperationMetadata>
configureManagementSettingsOperationSettings()
Returns the object with the settings used for calls to configureManagementSettings.com.google.api.gax.rpc.UnaryCallSettings<ConfigureManagementSettingsRequest,com.google.longrunning.Operation>
configureManagementSettingsSettings()
Returns the object with the settings used for calls to configureManagementSettings.static DomainsSettings
create(DomainsStubSettings stub)
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultApiClientHeaderProviderBuilder()
static com.google.api.gax.core.GoogleCredentialsProvider.Builder
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.static com.google.api.gax.core.InstantiatingExecutorProvider.Builder
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.static com.google.api.gax.rpc.TransportChannelProvider
defaultTransportChannelProvider()
com.google.api.gax.rpc.OperationCallSettings<DeleteRegistrationRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRegistrationOperationSettings()
Returns the object with the settings used for calls to deleteRegistration.com.google.api.gax.rpc.UnaryCallSettings<DeleteRegistrationRequest,com.google.longrunning.Operation>
deleteRegistrationSettings()
Returns the object with the settings used for calls to deleteRegistration.com.google.api.gax.rpc.OperationCallSettings<ExportRegistrationRequest,Registration,OperationMetadata>
exportRegistrationOperationSettings()
Returns the object with the settings used for calls to exportRegistration.com.google.api.gax.rpc.UnaryCallSettings<ExportRegistrationRequest,com.google.longrunning.Operation>
exportRegistrationSettings()
Returns the object with the settings used for calls to exportRegistration.static String
getDefaultEndpoint()
Returns the default service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.UnaryCallSettings<GetRegistrationRequest,Registration>
getRegistrationSettings()
Returns the object with the settings used for calls to getRegistration.com.google.api.gax.rpc.PagedCallSettings<ListRegistrationsRequest,ListRegistrationsResponse,DomainsClient.ListRegistrationsPagedResponse>
listRegistrationsSettings()
Returns the object with the settings used for calls to listRegistrations.static DomainsSettings.Builder
newBuilder()
Returns a new gRPC builder for this class.static DomainsSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.static DomainsSettings.Builder
newHttpJsonBuilder()
Returns a new REST builder for this class.com.google.api.gax.rpc.OperationCallSettings<RegisterDomainRequest,Registration,OperationMetadata>
registerDomainOperationSettings()
Returns the object with the settings used for calls to registerDomain.com.google.api.gax.rpc.UnaryCallSettings<RegisterDomainRequest,com.google.longrunning.Operation>
registerDomainSettings()
Returns the object with the settings used for calls to registerDomain.com.google.api.gax.rpc.UnaryCallSettings<ResetAuthorizationCodeRequest,AuthorizationCode>
resetAuthorizationCodeSettings()
Returns the object with the settings used for calls to resetAuthorizationCode.com.google.api.gax.rpc.UnaryCallSettings<RetrieveAuthorizationCodeRequest,AuthorizationCode>
retrieveAuthorizationCodeSettings()
Returns the object with the settings used for calls to retrieveAuthorizationCode.com.google.api.gax.rpc.UnaryCallSettings<RetrieveRegisterParametersRequest,RetrieveRegisterParametersResponse>
retrieveRegisterParametersSettings()
Returns the object with the settings used for calls to retrieveRegisterParameters.com.google.api.gax.rpc.UnaryCallSettings<RetrieveTransferParametersRequest,RetrieveTransferParametersResponse>
retrieveTransferParametersSettings()
Returns the object with the settings used for calls to retrieveTransferParameters.com.google.api.gax.rpc.UnaryCallSettings<SearchDomainsRequest,SearchDomainsResponse>
searchDomainsSettings()
Returns the object with the settings used for calls to searchDomains.DomainsSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.OperationCallSettings<TransferDomainRequest,Registration,OperationMetadata>
transferDomainOperationSettings()
Returns the object with the settings used for calls to transferDomain.com.google.api.gax.rpc.UnaryCallSettings<TransferDomainRequest,com.google.longrunning.Operation>
transferDomainSettings()
Returns the object with the settings used for calls to transferDomain.com.google.api.gax.rpc.OperationCallSettings<UpdateRegistrationRequest,Registration,OperationMetadata>
updateRegistrationOperationSettings()
Returns the object with the settings used for calls to updateRegistration.com.google.api.gax.rpc.UnaryCallSettings<UpdateRegistrationRequest,com.google.longrunning.Operation>
updateRegistrationSettings()
Returns the object with the settings used for calls to updateRegistration.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
DomainsSettings
protected DomainsSettings(DomainsSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
searchDomainsSettings
public com.google.api.gax.rpc.UnaryCallSettings<SearchDomainsRequest,SearchDomainsResponse> searchDomainsSettings()
Returns the object with the settings used for calls to searchDomains.
-
retrieveRegisterParametersSettings
public com.google.api.gax.rpc.UnaryCallSettings<RetrieveRegisterParametersRequest,RetrieveRegisterParametersResponse> retrieveRegisterParametersSettings()
Returns the object with the settings used for calls to retrieveRegisterParameters.
-
registerDomainSettings
public com.google.api.gax.rpc.UnaryCallSettings<RegisterDomainRequest,com.google.longrunning.Operation> registerDomainSettings()
Returns the object with the settings used for calls to registerDomain.
-
registerDomainOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<RegisterDomainRequest,Registration,OperationMetadata> registerDomainOperationSettings()
Returns the object with the settings used for calls to registerDomain.
-
retrieveTransferParametersSettings
public com.google.api.gax.rpc.UnaryCallSettings<RetrieveTransferParametersRequest,RetrieveTransferParametersResponse> retrieveTransferParametersSettings()
Returns the object with the settings used for calls to retrieveTransferParameters.
-
transferDomainSettings
public com.google.api.gax.rpc.UnaryCallSettings<TransferDomainRequest,com.google.longrunning.Operation> transferDomainSettings()
Returns the object with the settings used for calls to transferDomain.
-
transferDomainOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<TransferDomainRequest,Registration,OperationMetadata> transferDomainOperationSettings()
Returns the object with the settings used for calls to transferDomain.
-
listRegistrationsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListRegistrationsRequest,ListRegistrationsResponse,DomainsClient.ListRegistrationsPagedResponse> listRegistrationsSettings()
Returns the object with the settings used for calls to listRegistrations.
-
getRegistrationSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetRegistrationRequest,Registration> getRegistrationSettings()
Returns the object with the settings used for calls to getRegistration.
-
updateRegistrationSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateRegistrationRequest,com.google.longrunning.Operation> updateRegistrationSettings()
Returns the object with the settings used for calls to updateRegistration.
-
updateRegistrationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateRegistrationRequest,Registration,OperationMetadata> updateRegistrationOperationSettings()
Returns the object with the settings used for calls to updateRegistration.
-
configureManagementSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings<ConfigureManagementSettingsRequest,com.google.longrunning.Operation> configureManagementSettingsSettings()
Returns the object with the settings used for calls to configureManagementSettings.
-
configureManagementSettingsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ConfigureManagementSettingsRequest,Registration,OperationMetadata> configureManagementSettingsOperationSettings()
Returns the object with the settings used for calls to configureManagementSettings.
-
configureDnsSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings<ConfigureDnsSettingsRequest,com.google.longrunning.Operation> configureDnsSettingsSettings()
Returns the object with the settings used for calls to configureDnsSettings.
-
configureDnsSettingsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ConfigureDnsSettingsRequest,Registration,OperationMetadata> configureDnsSettingsOperationSettings()
Returns the object with the settings used for calls to configureDnsSettings.
-
configureContactSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings<ConfigureContactSettingsRequest,com.google.longrunning.Operation> configureContactSettingsSettings()
Returns the object with the settings used for calls to configureContactSettings.
-
configureContactSettingsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ConfigureContactSettingsRequest,Registration,OperationMetadata> configureContactSettingsOperationSettings()
Returns the object with the settings used for calls to configureContactSettings.
-
exportRegistrationSettings
public com.google.api.gax.rpc.UnaryCallSettings<ExportRegistrationRequest,com.google.longrunning.Operation> exportRegistrationSettings()
Returns the object with the settings used for calls to exportRegistration.
-
exportRegistrationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ExportRegistrationRequest,Registration,OperationMetadata> exportRegistrationOperationSettings()
Returns the object with the settings used for calls to exportRegistration.
-
deleteRegistrationSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteRegistrationRequest,com.google.longrunning.Operation> deleteRegistrationSettings()
Returns the object with the settings used for calls to deleteRegistration.
-
deleteRegistrationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteRegistrationRequest,com.google.protobuf.Empty,OperationMetadata> deleteRegistrationOperationSettings()
Returns the object with the settings used for calls to deleteRegistration.
-
retrieveAuthorizationCodeSettings
public com.google.api.gax.rpc.UnaryCallSettings<RetrieveAuthorizationCodeRequest,AuthorizationCode> retrieveAuthorizationCodeSettings()
Returns the object with the settings used for calls to retrieveAuthorizationCode.
-
resetAuthorizationCodeSettings
public com.google.api.gax.rpc.UnaryCallSettings<ResetAuthorizationCodeRequest,AuthorizationCode> resetAuthorizationCodeSettings()
Returns the object with the settings used for calls to resetAuthorizationCode.
-
create
public static final DomainsSettings create(DomainsStubSettings stub) throws IOException
- Throws:
IOException
-
defaultExecutorProviderBuilder
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
getDefaultEndpoint
public static String getDefaultEndpoint()
Returns the default service endpoint.
-
getDefaultServiceScopes
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
-
defaultCredentialsProviderBuilder
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultGrpcTransportProviderBuilder
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
-
defaultHttpJsonTransportProviderBuilder
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
-
defaultTransportChannelProvider
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
-
defaultApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static DomainsSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
@BetaApi public static DomainsSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static DomainsSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public DomainsSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.ClientSettings<DomainsSettings>
-
-