Class DomainsStubSettings
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings<DomainsStubSettings>
-
- com.google.cloud.domains.v1alpha2.stub.DomainsStubSettings
-
@BetaApi @Generated("by gapic-generator-java") public class DomainsStubSettings extends com.google.api.gax.rpc.StubSettings<DomainsStubSettings>
Settings class to configure an instance ofDomainsStub
.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 DomainsStubSettings.Builder domainsSettingsBuilder = DomainsStubSettings.newBuilder(); domainsSettingsBuilder .searchDomainsSettings() .setRetrySettings( domainsSettingsBuilder .searchDomainsSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); DomainsStubSettings domainsSettings = domainsSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainsStubSettings.Builder
Builder for DomainsStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DomainsStubSettings(DomainsStubSettings.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.DomainsStub
createStub()
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.rpc.ApiClientHeaderProvider.Builder
defaultGrpcApiClientHeaderProviderBuilder()
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.rpc.ApiClientHeaderProvider.Builder
defaultHttpJsonApiClientHeaderProviderBuilder()
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 String
getDefaultMtlsEndpoint()
Returns the default mTLS 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 DomainsStubSettings.Builder
newBuilder()
Returns a new gRPC builder for this class.static DomainsStubSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.static DomainsStubSettings.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.DomainsStubSettings.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.StubSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
DomainsStubSettings
protected DomainsStubSettings(DomainsStubSettings.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.
-
createStub
public DomainsStub createStub() 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.
-
getDefaultMtlsEndpoint
public static String getDefaultMtlsEndpoint()
Returns the default mTLS 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()
-
defaultGrpcApiClientHeaderProviderBuilder
@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 defaultGrpcApiClientHeaderProviderBuilder()
-
defaultHttpJsonApiClientHeaderProviderBuilder
@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 defaultHttpJsonApiClientHeaderProviderBuilder()
-
defaultApiClientHeaderProviderBuilder
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static DomainsStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
public static DomainsStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static DomainsStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public DomainsStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.StubSettings<DomainsStubSettings>
-
-