Class CloudFtpStubSettings.Builder (0.4.0)

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

Builder for CloudFtpStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudFtpStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(CloudFtpStubSettings settings)

protected Builder(CloudFtpStubSettings settings)
Parameter
Name Description
settings CloudFtpStubSettings

Methods

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

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

build()

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

createServerOperationSettings()

public OperationCallSettings.Builder<CreateServerRequest,Server,OperationMetadata> createServerOperationSettings()

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

Returns
Type Description
Builder<CreateServerRequest,Server,OperationMetadata>

createServerSettings()

public UnaryCallSettings.Builder<CreateServerRequest,Operation> createServerSettings()

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

Returns
Type Description
Builder<CreateServerRequest,Operation>

createUserOperationSettings()

public OperationCallSettings.Builder<CreateUserRequest,User,OperationMetadata> createUserOperationSettings()

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

Returns
Type Description
Builder<CreateUserRequest,User,OperationMetadata>

createUserSettings()

public UnaryCallSettings.Builder<CreateUserRequest,Operation> createUserSettings()

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

Returns
Type Description
Builder<CreateUserRequest,Operation>

deleteServerOperationSettings()

public OperationCallSettings.Builder<DeleteServerRequest,Empty,OperationMetadata> deleteServerOperationSettings()

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

Returns
Type Description
Builder<DeleteServerRequest,Empty,OperationMetadata>

deleteServerSettings()

public UnaryCallSettings.Builder<DeleteServerRequest,Operation> deleteServerSettings()

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

Returns
Type Description
Builder<DeleteServerRequest,Operation>

deleteUserOperationSettings()

public OperationCallSettings.Builder<DeleteUserRequest,Empty,OperationMetadata> deleteUserOperationSettings()

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

Returns
Type Description
Builder<DeleteUserRequest,Empty,OperationMetadata>

deleteUserSettings()

public UnaryCallSettings.Builder<DeleteUserRequest,Operation> deleteUserSettings()

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

Returns
Type Description
Builder<DeleteUserRequest,Operation>

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>

getServerSettings()

public UnaryCallSettings.Builder<GetServerRequest,Server> getServerSettings()

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

Returns
Type Description
Builder<GetServerRequest,Server>

getUserSettings()

public UnaryCallSettings.Builder<GetUserRequest,User> getUserSettings()

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

Returns
Type Description
Builder<GetUserRequest,User>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,CloudFtpClient.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>

listServersSettings()

public PagedCallSettings.Builder<ListServersRequest,ListServersResponse,CloudFtpClient.ListServersPagedResponse> listServersSettings()

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

Returns
Type Description
Builder<ListServersRequest,ListServersResponse,ListServersPagedResponse>

listUsersSettings()

public PagedCallSettings.Builder<ListUsersRequest,ListUsersResponse,CloudFtpClient.ListUsersPagedResponse> listUsersSettings()

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

Returns
Type Description
Builder<ListUsersRequest,ListUsersResponse,ListUsersPagedResponse>

startServerOperationSettings()

public OperationCallSettings.Builder<StartServerRequest,Server,OperationMetadata> startServerOperationSettings()

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

Returns
Type Description
Builder<StartServerRequest,Server,OperationMetadata>

startServerSettings()

public UnaryCallSettings.Builder<StartServerRequest,Operation> startServerSettings()

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

Returns
Type Description
Builder<StartServerRequest,Operation>

stopServerOperationSettings()

public OperationCallSettings.Builder<StopServerRequest,Server,OperationMetadata> stopServerOperationSettings()

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

Returns
Type Description
Builder<StopServerRequest,Server,OperationMetadata>

stopServerSettings()

public UnaryCallSettings.Builder<StopServerRequest,Operation> stopServerSettings()

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

Returns
Type Description
Builder<StopServerRequest,Operation>

unaryMethodSettingsBuilders()

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

updateServerOperationSettings()

public OperationCallSettings.Builder<UpdateServerRequest,Server,OperationMetadata> updateServerOperationSettings()

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

Returns
Type Description
Builder<UpdateServerRequest,Server,OperationMetadata>

updateServerSettings()

public UnaryCallSettings.Builder<UpdateServerRequest,Operation> updateServerSettings()

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

Returns
Type Description
Builder<UpdateServerRequest,Operation>

updateUserOperationSettings()

public OperationCallSettings.Builder<UpdateUserRequest,User,OperationMetadata> updateUserOperationSettings()

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

Returns
Type Description
Builder<UpdateUserRequest,User,OperationMetadata>

updateUserSettings()

public UnaryCallSettings.Builder<UpdateUserRequest,Operation> updateUserSettings()

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

Returns
Type Description
Builder<UpdateUserRequest,Operation>