Class AttachedClustersStubSettings.Builder (0.35.0)

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

Builder for AttachedClustersStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AttachedClustersStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AttachedClustersStubSettings settings)

protected Builder(AttachedClustersStubSettings settings)
Parameter
NameDescription
settingsAttachedClustersStubSettings

Methods

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

public AttachedClustersStubSettings.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>

build()

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

createAttachedClusterOperationSettings()

public OperationCallSettings.Builder<CreateAttachedClusterRequest,AttachedCluster,OperationMetadata> createAttachedClusterOperationSettings()

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

createAttachedClusterSettings()

public UnaryCallSettings.Builder<CreateAttachedClusterRequest,Operation> createAttachedClusterSettings()

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

deleteAttachedClusterOperationSettings()

public OperationCallSettings.Builder<DeleteAttachedClusterRequest,Empty,OperationMetadata> deleteAttachedClusterOperationSettings()

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

deleteAttachedClusterSettings()

public UnaryCallSettings.Builder<DeleteAttachedClusterRequest,Operation> deleteAttachedClusterSettings()

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

generateAttachedClusterAgentTokenSettings()

public UnaryCallSettings.Builder<GenerateAttachedClusterAgentTokenRequest,GenerateAttachedClusterAgentTokenResponse> generateAttachedClusterAgentTokenSettings()

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

generateAttachedClusterInstallManifestSettings()

public UnaryCallSettings.Builder<GenerateAttachedClusterInstallManifestRequest,GenerateAttachedClusterInstallManifestResponse> generateAttachedClusterInstallManifestSettings()

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

getAttachedClusterSettings()

public UnaryCallSettings.Builder<GetAttachedClusterRequest,AttachedCluster> getAttachedClusterSettings()

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

getAttachedServerConfigSettings()

public UnaryCallSettings.Builder<GetAttachedServerConfigRequest,AttachedServerConfig> getAttachedServerConfigSettings()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

importAttachedClusterOperationSettings()

public OperationCallSettings.Builder<ImportAttachedClusterRequest,AttachedCluster,OperationMetadata> importAttachedClusterOperationSettings()

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

importAttachedClusterSettings()

public UnaryCallSettings.Builder<ImportAttachedClusterRequest,Operation> importAttachedClusterSettings()

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

listAttachedClustersSettings()

public PagedCallSettings.Builder<ListAttachedClustersRequest,ListAttachedClustersResponse,AttachedClustersClient.ListAttachedClustersPagedResponse> listAttachedClustersSettings()

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

unaryMethodSettingsBuilders()

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

updateAttachedClusterOperationSettings()

public OperationCallSettings.Builder<UpdateAttachedClusterRequest,AttachedCluster,OperationMetadata> updateAttachedClusterOperationSettings()

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

updateAttachedClusterSettings()

public UnaryCallSettings.Builder<UpdateAttachedClusterRequest,Operation> updateAttachedClusterSettings()

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