@Generated(value="by gapic-generator") @BetaApi public class EntityTypesSettings extends com.google.api.gax.rpc.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().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
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) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.OperationCallSettings<BatchCreateEntitiesRequest,Empty,Struct> |
batchCreateEntitiesOperationSettings()
Returns the object with the settings used for calls to batchCreateEntities.
|
com.google.api.gax.rpc.UnaryCallSettings<BatchCreateEntitiesRequest,com.google.longrunning.Operation> |
batchCreateEntitiesSettings()
Returns the object with the settings used for calls to batchCreateEntities.
|
com.google.api.gax.rpc.OperationCallSettings<BatchDeleteEntitiesRequest,Empty,Struct> |
batchDeleteEntitiesOperationSettings()
Returns the object with the settings used for calls to batchDeleteEntities.
|
com.google.api.gax.rpc.UnaryCallSettings<BatchDeleteEntitiesRequest,com.google.longrunning.Operation> |
batchDeleteEntitiesSettings()
Returns the object with the settings used for calls to batchDeleteEntities.
|
com.google.api.gax.rpc.OperationCallSettings<BatchDeleteEntityTypesRequest,Empty,Struct> |
batchDeleteEntityTypesOperationSettings()
Returns the object with the settings used for calls to batchDeleteEntityTypes.
|
com.google.api.gax.rpc.UnaryCallSettings<BatchDeleteEntityTypesRequest,com.google.longrunning.Operation> |
batchDeleteEntityTypesSettings()
Returns the object with the settings used for calls to batchDeleteEntityTypes.
|
com.google.api.gax.rpc.OperationCallSettings<BatchUpdateEntitiesRequest,Empty,Struct> |
batchUpdateEntitiesOperationSettings()
Returns the object with the settings used for calls to batchUpdateEntities.
|
com.google.api.gax.rpc.UnaryCallSettings<BatchUpdateEntitiesRequest,com.google.longrunning.Operation> |
batchUpdateEntitiesSettings()
Returns the object with the settings used for calls to batchUpdateEntities.
|
com.google.api.gax.rpc.OperationCallSettings<BatchUpdateEntityTypesRequest,BatchUpdateEntityTypesResponse,Struct> |
batchUpdateEntityTypesOperationSettings()
Returns the object with the settings used for calls to batchUpdateEntityTypes.
|
com.google.api.gax.rpc.UnaryCallSettings<BatchUpdateEntityTypesRequest,com.google.longrunning.Operation> |
batchUpdateEntityTypesSettings()
Returns the object with the settings used for calls to batchUpdateEntityTypes.
|
static EntityTypesSettings |
create(EntityTypesStubSettings stub) |
com.google.api.gax.rpc.UnaryCallSettings<CreateEntityTypeRequest,EntityType> |
createEntityTypeSettings()
Returns the object with the settings used for calls to createEntityType.
|
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 ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteEntityTypeRequest,Empty> |
deleteEntityTypeSettings()
Returns the object with the settings used for calls to deleteEntityType.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetEntityTypeRequest,EntityType> |
getEntityTypeSettings()
Returns the object with the settings used for calls to getEntityType.
|
com.google.api.gax.rpc.PagedCallSettings<ListEntityTypesRequest,ListEntityTypesResponse,EntityTypesClient.ListEntityTypesPagedResponse> |
listEntityTypesSettings()
Returns the object with the settings used for calls to listEntityTypes.
|
static EntityTypesSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static EntityTypesSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
EntityTypesSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateEntityTypeRequest,EntityType> |
updateEntityTypeSettings()
Returns the object with the settings used for calls to updateEntityType.
|
protected EntityTypesSettings(EntityTypesSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.PagedCallSettings<ListEntityTypesRequest,ListEntityTypesResponse,EntityTypesClient.ListEntityTypesPagedResponse> listEntityTypesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetEntityTypeRequest,EntityType> getEntityTypeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateEntityTypeRequest,EntityType> createEntityTypeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateEntityTypeRequest,EntityType> updateEntityTypeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteEntityTypeRequest,Empty> deleteEntityTypeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BatchUpdateEntityTypesRequest,com.google.longrunning.Operation> batchUpdateEntityTypesSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<BatchUpdateEntityTypesRequest,BatchUpdateEntityTypesResponse,Struct> batchUpdateEntityTypesOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BatchDeleteEntityTypesRequest,com.google.longrunning.Operation> batchDeleteEntityTypesSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<BatchDeleteEntityTypesRequest,Empty,Struct> batchDeleteEntityTypesOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BatchCreateEntitiesRequest,com.google.longrunning.Operation> batchCreateEntitiesSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<BatchCreateEntitiesRequest,Empty,Struct> batchCreateEntitiesOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BatchUpdateEntitiesRequest,com.google.longrunning.Operation> batchUpdateEntitiesSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<BatchUpdateEntitiesRequest,Empty,Struct> batchUpdateEntitiesOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BatchDeleteEntitiesRequest,com.google.longrunning.Operation> batchDeleteEntitiesSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<BatchDeleteEntitiesRequest,Empty,Struct> batchDeleteEntitiesOperationSettings()
public static final EntityTypesSettings create(EntityTypesStubSettings stub) throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="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()
public static EntityTypesSettings.Builder newBuilder()
public static EntityTypesSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public EntityTypesSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.ClientSettings<EntityTypesSettings>
Copyright © 2019 Google LLC. All rights reserved.