Class TagValuesStubSettings.Builder (1.9.0)

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

Builder for TagValuesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TagValuesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TagValuesStubSettings settings)

protected Builder(TagValuesStubSettings settings)
Parameter
NameDescription
settingsTagValuesStubSettings

Methods

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

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

build()

public TagValuesStubSettings build()
Returns
TypeDescription
TagValuesStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

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>