Package com.google.cloud.dataplex.v1
Class MetadataServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<MetadataServiceSettings,MetadataServiceSettings.Builder>
-
- com.google.cloud.dataplex.v1.MetadataServiceSettings.Builder
-
- Enclosing class:
- MetadataServiceSettings
public static class MetadataServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<MetadataServiceSettings,MetadataServiceSettings.Builder>
Builder for MetadataServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(MetadataServiceSettings settings)
protected
Builder(MetadataServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.MetadataServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEntityRequest,Entity>
createEntitySettings()
Returns the builder for the settings used for calls to createEntity.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePartitionRequest,Partition>
createPartitionSettings()
Returns the builder for the settings used for calls to createPartition.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEntityRequest,com.google.protobuf.Empty>
deleteEntitySettings()
Returns the builder for the settings used for calls to deleteEntity.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePartitionRequest,com.google.protobuf.Empty>
deletePartitionSettings()
Returns the builder for the settings used for calls to deletePartition.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEntityRequest,Entity>
getEntitySettings()
Returns the builder for the settings used for calls to getEntity.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPartitionRequest,Partition>
getPartitionSettings()
Returns the builder for the settings used for calls to getPartition.MetadataServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListEntitiesRequest,ListEntitiesResponse,MetadataServiceClient.ListEntitiesPagedResponse>
listEntitiesSettings()
Returns the builder for the settings used for calls to listEntities.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,MetadataServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPartitionsRequest,ListPartitionsResponse,MetadataServiceClient.ListPartitionsPagedResponse>
listPartitionsSettings()
Returns the builder for the settings used for calls to listPartitions.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEntityRequest,Entity>
updateEntitySettings()
Returns the builder for the settings used for calls to updateEntity.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(MetadataServiceSettings settings)
-
Builder
protected Builder(MetadataServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public MetadataServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public MetadataServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
createEntitySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEntityRequest,Entity> createEntitySettings()
Returns the builder for the settings used for calls to createEntity.
-
updateEntitySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEntityRequest,Entity> updateEntitySettings()
Returns the builder for the settings used for calls to updateEntity.
-
deleteEntitySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEntityRequest,com.google.protobuf.Empty> deleteEntitySettings()
Returns the builder for the settings used for calls to deleteEntity.
-
getEntitySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEntityRequest,Entity> getEntitySettings()
Returns the builder for the settings used for calls to getEntity.
-
listEntitiesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEntitiesRequest,ListEntitiesResponse,MetadataServiceClient.ListEntitiesPagedResponse> listEntitiesSettings()
Returns the builder for the settings used for calls to listEntities.
-
createPartitionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePartitionRequest,Partition> createPartitionSettings()
Returns the builder for the settings used for calls to createPartition.
-
deletePartitionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePartitionRequest,com.google.protobuf.Empty> deletePartitionSettings()
Returns the builder for the settings used for calls to deletePartition.
-
getPartitionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPartitionRequest,Partition> getPartitionSettings()
Returns the builder for the settings used for calls to getPartition.
-
listPartitionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPartitionsRequest,ListPartitionsResponse,MetadataServiceClient.ListPartitionsPagedResponse> listPartitionsSettings()
Returns the builder for the settings used for calls to listPartitions.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,MetadataServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public MetadataServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<MetadataServiceSettings,MetadataServiceSettings.Builder>
- Throws:
IOException
-
-