Class TransportManagerStubSettings.Builder (1.87.0)

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

Builder for TransportManagerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TransportManagerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TransportManagerStubSettings settings)

protected Builder(TransportManagerStubSettings settings)
Parameter
Name Description
settings TransportManagerStubSettings

Methods

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

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

build()

public TransportManagerStubSettings build()
Returns
Type Description
TransportManagerStubSettings
Overrides
Exceptions
Type Description
IOException

createTransportOperationSettings()

public OperationCallSettings.Builder<CreateTransportRequest,Transport,OperationMetadata> createTransportOperationSettings()

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

Returns
Type Description
Builder<CreateTransportRequest,Transport,OperationMetadata>

createTransportSettings()

public UnaryCallSettings.Builder<CreateTransportRequest,Operation> createTransportSettings()

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

Returns
Type Description
Builder<CreateTransportRequest,Operation>

deleteTransportOperationSettings()

public OperationCallSettings.Builder<DeleteTransportRequest,Empty,OperationMetadata> deleteTransportOperationSettings()

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

Returns
Type Description
Builder<DeleteTransportRequest,Empty,OperationMetadata>

deleteTransportSettings()

public UnaryCallSettings.Builder<DeleteTransportRequest,Operation> deleteTransportSettings()

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

Returns
Type Description
Builder<DeleteTransportRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getRemoteTransportProfileSettings()

public UnaryCallSettings.Builder<GetRemoteTransportProfileRequest,RemoteTransportProfile> getRemoteTransportProfileSettings()

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

Returns
Type Description
Builder<GetRemoteTransportProfileRequest,RemoteTransportProfile>

getStatusSettings()

public UnaryCallSettings.Builder<GetStatusRequest,GetStatusResponse> getStatusSettings()

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

Returns
Type Description
Builder<GetStatusRequest,GetStatusResponse>

getTransportSettings()

public UnaryCallSettings.Builder<GetTransportRequest,Transport> getTransportSettings()

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

Returns
Type Description
Builder<GetTransportRequest,Transport>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,TransportManagerClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listRemoteTransportProfilesSettings()

public PagedCallSettings.Builder<ListRemoteTransportProfilesRequest,ListRemoteTransportProfilesResponse,TransportManagerClient.ListRemoteTransportProfilesPagedResponse> listRemoteTransportProfilesSettings()

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

Returns
Type Description
Builder<ListRemoteTransportProfilesRequest,ListRemoteTransportProfilesResponse,ListRemoteTransportProfilesPagedResponse>

listTransportsSettings()

public PagedCallSettings.Builder<ListTransportsRequest,ListTransportsResponse,TransportManagerClient.ListTransportsPagedResponse> listTransportsSettings()

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

Returns
Type Description
Builder<ListTransportsRequest,ListTransportsResponse,ListTransportsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

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

updateTransportOperationSettings()

public OperationCallSettings.Builder<UpdateTransportRequest,Transport,OperationMetadata> updateTransportOperationSettings()

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

Returns
Type Description
Builder<UpdateTransportRequest,Transport,OperationMetadata>

updateTransportSettings()

public UnaryCallSettings.Builder<UpdateTransportRequest,Operation> updateTransportSettings()

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

Returns
Type Description
Builder<UpdateTransportRequest,Operation>