public static class EntityTypesStubSettings.Builder extends StubSettings.Builder<EntityTypesStubSettings,EntityTypesStubSettings.Builder>
Builder for EntityTypesStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(EntityTypesStubSettings settings)
protected Builder(EntityTypesStubSettings settings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public EntityTypesStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
Parameter
Returns
batchCreateEntitiesOperationSettings()
public OperationCallSettings.Builder<BatchCreateEntitiesRequest,Empty,Struct> batchCreateEntitiesOperationSettings()
Returns the builder for the settings used for calls to batchCreateEntities.
Returns
batchCreateEntitiesSettings()
public UnaryCallSettings.Builder<BatchCreateEntitiesRequest,Operation> batchCreateEntitiesSettings()
Returns the builder for the settings used for calls to batchCreateEntities.
Returns
batchDeleteEntitiesOperationSettings()
public OperationCallSettings.Builder<BatchDeleteEntitiesRequest,Empty,Struct> batchDeleteEntitiesOperationSettings()
Returns the builder for the settings used for calls to batchDeleteEntities.
Returns
batchDeleteEntitiesSettings()
public UnaryCallSettings.Builder<BatchDeleteEntitiesRequest,Operation> batchDeleteEntitiesSettings()
Returns the builder for the settings used for calls to batchDeleteEntities.
Returns
batchDeleteEntityTypesOperationSettings()
public OperationCallSettings.Builder<BatchDeleteEntityTypesRequest,Empty,Struct> batchDeleteEntityTypesOperationSettings()
Returns the builder for the settings used for calls to batchDeleteEntityTypes.
Returns
batchDeleteEntityTypesSettings()
public UnaryCallSettings.Builder<BatchDeleteEntityTypesRequest,Operation> batchDeleteEntityTypesSettings()
Returns the builder for the settings used for calls to batchDeleteEntityTypes.
Returns
batchUpdateEntitiesOperationSettings()
public OperationCallSettings.Builder<BatchUpdateEntitiesRequest,Empty,Struct> batchUpdateEntitiesOperationSettings()
Returns the builder for the settings used for calls to batchUpdateEntities.
Returns
batchUpdateEntitiesSettings()
public UnaryCallSettings.Builder<BatchUpdateEntitiesRequest,Operation> batchUpdateEntitiesSettings()
Returns the builder for the settings used for calls to batchUpdateEntities.
Returns
batchUpdateEntityTypesOperationSettings()
public OperationCallSettings.Builder<BatchUpdateEntityTypesRequest,BatchUpdateEntityTypesResponse,Struct> batchUpdateEntityTypesOperationSettings()
Returns the builder for the settings used for calls to batchUpdateEntityTypes.
Returns
batchUpdateEntityTypesSettings()
public UnaryCallSettings.Builder<BatchUpdateEntityTypesRequest,Operation> batchUpdateEntityTypesSettings()
Returns the builder for the settings used for calls to batchUpdateEntityTypes.
Returns
build()
public EntityTypesStubSettings build()
Returns
Overrides
Exceptions
createEntityTypeSettings()
public UnaryCallSettings.Builder<CreateEntityTypeRequest,EntityType> createEntityTypeSettings()
Returns the builder for the settings used for calls to createEntityType.
Returns
deleteEntityTypeSettings()
public UnaryCallSettings.Builder<DeleteEntityTypeRequest,Empty> deleteEntityTypeSettings()
Returns the builder for the settings used for calls to deleteEntityType.
Returns
getEntityTypeSettings()
public UnaryCallSettings.Builder<GetEntityTypeRequest,EntityType> getEntityTypeSettings()
Returns the builder for the settings used for calls to getEntityType.
Returns
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
listEntityTypesSettings()
public PagedCallSettings.Builder<ListEntityTypesRequest,ListEntityTypesResponse,EntityTypesClient.ListEntityTypesPagedResponse> listEntityTypesSettings()
Returns the builder for the settings used for calls to listEntityTypes.
Returns
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,EntityTypesClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateEntityTypeSettings()
public UnaryCallSettings.Builder<UpdateEntityTypeRequest,EntityType> updateEntityTypeSettings()
Returns the builder for the settings used for calls to updateEntityType.
Returns