@Generated(value="by gapic-generator-java") public class FoldersStubSettings extends StubSettings<FoldersStubSettings>
FoldersStub
.
The default instance has everything set to sensible defaults:
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 getFolder 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
FoldersStubSettings.Builder foldersSettingsBuilder = FoldersStubSettings.newBuilder();
foldersSettingsBuilder
.getFolderSettings()
.setRetrySettings(
foldersSettingsBuilder.getFolderSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
FoldersStubSettings foldersSettings = foldersSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
FoldersStubSettings.Builder
Builder for FoldersStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
FoldersStubSettings(FoldersStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
OperationCallSettings<CreateFolderRequest,Folder,CreateFolderMetadata> |
createFolderOperationSettings()
Returns the object with the settings used for calls to createFolder.
|
UnaryCallSettings<CreateFolderRequest,Operation> |
createFolderSettings()
Returns the object with the settings used for calls to createFolder.
|
FoldersStub |
createStub() |
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static ApiClientHeaderProvider.Builder |
defaultGrpcApiClientHeaderProviderBuilder() |
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static ApiClientHeaderProvider.Builder |
defaultHttpJsonApiClientHeaderProviderBuilder() |
static InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
OperationCallSettings<DeleteFolderRequest,Folder,DeleteFolderMetadata> |
deleteFolderOperationSettings()
Returns the object with the settings used for calls to deleteFolder.
|
UnaryCallSettings<DeleteFolderRequest,Operation> |
deleteFolderSettings()
Returns the object with the settings used for calls to deleteFolder.
|
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.
|
UnaryCallSettings<GetFolderRequest,Folder> |
getFolderSettings()
Returns the object with the settings used for calls to getFolder.
|
UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
PagedCallSettings<ListFoldersRequest,ListFoldersResponse,FoldersClient.ListFoldersPagedResponse> |
listFoldersSettings()
Returns the object with the settings used for calls to listFolders.
|
OperationCallSettings<MoveFolderRequest,Folder,MoveFolderMetadata> |
moveFolderOperationSettings()
Returns the object with the settings used for calls to moveFolder.
|
UnaryCallSettings<MoveFolderRequest,Operation> |
moveFolderSettings()
Returns the object with the settings used for calls to moveFolder.
|
static FoldersStubSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static FoldersStubSettings.Builder |
newBuilder(ClientContext clientContext)
Returns a new builder for this class.
|
static FoldersStubSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
PagedCallSettings<SearchFoldersRequest,SearchFoldersResponse,FoldersClient.SearchFoldersPagedResponse> |
searchFoldersSettings()
Returns the object with the settings used for calls to searchFolders.
|
UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
FoldersStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
OperationCallSettings<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> |
undeleteFolderOperationSettings()
Returns the object with the settings used for calls to undeleteFolder.
|
UnaryCallSettings<UndeleteFolderRequest,Operation> |
undeleteFolderSettings()
Returns the object with the settings used for calls to undeleteFolder.
|
OperationCallSettings<UpdateFolderRequest,Folder,UpdateFolderMetadata> |
updateFolderOperationSettings()
Returns the object with the settings used for calls to updateFolder.
|
UnaryCallSettings<UpdateFolderRequest,Operation> |
updateFolderSettings()
Returns the object with the settings used for calls to updateFolder.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected FoldersStubSettings(FoldersStubSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<GetFolderRequest,Folder> getFolderSettings()
public PagedCallSettings<ListFoldersRequest,ListFoldersResponse,FoldersClient.ListFoldersPagedResponse> listFoldersSettings()
public PagedCallSettings<SearchFoldersRequest,SearchFoldersResponse,FoldersClient.SearchFoldersPagedResponse> searchFoldersSettings()
public UnaryCallSettings<CreateFolderRequest,Operation> createFolderSettings()
public OperationCallSettings<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationSettings()
public UnaryCallSettings<UpdateFolderRequest,Operation> updateFolderSettings()
public OperationCallSettings<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationSettings()
public UnaryCallSettings<MoveFolderRequest,Operation> moveFolderSettings()
public OperationCallSettings<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationSettings()
public UnaryCallSettings<DeleteFolderRequest,Operation> deleteFolderSettings()
public OperationCallSettings<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationSettings()
public UnaryCallSettings<UndeleteFolderRequest,Operation> undeleteFolderSettings()
public OperationCallSettings<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationSettings()
public UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public FoldersStub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static String getDefaultMtlsEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static FoldersStubSettings.Builder newBuilder()
public static FoldersStubSettings.Builder newHttpJsonBuilder()
public static FoldersStubSettings.Builder newBuilder(ClientContext clientContext)
public FoldersStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<FoldersStubSettings>
Copyright © 2022 Google LLC. All rights reserved.