Class MetadataServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<MetadataServiceStubSettings,MetadataServiceStubSettings.Builder>
-
- com.google.cloud.dataplex.v1.stub.MetadataServiceStubSettings.Builder
-
- Enclosing class:
- MetadataServiceStubSettings
public static class MetadataServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<MetadataServiceStubSettings,MetadataServiceStubSettings.Builder>
Builder for MetadataServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(MetadataServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataServiceStubSettings.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.MetadataServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(MetadataServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public MetadataServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 MetadataServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<MetadataServiceStubSettings,MetadataServiceStubSettings.Builder>
- Throws:
IOException
-
-