Class ImagesStubSettings.Builder (1.46.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
NameDescription
clientContextClientContext

Builder(ImagesStubSettings settings)

protected Builder(ImagesStubSettings settings)
Parameter
NameDescription
settingsImagesStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ImagesStubSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteImageRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteImageRequest,Operation>

deprecateOperationSettings()

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

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

Returns
TypeDescription
Builder<DeprecateImageRequest,Operation,Operation>

deprecateSettings()

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

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

Returns
TypeDescription
Builder<DeprecateImageRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getFromFamilySettings()

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

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

Returns
TypeDescription
Builder<GetFromFamilyImageRequest,Image>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyImageRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetImageRequest,Image>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertImageRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertImageRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListImagesRequest,ImageList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchImageRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchImageRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyImageRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsImageRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsImageRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsImageRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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