Class PolicyTagManagerStubSettings.Builder (1.9.3)

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

Builder for PolicyTagManagerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PolicyTagManagerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(PolicyTagManagerStubSettings settings)

protected Builder(PolicyTagManagerStubSettings settings)
Parameter
NameDescription
settingsPolicyTagManagerStubSettings

Methods

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

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

build()

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

createPolicyTagSettings()

public UnaryCallSettings.Builder<CreatePolicyTagRequest,PolicyTag> createPolicyTagSettings()

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

Returns
TypeDescription
Builder<CreatePolicyTagRequest,PolicyTag>

createTaxonomySettings()

public UnaryCallSettings.Builder<CreateTaxonomyRequest,Taxonomy> createTaxonomySettings()

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

Returns
TypeDescription
Builder<CreateTaxonomyRequest,Taxonomy>

deletePolicyTagSettings()

public UnaryCallSettings.Builder<DeletePolicyTagRequest,Empty> deletePolicyTagSettings()

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

Returns
TypeDescription
Builder<DeletePolicyTagRequest,Empty>

deleteTaxonomySettings()

public UnaryCallSettings.Builder<DeleteTaxonomyRequest,Empty> deleteTaxonomySettings()

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

Returns
TypeDescription
Builder<DeleteTaxonomyRequest,Empty>

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>

getPolicyTagSettings()

public UnaryCallSettings.Builder<GetPolicyTagRequest,PolicyTag> getPolicyTagSettings()

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

Returns
TypeDescription
Builder<GetPolicyTagRequest,PolicyTag>

getTaxonomySettings()

public UnaryCallSettings.Builder<GetTaxonomyRequest,Taxonomy> getTaxonomySettings()

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

Returns
TypeDescription
Builder<GetTaxonomyRequest,Taxonomy>

listPolicyTagsSettings()

public PagedCallSettings.Builder<ListPolicyTagsRequest,ListPolicyTagsResponse,PolicyTagManagerClient.ListPolicyTagsPagedResponse> listPolicyTagsSettings()

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

Returns
TypeDescription
Builder<ListPolicyTagsRequest,ListPolicyTagsResponse,ListPolicyTagsPagedResponse>

listTaxonomiesSettings()

public PagedCallSettings.Builder<ListTaxonomiesRequest,ListTaxonomiesResponse,PolicyTagManagerClient.ListTaxonomiesPagedResponse> listTaxonomiesSettings()

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

Returns
TypeDescription
Builder<ListTaxonomiesRequest,ListTaxonomiesResponse,ListTaxonomiesPagedResponse>

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<?,?>>

updatePolicyTagSettings()

public UnaryCallSettings.Builder<UpdatePolicyTagRequest,PolicyTag> updatePolicyTagSettings()

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

Returns
TypeDescription
Builder<UpdatePolicyTagRequest,PolicyTag>

updateTaxonomySettings()

public UnaryCallSettings.Builder<UpdateTaxonomyRequest,Taxonomy> updateTaxonomySettings()

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

Returns
TypeDescription
Builder<UpdateTaxonomyRequest,Taxonomy>