Class ImagesStubSettings.Builder (1.55.0)

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

Builder for ImagesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ImagesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ImagesStubSettings settings)

protected Builder(ImagesStubSettings settings)
Parameter
Name Description
settings ImagesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteImageRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteImageRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteImageRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteImageRequest,Operation>

deprecateOperationSettings()

public OperationCallSettings.Builder<DeprecateImageRequest,Operation,Operation> deprecateOperationSettings()

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

Returns
Type Description
Builder<DeprecateImageRequest,Operation,Operation>

deprecateSettings()

public UnaryCallSettings.Builder<DeprecateImageRequest,Operation> deprecateSettings()

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

Returns
Type Description
Builder<DeprecateImageRequest,Operation>

getFromFamilySettings()

public UnaryCallSettings.Builder<GetFromFamilyImageRequest,Image> getFromFamilySettings()

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

Returns
Type Description
Builder<GetFromFamilyImageRequest,Image>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyImageRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetImageRequest,Image> getSettings()

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

Returns
Type Description
Builder<GetImageRequest,Image>

insertOperationSettings()

public OperationCallSettings.Builder<InsertImageRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertImageRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertImageRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertImageRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListImagesRequest,ImageList,ImagesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListImagesRequest,ImageList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchImageRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchImageRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchImageRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchImageRequest,Operation>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyImageRequest,Policy>

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsImageRequest,Operation,Operation> setLabelsOperationSettings()

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

Returns
Type Description
Builder<SetLabelsImageRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsImageRequest,Operation> setLabelsSettings()

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

Returns
Type Description
Builder<SetLabelsImageRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsImageRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsImageRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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