Class EntityTypesSettings.Builder (4.6.0)

public static class EntityTypesSettings.Builder extends ClientSettings.Builder<EntityTypesSettings,EntityTypesSettings.Builder>

Builder for EntityTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EntityTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EntityTypesSettings settings)

protected Builder(EntityTypesSettings settings)
Parameter
NameDescription
settingsEntityTypesSettings

Builder(EntityTypesStubSettings.Builder stubSettings)

protected Builder(EntityTypesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEntityTypesStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public EntityTypesSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EntityTypesSettings.Builder

batchCreateEntitiesOperationSettings()

public OperationCallSettings.Builder<BatchCreateEntitiesRequest,Empty,Struct> batchCreateEntitiesOperationSettings()

Returns the builder for the settings used for calls to batchCreateEntities.

Returns
TypeDescription
Builder<BatchCreateEntitiesRequest,Empty,Struct>

batchCreateEntitiesSettings()

public UnaryCallSettings.Builder<BatchCreateEntitiesRequest,Operation> batchCreateEntitiesSettings()

Returns the builder for the settings used for calls to batchCreateEntities.

Returns
TypeDescription
Builder<BatchCreateEntitiesRequest,Operation>

batchDeleteEntitiesOperationSettings()

public OperationCallSettings.Builder<BatchDeleteEntitiesRequest,Empty,Struct> batchDeleteEntitiesOperationSettings()

Returns the builder for the settings used for calls to batchDeleteEntities.

Returns
TypeDescription
Builder<BatchDeleteEntitiesRequest,Empty,Struct>

batchDeleteEntitiesSettings()

public UnaryCallSettings.Builder<BatchDeleteEntitiesRequest,Operation> batchDeleteEntitiesSettings()

Returns the builder for the settings used for calls to batchDeleteEntities.

Returns
TypeDescription
Builder<BatchDeleteEntitiesRequest,Operation>

batchDeleteEntityTypesOperationSettings()

public OperationCallSettings.Builder<BatchDeleteEntityTypesRequest,Empty,Struct> batchDeleteEntityTypesOperationSettings()

Returns the builder for the settings used for calls to batchDeleteEntityTypes.

Returns
TypeDescription
Builder<BatchDeleteEntityTypesRequest,Empty,Struct>

batchDeleteEntityTypesSettings()

public UnaryCallSettings.Builder<BatchDeleteEntityTypesRequest,Operation> batchDeleteEntityTypesSettings()

Returns the builder for the settings used for calls to batchDeleteEntityTypes.

Returns
TypeDescription
Builder<BatchDeleteEntityTypesRequest,Operation>

batchUpdateEntitiesOperationSettings()

public OperationCallSettings.Builder<BatchUpdateEntitiesRequest,Empty,Struct> batchUpdateEntitiesOperationSettings()

Returns the builder for the settings used for calls to batchUpdateEntities.

Returns
TypeDescription
Builder<BatchUpdateEntitiesRequest,Empty,Struct>

batchUpdateEntitiesSettings()

public UnaryCallSettings.Builder<BatchUpdateEntitiesRequest,Operation> batchUpdateEntitiesSettings()

Returns the builder for the settings used for calls to batchUpdateEntities.

Returns
TypeDescription
Builder<BatchUpdateEntitiesRequest,Operation>

batchUpdateEntityTypesOperationSettings()

public OperationCallSettings.Builder<BatchUpdateEntityTypesRequest,BatchUpdateEntityTypesResponse,Struct> batchUpdateEntityTypesOperationSettings()

Returns the builder for the settings used for calls to batchUpdateEntityTypes.

Returns
TypeDescription
Builder<BatchUpdateEntityTypesRequest,BatchUpdateEntityTypesResponse,Struct>

batchUpdateEntityTypesSettings()

public UnaryCallSettings.Builder<BatchUpdateEntityTypesRequest,Operation> batchUpdateEntityTypesSettings()

Returns the builder for the settings used for calls to batchUpdateEntityTypes.

Returns
TypeDescription
Builder<BatchUpdateEntityTypesRequest,Operation>

build()

public EntityTypesSettings build()
Returns
TypeDescription
EntityTypesSettings
Overrides Exceptions
TypeDescription
IOException

createEntityTypeSettings()

public UnaryCallSettings.Builder<CreateEntityTypeRequest,EntityType> createEntityTypeSettings()

Returns the builder for the settings used for calls to createEntityType.

Returns
TypeDescription
Builder<CreateEntityTypeRequest,EntityType>

deleteEntityTypeSettings()

public UnaryCallSettings.Builder<DeleteEntityTypeRequest,Empty> deleteEntityTypeSettings()

Returns the builder for the settings used for calls to deleteEntityType.

Returns
TypeDescription
Builder<DeleteEntityTypeRequest,Empty>

getEntityTypeSettings()

public UnaryCallSettings.Builder<GetEntityTypeRequest,EntityType> getEntityTypeSettings()

Returns the builder for the settings used for calls to getEntityType.

Returns
TypeDescription
Builder<GetEntityTypeRequest,EntityType>

getStubSettingsBuilder()

public EntityTypesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EntityTypesStubSettings.Builder

listEntityTypesSettings()

public PagedCallSettings.Builder<ListEntityTypesRequest,ListEntityTypesResponse,EntityTypesClient.ListEntityTypesPagedResponse> listEntityTypesSettings()

Returns the builder for the settings used for calls to listEntityTypes.

Returns
TypeDescription
Builder<ListEntityTypesRequest,ListEntityTypesResponse,ListEntityTypesPagedResponse>

updateEntityTypeSettings()

public UnaryCallSettings.Builder<UpdateEntityTypeRequest,EntityType> updateEntityTypeSettings()

Returns the builder for the settings used for calls to updateEntityType.

Returns
TypeDescription
Builder<UpdateEntityTypeRequest,EntityType>