Class OsLoginServiceSettings.Builder (2.30.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
NameDescription
clientContextClientContext

Builder(OsLoginServiceSettings settings)

protected Builder(OsLoginServiceSettings settings)
Parameter
NameDescription
settingsOsLoginServiceSettings

Builder(OsLoginServiceStubSettings.Builder stubSettings)

protected Builder(OsLoginServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsOsLoginServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
OsLoginServiceSettings.Builder

build()

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

createSshPublicKeySettings()

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

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

Returns
TypeDescription
Builder<CreateSshPublicKeyRequest,SshPublicKey>

deletePosixAccountSettings()

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

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

Returns
TypeDescription
Builder<DeletePosixAccountRequest,Empty>

deleteSshPublicKeySettings()

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

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

Returns
TypeDescription
Builder<DeleteSshPublicKeyRequest,Empty>

getLoginProfileSettings()

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

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

Returns
TypeDescription
Builder<GetLoginProfileRequest,LoginProfile>

getSshPublicKeySettings()

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

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

Returns
TypeDescription
Builder<GetSshPublicKeyRequest,SshPublicKey>

getStubSettingsBuilder()

public OsLoginServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
OsLoginServiceStubSettings.Builder

importSshPublicKeySettings()

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

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

Returns
TypeDescription
Builder<ImportSshPublicKeyRequest,ImportSshPublicKeyResponse>

updateSshPublicKeySettings()

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

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

Returns
TypeDescription
Builder<UpdateSshPublicKeyRequest,SshPublicKey>