Class OsLoginServiceStubSettings.Builder (2.41.0)

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

Builder for OsLoginServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > OsLoginServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(OsLoginServiceStubSettings settings)

protected Builder(OsLoginServiceStubSettings settings)
Parameter
Name Description
settings OsLoginServiceStubSettings

Methods

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

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

build()

public OsLoginServiceStubSettings build()
Returns
Type Description
OsLoginServiceStubSettings
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>

importSshPublicKeySettings()

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

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

Returns
Type Description
Builder<ImportSshPublicKeyRequest,ImportSshPublicKeyResponse>

unaryMethodSettingsBuilders()

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

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>