public static class MetadataServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<MetadataServiceSettings,MetadataServiceSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(MetadataServiceSettings settings) |
protected |
Builder(MetadataServiceStubSettings.Builder stubSettings) |
| Modifier and Type | Method and 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.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(MetadataServiceSettings settings)
protected Builder(MetadataServiceStubSettings.Builder stubSettings)
public MetadataServiceStubSettings.Builder getStubSettingsBuilder()
public MetadataServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEntityRequest,Entity> createEntitySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEntityRequest,Entity> updateEntitySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEntityRequest,com.google.protobuf.Empty> deleteEntitySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEntityRequest,Entity> getEntitySettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEntitiesRequest,ListEntitiesResponse,MetadataServiceClient.ListEntitiesPagedResponse> listEntitiesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePartitionRequest,Partition> createPartitionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePartitionRequest,com.google.protobuf.Empty> deletePartitionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPartitionRequest,Partition> getPartitionSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPartitionsRequest,ListPartitionsResponse,MetadataServiceClient.ListPartitionsPagedResponse> listPartitionsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,MetadataServiceClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public MetadataServiceSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<MetadataServiceSettings,MetadataServiceSettings.Builder>IOExceptionCopyright © 2022 Google LLC. All rights reserved.