Class RuntimeProjectAttachmentServiceSettings.Builder (0.2.0)

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

Builder for RuntimeProjectAttachmentServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RuntimeProjectAttachmentServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RuntimeProjectAttachmentServiceSettings settings)

protected Builder(RuntimeProjectAttachmentServiceSettings settings)
Parameter
Name Description
settings RuntimeProjectAttachmentServiceSettings

Builder(RuntimeProjectAttachmentServiceStubSettings.Builder stubSettings)

protected Builder(RuntimeProjectAttachmentServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RuntimeProjectAttachmentServiceStubSettings.Builder

Methods

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

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

build()

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

createRuntimeProjectAttachmentSettings()

public UnaryCallSettings.Builder<CreateRuntimeProjectAttachmentRequest,RuntimeProjectAttachment> createRuntimeProjectAttachmentSettings()

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

Returns
Type Description
Builder<CreateRuntimeProjectAttachmentRequest,RuntimeProjectAttachment>

deleteRuntimeProjectAttachmentSettings()

public UnaryCallSettings.Builder<DeleteRuntimeProjectAttachmentRequest,Empty> deleteRuntimeProjectAttachmentSettings()

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

Returns
Type Description
Builder<DeleteRuntimeProjectAttachmentRequest,Empty>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getRuntimeProjectAttachmentSettings()

public UnaryCallSettings.Builder<GetRuntimeProjectAttachmentRequest,RuntimeProjectAttachment> getRuntimeProjectAttachmentSettings()

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

Returns
Type Description
Builder<GetRuntimeProjectAttachmentRequest,RuntimeProjectAttachment>

getStubSettingsBuilder()

public RuntimeProjectAttachmentServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RuntimeProjectAttachmentServiceStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,RuntimeProjectAttachmentServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listRuntimeProjectAttachmentsSettings()

public PagedCallSettings.Builder<ListRuntimeProjectAttachmentsRequest,ListRuntimeProjectAttachmentsResponse,RuntimeProjectAttachmentServiceClient.ListRuntimeProjectAttachmentsPagedResponse> listRuntimeProjectAttachmentsSettings()

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

Returns
Type Description
Builder<ListRuntimeProjectAttachmentsRequest,ListRuntimeProjectAttachmentsResponse,ListRuntimeProjectAttachmentsPagedResponse>

lookupRuntimeProjectAttachmentSettings()

public UnaryCallSettings.Builder<LookupRuntimeProjectAttachmentRequest,LookupRuntimeProjectAttachmentResponse> lookupRuntimeProjectAttachmentSettings()

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

Returns
Type Description
Builder<LookupRuntimeProjectAttachmentRequest,LookupRuntimeProjectAttachmentResponse>