Class PersistentResourceServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public PersistentResourceServiceStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • createPersistentResourceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePersistentResourceRequest,​com.google.longrunning.Operation> createPersistentResourceSettings()
        Returns the builder for the settings used for calls to createPersistentResource.
      • getPersistentResourceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPersistentResourceRequest,​PersistentResource> getPersistentResourceSettings()
        Returns the builder for the settings used for calls to getPersistentResource.
      • deletePersistentResourceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePersistentResourceRequest,​com.google.longrunning.Operation> deletePersistentResourceSettings()
        Returns the builder for the settings used for calls to deletePersistentResource.
      • deletePersistentResourceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePersistentResourceRequest,​com.google.protobuf.Empty,​DeleteOperationMetadata> deletePersistentResourceOperationSettings()
        Returns the builder for the settings used for calls to deletePersistentResource.
      • updatePersistentResourceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePersistentResourceRequest,​com.google.longrunning.Operation> updatePersistentResourceSettings()
        Returns the builder for the settings used for calls to updatePersistentResource.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​PersistentResourceServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,​com.google.iam.v1.Policy> setIamPolicySettings()
        Returns the builder for the settings used for calls to setIamPolicy.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,​com.google.iam.v1.Policy> getIamPolicySettings()
        Returns the builder for the settings used for calls to getIamPolicy.
      • testIamPermissionsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the builder for the settings used for calls to testIamPermissions.