Class FeatureRegistryServiceStubSettings.Builder (3.36.0)

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

Builder for FeatureRegistryServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FeatureRegistryServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FeatureRegistryServiceStubSettings settings)

protected Builder(FeatureRegistryServiceStubSettings settings)
Parameter
NameDescription
settingsFeatureRegistryServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public FeatureRegistryServiceStubSettings.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
FeatureRegistryServiceStubSettings.Builder

build()

public FeatureRegistryServiceStubSettings build()
Returns
TypeDescription
FeatureRegistryServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

createFeatureGroupOperationSettings()

public OperationCallSettings.Builder<CreateFeatureGroupRequest,FeatureGroup,CreateFeatureGroupOperationMetadata> createFeatureGroupOperationSettings()

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

Returns
TypeDescription
Builder<CreateFeatureGroupRequest,FeatureGroup,CreateFeatureGroupOperationMetadata>

createFeatureGroupSettings()

public UnaryCallSettings.Builder<CreateFeatureGroupRequest,Operation> createFeatureGroupSettings()

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

Returns
TypeDescription
Builder<CreateFeatureGroupRequest,Operation>

createFeatureOperationSettings()

public OperationCallSettings.Builder<CreateFeatureRequest,Feature,CreateFeatureOperationMetadata> createFeatureOperationSettings()

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

Returns
TypeDescription
Builder<CreateFeatureRequest,Feature,CreateFeatureOperationMetadata>

createFeatureSettings()

public UnaryCallSettings.Builder<CreateFeatureRequest,Operation> createFeatureSettings()

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

Returns
TypeDescription
Builder<CreateFeatureRequest,Operation>

deleteFeatureGroupOperationSettings()

public OperationCallSettings.Builder<DeleteFeatureGroupRequest,Empty,DeleteOperationMetadata> deleteFeatureGroupOperationSettings()

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

Returns
TypeDescription
Builder<DeleteFeatureGroupRequest,Empty,DeleteOperationMetadata>

deleteFeatureGroupSettings()

public UnaryCallSettings.Builder<DeleteFeatureGroupRequest,Operation> deleteFeatureGroupSettings()

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

Returns
TypeDescription
Builder<DeleteFeatureGroupRequest,Operation>

deleteFeatureOperationSettings()

public OperationCallSettings.Builder<DeleteFeatureRequest,Empty,DeleteOperationMetadata> deleteFeatureOperationSettings()

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

Returns
TypeDescription
Builder<DeleteFeatureRequest,Empty,DeleteOperationMetadata>

deleteFeatureSettings()

public UnaryCallSettings.Builder<DeleteFeatureRequest,Operation> deleteFeatureSettings()

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

Returns
TypeDescription
Builder<DeleteFeatureRequest,Operation>

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

getFeatureGroupSettings()

public UnaryCallSettings.Builder<GetFeatureGroupRequest,FeatureGroup> getFeatureGroupSettings()

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

Returns
TypeDescription
Builder<GetFeatureGroupRequest,FeatureGroup>

getFeatureSettings()

public UnaryCallSettings.Builder<GetFeatureRequest,Feature> getFeatureSettings()

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

Returns
TypeDescription
Builder<GetFeatureRequest,Feature>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

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>

listFeatureGroupsSettings()

public PagedCallSettings.Builder<ListFeatureGroupsRequest,ListFeatureGroupsResponse,FeatureRegistryServiceClient.ListFeatureGroupsPagedResponse> listFeatureGroupsSettings()

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

Returns
TypeDescription
Builder<ListFeatureGroupsRequest,ListFeatureGroupsResponse,ListFeatureGroupsPagedResponse>

listFeaturesSettings()

public PagedCallSettings.Builder<ListFeaturesRequest,ListFeaturesResponse,FeatureRegistryServiceClient.ListFeaturesPagedResponse> listFeaturesSettings()

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

Returns
TypeDescription
Builder<ListFeaturesRequest,ListFeaturesResponse,ListFeaturesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,FeatureRegistryServiceClient.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>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateFeatureGroupOperationSettings()

public OperationCallSettings.Builder<UpdateFeatureGroupRequest,FeatureGroup,UpdateFeatureGroupOperationMetadata> updateFeatureGroupOperationSettings()

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

Returns
TypeDescription
Builder<UpdateFeatureGroupRequest,FeatureGroup,UpdateFeatureGroupOperationMetadata>

updateFeatureGroupSettings()

public UnaryCallSettings.Builder<UpdateFeatureGroupRequest,Operation> updateFeatureGroupSettings()

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

Returns
TypeDescription
Builder<UpdateFeatureGroupRequest,Operation>

updateFeatureOperationSettings()

public OperationCallSettings.Builder<UpdateFeatureRequest,Feature,UpdateFeatureOperationMetadata> updateFeatureOperationSettings()

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

Returns
TypeDescription
Builder<UpdateFeatureRequest,Feature,UpdateFeatureOperationMetadata>

updateFeatureSettings()

public UnaryCallSettings.Builder<UpdateFeatureRequest,Operation> updateFeatureSettings()

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

Returns
TypeDescription
Builder<UpdateFeatureRequest,Operation>