Class OsLoginServiceStubSettings.Builder (2.8.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
NameDescription
clientContextClientContext

Builder(OsLoginServiceStubSettings settings)

protected Builder(OsLoginServiceStubSettings settings)
Parameter
NameDescription
settingsOsLoginServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
OsLoginServiceStubSettings.Builder

build()

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

importSshPublicKeySettings()

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

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

Returns
TypeDescription
Builder<ImportSshPublicKeyRequest,ImportSshPublicKeyResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateSshPublicKeyRequest,SshPublicKey>