Class OsLoginServiceSettings.Builder (2.41.0)

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

Builder for OsLoginServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > OsLoginServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OsLoginServiceSettings settings)

protected Builder(OsLoginServiceSettings settings)
Parameter
Name Description
settings OsLoginServiceSettings

Builder(OsLoginServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createSshPublicKeySettings()

public UnaryCallSettings.Builder<CreateSshPublicKeyRequest,OsLoginProto.SshPublicKey> createSshPublicKeySettings()

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

Returns
Type Description
Builder<CreateSshPublicKeyRequest,SshPublicKey>

deletePosixAccountSettings()

public UnaryCallSettings.Builder<DeletePosixAccountRequest,Empty> deletePosixAccountSettings()

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

Returns
Type Description
Builder<DeletePosixAccountRequest,Empty>

deleteSshPublicKeySettings()

public UnaryCallSettings.Builder<DeleteSshPublicKeyRequest,Empty> deleteSshPublicKeySettings()

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

Returns
Type Description
Builder<DeleteSshPublicKeyRequest,Empty>

getLoginProfileSettings()

public UnaryCallSettings.Builder<GetLoginProfileRequest,LoginProfile> getLoginProfileSettings()

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

Returns
Type Description
Builder<GetLoginProfileRequest,LoginProfile>

getSshPublicKeySettings()

public UnaryCallSettings.Builder<GetSshPublicKeyRequest,OsLoginProto.SshPublicKey> getSshPublicKeySettings()

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

Returns
Type Description
Builder<GetSshPublicKeyRequest,SshPublicKey>

getStubSettingsBuilder()

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

importSshPublicKeySettings()

public UnaryCallSettings.Builder<ImportSshPublicKeyRequest,ImportSshPublicKeyResponse> importSshPublicKeySettings()

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

Returns
Type Description
Builder<ImportSshPublicKeyRequest,ImportSshPublicKeyResponse>

updateSshPublicKeySettings()

public UnaryCallSettings.Builder<UpdateSshPublicKeyRequest,OsLoginProto.SshPublicKey> updateSshPublicKeySettings()

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

Returns
Type Description
Builder<UpdateSshPublicKeyRequest,SshPublicKey>