Class TagKeysSettings.Builder (1.53.0)

public static class TagKeysSettings.Builder extends ClientSettings.Builder<TagKeysSettings,TagKeysSettings.Builder>

Builder for TagKeysSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TagKeysSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TagKeysSettings settings)

protected Builder(TagKeysSettings settings)
Parameter
Name Description
settings TagKeysSettings

Builder(TagKeysStubSettings.Builder stubSettings)

protected Builder(TagKeysStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TagKeysStubSettings.Builder

Methods

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

public TagKeysSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
TagKeysSettings.Builder

build()

public TagKeysSettings build()
Returns
Type Description
TagKeysSettings
Overrides
Exceptions
Type Description
IOException

createTagKeyOperationSettings()

public OperationCallSettings.Builder<CreateTagKeyRequest,TagKey,CreateTagKeyMetadata> createTagKeyOperationSettings()

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

Returns
Type Description
Builder<CreateTagKeyRequest,TagKey,CreateTagKeyMetadata>

createTagKeySettings()

public UnaryCallSettings.Builder<CreateTagKeyRequest,Operation> createTagKeySettings()

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

Returns
Type Description
Builder<CreateTagKeyRequest,Operation>

deleteTagKeyOperationSettings()

public OperationCallSettings.Builder<DeleteTagKeyRequest,TagKey,DeleteTagKeyMetadata> deleteTagKeyOperationSettings()

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

Returns
Type Description
Builder<DeleteTagKeyRequest,TagKey,DeleteTagKeyMetadata>

deleteTagKeySettings()

public UnaryCallSettings.Builder<DeleteTagKeyRequest,Operation> deleteTagKeySettings()

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

Returns
Type Description
Builder<DeleteTagKeyRequest,Operation>

getIamPolicySettings()

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

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

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

getNamespacedTagKeySettings()

public UnaryCallSettings.Builder<GetNamespacedTagKeyRequest,TagKey> getNamespacedTagKeySettings()

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

Returns
Type Description
Builder<GetNamespacedTagKeyRequest,TagKey>

getStubSettingsBuilder()

public TagKeysStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
TagKeysStubSettings.Builder

getTagKeySettings()

public UnaryCallSettings.Builder<GetTagKeyRequest,TagKey> getTagKeySettings()

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

Returns
Type Description
Builder<GetTagKeyRequest,TagKey>

listTagKeysSettings()

public PagedCallSettings.Builder<ListTagKeysRequest,ListTagKeysResponse,TagKeysClient.ListTagKeysPagedResponse> listTagKeysSettings()

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

Returns
Type Description
Builder<ListTagKeysRequest,ListTagKeysResponse,ListTagKeysPagedResponse>

setIamPolicySettings()

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

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

Returns
Type Description
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
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateTagKeyOperationSettings()

public OperationCallSettings.Builder<UpdateTagKeyRequest,TagKey,UpdateTagKeyMetadata> updateTagKeyOperationSettings()

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

Returns
Type Description
Builder<UpdateTagKeyRequest,TagKey,UpdateTagKeyMetadata>

updateTagKeySettings()

public UnaryCallSettings.Builder<UpdateTagKeyRequest,Operation> updateTagKeySettings()

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

Returns
Type Description
Builder<UpdateTagKeyRequest,Operation>