public static class MetadataServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<MetadataServiceStubSettings,MetadataServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(MetadataServiceStubSettings settings) |
| Modifier and Type | Method and 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.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(MetadataServiceStubSettings settings)
public MetadataServiceStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 MetadataServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<MetadataServiceStubSettings,MetadataServiceStubSettings.Builder>IOExceptionCopyright © 2022 Google LLC. All rights reserved.