Class TransportManagerSettings.Builder (1.94.0)

public static class TransportManagerSettings.Builder extends ClientSettings.Builder<TransportManagerSettings,TransportManagerSettings.Builder>

Builder for TransportManagerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TransportManagerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(TransportManagerSettings settings)

protected Builder(TransportManagerSettings settings)
Parameter
Name Description
settings TransportManagerSettings

Builder(TransportManagerStubSettings.Builder stubSettings)

protected Builder(TransportManagerStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TransportManagerStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

public TransportManagerStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
TransportManagerStubSettings.Builder

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>

parseFromActivationKeySettings()

public UnaryCallSettings.Builder<ParseFromActivationKeyRequest,ParseFromActivationKeyResponse> parseFromActivationKeySettings()

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

Returns
Type Description
Builder<ParseFromActivationKeyRequest,ParseFromActivationKeyResponse>

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>

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>