public static class TagKeysStubSettings.Builder extends StubSettings.Builder<TagKeysStubSettings,TagKeysStubSettings.Builder>
Builder for TagKeysStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(TagKeysStubSettings settings)
protected Builder(TagKeysStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public TagKeysStubSettings.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.
build()
public TagKeysStubSettings build()
Overrides
createTagKeyOperationSettings()
public OperationCallSettings.Builder<CreateTagKeyRequest,TagKey,CreateTagKeyMetadata> createTagKeyOperationSettings()
Returns the builder for the settings used for calls to createTagKey.
createTagKeySettings()
public UnaryCallSettings.Builder<CreateTagKeyRequest,Operation> createTagKeySettings()
Returns the builder for the settings used for calls to createTagKey.
deleteTagKeyOperationSettings()
public OperationCallSettings.Builder<DeleteTagKeyRequest,TagKey,DeleteTagKeyMetadata> deleteTagKeyOperationSettings()
Returns the builder for the settings used for calls to deleteTagKey.
deleteTagKeySettings()
public UnaryCallSettings.Builder<DeleteTagKeyRequest,Operation> deleteTagKeySettings()
Returns the builder for the settings used for calls to deleteTagKey.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
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.
getTagKeySettings()
public UnaryCallSettings.Builder<GetTagKeyRequest,TagKey> getTagKeySettings()
Returns the builder for the settings used for calls to getTagKey.
listTagKeysSettings()
public PagedCallSettings.Builder<ListTagKeysRequest,ListTagKeysResponse,TagKeysClient.ListTagKeysPagedResponse> listTagKeysSettings()
Returns the builder for the settings used for calls to listTagKeys.
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> | |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updateTagKeyOperationSettings()
public OperationCallSettings.Builder<UpdateTagKeyRequest,TagKey,UpdateTagKeyMetadata> updateTagKeyOperationSettings()
Returns the builder for the settings used for calls to updateTagKey.
updateTagKeySettings()
public UnaryCallSettings.Builder<UpdateTagKeyRequest,Operation> updateTagKeySettings()
Returns the builder for the settings used for calls to updateTagKey.