@BetaApi @Generated(value="by gapic-generator-java") public class EntityTypesStubSettings extends StubSettings<EntityTypesStubSettings>
EntityTypesStub
.
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:
EntityTypesStubSettings.Builder entityTypesSettingsBuilder =
EntityTypesStubSettings.newBuilder();
entityTypesSettingsBuilder
.getEntityTypeSettings()
.setRetrySettings(
entityTypesSettingsBuilder
.getEntityTypeSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
EntityTypesStubSettings entityTypesSettings = entityTypesSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
EntityTypesStubSettings.Builder
Builder for EntityTypesStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
EntityTypesStubSettings(EntityTypesStubSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected EntityTypesStubSettings(EntityTypesStubSettings.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()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public EntityTypesStub createStub() 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 EntityTypesStubSettings.Builder newBuilder()
public static EntityTypesStubSettings.Builder newBuilder(ClientContext clientContext)
public EntityTypesStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<EntityTypesStubSettings>
Copyright © 2021 Google LLC. All rights reserved.