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>
Returns
TypeDescription
AttachedClustersStubSettings.Builder

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.

Returns
TypeDescription
Builder<CreateAttachedClusterRequest,AttachedCluster,OperationMetadata>

createAttachedClusterSettings()

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

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

Returns
TypeDescription
Builder<CreateAttachedClusterRequest,Operation>

deleteAttachedClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteAttachedClusterRequest,Empty,OperationMetadata>

deleteAttachedClusterSettings()

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

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

Returns
TypeDescription
Builder<DeleteAttachedClusterRequest,Operation>

generateAttachedClusterAgentTokenSettings()

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

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

Returns
TypeDescription
Builder<GenerateAttachedClusterAgentTokenRequest,GenerateAttachedClusterAgentTokenResponse>

generateAttachedClusterInstallManifestSettings()

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

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

Returns
TypeDescription
Builder<GenerateAttachedClusterInstallManifestRequest,GenerateAttachedClusterInstallManifestResponse>

getAttachedClusterSettings()

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

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

Returns
TypeDescription
Builder<GetAttachedClusterRequest,AttachedCluster>

getAttachedServerConfigSettings()

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

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

Returns
TypeDescription
Builder<GetAttachedServerConfigRequest,AttachedServerConfig>

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.

Returns
TypeDescription
Builder<ImportAttachedClusterRequest,AttachedCluster,OperationMetadata>

importAttachedClusterSettings()

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

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

Returns
TypeDescription
Builder<ImportAttachedClusterRequest,Operation>

listAttachedClustersSettings()

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

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

Returns
TypeDescription
Builder<ListAttachedClustersRequest,ListAttachedClustersResponse,ListAttachedClustersPagedResponse>

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.

Returns
TypeDescription
Builder<UpdateAttachedClusterRequest,AttachedCluster,OperationMetadata>

updateAttachedClusterSettings()

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

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

Returns
TypeDescription
Builder<UpdateAttachedClusterRequest,Operation>