Class EntityTypesStubSettings.Builder (0.52.0)

public static class EntityTypesStubSettings.Builder extends StubSettings.Builder<EntityTypesStubSettings,EntityTypesStubSettings.Builder>

Builder for EntityTypesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EntityTypesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EntityTypesStubSettings settings)

protected Builder(EntityTypesStubSettings settings)
Parameter
NameDescription
settingsEntityTypesStubSettings

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

build()

public EntityTypesStubSettings build()
Returns
TypeDescription
EntityTypesStubSettings
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>

exportEntityTypesOperationSettings()

public OperationCallSettings.Builder<ExportEntityTypesRequest,ExportEntityTypesResponse,ExportEntityTypesMetadata> exportEntityTypesOperationSettings()

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

Returns
TypeDescription
Builder<ExportEntityTypesRequest,ExportEntityTypesResponse,ExportEntityTypesMetadata>

exportEntityTypesSettings()

public UnaryCallSettings.Builder<ExportEntityTypesRequest,Operation> exportEntityTypesSettings()

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

Returns
TypeDescription
Builder<ExportEntityTypesRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getEntityTypeSettings()

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

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

Returns
TypeDescription
Builder<GetEntityTypeRequest,EntityType>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

importEntityTypesOperationSettings()

public OperationCallSettings.Builder<ImportEntityTypesRequest,ImportEntityTypesResponse,ImportEntityTypesMetadata> importEntityTypesOperationSettings()

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

Returns
TypeDescription
Builder<ImportEntityTypesRequest,ImportEntityTypesResponse,ImportEntityTypesMetadata>

importEntityTypesSettings()

public UnaryCallSettings.Builder<ImportEntityTypesRequest,Operation> importEntityTypesSettings()

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

Returns
TypeDescription
Builder<ImportEntityTypesRequest,Operation>

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>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,EntityTypesClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateEntityTypeRequest,EntityType>