@BetaApi @Generated(value="by gapic-generator-java") public class EntityTypesSettings extends ClientSettings<EntityTypesSettings>
EntityTypesClient
.
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 getEntityType to 30 seconds:
EntityTypesSettings.Builder entityTypesSettingsBuilder = EntityTypesSettings.newBuilder();
entityTypesSettingsBuilder
.getEntityTypeSettings()
.setRetrySettings(
entityTypesSettingsBuilder
.getEntityTypeSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
EntityTypesSettings entityTypesSettings = entityTypesSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
EntityTypesSettings.Builder
Builder for EntityTypesSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
EntityTypesSettings(EntityTypesSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected EntityTypesSettings(EntityTypesSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<ListEntityTypesRequest,ListEntityTypesResponse,EntityTypesClient.ListEntityTypesPagedResponse> listEntityTypesSettings()
public UnaryCallSettings<GetEntityTypeRequest,EntityType> getEntityTypeSettings()
public UnaryCallSettings<CreateEntityTypeRequest,EntityType> createEntityTypeSettings()
public UnaryCallSettings<UpdateEntityTypeRequest,EntityType> updateEntityTypeSettings()
public UnaryCallSettings<DeleteEntityTypeRequest,Empty> deleteEntityTypeSettings()
public UnaryCallSettings<BatchUpdateEntityTypesRequest,Operation> batchUpdateEntityTypesSettings()
public OperationCallSettings<BatchUpdateEntityTypesRequest,BatchUpdateEntityTypesResponse,Struct> batchUpdateEntityTypesOperationSettings()
public UnaryCallSettings<BatchDeleteEntityTypesRequest,Operation> batchDeleteEntityTypesSettings()
public OperationCallSettings<BatchDeleteEntityTypesRequest,Empty,Struct> batchDeleteEntityTypesOperationSettings()
public UnaryCallSettings<BatchCreateEntitiesRequest,Operation> batchCreateEntitiesSettings()
public OperationCallSettings<BatchCreateEntitiesRequest,Empty,Struct> batchCreateEntitiesOperationSettings()
public UnaryCallSettings<BatchUpdateEntitiesRequest,Operation> batchUpdateEntitiesSettings()
public OperationCallSettings<BatchUpdateEntitiesRequest,Empty,Struct> batchUpdateEntitiesOperationSettings()
public UnaryCallSettings<BatchDeleteEntitiesRequest,Operation> batchDeleteEntitiesSettings()
public OperationCallSettings<BatchDeleteEntitiesRequest,Empty,Struct> batchDeleteEntitiesOperationSettings()
public static final EntityTypesSettings create(EntityTypesStubSettings stub) throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
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 defaultApiClientHeaderProviderBuilder()
public static EntityTypesSettings.Builder newBuilder()
public static EntityTypesSettings.Builder newBuilder(ClientContext clientContext)
public EntityTypesSettings.Builder toBuilder()
toBuilder
in class ClientSettings<EntityTypesSettings>
Copyright © 2021 Google LLC. All rights reserved.