Class TagValuesSettings.Builder (1.31.0)

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

Builder for TagValuesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TagValuesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TagValuesSettings settings)

protected Builder(TagValuesSettings settings)
Parameter
NameDescription
settingsTagValuesSettings

Builder(TagValuesStubSettings.Builder stubSettings)

protected Builder(TagValuesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTagValuesStubSettings.Builder

Methods

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

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

build()

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

createTagValueOperationSettings()

public OperationCallSettings.Builder<CreateTagValueRequest,TagValue,CreateTagValueMetadata> createTagValueOperationSettings()

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

Returns
TypeDescription
Builder<CreateTagValueRequest,TagValue,CreateTagValueMetadata>

createTagValueSettings()

public UnaryCallSettings.Builder<CreateTagValueRequest,Operation> createTagValueSettings()

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

Returns
TypeDescription
Builder<CreateTagValueRequest,Operation>

deleteTagValueOperationSettings()

public OperationCallSettings.Builder<DeleteTagValueRequest,TagValue,DeleteTagValueMetadata> deleteTagValueOperationSettings()

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

Returns
TypeDescription
Builder<DeleteTagValueRequest,TagValue,DeleteTagValueMetadata>

deleteTagValueSettings()

public UnaryCallSettings.Builder<DeleteTagValueRequest,Operation> deleteTagValueSettings()

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

Returns
TypeDescription
Builder<DeleteTagValueRequest,Operation>

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>

getNamespacedTagValueSettings()

public UnaryCallSettings.Builder<GetNamespacedTagValueRequest,TagValue> getNamespacedTagValueSettings()

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

Returns
TypeDescription
Builder<GetNamespacedTagValueRequest,TagValue>

getStubSettingsBuilder()

public TagValuesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
TagValuesStubSettings.Builder

getTagValueSettings()

public UnaryCallSettings.Builder<GetTagValueRequest,TagValue> getTagValueSettings()

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

Returns
TypeDescription
Builder<GetTagValueRequest,TagValue>

listTagValuesSettings()

public PagedCallSettings.Builder<ListTagValuesRequest,ListTagValuesResponse,TagValuesClient.ListTagValuesPagedResponse> listTagValuesSettings()

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

Returns
TypeDescription
Builder<ListTagValuesRequest,ListTagValuesResponse,ListTagValuesPagedResponse>

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>

updateTagValueOperationSettings()

public OperationCallSettings.Builder<UpdateTagValueRequest,TagValue,UpdateTagValueMetadata> updateTagValueOperationSettings()

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

Returns
TypeDescription
Builder<UpdateTagValueRequest,TagValue,UpdateTagValueMetadata>

updateTagValueSettings()

public UnaryCallSettings.Builder<UpdateTagValueRequest,Operation> updateTagValueSettings()

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

Returns
TypeDescription
Builder<UpdateTagValueRequest,Operation>